:root {
    --primary: #16a34a;
    --primary-light: #22c55e;
    --primary-lighter: #4ade80;
    --primary-dark: #15803d;
    --accent: #84cc16;
    --accent-light: #a3e635;

    --white: #ffffff;
    --light: #f8fdf9;
    --light-green: #f0fdf4;
    --light-green-2: #dcfce7;
    --light-green-3: #bbf7d0;

    --dark: #052e16;
    --dark-text: #14532d;
    --gray: #4b5563;
    --gray-light: #6b7280;
    --gray-lighter: #9ca3af;

    --gradient-primary: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    --glow: rgba(22, 163, 74, 0.3);
    --shadow: rgba(22, 101, 52, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--white);
    color: var(--dark-text);
    overflow-x: hidden;
    line-height: 1.6;
    zoom: 0.9;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(132, 204, 22, 0.06) 0%, transparent 50%);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(22, 163, 74, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 30px var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 55px;
    width: auto;
}

.logo-text {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.6rem;
    color: var(--dark);
    letter-spacing: 2px;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem 4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 50%, #dcfce7 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid var(--light-green-3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px var(--shadow);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge::before {
    content: "🏓";
}

.hero h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: var(--dark);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero h1 .highlight {
    color: var(--primary);
    position: relative;
}

.hero h1 .highlight::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--light-green-3);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 500px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.stat-number {
    font-family: "Bebas Neue", sans-serif;
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 20px var(--glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--glow);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-lighter);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--light-green);
    border-color: var(--primary);
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px var(--shadow);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: white;
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px var(--shadow);
    border: 2px solid var(--light-green-2);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-floating-card h4 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.75rem;
    color: var(--primary);
}

.hero-floating-card p {
    font-size: 0.85rem;
    color: var(--gray);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    background: var(--light-green-2);
    color: var(--primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 2px;
    color: var(--dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================= */
/*         EVENT META            */
/* ============================= */

.event-past .event-card {
    opacity: 0.55;
    background-color: #f3f3f3;
    border-left: 4px solid #bdbdbd;
}

.event-meta {
    margin-top: 12px;
    font-size: 0.95rem;
}

/* Ligne principale */
.meta-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

/* Titre */
.meta-title {
    font-weight: 600;
    color: #1e7d46;
}

/* Nom du lieu (lien maps) */
.meta-location {
    font-weight: 500;
    color: #2e8b57;
    text-decoration: none;
    transition: 0.2s ease;
}

.meta-location:hover {
    text-decoration: underline;
}

/* Nom du contact (texte simple) */
.meta-contact-name {
    font-weight: 500;
}

/* Email et téléphone */
.meta-sub {
    margin-left: 22px;
    margin-top: 4px;
    color: #2e8b57;
    font-size: 0.9rem;
}

/* Liens email / tel */
.meta-link {
    color: #2e8b57;
    text-decoration: none;
    transition: 0.2s ease;
}

.meta-link:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 600px) {
    .meta-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .meta-sub {
        margin-left: 0;
    }
}

/* ======================
   AFFICHES ÉVÉNEMENTS
   ====================== */

.event-posters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px)); /* Largeur max 300px */
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
    justify-content: center; /* Centre les affiches */
}

.event-poster {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    background: #f5f5f5;
    width: 100%; /* Prend toute la largeur de la colonne */
    max-width: 300px; /* Mais jamais plus de 300px */

    margin: 0 auto; /* Centre dans la grille */
}

.event-poster:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.event-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain; /* Garde proportions, ne rogne pas */
    object-position: center;
}

/* Responsive : 1 colonne sur mobile */
@media (max-width: 768px) {
    .event-posters {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Responsive : 2 colonnes sur tablette */
@media (min-width: 769px) and (max-width: 1024px) {
    .event-posters {
        grid-template-columns: repeat(2, minmax(250px, 280px));
    }

    .event-poster {
        max-width: 280px;
    }
}

/* Responsive : 3 colonnes sur desktop */
@media (min-width: 1025px) {
    .event-posters {
        grid-template-columns: repeat(3, minmax(250px, 300px));
    }

    .event-poster {
        max-width: 300px;
    }
}

/* Alternative : Si vous préférez que les images remplissent tout l'espace (rogner si nécessaire) */
.event-posters.cover .event-poster img {
    object-fit: cover; /* Remplit complètement, peut rogner les bords */
}

/* Alternative : Affichage sans contrainte de ratio */
.event-posters.auto-ratio .event-poster {
    aspect-ratio: auto;
    height: auto;
}

.event-posters.auto-ratio .event-poster img {
    height: auto;
}
.event-posters.wide {
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
}

.event-posters.wide .event-poster {
    max-width: 400px;
}

@media (min-width: 1025px) {
    .event-posters.wide {
        grid-template-columns: repeat(2, minmax(300px, 400px));
    }
}
/* Responsive : 1 colonne sur mobile */
@media (max-width: 768px) {
    .event-posters {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Responsive : 2 colonnes sur tablette */
@media (min-width: 769px) and (max-width: 1024px) {
    .event-posters {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive : 3 colonnes sur desktop */
@media (min-width: 1025px) {
    .event-posters {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Si vous voulez forcer un affichage en ligne (toutes les affiches côte à côte) */
.event-posters.inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.event-posters.inline .event-poster {
    flex: 0 1 300px;
}

.score.win {
    background: #b6fcb6;
}
.score.loss {
    background: #fcb6b6;
}
.score.draw {
    background: #ffd699;
}

#results-body td.match-id {
    width: 100px;
    text-align: left;
}

#results-body td.visited {
    width: 160px;
    text-align: right;
    padding-right: 10px;
}

#results-body td.score {
    width: 80px;
    text-align: center;
}

#results-body td.visiting {
    width: 160px;
    text-align: left;
    padding-left: 10px;
}

/* About Section */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-green);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    border-color: var(--light-green-3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--shadow);
}

.feature-text h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
    font-size: 1rem;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--gray-light);
    margin: 0;
}

