/* ====================================
   RESET & BASE STYLES
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors from the flyer */
    --primary-blue: #0077CC;
    --deep-blue: #003366;
    --bright-blue: #00A8E8;
    --gold: #FFD700;
    --yellow: #FFC107;
    --orange: #FF6B35;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #E0E0E0;
    --dark-gray: #333333;
    --text-dark: #1A1A1A;
    --success: #4CAF50;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ====================================
   BUTTONS
   ==================================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--yellow));
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-contact {
    background: var(--gold);
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: 25px;
    border-radius: 25px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 4px;
    padding: 10px 0;
    top: 100%;
    left: 0;
}

.dropdown-content li {
    display: block;
    margin: 0;
}

.dropdown-content li a.nav-link {
    color: var(--text-dark);
    padding: 10px 20px;
    display: block;
    text-align: left;
    white-space: nowrap;
}

.dropdown-content li a.nav-link:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Submenu Handling */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        /* Hidden by default on mobile too */
        padding-left: 20px;
        background-color: transparent;
    }

    .dropdown:hover .dropdown-content {
        display: block;
        /* Expand on hover/tap for simplicity */
    }

    .dropdown-content li a.nav-link {
        color: var(--white);
        padding: 5px 0;
    }
}

/* ====================================
   NAVIGATION
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 51, 102, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: var(--white);
    letter-spacing: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:not(.btn-contact):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover:not(.btn-contact):after,
.nav-link.active:not(.btn-contact):after {
    width: 100%;
}

.nav-link:hover:not(.btn-contact),
.nav-link.active:not(.btn-contact) {
    color: var(--gold);
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #001a33 0%, #003366 50%, #0066cc 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 168, 232, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/hero-football.jpg') center/cover;
    background:
        url('assets/hero-football.jpg') center/cover,
        url('https://images.unsplash.com/photo-1579952363873-27f3bade9f55?w=1200') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title-main {
    display: block;
    font-size: 80px;
    font-weight: 900;
    letter-spacing: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--white) 0%, var(--bright-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-sub {
    display: block;
    font-size: 100px;
    font-weight: 900;
    letter-spacing: 12px;
    margin-top: -20px;
    text-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, var(--gold) 0%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: zoomPulse 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes zoomPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s;
}

.hero-date {
    margin: 40px 0;
    animation: fadeInUp 1s ease 0.6s;
}

.date-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 15px;
    position: relative;
}

.date-calendar-icon {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    color: var(--gold);
    opacity: 0.8;
    animation: calendarPulse 2s ease-in-out infinite;
}

@keyframes calendarPulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.date-number {
    font-size: 48px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
}

.date-separator {
    font-size: 32px;
    color: var(--white);
    opacity: 0.6;
}

.date-month {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--white);
}

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    animation: fadeInUp 1s ease 0.8s;
}

.location-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
}

.location-name {
    font-size: 22px;
    font-weight: 700;
}

.location-city {
    font-size: 16px;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    animation: fadeInUp 1s ease 1s;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 10px);
    }
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
    margin-top: 5px;
}

/* ====================================
   HIGHLIGHTS SECTION
   ==================================== */
