* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #1a1a2e;
    --text-color: #e0e0e0;
    --border-color: #333333;
    --bg-dark: #0f0f1e;
    --bg-card: #16213e;
    --accent-color: #00ffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(135deg, #0f0f1e, #1a1a2e);
    color: var(--accent-color);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--accent-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
}

.logo svg {
    stroke: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    color: var(--accent-color);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: var(--text-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 255, 255, 0.3);
    border-color: var(--accent-color);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: brightness(0.8);
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
    line-height: 1.4;
}

.news-card p {
    color: #b0b0b0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #808080;
    font-size: 0.85rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Footer */
footer {
    background-color: #0a0a15;
    color: var(--text-color);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 2px solid var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
}