.about-image {
    position: relative;
}

.about-image-main {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px var(--shadow);
}

.about-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

/* Training Section */
.training {
    background: var(--light-green);
}

.training-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.training-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--light-green-2);
}

.training-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px var(--shadow);
    border-color: var(--primary-lighter);
}

.training-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.training-card-icon {
    width: 60px;
    height: 60px;
    background: var(--light-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.training-card h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.training-card .time {
    display: inline-block;
    background: var(--light-green-2);
    color: var(--primary-dark);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.training-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Team Photo Section */
.team-photo {
    background: white;
    padding: 4rem 2rem;
}

.team-photo-img {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px var(--shadow);
}

.team-photo-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Committee Section */
.committee {
    background: var(--light-green);
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 1rem auto;
}

.committee-card {
    background: white;
    border-radius: 20px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid var(--light-green-2);
}

.committee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow);
    border-color: var(--primary-lighter);
}

.committee-avatar {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-lighter);
    box-shadow: 0 6px 15px var(--shadow);
    flex-shrink: 0;
    background: var(--light-green-2);
}

.committee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.committee-info {
    flex: 1;
}

.committee-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--dark);
}

.committee-card .role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
    line-height: 1.4;
}

.committee-card .phone {
    color: var(--gray-light);
    font-size: 0.8rem;
}

.committee-card .phone a {
    color: var(--gray-light);
    text-decoration: none;
}

.committee-card .phone a:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .committee-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .committee-avatar {
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 480px) {
    .committee-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .committee-card {
        padding: 1rem;
    }
    .committee-avatar {
        width: 65px;
        height: 65px;
    }
    .committee-card h4 {
        font-size: 0.85rem;
    }
}

/* Coaches Section */
.coaches {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.coaches::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.coaches .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.coaches .section-title {
    color: white;
}

.coaches-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.coaches-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.coaches-image img {
    width: 100%;
    height: auto;
    display: block;
}

.coaches-text h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.coaches-text p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.coaches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.coach-tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

/* Events Section - Timeline */
.events {
    background: white;
}

.events-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.events-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-light), var(--primary-dark));
    transform: translateX(-50%);
    border-radius: 2px;
}

.event-item {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 30px);
    padding-left: 0;
}

.event-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 30px);
    padding-right: 0;
}

.event-item:nth-child(odd) .event-card {
    text-align: left;
}

.event-item:nth-child(even) .event-card {
    text-align: left;
}

.event-dot {
    position: absolute;
    left: 50%;
    top: 25px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow:
        0 0 0 4px var(--primary-lighter),
        0 4px 15px var(--glow);
    z-index: 2;
}

.event-card {
    background: var(--light-green);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--light-green-2);
    width: 100%;
    position: relative;
}

.event-item:nth-child(odd) .event-card::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 25px;
    border: 10px solid transparent;
    border-left-color: var(--light-green);
}

.event-item:nth-child(even) .event-card::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 25px;
    border: 10px solid transparent;
    border-right-color: var(--light-green);
}

.event-card:hover {
    border-color: var(--primary-lighter);
    box-shadow: 0 15px 40px var(--shadow);
    transform: scale(1.02);
}

/* Match items styling */
.match-dot {
    background: var(--accent) !important;
    box-shadow:
        0 0 0 4px rgba(255, 193, 7, 0.3),
        0 4px 15px rgba(255, 193, 7, 0.4) !important;
}

.match-card {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
}

.match-card:hover {
    border-color: var(--accent) !important;
}

.match-card .event-date {
    background: linear-gradient(135deg, var(--accent) 0%, #e6a800 100%);
}

.match-card .event-info p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.match-card .event-info strong {
    color: var(--primary);
}

.event-date {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem;
    border-radius: 14px;
    text-align: center;
    min-width: 65px;
    height: fit-content;
}

.event-date .day {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.5rem;
    line-height: 1;
}

.event-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.event-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.event-info p {
    color: var(--gray);
    font-size: 0.85rem;
    margin: 0;
}

/* Event Poster */
.event-poster {
    margin-top: 3rem;
    text-align: center;
}

.event-poster img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px var(--shadow);
}

/* Competitions Section */
.competitions {
    background: var(--light-green);
}