.highlights {
    background: linear-gradient(180deg, #f0f4f8 0%, #e1e8ed 100%);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

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

.highlight-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.15);
    transition: var(--transition);
    border: 1px solid rgba(0, 119, 204, 0.1);
    border-top: 4px solid var(--primary-blue);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.highlight-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

.highlight-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.highlight-desc {
    font-size: 14px;
    color: var(--dark-gray);
    opacity: 0.8;
}

/* ====================================
   SECTION HEADERS
   ==================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-header.light .section-subtitle {
    color: var(--gold);
}

.section-header.light .section-title {
    color: var(--white);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--bright-blue));
    margin: 20px auto;
    border-radius: 2px;
}

.section-header.light .section-divider {
    background: linear-gradient(90deg, var(--gold), var(--yellow));
}

/* ====================================
   ABOUT TOURNAMENT SECTION
   ==================================== */
.about-tournament {
    padding: 100px 0;
    background: var(--light-gray);
}

.tournament-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tournament-text .lead {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 400;
}

.tournament-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

/* ====================================
   COUNTDOWN
   ==================================== */
.countdown-container {
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #003366, #0077CC);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.3);
}

.hero-countdown {
    margin: 25px 0;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: fadeInUp 1s ease 0.9s;
}

.countdown-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 15px;
    min-width: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.countdown-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-countdown .countdown-value {
    color: var(--gold);
    font-size: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.countdown-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    font-weight: 600;
}

.hero-countdown .countdown-label {
    color: var(--white);
    font-size: 12px;
}

.countdown-separator {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    opacity: 0.7;
    display: none;
}

.hero-countdown .countdown-separator {
    color: var(--gold);
    opacity: 0.8;
}

@media (min-width: 768px) {
    .countdown-separator {
        display: block;
    }
}

@media (max-width: 767px) {
    .countdown {
        flex-wrap: nowrap !important;
        gap: 8px;
        overflow-x: auto;
        padding: 0 10px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 10px 8px;
        margin: 0;
        flex-shrink: 0;
    }

    .countdown-value {
        font-size: 28px;
    }

    .hero-countdown .countdown-value {
        font-size: 24px;
    }

    .countdown-label {
        font-size: 10px;
    }

    .countdown-separator {
        display: none !important;
    }
}

.objectives {
    margin-top: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-blue);
}

.objectives h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.objectives-list {
    list-style: none;
}

.objectives-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--gray);
}

.objectives-list li:last-child {
    border-bottom: none;
}

.objectives-list svg {
    width: 24px;
    height: 24px;
    color: var(--success);
    flex-shrink: 0;
}

.tournament-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tournament-image img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    display: block;
}

.image-caption {
    position: relative;
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-top: -4px;
    border: 2px solid var(--primary-blue);
}

/* ====================================
   TOURNAMENT INFO SECTION
   ==================================== */
