/* Global Styles */
:root {
    --bg-color: #0a0a0a; /* Deep black */
    --accent-green: #39ff14; /* Neon green */
    --accent-gold: #d4af37; /* Subtle gold */
    --text-color: #f5f5f5; /* Off-white */
    --card-bg: #1c1c1c; /* Dark gray for cards */
    --shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
    --glow: 0 0 10px rgba(57, 255, 20, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(10, 10, 10, 0.9); /* Semi-transparent black */
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-green);
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1240&h=500&q=80'); /* Football action image */
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(57, 255, 20, 0.2));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: var(--accent-green);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-color);
    margin: 15px 0 25px;
    animation: fadeInUp 1.2s ease-out;
}

.cta {
    display: inline-block;
    background-color: var(--accent-green);
    color: var(--bg-color);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--accent-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 60px 0;
}

.news-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.category-link:hover {
    opacity: 0.8;
}

.news-card img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 20px;
}

.news-category {
    display: inline-block;
    background-color: var(--accent-green);
    color: var(--bg-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid var(--accent-gold);
    margin-bottom: 10px;
}

.news-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 7px;
}

.news-card p {
    font-size: 15px;
    color: #d0d0d0;
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 40px 0;
    border-top: 1px solid var(--accent-gold);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 20px;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
}

footer p {
    font-size: 14px;
    color: #b0b0b0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav li {
        margin: 10px 15px;
    }

    .cta {
        padding: 10px 20px;
    }
}