/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f1f1f;
    background: #f5f6fa;
}

:root {
    --primary-color: #c8102e;
    --primary-dark: #960823;
    --secondary-color: #0b6b3a;
    --secondary-dark: #054c27;
    --accent-color: #f5a623;
    --text-main: #202020;
    --text-muted: #6b7280;
    --surface: #ffffff;
    --surface-muted: #f1f3f5;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 16px 32px rgba(16, 24, 40, 0.12);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

main {
    padding: 40px 0 80px;
}

section + section {
    margin-top: 48px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-color), #eb314c);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.logo-flag {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-flag::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    inset: 0;
    margin: auto;
    opacity: 0.8;
}

.logo-text {
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle-line {
    width: 26px;
    height: 2px;
    background: #fff;
    display: block;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.primary-navigation {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
    font-weight: 600;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-dropdown > button:hover,
.nav-dropdown > button:focus {
    background: rgba(255, 255, 255, 0.18);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
    display: none;
    z-index: 20;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-main);
}

.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a:focus {
    background: rgba(11, 107, 58, 0.1);
}

.nav-dropdown--mega .nav-dropdown-menu {
    min-width: 420px;
    padding: 18px;
}

.nav-dropdown-menu--mega {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.nav-mega-group {
    display: grid;
    gap: 8px;
}

.nav-mega-heading {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.58);
}

.nav-dropdown-menu--mega a {
    border-radius: 10px;
}
.nav-dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-main);
}

.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a:focus {
    background: rgba(11, 107, 58, 0.1);
}

.nav-dropdown:hover .nav-dropdown-menu--mega,
.nav-dropdown:focus-within .nav-dropdown-menu--mega,
.nav-dropdown.is-open .nav-dropdown-menu--mega {
    display: grid;
}

.nav-links a,
.nav-dropdown > button {
    padding: 8px 14px;
    border-radius: 999px;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-dropdown > button:hover,
.nav-dropdown > button:focus {
    background: rgba(255, 255, 255, 0.18);
}

.nav-links .cta-link {
    background: #ffffff;
    color: var(--primary-color);
    padding: 8px 18px;
}

.nav-links .cta-link:hover {
    background: var(--surface);
    color: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.18);
}

/* Hero / general sections */
.hero {
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.95), rgba(11, 107, 58, 0.9));
    color: #fff;
    border-radius: 28px;
    padding: 64px 48px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto -80px -100px auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.18), transparent 60%);
}

.hero h2 {
    font-size: 2.6rem;
    margin-bottom: 12px;
}

.hero p {
    max-width: 620px;
    font-size: 1.1rem;
    opacity: 0.92;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
}

p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.card {
    background: var(--surface);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.card ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-muted);
}

.card li + li {
    margin-top: 10px;
}

.championship-banner {
    border-radius: 24px;
    background: linear-gradient(120deg, #d7f5da, #a8e6c0);
    color: #0f172a;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 24px 40px rgba(200, 16, 46, 0.25);
}

.championship-banner-content {
    display: grid;
    gap: 16px;
}

.championship-banner h1 {
    font-size: 2.4rem;
    margin: 0;
    color: #022c22;
}

.championship-banner p {
    margin: 0;
    color: rgba(15, 23, 42, 0.9);
    font-size: 1.05rem;
}

.banner-kicker {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(4, 120, 87, 0.18);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #03543f;
}

.banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.championship-banner-image {
    margin-top: 8px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25);
}

.championship-banner-image img {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: 0 auto;
}

.championship-banner .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.championship-banner .btn-primary:hover,
.championship-banner .btn-primary:focus {
    color: #fff;
}

.championship-banner .btn-outline {
    border-color: rgba(4, 120, 87, 0.6);
    color: var(--primary-color);
}

.championship-banner .btn-outline:hover,
.championship-banner .btn-outline:focus {
    background: rgba(4, 120, 87, 0.08);
}

@media (max-width: 768px) {
    .championship-banner {
        padding: 24px;
    }

    .championship-banner h1 {
        font-size: 2rem;
    }

    .championship-banner-image {
        margin-top: 12px;
    }
}