.tournament-info {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.info-card {
    background: linear-gradient(135deg, #003366 0%, #0077CC 100%);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.info-card:nth-child(1) {
    background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
}

.info-card:nth-child(2) {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
}

.info-card:nth-child(2) .registration-box {
    background: rgba(0, 51, 102, 0.85);
    color: var(--white);
}

.info-card:nth-child(2) .registration-box strong {
    color: var(--gold);
    font-size: 24px;
}

.info-card:nth-child(2) .registration-detail {
    color: rgba(255, 255, 255, 0.95);
}

.info-card:nth-child(2) .btn-primary {
    background: linear-gradient(135deg, #003366 0%, #0077CC 100%);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.4);
}

.info-card:nth-child(2) .btn-primary:hover {
    background: linear-gradient(135deg, #0077CC 0%, #00A8E8 100%);
    box-shadow: 0 6px 20px rgba(0, 119, 204, 0.5);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

.info-card:nth-child(3) {
    background: linear-gradient(135deg, #00A8E8 0%, #0077CC 100%);
}

.info-card:nth-child(4) {
    background: linear-gradient(135deg, #FF6B35 0%, #FFC107 100%);
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 51, 102, 0.4);
}

.info-card:nth-child(2):hover {
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.4);
}

.info-card:nth-child(4):hover {
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
}

.highlight-card-special {
    background: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
    color: var(--white);
    border: none;
}

.highlight-card-special h3 {
    color: var(--white);
}

.info-icon {
    font-size: 56px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.info-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.info-card ul {
    list-style: none;
    position: relative;
    z-index: 1;
}

.info-card li {
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

.info-card li strong {
    color: var(--white);
    font-weight: 700;
}

.highlight-card-special li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

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

.registration-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
}

.registration-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.registration-label {
    font-size: 16px;
    font-weight: 500;
}

.registration-price {
    font-size: 36px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
}

.registration-detail {
    font-size: 14px;
    opacity: 0.8;
}

.registration-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 20px 0;
}

/* ====================================
   STREET WORKOUT SECTION
   ==================================== */
.street-workout {
    padding: 100px 0;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 50%, #FFA552 100%);
    position: relative;
    overflow: hidden;
}

.street-workout::before {
    content: '💪';
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 300px;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.street-workout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.street-workout-text {
    color: var(--white);
}

.street-workout .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.street-workout .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.title-highlight-gold {
    color: var(--gold);
    font-weight: 900;
    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.3);
    display: inline-block;
    animation: goldShine 3s ease-in-out infinite;
}

@keyframes goldShine {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(255, 215, 0, 0.5),
            0 0 20px rgba(255, 215, 0, 0.3),
            0 2px 4px rgba(0, 0, 0, 0.3);
    }

    50% {
        text-shadow:
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.5),
            0 2px 4px rgba(0, 0, 0, 0.3);
    }
}

.street-workout .section-divider {
    background: var(--white);
}

.street-workout-description {
    font-size: 18px;
    line-height: 1.8;
    margin: 30px 0;
    color: rgba(255, 255, 255, 0.95);
}

.street-workout-description strong {
    color: var(--white);
    font-weight: 700;
}

.workout-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
}

.workout-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.workout-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(10px);
}

.workout-feature-special {
    background: rgba(255, 215, 0, 0.2);
    border: 3px solid var(--gold);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.workout-feature-special:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: var(--gold);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
    transform: translateX(10px) scale(1.02);
}

.workout-feature-special .workout-icon {
    font-size: 56px;
    animation: trophyPulse 2s ease-in-out infinite;
}

@keyframes trophyPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.workout-icon {
    font-size: 48px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.workout-details h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.workout-details p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.workout-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-workout {
    background: var(--white);
    color: #FF6B35;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    font-size: 18px;
}

.btn-workout:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    background: var(--gold);
    color: var(--text-dark);
}

.workout-note {
    font-size: 16px;
    color: var(--white);
    font-weight: 500;
}

.street-workout-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.workout-image-placeholder {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 3px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.workout-image-placeholder p {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.workout-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    min-height: 350px;
}

.workout-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.workout-image-container:hover .workout-photo {
    transform: scale(1.05);
}

.workout-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.workout-stat {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.workout-stat:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 968px) {
    .street-workout-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .workout-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .street-workout {
        padding: 60px 0;
    }

    .workout-features {
        gap: 15px;
    }

    .workout-feature {
        padding: 15px;
    }

    .workout-icon {
        font-size: 36px;
    }

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

/* ====================================
   REWARDS SECTION
   ==================================== */
.rewards {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--deep-blue), var(--primary-blue));
    color: var(--white);
}

.rewards-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.reward-category-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold);
}

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

.reward-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.reward-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.first-place {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 193, 7, 0.1));
    border-color: var(--gold);
}

.second-place {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(169, 169, 169, 0.1));
    border-color: #C0C0C0;
}

.third-place {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(184, 115, 51, 0.1));
    border-color: #CD7F32;
}

.fourth-place {
    background: linear-gradient(135deg, rgba(100, 149, 237, 0.2), rgba(70, 130, 180, 0.1));
    border-color: #6495ED;
}

.reward-medal {
    font-size: 64px;
    margin-bottom: 20px;
}

.reward-position {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reward-prize {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prize-main {
    font-size: 24px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
}

.prize-detail {
    font-size: 16px;
    opacity: 0.9;
}

/* ====================================
   WOMEN'S TOURNAMENT SECTION
   ==================================== */
.women-tournament {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f0ff 0%, #fff5f7 100%);
}

.women-tournament-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.women-tournament-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.women-tournament-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}

.women-tournament-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px;
}

.overlay-badge {
    background: linear-gradient(135deg, var(--gold), var(--yellow));
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.women-tournament-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.women-tournament-text .lead {
    font-size: 20px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 40px;
}

.women-features {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.women-feature {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.women-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 40px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border-radius: 50%;
}

.feature-content h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 18px;
}

.feature-content p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 15px;
}