.competitions-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.competitions-column h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
}

.results-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
}

/* Results Section Styles */
.results-section {
    background: var(--light-green);
}

.results-wrapper {
    max-width: 1000px;
    margin: 1rem auto;
}

.results-table table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    background: var(--gradient-primary);
    color: white;
    padding: 0.9rem 0.75rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
}

.results-table td {
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid var(--light-green-2);
    font-size: 0.85rem;
}

.results-table tr:last-child td {
    border-bottom: none;
}

.results-table tr:hover {
    background: var(--light-green);
}

.results-table .match-id {
    color: var(--gray-light);
    font-family: monospace;
    font-size: 0.75rem;
}

.results-table .team-gpv {
    font-weight: 600;
    color: var(--primary-dark);
}

.results-table .score {
    font-weight: 700;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.1rem;
    text-align: center;
}

.results-table .score.win {
    color: var(--primary);
}

.results-table .score.loss {
    color: #dc2626;
}

.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.upcoming-item {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    border: 2px solid var(--light-green-2);
    transition: all 0.3s ease;
}

.upcoming-item:hover {
    border-color: var(--primary-lighter);
    transform: translateX(5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.upcoming-date {
    text-align: center;
    padding-right: 1rem;
    border-right: 2px solid var(--light-green-2);
}

.upcoming-date .day {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.4rem;
    color: var(--primary);
    line-height: 1;
}

.upcoming-date .month {
    font-size: 0.7rem;
    color: var(--gray-light);
    text-transform: uppercase;
}

.upcoming-teams {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.upcoming-team {
    font-size: 0.9rem;
}

.upcoming-team.home {
    font-weight: 600;
    color: var(--primary-dark);
}

.upcoming-vs {
    font-size: 0.7rem;
    color: var(--gray-light);
}

.upcoming-time {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    background: var(--light-green);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90vh;
}

.modal-content {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalZoom 0.3s ease;
    display: block;
}

@keyframes modalZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    color: var(--dark);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.modal-close span {
    transform: translateY(-2px);
    display: block;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

/* Privacy Modal */
.privacy-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--primary-light);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

.privacy-modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
}

.privacy-modal-content h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.privacy-modal-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-modal-content a {
    color: var(--primary);
    text-decoration: none;
}

.privacy-modal-content a:hover {
    text-decoration: underline;
}

/* Floating Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.3s,
        visibility 0.3s,
        transform 0.3s;
}

.back-to-top.hidden {
    opacity: 0;
    visibility: hidden;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* History Section */
.history {
    background: var(--light-green);
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-text h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    color: var(--dark);
}

.history-text p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.history-milestones {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.milestone {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.milestone:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px var(--shadow);
}

.milestone-year {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    min-width: 70px;
}

.milestone-text {
    color: var(--gray);
    font-size: 0.95rem;
}

.history-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.history-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px var(--shadow);
}

.history-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-img.large {
    grid-column: span 2;
}

/* Sponsors Section */
.sponsors {
    background: #0a0a0a;
    padding: 3rem 2rem;
}

.sponsors-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsors-title {
    flex-shrink: 0;
}

.sponsors-title h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.5rem;
    color: white;
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    letter-spacing: 3px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    flex: 1;
    align-items: center;
}

.sponsor-item {
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
}

.sponsor-item:hover {
    transform: scale(1.05);
}

.sponsor-item img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .sponsors-content {
        flex-direction: column;
        gap: 2rem;
    }

    .sponsors-title h2 {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
        max-width: 250px;
    }
}

/* Contact Section */
.contact {
    background: var(--light-green);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    color: var(--dark);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px var(--shadow);
}

.contact-text h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--dark);
}

.contact-text p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}
.contact-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.contact-text a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--shadow);
    border: 2px solid var(--light-green-2);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--light-green);
    border: 2px solid var(--light-green-2);
    border-radius: 12px;
    color: var(--dark);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}
.footer-brand .logo-text {
    color: white;
}
.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-column h4 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    color: var(--primary-light);
}

.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.6rem;
}
.footer-column ul a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.footer-column ul a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content,
    .about-grid,
    .contact-grid,
    .history-grid,
    .coaches-content,
    .competitions-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .events-timeline::before {
        left: 20px;
    }

    .event-item:nth-child(odd),
    .event-item:nth-child(even) {
        padding-left: 55px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .event-dot {
        left: 20px;
    }

    .event-item:nth-child(odd) .event-card::after,
    .event-item:nth-child(even) .event-card::after {
        left: -10px;
        right: auto;
        border-right-color: var(--light-green);
        border-left-color: transparent;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.75rem 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        box-shadow: 0 20px 40px var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }
    .nav-cta {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    section {
        padding: 3.5rem 1.5rem;
    }

    .about-features,
    .form-row {
        grid-template-columns: 1fr;
    }

    .committee-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .history-images {
        grid-template-columns: 1fr;
    }
    .history-img.large {
        grid-column: span 1;
    }

    .event-card {
        flex-direction: column;
        gap: 0.75rem;
    }

    .event-date {
        align-self: flex-start;
    }
}
