﻿:root {
    --color-primary: #e63946;
    --color-primary-hover: #ff4d5a;
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-surface-light: #1a1a1a;
    --color-border: #2a2a2a;
    --color-text: #f5f5f5;
    --color-text-muted: #888;
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Roboto Condensed', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --sidebar-width: 280px;
    --color-accent: #FFD700;
    --color-text-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.about-content p {
    text-align: justify;
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
    border-right: 1px solid var(--color-border);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    padding: 2rem 0 0;
    z-index: 1000;
    transition: transform var(--transition-medium);
}

.sidebar-logo {
    text-align: center;
    padding: 0 0.75rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-logo a {
    display: block;
    line-height: 0;
}

.sidebar-logo-img {
    width: 240px;
    max-width: 100%;
    /* override the img's height="1254" attribute so aspect-ratio controls the height */
    height: auto;
    margin: 0 auto;
    /* the source logo is square with large empty margins: crop top/bottom to the lockup */
    aspect-ratio: 1254 / 880;
    object-fit: cover;
    object-position: center 58%;
    /* logo sits on a pure-black plate; lighten blends it into the sidebar gradient */
    mix-blend-mode: lighten;
}

nav {
    flex: 1;
    padding: 1.5rem;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 0.25rem;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(230, 57, 70, 0.1);
    color: var(--color-primary);
}

.nav-menu a i {
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 0 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.lang-switcher a {
    padding: 0.5rem 1rem;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.lang-switcher a:hover,
.lang-switcher a.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    max-width: calc(100vw - var(--sidebar-width));
    overflow-x: hidden;
}

section {
    padding: 5rem 3rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section:nth-child(even) {
    background: var(--color-surface);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 span {
    color: var(--color-primary);
}

.section-title p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    text-align: center;
}

#home {
    position: relative;
    overflow: hidden;
    align-items: flex-start;
    /* solid base so the logo's blend always has a dark backdrop (left of the photo) */
    background: var(--color-bg);
    /* scope the logo's blend mode to the hero only */
    isolation: isolate;
}

.hero-bg {
    /* photo lives on the right only, at natural cover scale (no over-zoom) */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 40%;
    z-index: 0;
    background: url(../images/background.webp) center 78% / cover no-repeat;
    filter: grayscale(1) contrast(1.06) brightness(0.9);
}

.hero-fade {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* separate, UNFILTERED overlay: its #0a0a0a matches the hero exactly, so no seam.
       Black behind the logo/text, opening up to reveal the hands on the right. */
    background: linear-gradient(90deg,
            #0a0a0a 0%,
            #0a0a0a 42%,
            rgba(10, 10, 10, 0.82) 52%,
            rgba(10, 10, 10, 0.15) 72%,
            rgba(10, 10, 10, 0.42) 100%);
}

.hero-content {
    /* no z-index: stays a non-isolating layer so the logo can blend with .hero-bg,
       while still painting above it by DOM order */
    position: relative;
    text-align: left;
    max-width: 580px;
    margin: 0;
}

.hero-title {
    margin: 0 0 1.75rem;
    line-height: 0;
}

.hero-logo {
    /* explicit width so aspect-ratio can derive a definite height in the flex column */
    width: 460px;
    max-width: 100%;
    /* override the img's height="1254" attribute so aspect-ratio controls the height */
    height: auto;
    display: block;
    /* crop the square asset's empty top/bottom margins down to the lockup */
    aspect-ratio: 1254 / 880;
    object-fit: cover;
    object-position: center 58%;
    /* black plate drops into the backdrop; signature/text composite over the photo */
    mix-blend-mode: lighten;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin: 0 0 2rem;
    /* match the logo width so the left column reads as one tidy block */
    max-width: 460px;
    text-align: justify;
}

.hero-content .btn-group {
    /* two buttons pushed to the column edges: button — space — button */
    width: 100%;
    justify-content: space-between;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-group .btn {
    text-align: center;
    justify-content: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

#goals .about-grid,
#sponsor .about-grid {
    direction: rtl;
}

#goals .about-grid>*,
#sponsor .about-grid>* {
    direction: ltr;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 4px solid var(--color-primary);
    background: rgba(230, 57, 70, 0.05);
    z-index: 1;
}

.about-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
}

.about-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
}

.highlight-item i {
    color: var(--color-primary);
}

.palmares-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.palmares-category {
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
}

.palmares-category h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.palmares-category h3 i {
    color: var(--color-primary);
}

.palmares-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.palmares-item:last-child {
    border-bottom: none;
}

.medal {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.medal.gold {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.medal.silver {
    filter: drop-shadow(0 0 10px rgba(192, 192, 192, 0.5));
}

.medal.bronze {
    filter: drop-shadow(0 0 10px rgba(205, 127, 50, 0.5));
}

.palmares-info h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.palmares-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.palmares-location {
    margin-left: auto;
    padding: 0.25rem 0.75rem;
    background: var(--color-surface);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.stats-category {
    margin-bottom: 3rem;
}

.stats-category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    text-align: center;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all var(--transition-medium);
}

.stat-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coach-section {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-align: center;
}

.coach-section-inner {
    max-width: 100%;
    margin: 2rem 0 0;
    text-align: left;
}

.coach-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.coach-section h3 i {
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.coach-section p {
    color: var(--color-text-muted);
}

.events-list {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== No events message ===== */
.no-events-message {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.no-events-message i {
    font-size: 3rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    display: block;
}

.no-events-message h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.no-events-message p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all var(--transition-medium);
}

.event-card:hover {
    border-color: var(--color-primary);
}

.event-date {
    text-align: center;
    padding: 1rem;
    background: var(--color-surface);
    border-radius: 8px;
    min-width: 80px;
}

.event-day {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

.event-month {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.event-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.event-status {
    padding: 0.5rem 1rem;
    background: rgba(230, 57, 70, 0.1);
    color: var(--color-primary);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--color-surface-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.contact-item a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--color-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

footer {
    margin-left: var(--sidebar-width);
    max-width: calc(100vw - var(--sidebar-width));
    overflow-x: hidden;
    padding: 1.5rem 3rem;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-left {
    text-align: center;
}

.footer-left p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(calc(100% + 2rem));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.cookie-banner a {
    color: var(--color-primary);
    text-decoration: none;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.menu-toggle {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2000;
    display: none;
}

/* ===== Sidebar overlay (mobile) ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== Button variants ===== */
.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ===== Link primary ===== */
.link-primary {
    color: var(--color-primary);
    text-decoration: none;
}

.link-primary:hover {
    text-decoration: underline;
}

/* ===== Skip to content ===== */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    text-decoration: none;
    font-weight: 600;
    transition: top var(--transition-fast);
}

.skip-to-content:focus {
    top: 0;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 280px;
    max-width: 72vw;
    /* show only the GBJ signature, cropping out the name/discipline text below */
    aspect-ratio: 1254 / 720;
    object-fit: cover;
    object-position: center 38%;
    margin-bottom: 1.75rem;
    mix-blend-mode: lighten;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar::after {
    content: '';
    display: block;
    height: 100%;
    background: var(--color-primary);
    animation: preloader-fill 1.2s ease forwards;
    width: 0;
}

@keyframes preloader-fill {
    to {
        width: 100%;
    }
}

/* ===== Form error ===== */
.form-error {
    display: block;
    color: var(--color-primary);
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: var(--color-primary);
}

@media (max-width: 1200px) {
    .menu-toggle {
        display: flex;
        pointer-events: auto;
    }

    .sidebar {
        transform: translateX(-100%);
        width: 100vw;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content,
    footer {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    section {
        padding: 4rem 2rem;
        min-height: auto;
    }

    /* sidebar collapsed: drop the photo, center the hero on black */
    #home {
        align-items: center;
    }

    .hero-bg,
    .hero-fade {
        display: none;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
        /* centered hero: drop the desktop justify */
        text-align: center;
    }

    .hero-content .btn-group {
        width: auto;
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #goals .about-grid,
    #sponsor .about-grid {
        display: flex;
        flex-direction: column;
    }

    #goals .about-grid .about-image,
    #sponsor .about-grid .about-image {
        order: -1;
    }

    .about-image::before {
        display: none;
    }

    .about-image img {
        max-width: 60%;
        display: block;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .palmares-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .palmares-category {
        width: 100%;
    }

    .events-list {
        max-width: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 1.25rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    /* hero already centered on black from the ≤1200 breakpoint; just shrink the copy */
    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat-value {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .about-content h3 {
        font-size: 1.6rem;
    }

    .about-highlights {
        gap: 1rem;
    }

    .palmares-category {
        padding: 1.25rem;
    }

    .palmares-item {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .palmares-location {
        margin-left: 0;
        margin-top: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: none;
    }

    .stat-value {
        font-size: 2.2rem;
    }

    .event-card {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .event-status {
        width: 100%;
        text-align: center;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .contact-form .btn {
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    footer {
        padding: 1.5rem 1.25rem;
        margin-left: 0;
        height: auto;
        min-height: auto;
    }

    .footer-links {
        gap: 0.75rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2.5rem 1rem;
    }

    .section-title h2 {
        font-size: 1.9rem;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-group .btn {
        text-align: center;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .no-events-message {
        padding: 2.5rem 1rem;
    }

    .contact-item {
        gap: 0.75rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

@media (max-width: 420px) {
    .about-image img {
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    section {
        padding: 2rem 0.75rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Utility Classes */

.event-details {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 2rem;
}

.text-muted {
    color: var(--color-text-muted);
}

.w-full {
    width: 100%;
}

/* ===== Sponsor Benefits ===== */
.sponsor-benefits {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sponsor-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.sponsor-benefit-icon {
    width: 44px;
    height: 44px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.sponsor-benefit-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.sponsor-benefit-item span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ===== Noscript overlay ===== */
.noscript-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 2rem;
    text-align: center;
}

.noscript-logo {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
}

.noscript-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
}

.noscript-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.noscript-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.noscript-steps {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-align: left;
    max-width: 380px;
    margin: 0 auto;
    padding-left: 1.5rem;
}

.noscript-steps li {
    margin-bottom: 0.5rem;
}

/* ===== Privacy page ===== */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.privacy-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin: 2.5rem 0 1rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.privacy-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-text);
    margin: 1.5rem 0 0.75rem;
}

.privacy-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.privacy-content ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--color-text-muted);
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-content a {
    color: var(--color-primary);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.privacy-section {
    margin-bottom: 2rem;
}

.last-updated {
    font-style: italic;
    color: var(--color-text-muted);
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

/* ===== Thank-you page ===== */
.thank-you-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.thank-you-content p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* ===== Submit button centered (not full-width) ===== */
.contact-form .btn-submit {
    display: inline-flex;
    width: auto;
    margin: 0 auto;
}

.contact-form .form-submit-wrapper {
    text-align: center;
}