.u20-page {
    display: grid;
    gap: 24px;
    margin-bottom: 48px;
}

.u20-page .hero {
    background: linear-gradient(140deg, rgba(11, 107, 58, 0.18), rgba(200, 16, 46, 0.18));
    border-radius: 24px;
    padding: 48px;
    color: #111827;
}

.u20-hero {
    display: grid;
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    align-items: center;
    gap: 36px;
}

.u20-hero-emblem {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 22px 36px rgba(15, 23, 42, 0.1);
}

.u20-hero-emblem img {
    width: 150px;
    max-width: 100%;
    height: auto;
}

.u20-hero-copy {
    display: grid;
    gap: 18px;
    color: #111827;
}

.u20-hero-copy h1 {
    color: #0f172a;
    font-size: 2.4rem;
    line-height: 1.3;
}

.u20-hero-copy p {
    color: rgba(15, 23, 42, 0.87);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 760px;
}

.u20-hero-copy .event-tag {
    width: fit-content;
    background: rgba(11, 107, 58, 0.22);
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.u20-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.u20-victory-card figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.u20-victory-card img {
    width: 100%;
    max-width: 680px;
    border-radius: 24px;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.15);
}

@media (max-width: 768px) {
    .championship-banner-image img,
    .u20-victory-card img {
        max-width: 100%;
    }
}

.u20-victory-card figcaption {
    color: rgba(15, 23, 42, 0.75);
    font-size: 1rem;
}

.u20-spotlight-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 20px;
    padding: 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
    align-items: center;
}

.u20-spotlight-card img {
    width: 100%;
    max-width: 200px;
    border-radius: 18px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    padding: 14px;
    justify-self: center;
}

.u20-spotlight-card h3,
.u20-spotlight-card p {
    color: var(--text-main);
}

.u20-player-meta {
    color: rgba(15, 23, 42, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.u20-roster-summary {
    color: rgba(15, 23, 42, 0.72);
}

.u20-roster-groups {
    display: grid;
    gap: 24px;
}

.u20-roster-group h3 {
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.u20-roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.u20-player-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.u20-player-card img {
    width: 100%;
    max-height: 260px;
    border-radius: 18px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    padding: 16px;
}

.u20-player-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.05rem;
}

.u20-player-info p {
    margin: 0;
    color: rgba(15, 23, 42, 0.65);
}

.u20-player-club {
    color: rgba(15, 23, 42, 0.55);
    font-size: 0.95rem;
    margin: 6px 0;
}

.u20-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.u20-staff-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 20px;
    display: grid;
    gap: 12px;
    align-content: start;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.u20-staff-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid rgba(11, 107, 58, 0.25);
    object-fit: cover;
    justify-self: center;
}

.u20-legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

@media (max-width: 1080px) {
    .u20-hero {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 24px;
    }

    .u20-spotlight-card {
        grid-template-columns: 160px minmax(0, 1fr);
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .u20-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .u20-hero-emblem {
        margin: 0 auto;
    }

    .u20-spotlight-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 22px;
    }

    .u20-spotlight-card img {
        max-width: 190px;
    }

    .u20-victory-card img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .u20-page .hero {
        padding: 24px;
    }

    .u20-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .u20-hero-emblem img {
        width: 90px;
        margin: 0 auto;
    }

    .u20-spotlight-card,
    .u20-player-card,
    .u20-staff-card {
        padding: 16px;
    }
}

.u20-home-card-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 24px;
}

.u20-home-card img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
}

.u20-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .u20-home-card-content {
        grid-template-columns: 1fr;
    }

    .u20-home-card img {
        max-width: 100%;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-grid article {
    background: var(--surface-muted);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.feature-grid article .btn {
    align-self: flex-start;
}

.featured-match {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.05), rgba(11, 107, 58, 0.05));
    border: 1px solid rgba(200, 16, 46, 0.08);
}

.featured-match-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-match-meta {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 8px;
    color: var(--text-muted);
}

.featured-match-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: start;
}

