* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0d1117;
    color: #c9d1d9;
    min-height: 100vh;
}

.header {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 1rem 2rem;
}

.header-content {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #c9d1d9;
    text-decoration: none;
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: #58a6ff;
    border-bottom-color: #58a6ff;
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><circle cx="100" cy="100" r="2" fill="%23fff" opacity="0.3"/><circle cx="300" cy="200" r="1" fill="%23fff" opacity="0.2"/><circle cx="500" cy="150" r="2" fill="%23fff" opacity="0.3"/><circle cx="700" cy="300" r="1" fill="%23fff" opacity="0.2"/><circle cx="900" cy="100" r="2" fill="%23fff" opacity="0.3"/><circle cx="200" cy="400" r="1" fill="%23fff" opacity="0.2"/><circle cx="600" cy="500" r="2" fill="%23fff" opacity="0.3"/><circle cx="1000" cy="400" r="1" fill="%23fff" opacity="0.2"/></svg>');
    pointer-events: none;
    opacity: 0.4;
}

.hero-content {
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #f0f6fc;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #58a6ff;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #238636;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid #238636;
}

.btn:hover {
    background: #2ea043;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(88, 166, 255, 0.3));
}

.section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    color: #f0f6fc;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #30363d;
}

.categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.category-card:hover {
    border-color: #58a6ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.category-name {
    color: #f0f6fc;
    font-weight: 600;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

.news-card:hover {
    border-color: #58a6ff;
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-bottom: 1px solid #30363d;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: #8b949e;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.news-title {
    color: #f0f6fc;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-excerpt {
    color: #8b949e;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer {
    background: #161b22;
    border-top: 1px solid #30363d;
    padding: 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    color: #8b949e;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: #58a6ff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .categories {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
}