@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pitch-green: #15803d;
    --dark-green: #0d4422;
    --field-line: #ffffff;
    --ball-white: #fafafa;
    --accent-yellow: #fbbf24;
    --dark-bg: #0f1419;
    --text-light: #f9fafb;
    --text-muted: #9ca3af;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.65;
}

.stadium-header {
    background: linear-gradient(90deg, var(--dark-green), var(--pitch-green), var(--dark-green));
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.85rem 2rem;
    border-bottom: 3px solid var(--accent-yellow);
}

.header-row {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.team-brand svg {
    width: 42px;
    height: 42px;
}

.team-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--accent-yellow);
    letter-spacing: 2px;
}

.stadium-toggle {
    display: none;
    background: rgba(251, 191, 36, 0.2);
    border: 2px solid var(--accent-yellow);
    padding: 6px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 1001;
}

.stadium-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--accent-yellow);
    margin: 4px 0;
    transition: 0.3s;
}

.stadium-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.stadium-toggle.active span:nth-child(2) {
    opacity: 0;
}

.stadium-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

.stadium-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.stadium-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.stadium-nav a:hover {
    color: var(--accent-yellow);
}

.kickoff-hero {
    padding: 10rem 2rem 5rem;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--pitch-green) 50%, var(--dark-green) 100%);
    text-align: center;
    position: relative;
}

.kickoff-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.kickoff-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 1rem;
    color: var(--ball-white);
    letter-spacing: 3px;
}

.kickoff-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.match-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.match-badge {
    background: rgba(251, 191, 36, 0.15);
    border: 2px solid var(--accent-yellow);
    padding: 0.6rem 1.3rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-yellow);
}

.match-section {
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.match-title {
    font-family: 'Bebas Neue', sans-serif;
    text-align: center;
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.match-frame {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--dark-green);
    border: 4px solid var(--pitch-green);
    padding: 4px;
    box-shadow: 0 20px 50px rgba(21, 128, 61, 0.3);
}

.match-frame iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.stats-grid {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, var(--dark-bg), var(--dark-green));
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(15, 20, 25, 0.8);
    border-left: 4px solid var(--pitch-green);
    padding: 1.8rem;
    transition: border-color 0.3s;
}

.stat-card:hover {
    border-color: var(--accent-yellow);
}

.stat-card .icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.stat-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--accent-yellow);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.team-story {
    padding: 4rem 2rem;
    background: var(--pitch-green);
}

.story-content {
    max-width: 950px;
    margin: 0 auto;
}

.story-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--ball-white);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 2px;
}

.story-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.whistle-box {
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--accent-yellow);
    padding: 1.5rem;
    margin: 2rem 0;
}

.whistle-box h3 {
    color: var(--accent-yellow);
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.whistle-box p {
    color: var(--ball-white);
    margin: 0;
}

.page-section {
    padding: 7rem 2rem 4rem;
    min-height: 80vh;
    background: var(--dark-bg);
}

.page-content {
    max-width: 880px;
    margin: 0 auto;
}

.page-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.page-content h2 {
    font-size: 1.3rem;
    color: var(--pitch-green);
    margin: 1.8rem 0 0.8rem;
    font-weight: 700;
}

.page-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.page-content ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.page-content ul li {
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1.5rem;
}

.page-content ul li::before {
    content: '⚽';
    position: absolute;
    left: -0.5rem;
    font-size: 0.7rem;
}

.stadium-footer {
    background: var(--dark-green);
    border-top: 3px solid var(--accent-yellow);
    padding: 2.5rem 2rem;
    text-align: center;
}

.footer-row {
    max-width: 1200px;
    margin: 0 auto;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.support-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.support-links a:hover {
    color: var(--accent-yellow);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.age-screen {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 25, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
}

.age-screen.dismissed {
    display: none;
}

.age-panel {
    background: linear-gradient(135deg, var(--dark-green), var(--pitch-green));
    border: 3px solid var(--accent-yellow);
    padding: 2.5rem;
    text-align: center;
    max-width: 430px;
    width: 100%;
}

.age-panel .panel-icon {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
}

.age-panel h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--ball-white);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.age-panel p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.8rem;
}

.panel-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.panel-btns button {
    padding: 0.85rem 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-kick {
    background: var(--accent-yellow);
    color: var(--dark-bg);
}

.btn-kick:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(251, 191, 36, 0.4);
}

.btn-exit {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
}

.btn-exit:hover {
    border-color: #ef4444;
    color: #ef4444;
}

@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stadium-toggle {
        display: block;
    }

    .stadium-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--dark-green);
        padding: 5rem 1.5rem 2rem;
        transition: right 0.3s;
    }

    .stadium-nav.open {
        right: 0;
    }

    .stadium-nav ul {
        flex-direction: column;
        gap: 1.2rem;
    }

    .stadium-nav a {
        font-size: 1rem;
    }

    .kickoff-hero {
        padding: 7rem 1.5rem 4rem;
    }

    .kickoff-hero h1 {
        font-size: 2.2rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .match-frame iframe {
        height: 420px;
    }

    .match-title {
        font-size: 1.6rem;
    }

    .match-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .support-links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .age-panel {
        padding: 1.8rem 1.2rem;
    }

    .panel-btns {
        flex-direction: column;
    }

    .panel-btns button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .stadium-header {
        padding: 0.6rem 1rem;
    }

    .team-name {
        font-size: 1.4rem;
    }

    .kickoff-hero h1 {
        font-size: 1.8rem;
    }

    .page-content h1 {
        font-size: 1.8rem;
    }
}
