@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

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

:root {
    --pitch: #16a34a;
    --pitch-dark: #15803d;
    --ball: #fafafa;
    --night: #0c0a09;
    --turf: #1c1917;
    --whistle: #facc15;
    --steel: #78716c;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--night);
    color: var(--ball);
    line-height: 1.65;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.stadium-bar {
    background: var(--turf);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--pitch);
}

.stadium-bar-inner {
    max-width: 1550px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
}

.club-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.badge-crest {
    width: 48px;
    height: 48px;
    background: var(--pitch);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 2px solid var(--whistle);
}

.badge-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    color: var(--ball);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.match-nav {
    display: flex;
    gap: 38px;
}

.match-nav a {
    color: var(--steel);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.match-nav a:hover {
    color: var(--whistle);
}

.whistle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.whistle-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--pitch);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.touchline-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--turf);
    border-bottom: 3px solid var(--whistle);
    padding: 20px;
}

.touchline-menu.onpitch {
    display: block;
}

.touchline-menu a {
    display: block;
    color: var(--ball);
    text-decoration: none;
    padding: 14px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(22, 163, 74, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pitch-area {
    margin-top: 76px;
}

.kickoff-hero {
    background: linear-gradient(135deg, var(--pitch-dark) 0%, var(--night) 100%);
    padding: 95px 28px 80px;
    text-align: center;
    border-bottom: 4px solid var(--whistle);
}

.kickoff-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    margin-bottom: 22px;
    color: var(--ball);
    letter-spacing: 3px;
}

.kickoff-hero p {
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 38px;
    color: var(--steel);
}

.match-facts {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.fact-card {
    background: rgba(22, 163, 74, 0.2);
    padding: 14px 28px;
    border: 2px solid var(--pitch);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fact-icon {
    font-size: 1.3rem;
}

.game-pitch {
    padding: 65px 28px;
    background: var(--night);
}

.game-pitch h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 42px;
    color: var(--whistle);
    letter-spacing: 2px;
}

.game-goal {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--turf);
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid var(--pitch);
    box-shadow: 0 15px 50px rgba(22, 163, 74, 0.2);
}

.game-goal iframe {
    width: 100%;
    height: 560px;
    border: none;
    display: block;
}

.trophy-room {
    padding: 80px 28px;
    background: var(--turf);
}

.trophy-room h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--pitch);
    letter-spacing: 2px;
}

.trophy-case {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
    max-width: 1350px;
    margin: 0 auto;
}

.trophy-item {
    background: var(--night);
    padding: 38px;
    text-align: center;
    border-top: 4px solid var(--whistle);
    transition: transform 0.3s;
}

.trophy-item:hover {
    transform: translateY(-6px);
}

.trophy-medal {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.trophy-item h3 {
    color: var(--pitch);
    font-size: 1.3rem;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.trophy-item p {
    color: var(--steel);
}

.tactics-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    max-width: 1150px;
    margin: 0 auto;
    padding: 60px 28px;
}

.tactics-card {
    background: var(--turf);
    padding: 32px;
    border-left: 4px solid var(--pitch);
}

.tactics-card h3 {
    color: var(--whistle);
    margin-bottom: 14px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tactics-card p {
    color: var(--steel);
}

.stadium-footer {
    background: var(--turf);
    padding: 55px 28px;
    border-top: 3px solid var(--pitch);
}

.stadium-footer-inner {
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
}

.footer-formation {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-formation a {
    color: var(--steel);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.footer-formation a:hover {
    color: var(--pitch);
}

.support-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(22, 163, 74, 0.3);
}

.support-section p {
    color: var(--steel);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.support-links a {
    color: var(--pitch);
    text-decoration: none;
    font-size: 0.9rem;
}

.stadium-copy {
    margin-top: 28px;
    color: var(--steel);
    font-size: 0.85rem;
}

.gate-check {
    position: fixed;
    inset: 0;
    background: rgba(12, 10, 9, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gate-check.passed {
    display: none;
}

.gate-booth {
    background: linear-gradient(145deg, var(--turf), var(--night));
    padding: 52px 42px;
    text-align: center;
    max-width: 470px;
    margin: 20px;
    border: 3px solid var(--pitch);
    box-shadow: 0 20px 60px rgba(22, 163, 74, 0.2);
}

.gate-symbol {
    font-size: 4.5rem;
    margin-bottom: 22px;
}

.gate-booth h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--pitch);
    letter-spacing: 2px;
}

.gate-booth p {
    color: var(--steel);
    margin-bottom: 28px;
}

.gate-controls {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-match {
    padding: 15px 38px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-kickoff {
    background: var(--pitch);
    color: var(--night);
}

.btn-kickoff:hover {
    background: var(--pitch-dark);
    transform: scale(1.02);
}

.btn-bench {
    background: transparent;
    border: 2px solid var(--steel);
    color: var(--steel);
}

.btn-bench:hover {
    border-color: var(--ball);
    color: var(--ball);
}

.section-header {
    background: var(--pitch-dark);
    padding: 135px 28px 58px;
    text-align: center;
    border-bottom: 4px solid var(--whistle);
}

.section-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--ball);
    letter-spacing: 3px;
}

.rulebook {
    padding: 55px 28px;
    max-width: 900px;
    margin: 0 auto;
}

.rulebook h2 {
    color: var(--pitch);
    margin: 38px 0 18px;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rulebook p {
    color: var(--steel);
    margin-bottom: 18px;
}

.rulebook ul {
    color: var(--steel);
    margin: 18px 0 18px 28px;
}

.rulebook li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .match-nav {
        display: none;
    }
    
    .whistle-btn {
        display: block;
    }
    
    .game-goal iframe {
        height: 380px;
    }
    
    .kickoff-hero {
        padding: 65px 20px 55px;
    }
    
    .match-facts {
        flex-direction: column;
        align-items: center;
    }
    
    .gate-controls {
        flex-direction: column;
    }
}