.featured-match-video iframe {
    width: 100%;
    border: none;
    border-radius: 18px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
}

.featured-match-lineups ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 6px;
}

.featured-match-lineups h4 {
    margin-bottom: 8px;
}

.featured-match-note {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.featured-match-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.afcon-callout {
    background: linear-gradient(135deg, rgba(11, 107, 58, 0.07), rgba(200, 16, 46, 0.07));
    border: 1px solid rgba(11, 107, 58, 0.12);
}

.afcon-callout-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

.afcon-callout-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.afcon-callout-sidebar {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.afcon-callout-sidebar ul {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.afcon-mini-list li {
    position: relative;
    padding-left: 18px;
}

.afcon-mini-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Home shorts grid */
.shorts-preview {
    background: var(--surface);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.short iframe {
    width: 100%;
    border-radius: 18px;
    border: none;
    min-height: 320px;
    box-shadow: 0 20px 28px rgba(17, 24, 39, 0.12);
}

.fun-facts ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-muted);
}

.fun-facts li + li {
    margin-top: 10px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.event-card {
    background: var(--surface-muted);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.event-date {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.event-date small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.event-tag {
    background: rgba(11, 107, 58, 0.12);
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
}

.event-teams {
    font-weight: 600;
    color: var(--text-main);
}

.events-table table {
    width: 100%;
    border-collapse: collapse;
}

.events-table th,
.events-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
}

.events-table th {
    font-weight: 600;
    color: var(--text-main);
}

.table-score {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.schedule-table {
    overflow-x: auto;
    margin-top: 16px;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.schedule-table th,
.schedule-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
}

.schedule-table th {
    font-weight: 600;
    color: var(--text-main);
    background: rgba(15, 23, 42, 0.05);
}

.schedule-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.03);
}

.schedule-table tbody tr:hover {
    background: rgba(11, 107, 58, 0.08);
}

.afcon-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.afcon-groups h4 {
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.afcon-groups ul {
    list-style: none;
    padding: 16px;
    background: var(--surface-muted);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.afcon-groups li + li {
    margin-top: 6px;
}

.bracket-card {
    overflow-x: auto;
}

.bracket-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.bracket-round h3 {
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.bracket-match {
    background: var(--surface-muted);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bracket-match header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.match-teams {
    display: grid;
    gap: 8px;
}

.match-teams div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-name {
    font-weight: 600;
    color: var(--text-main);
}

.team-score {
    font-weight: 700;
    color: var(--primary-color);
}

.match-winner {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.bracket-placeholder {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.listing-card {
    background: var(--surface-muted);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.listing-card.paid {
    border-color: rgba(200, 16, 46, 0.25);
    box-shadow: 0 14px 30px rgba(200, 16, 46, 0.12);
}

.listing-card header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.listing-card h4 {
    margin: 0;
}

.listing-tag {
    background: rgba(11, 107, 58, 0.12);
    color: var(--secondary-color);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.listing-meta {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.listing-meta strong {
    color: var(--text-main);
}

.listing-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Media page */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    border: none;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.2);
}

/* History page */
.history-timeline section {
    background: var(--surface);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(200, 16, 46, 0.06);
}

.history-timeline section + section {
    margin-top: 18px;
}

.u20-highlight {
    background: linear-gradient(130deg, rgba(11, 107, 58, 0.12), rgba(200, 16, 46, 0.12));
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(11, 107, 58, 0.16);
}

.u20-highlight-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 18px 0;
}

.u20-highlight-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.afcon-page {
    display: grid;
    gap: 32px;
}

.stadium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.stadium-grid article {
    background: var(--surface-muted);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.timeline {
    display: grid;
    gap: 12px;
}

.timeline li {
    position: relative;
    padding-left: 28px;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(11, 107, 58, 0.25);
}

.timeline li::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 20px;
    bottom: -12px;
    width: 2px;
    background: rgba(11, 107, 58, 0.2);
}

.timeline li:last-child::after {
    display: none;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.match-card {
    background: var(--surface-muted);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.match-card ul {
    list-style: none;
}

.match-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-weight: 500;
}

.match-card li:last-child {
    border-bottom: none;
}

.match-card .win {
    color: var(--secondary-color);
}

.match-card .loss {
    color: var(--primary-color);
}

.match-card .draw {
    color: var(--accent-color);
}

.achievement-highlight {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(11, 107, 58, 0.08), rgba(200, 16, 46, 0.08));
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(11, 107, 58, 0.14);
}

/* Stadiums */
.stadium-list h3 {
    margin-top: 24px;
}

.stadium-list p {
    margin-bottom: 12px;
}

.stadium-list strong {
    color: var(--text-main);
}

/* Forms */
.form {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form input,
.form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 12px 16px;
    font-size: 1rem;
    background: #fff;
    color: var(--text-main);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form textarea {
    resize: vertical;
    min-height: 120px;
}

.form select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 12px 16px;
    font-size: 1rem;
    background: #fff;
    color: var(--text-main);
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.4) 50%), linear-gradient(135deg, rgba(0,0,0,0.4) 50%, transparent 50%), linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0,0.1));
    background-position: calc(100% - 20px) calc(50% - 5px), calc(100% - 15px) calc(50% - 5px), calc(100% - 2.5rem) 0.5rem;
    background-repeat: no-repeat;
    background-size: 8px 8px, 8px 8px, 1px 65%;
}

.checkbox-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.checkbox-label input {
    width: auto;
    margin-top: 4px;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(11, 107, 58, 0.18);
}

.form .btn {
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--secondary-color);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--secondary-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(11, 107, 58, 0.25);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(255, 255, 255, 0.18);
}

.btn-inverse {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.btn-inverse:hover,
.btn-inverse:focus {
    background: #fef3c7;
}

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

.btn-outline:hover,
.btn-outline:focus {
    background: var(--secondary-color);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(11, 107, 58, 0.16);
}

.btn-small {
    padding: 6px 14px;
    font-size: 0.85rem;
}

.btn-submit {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover,
.btn-submit:focus {
    background: var(--secondary-dark);
    box-shadow: 0 12px 22px rgba(11, 107, 58, 0.28);
    transform: translateY(-1px);
}

.btn-submit[aria-busy="true"] {
    opacity: 0.7;
    cursor: progress;
}

.form-feedback {
    margin-top: 12px;
    font-size: 0.95rem;
}

.form-feedback.success {
    color: var(--secondary-color);
}

.form-feedback.error {
    color: var(--primary-color);
}

.input-error {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.18);
}

.form-disclaimer {
    font-size: 0.85rem;
    color: rgba(32, 32, 32, 0.7);
    margin-top: 12px;
}

.noscript-warning {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.form-standalone-response {
    background: radial-gradient(circle at top, rgba(200, 16, 46, 0.08), rgba(11, 107, 58, 0.1));
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.form-standalone-response main {
    width: 100%;
}

.contact-page {
    display: grid;
    gap: 32px;
}

.contact-details ul {
    display: grid;
    gap: 8px;
}

/* Footer */
.site-footer {
    background: #101828;
    color: #f8fafc;
    padding-top: 60px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.footer-section h3,
.footer-section h4 {
    color: #f8fafc;
    margin-bottom: 12px;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul {
    display: grid;
    gap: 8px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
    background: #0b1623;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 22px 0;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        gap: 12px;
    }

    .hero {
        padding: 48px 32px;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 24px;
    }

    .nav-toggle {
        display: block;
    }

    .primary-navigation {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid rgba(200, 16, 46, 0.2);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease;
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
    }

    .primary-navigation.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        padding: 24px;
        align-items: flex-start;
        gap: 16px;
        color: var(--text-main);
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > button {
        width: 100%;
        text-align: left;
    }

    .primary-navigation.is-open .nav-dropdown-menu {
        position: static;
        display: block;
        box-shadow: none;
        width: 100%;
        margin-top: 8px;
        background: transparent;
        padding: 0;
    }

    .primary-navigation.is-open .nav-dropdown-menu.nav-dropdown-menu--mega {
        display: grid;
        gap: 12px;
    }

    .primary-navigation.is-open .nav-dropdown-menu li a {
        padding: 8px 0;
    }

    .primary-navigation.is-open .nav-mega-group {
        gap: 6px;
    }

    .primary-navigation.is-open .nav-mega-heading {
        padding: 0;
    }

    .nav-links a {
        color: var(--text-main);
    }

    .nav-links .cta-link {
        background: var(--primary-color);
        color: #fff;
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 40px 24px;
    }

    .short iframe {
        min-height: 260px;
    }

    .form {
        padding: 18px;
    }

    .featured-match-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1080px) {
    .u20-hero {
        grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
        gap: 28px;
    }

    .u20-hero-copy h1 {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {
    .u20-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .u20-hero-emblem {
        margin: 0 auto;
    }

    .u20-hero-copy {
        align-items: center;
    }

    .u20-hero-copy h1 {
        font-size: 2rem;
    }

    .u20-hero-copy p {
        text-align: center;
    }

    .u20-spotlight-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .u20-spotlight-card img {
        max-width: 160px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 18px;
    }

    .footer-container {
        gap: 24px;
    }

    .footer-bottom-content {
        padding: 18px 0;
    }
}

.tier-badge {
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.9rem;
}

.tier-header {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.tier-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.tier-price {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.savings-badge {
    background: var(--gold-color);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
}

.tier-features {
    list-style: none;
    padding: 2rem;
}

.tier-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.tier-features li:last-child {
    border-bottom: none;
}

.btn-tier, .btn-tier-gold {
    display: block;
    text-align: center;
    margin: 0 2rem 2rem 2rem;
    padding: 1rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-tier-gold {
    background: var(--gold-color);
    color: var(--text-dark);
}

/* Categories */
.categories {
    padding: 4rem 0;
}

.categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.categories > .container > p {
    text-align: center;
    margin-bottom: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials {
    background: var(--bg-light);
    padding: 4rem 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

blockquote {
    background: white;
    padding: 2rem;
    border-left: 5px solid var(--secondary-color);
    margin: 2rem 0;
    border-radius: 5px;
    font-style: italic;
}

cite {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    font-style: normal;
    color: var(--text-light);
}

/* Contact Page */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h2, .contact-form h2 {
    margin-bottom: 2rem;
}

.info-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-direct {
    background: var(--secondary-color);
    color: white;
    padding: 2rem;
    border-radius: 5px;
    margin-top: 2rem;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-notice {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.form-notice p {
    margin: 0.5rem 0;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.countdown {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
}

.dev-notice {
    color: var(--gold-color);
    margin-top: 0.5rem;
}

/* About Page */
.about-content {
    padding: 4rem 0;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-section ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.about-section li {
    margin-bottom: 0.75rem;
}

.features-list, .timeline {
    margin-top: 2rem;
}

.feature-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-item {
    background: white;
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 1rem;
}

/* Urgency Sections */
.urgency-section {
    padding: 2rem 0;
}

.urgency-banner, .urgency-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.urgency-banner h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.example {
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 1rem;
}

/* Investment Comparison */
.investment-comparison {
    padding: 4rem 0;
    background: var(--bg-light);
}

.investment-comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.comparison-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    padding-bottom: 4rem;
}

.comparison-card h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.invest-now {
    border: 3px solid var(--secondary-color);
}

.invest-later {
    border: 3px solid #999;
    opacity: 0.9;
}

.invest-label, .invest-label-bad {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.invest-label {
    background: var(--secondary-color);
    color: white;
}

.invest-label-bad {
    background: #999;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero h1, .sponsors-hero h1 {
        font-size: 2rem;
    }

    .countdown-box h2 {
        font-size: 1.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
/* Logo subtitle */
.year-subtitle {
    font-size: 0.8rem;
    font-weight: normal;
    opacity: 0.9;
    display: block;
}

/* Page hero sections */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Coming soon boxes */
.coming-soon-box {
    background: white;
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    padding: 3rem;
    margin: 2rem 0;
    text-align: center;
}

.coming-soon-box h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-preview, .cities-preview {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 5px;
    margin: 2rem 0;
    text-align: left;
}

.info-preview h3, .cities-preview h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-preview ul, .cities-preview ul {
    margin-left: 2rem;
}

.info-preview li, .cities-preview li {
    margin-bottom: 0.5rem;
}

/* Cities grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.city-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.city-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Feature links */
.feature-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.feature-link:hover {
    color: var(--primary-color);
}

/* Morocco highlights */
.morocco-highlights {
    background: var(--bg-light);
    padding: 4rem 0;
}

.morocco-highlights h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Info section */
.info-section {
    padding: 4rem 0;
}

.info-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Timeline section */
.timeline-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-item.active {
    border: 3px solid var(--gold-color);
}

.timeline-year {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 100px;
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Newsletter signup */
.newsletter-signup {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-signup h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-form, .newsletter-form-inline {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input, .newsletter-form-inline input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.small-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Page content */
.page-content {
    padding: 4rem 0;
}

.morocco-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.morocco-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.morocco-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact methods */
.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-method a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* CTA center */
.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* Footer small text */
footer .small-text {
    font-size: 0.85rem;
    color: var(--gold-color);
    margin-top: 0.5rem;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
}

.language-selector select {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.language-selector select:hover {
    background: rgba(255,255,255,0.3);
}

.language-selector select option {
    background: var(--text-dark);
    color: white;
}

/* Shorts and Videos */
.shorts-grid, .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.short, .video {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.short iframe, .video iframe {
    width: 100%;
    border-radius: 5px;
}

.video h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 2022 World Cup Section */
.world-cup-2022 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.world-cup-2022 h3 {
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 1rem;
}

.world-cup-2022 h4 {
    color: white;
    margin-top: 2rem;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.match-card {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--gold-color);
}

.match-card h5 {
    color: var(--gold-color);
    margin-bottom: 1rem;
    text-align: center;
}

.match-card ul {
    list-style: none;
    padding: 0;
}

.match-card li {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    font-weight: bold;
}

.match-card li.win {
    background: #28a745;
    color: white;
}

.match-card li.loss {
    background: #dc3545;
    color: white;
}

.match-card li.draw {
    background: #ffc107;
    color: black;
}

.achievement-highlight {
    background: rgba(255,255,255,0.2);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-left: 5px solid var(--gold-color);
}

.achievement-highlight h4 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

/* Fun Facts */
.fun-facts {
    background: var(--bg-light);
    padding: 2rem 0;
    text-align: center;
}

.fun-facts h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.fun-facts ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.fun-facts li {
    background: white;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-style: italic;
}


.badge-card {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(200, 16, 46, 0.18);
    overflow: hidden;
    max-width: 320px;
    margin: 0 auto 40px auto;
}

.badge-card .badge-link {
    display: grid;
    grid-template-rows: auto 1fr auto;
    color: inherit;
    text-decoration: none;
}

.badge-card img {
    width: 100%;
    display: block;
}

.badge-label {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.badge-cta {
    padding: 12px 16px;
    text-align: center;
    background: rgba(11, 107, 58, 0.1);
    font-weight: 600;
}

@media (max-width: 992px) {
    .badge-card {
        position: relative;
        top: auto;
        margin-top: 24px;
        max-width: none;
    }
}


.team-profile {
    display: grid;
    gap: 24px;
}

.team-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.team-meta {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 6px;
    color: var(--text-muted);
}

.team-meta strong {
    color: var(--text-main);
}

.team-flag img {
    width: 120px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15,23,42,0.12);
}

.fixture-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
}

.fixture-list li {
    background: var(--surface-muted);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15,23,42,0.08);
    display: grid;
    gap: 4px;
}

.fixture-venue, .fixture-score, .fixture-result {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.fixture-link {
    font-weight: 600;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .team-header { flex-direction: column; align-items: flex-start; }
    .team-flag img { width: 100px; }
}


.worldcup-callout {
    background: linear-gradient(135deg, rgba(0, 98, 51, 0.05), rgba(3, 63, 99, 0.07));
    border: 1px solid rgba(3, 63, 99, 0.12);
}

.worldcup-callout-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: start;
}

.worldcup-callout-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.worldcup-callout-sidebar {
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.worldcup-callout-sidebar ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .worldcup-callout-content {
        grid-template-columns: 1fr;
    }
}


.schedule-table {
    overflow-x: auto;
    margin-top: 16px;
}

.schedule-table table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    text-align: left;
}

.schedule-table th {
    font-weight: 600;
    color: var(--text-main);
    background: rgba(15, 23, 42, 0.05);
}

.standings-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.standings-table {
    overflow-x: auto;
}

.standings-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.standings-table th,
.standings-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    text-align: center;
}

.standings-table th:first-child,
.standings-table td:first-child {
    text-align: left;
}

.standings-table h4 {
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.group-introduction-copy {
    margin-bottom: 16px;
    color: rgba(15, 23, 42, 0.72);
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.group-card {
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.group-card h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.group-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

a.team-link,
a.stadium-link,
a.city-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

a.team-link:hover,
a.team-link:focus,
a.stadium-link:hover,
a.stadium-link:focus,
a.city-link:hover,
a.city-link:focus {
    text-decoration: underline;
}

.venue-tbd,
.city-tbd {
    color: rgba(15, 23, 42, 0.6);
    font-style: italic;
}

.teams-archive .tournament-card {
    margin-top: 32px;
}

.tournament-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.tournament-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.tournament-team-card {
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tournament-team-card .team-link {
    font-weight: 600;
}

.team-note {
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.65);
}

.location-archive .card,
.location-page .card {
    margin-top: 28px;
}

.location-directory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.location-card {
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-card h4 {
    margin: 0;
}

.location-meta {
    color: rgba(15, 23, 42, 0.7);
    font-size: 0.9rem;
}

.location-country {
    margin-left: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.location-counts {
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.7);
}

.location-stats {
    list-style: none;
    margin: 16px 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.location-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.location-links li {
    display: inline-flex;
}

.card-action-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tribute-card {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(236, 252, 203, 0.75));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 35px -20px rgba(15, 23, 42, 0.65);
}

.tribute-card-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tribute-card-copy h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.tribute-card-copy p {
    font-size: 1.05rem;
    color: rgba(15, 23, 42, 0.78);
    max-width: 38ch;
}

.tribute-card-media {
    display: flex;
    flex-direction: column;
}

.tribute-card-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 50px -30px rgba(15, 23, 42, 0.9);
    background: #000;
}

.tribute-card-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tribute-card-actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.tribute-card-actions .btn {
    min-width: 220px;
}

@media (min-width: 840px) {
    .tribute-card-content {
        flex-direction: row;
        align-items: center;
        gap: 36px;
    }

    .tribute-card-copy {
        flex: 0 0 360px;
    }

    .tribute-card-media {
        flex: 1 1 auto;
    }

    .tribute-card-actions {
        justify-content: flex-start;
    }
}

.youth-world-cup-card {
    display: grid;
    gap: 24px;
}

.youth-world-cup-header h3 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 12px;
}

.youth-world-cup-grid {
    display: grid;
    gap: 18px;
}

.youth-world-cup-grid article {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 18px 28px -24px rgba(15, 23, 42, 0.8);
    display: grid;
    gap: 12px;
}

.youth-world-cup-grid h4 {
    font-size: 1.3rem;
}

.youth-world-cup-grid p {
    color: rgba(15, 23, 42, 0.78);
}

@media (min-width: 860px) {
    .youth-world-cup-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.u17-page,
.u17w-page {
    display: grid;
    gap: 28px;
}

.fixture-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.95rem;
}

.fixture-table th,
.fixture-table td {
    border: 1px solid rgba(15, 23, 42, 0.1);
    padding: 12px 14px;
    text-align: left;
}

.fixture-table thead {
    background: rgba(11, 107, 58, 0.12);
    font-weight: 600;
}