.women-cta {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.women-cta .btn {
    margin-bottom: 15px;
}

.cta-note {
    color: var(--white);
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .women-tournament-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .women-tournament-text h3 {
        font-size: 28px;
    }

    .women-feature {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }
}

/* ====================================
   PARTNERS SECTION
   ==================================== */
.partners {
    padding: 100px 0;
    background: var(--light-gray);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.partner-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-height: 150px;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.partner-card img {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
}

.partner-placeholder {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 18px;
}

.become-partner {
    text-align: center;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.become-partner h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.become-partner p {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

/* ====================================
   CTA SECTION
   ==================================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gold), var(--yellow));
    text-align: center;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: var(--deep-blue);
    color: var(--white);
}

.cta .btn-primary:hover {
    background: var(--primary-blue);
}

.cta .btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
}

.cta .btn-secondary:hover {
    background: transparent;
    color: var(--white);
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: var(--deep-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--text-dark);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-schedule {
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
    margin: 5px 0;
}

.footer-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-link:hover {
    color: var(--white);
    border-bottom-color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--deep-blue);
        flex-direction: column;
        padding: 30px 0;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title-main {
        font-size: 48px;
    }

    .hero-title-sub {
        font-size: 60px;
    }

    .date-number {
        font-size: 32px;
    }

    .date-month {
        font-size: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .tournament-content {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .highlights-grid,
    .info-grid,
    .rewards-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title-main {
        font-size: 36px;
    }

    .hero-title-sub {
        font-size: 48px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 24px;
    }

    .section-title {
        font-size: 28px;
    }
}

/* ====================================
   MODAL INSCRIPTION DÉMOS STREET WORKOUT
   ==================================== */
.demo-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.demo-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.demo-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.demo-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 36px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
    line-height: 1;
}

.demo-modal-close:hover {
    color: #333;
}

.demo-modal-header {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    padding: 30px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.demo-modal-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 900;
}

.demo-modal-header p {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
}

.demo-form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

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

.demo-info-box {
    background: #FFF9E6;
    border-left: 4px solid var(--gold);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.demo-info-box p {
    margin: 0 0 10px 0;
    font-size: 15px;
}

.demo-info-box ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.demo-info-box ul li {
    padding: 5px 0;
    font-size: 14px;
    color: #666;
}

.demo-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.demo-success-message {
    display: none;
    text-align: center;
    padding: 40px 30px;
}

.demo-success-message.show {
    display: block;
}

.demo-success-message .success-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.demo-success-message h3 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 15px;
}

.demo-success-message p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .demo-modal-content {
        max-width: 95%;
        margin: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .demo-modal-header h2 {
        font-size: 24px;
    }

    .demo-form {
        padding: 20px;
    }

    .demo-form-actions {
        flex-direction: column;
    }

    .demo-form-actions button {
        width: 100%;
    }
}

/* ====================================
   STANDINGS (POULES)
   ==================================== */
.standings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.standings-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray);
    transition: var(--transition);
}

.standings-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.standings-header {
    background: linear-gradient(135deg, #f0f4f8 0%, #e1e8ed 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray);
}

.poule-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.standings-legend {
    display: flex;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.legend-item {
    width: 30px;
    text-align: center;
}

.standings-rows {
    background: var(--white);
}

.standings-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.standings-row:last-child {
    border-bottom: none;
}

.standings-row:hover {
    background-color: #fafafa;
}

.team-rank {
    font-size: 18px;
    font-weight: 700;
    width: 30px;
    color: var(--text-dark);
}

.team-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    background: #f5f5f5;
    padding: 2px;
}

.team-name {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.exam-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    width: 30px;
    text-align: center;
    font-size: 16px;
    color: var(--text-dark);
}

.stat-pts {
    font-weight: 900;
}

/* ====================================
   CALENDAR PAGE
   ==================================== */
.calendar-hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--deep-blue), var(--primary-blue));
    color: var(--white);
    text-align: center;
}

.calendar-content {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.calendar-list {
    max-width: 900px;
    margin: 0 auto;
}

.day-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gold);
}

.day-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 5px;
}

.day-subtitle {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.matches-group {
    margin-bottom: 60px;
}

.match-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-left: 5px solid var(--gold);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.match-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.match-time {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-location {
    font-style: italic;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.match-team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 140px;
}

.match-team.home {
    justify-content: flex-end;
    text-align: right;
}

.match-team.away {
    justify-content: flex-start;
    text-align: left;
}

.team-logo-small {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.team-name-text {
    font-weight: 700;
    color: var(--text-dark);
}

.match-versus {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: var(--gold);
    font-size: 18px;
    padding: 0 10px;
}

.match-info-tag {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    border-top: 1px dashed var(--gray-border);
    padding-top: 10px;
}

@media (min-width: 768px) {
    .match-card {
        flex-direction: row;
        align-items: center;
        padding: 15px 30px;
    }

    .match-meta {
        flex-direction: column;
        align-items: flex-start;
        width: 200px;
        margin-bottom: 0;
        margin-right: 20px;
        gap: 5px;
    }

    .match-teams {
        flex: 1;
    }

    .match-info-tag {
        margin-top: 0;
        margin-left: 20px;
        border-top: none;
        border-left: 1px dashed var(--gray-border);
        padding-top: 0;
        padding-left: 20px;
        width: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ====================================
   TOURNAMENT BRACKET
   ==================================== */
.tournament-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: auto;
    padding: 20px 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Hide scrollbar only on desktop for cleaner look */
@media (min-width: 768px) {
    .tournament-wrapper {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tournament-wrapper::-webkit-scrollbar {
        display: none;
    }
}

/* Mobile Scroll Hint */
.mobile-scroll-hint {
    display: none;
    text-align: center;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    animation: fadeIn 1s ease;
}

.mobile-scroll-hint i {
    margin-left: 5px;
    animation: bounceRight 1.5s infinite;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

@media (max-width: 767px) {
    .mobile-scroll-hint {
        display: block;
    }
}

.tournament-bracket {
    display: flex;
    justify-content: center;
    min-width: 1200px;
    /* Ensure bracket doesn't squish on mobile */
    padding: 20px;
}

@media (max-width: 1200px) {
    .tournament-bracket {
        justify-content: flex-start;
    }
}

.round {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0 60px;
}

.round-quarter {
    gap: 40px;
}

.round-semi {
    justify-content: space-around;
    gap: 150px;
}

.round-final {
    justify-content: center;
}

.bracket-match {
    background: var(--white);
    border: 1px solid var(--deep-blue);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    width: 260px;
    padding: 10px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bracket-match-info {
    font-size: 11px;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
}

.bracket-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.bracket-team:first-of-type {
    border-bottom: 1px solid #eee;
}

.bracket-score {
    background: #eee;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

/* Connectors */
.round-quarter .bracket-match {
    position: relative;
}

/* Quarter to Semi Connectors */
.round-quarter .bracket-match::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
    right: -42px;
    top: 50%;
}

.round-quarter .bracket-match:nth-child(odd)::after {
    bottom: -50%;
    /* Adjust based on gap */
    top: auto;
    width: 40px;
    right: -40px;
    transform: translateY(50%);
}

/* This approach creates individual lines, simplified for flexibility. 
   A more robust connector system: */

.connector-group {
    display: flex;
    align-items: center;
}

.round-semi .bracket-match::before,
.round-semi .bracket-match::after {
    content: '';
    position: absolute;
    background-color: var(--gold);
}

/* Line coming from left (receiving from Quarter) */
.round-semi .bracket-match::before {
    width: 40px;
    height: 2px;
    left: -42px;
    top: 50%;
}

/* Line going to right (to Final) */
.round-semi .bracket-match::after {
    width: 40px;
    height: 2px;
    right: -42px;
    top: 50%;
}

/* Vertical Lines for Quarter winners */
.round-quarter .bracket-match:nth-child(odd) {
    margin-bottom: 20px;
}

.round-quarter .bracket-match:nth-child(even) {
    margin-top: 20px;
}

/* Connecting lines logic specific for this structure */
.match-connector-lines {
    position: absolute;
    right: -40px;
    width: 40px;
    border: 2px solid var(--gold);
    border-left: 0;
}

/* Styling specifically for the "Blue/Gold" aesthetic requested */
.bracket-match {
    background: linear-gradient(to right, #fff, #f8f9fa);
    border-color: var(--deep-blue);
}

.round-final .bracket-match {
    border-left-color: var(--primary-blue);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.final-trophy {
    text-align: center;
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 10px;
}

/* Petite Finale */
.petite-finale-wrapper {
    margin-top: 40px;
    text-align: center;
    border-top: 1px dashed var(--gray-border);
    padding-top: 20px;
}

/* ====================================
   BRACKET ANIMATIONS
   ==================================== */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growLine {
    from {
        width: 0;
    }

    to {
        width: 40px;
        /* Match existing width */
    }
}

@keyframes growLineVertical {
    from {
        height: 0;
    }

    to {
        height: 100%;
        /* Or specific height */
    }
}

/* Hover Effects */
.bracket-match {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.bracket-match:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border-color: var(--gold);
}

/* Entry Animations */
.round-quarter,
.round-semi,
.round-final {
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Trigger class to be added by JS */
.tournament-bracket.visible .round-quarter {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.tournament-bracket.visible .round-semi {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.8s;
    /* Wait for quarters */
}

.tournament-bracket.visible .round-final {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 1.4s;
    /* Wait for semis */
}

/* Connector Animations */
.tournament-bracket.visible .round-quarter .bracket-match::after {
    animation: growLine 0.4s ease forwards;
    animation-delay: 0.7s;
    width: 0;
    /* Start hidden */
    animation-fill-mode: forwards;
}

.tournament-bracket.visible .round-semi .bracket-match::before,
.tournament-bracket.visible .round-semi .bracket-match::after {
    animation: growLine 0.4s ease forwards;
    width: 0;
    /* Start hidden */
    animation-fill-mode: forwards;
}

.tournament-bracket.visible .round-semi .bracket-match::before {
    animation-delay: 1.2s;
}

.tournament-bracket.visible .round-semi .bracket-match::after {
    animation-delay: 1.3s;
}

/* Trophy Animation */
.final-trophy {
    opacity: 0;
}

.tournament-bracket.visible .final-trophy {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 1.8s;
}

/* Vertical lines logic update */
.tournament-bracket.visible .match-connector-lines {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
    animation-delay: 0.7s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* ====================================
   WINNER NODE ADDITION
   ==================================== */

.round-winner {
    opacity: 0;
    animation-fill-mode: forwards;
    justify-content: center;
    margin-left: 60px;
    /* Space for connector */
    display: flex;
    flex-direction: column;
}

.tournament-bracket.visible .round-winner {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 2.0s;
    /* After Final */
}

/* Connector Final -> Winner */
.round-final .bracket-match {
    position: relative;
}

.round-final .bracket-match::after {
    content: '';
    position: absolute;
    height: 2px;
    background-color: var(--gold);
    width: 60px;
    /* Distance to winner */
    right: -62px;
    top: 50%;

    /* Animation */
    width: 0;
    transition: width 0.4s ease;
}

.tournament-bracket.visible .round-final .bracket-match::after {
    animation: growLine 0.4s ease forwards;
    animation-delay: 1.9s;
}

/* Winner Card Styling */
.winner-card {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.winner-cup {
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulseTrophy 2s infinite ease-in-out;
}

.trophy-img {
    width: 100px;
    /* Adjust size as needed */
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

.winner-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--deep-blue);
    background: var(--gold);
    padding: 5px 15px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@keyframes pulseTrophy {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9));
    }

    100% {
        transform: scale(1);
    }
}