/* --- MAIN THEME & RESET --- */
:root {
    --color-bg: #0a0a0a;
    --color-maroon: #4a0404;
    --color-maroon-dark: #2a0202;
    --color-gold: #d4af37;
    --color-gold-glow: #ffd700;
    --color-parchment: #f0e6d2;
    --color-text-dim: rgba(240, 230, 210, 0.7);
    --font-heading: 'Harry P', serif;
    --font-subheading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --glass-bg: rgba(20, 10, 10, 0.6);
    --glass-border: rgba(212, 175, 55, 0.3);

    /* Motion Engineering Tokens */
    --ease-m1: cubic-bezier(0.4, 0.0, 0.2, 1);    /* Phase 1: Soft Reveal */
    --ease-m2: cubic-bezier(0.2, 0.8, 0.2, 1);    /* Phase 2: Gentle Entry */
    --ease-m3: cubic-bezier(0.25, 0.1, 0.25, 1);  /* Phase 3: Ceremonial Awakening */
    --ease-m4: cubic-bezier(0.3, 0.7, 0.3, 1);    /* Phase 4: Intentional Lift */
    --ease-out-smooth: cubic-bezier(0.4, 0, 0.2, 1); 
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-parchment);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) #1a1a1a;
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0; /* Reduced padding */
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.95); /* Pure black theme */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1); /* Subtle gold border */
}

.navbar.scrolled {
    background: #000000; /* Pure black on scroll */
    padding: 0.6rem 0; /* Further reduced on scroll */
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(15px);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo {
    height: 35px; /* Reduced by ~30% from 50px */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.nav-logo:hover { transform: scale(1.05); }

.nav-logo.xime {
    opacity: 1; 
    filter: none; /* No glow for white logo */
}

.nav-logo.quest {
    height: 48px; /* Reduced by ~30% from 66px */
    filter: none; /* No glow for new intricate logo */
}

.v-divider {
    height: 25px; /* Reduced height */
    width: 1px;
    background: rgba(255, 255, 255, 0.2); /* Light divider for dark theme */
    opacity: 0.5;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.desktop-only { display: flex; }
.mobile-only { display: none; }

.hamburger { display: none; }
.mobile-menu { display: none; }

.mobile-nav-item {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 992px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }
}

.nav-item {
    font-family: var(--font-subheading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--color-parchment); /* Light text */
    text-transform: uppercase;
    position: relative;
    font-weight: 600;
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--color-gold);
}

.nav-item:hover::after { width: 100%; }

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000; /* Fallback */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background-image 1.5s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 2rem;
}

.tagline {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--color-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.title-container {
    perspective: 1000px;
}

/* --- HERO TITLE (Liquid Morph) --- */
.title-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.liquid-box {
    filter: url(#threshold); /* Apply threshold to the container of blurring text */
}

.main-title {
    font-family: var(--font-heading);
    /* 80% size as requested: approx 9.5rem max */
    font-size: clamp(4rem, 15vw, 9.5rem); 
    line-height: 1;
    color: var(--color-gold);
    display: grid; /* Stack items */
    place-items: center;
    margin-bottom: 0.5rem;
    position: relative;
    /* Ragam style sizing fix */
    min-height: 1.2em; 
}

.morph-item {
    grid-area: 1 / 1;
    opacity: 0;
    filter: blur(0px);
    transition: opacity 1s ease-in-out, filter 1s ease-in-out;
    white-space: nowrap;
    
    /* Font adjustments for different scripts to match size visually */
}

.morph-item:nth-child(2) { font-size: 0.85em; } /* Hindi */
.morph-item:nth-child(3) { font-size: 0.75em; } /* Tamil */
.morph-item:nth-child(4) { font-size: 0.8em; } /* Telugu */
.morph-item:nth-child(5) { font-size: 0.8em; } /* Bengali */

/* Active State */
.morph-item.visible {
    opacity: 1;
    filter: blur(0px);
}

/* Transition States */
.morph-item.blur-out {
    opacity: 0;
    filter: blur(15px); /* Creates the liquid spread */
}

.morph-item.blur-in {
    opacity: 1;
    filter: blur(0px); 
    /* We animate TO this state from a blurred state set in JS */
}

.static-year {
    font-family: var(--font-subheading);
    font-size: 1.8rem; /* Increased by 20% */
    font-weight: bold;
    letter-spacing: 0.5em;
    color: var(--color-parchment);
    opacity: 0.9;
    margin-top: -10px;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* Quote Bar (Ragam Style) */

/* Quote Bar (Ragam Style) */
.quote-bar-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    width: 100%;
    animation: fadeInUp 1.5s ease-out 0.5s backwards;
}

.quote-pill {
    background: rgba(20, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    max-width: 90%;
}

.quote-label {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--color-gold);
}

.quote-text {
    font-family: 'Courier New', monospace;
    color: var(--color-parchment);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.cursor-blink {
    color: var(--color-gold);
    animation: blink 1s infinite;
}

@keyframes blink { 50% { opacity: 0; } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* --- SECTIONS COMMON --- */
.content-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.dark-bg {
    background: rgba(10, 5, 5, 0.6); /* Slightly Darker Overlay */
}

.section-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    text-align: center;
    color: var(--color-gold);
    margin-bottom: 4rem;
    position: relative;
}

/* Magical Divider underneath titles */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 10px auto 0;
    box-shadow: 0 0 10px var(--color-gold);
}


/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(240, 230, 210, 0.9);
}

.drop-cap {
    float: left;
    font-family: var(--font-subheading); /* Using Cinzel for cleaner cap */
    font-size: 4.5rem;
    line-height: 0.8;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    color: var(--color-gold);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.framed-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.framed-image-placeholder::before {
    content: 'Magical Visual Placeholder';
    color: var(--color-text-dim);
    letter-spacing: 2px;
}

/* --- MARQUEE SECTION --- */
.marquee-container {
    background: var(--color-maroon);
    overflow: hidden;
    padding: 1rem 0;
    white-space: nowrap;
    border-top: 1px solid var(--color-gold);
    border-bottom: 1px solid var(--color-gold);
    transform: rotate(-2deg) scale(1.05); /* Slight tilt for Ragam feel */
    margin: 2rem 0;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    animation: scrollMarquee 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-gold);
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

 .marquee-icon {
    height: 54px; /* Increased by 35% */
    width: auto;
}

.xime-marquee {
    filter: none !important; /* Ensure the white logo doesn't get filters */
    height: 45px;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- EVENTS GRID (Now Row-Based Grids) --- */
.category-row {
    margin-bottom: 6rem;
}

.experiences-row {
    margin-top: 4rem;
    padding: 4rem 0;
    background: rgba(212, 175, 55, 0.03);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.events-grid {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 5%;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) transparent;
}

.events-grid::-webkit-scrollbar { 
    height: 4px;
}

.events-grid::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 10px;
}

.event-card {
    min-width: 320px;
    scroll-snap-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 12px;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.event-card h3 {
    font-family: var(--font-subheading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-parchment);
}

.event-card p {
    font-size: 0.95rem;
    color: var(--color-text-dim);
    margin-bottom: 1.5rem;
}

.btn-card {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.5rem 1.5rem;
    font-family: var(--font-subheading);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-card:hover {
    background: var(--color-gold);
    color: #000;
}

/* --- TIMELINE --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--color-gold);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

/* Dot on line */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-gold);
}

.timeline-item:nth-child(odd) .event-info { margin-left: auto; padding-left: 2rem; }
.timeline-item:nth-child(even) .event-info { margin-right: auto; padding-right: 2rem; text-align: right; }
.time { position: absolute; left: 50%; transform: translateX(-50%); top: -25px; font-family: var(--font-subheading); color: var(--color-gold); }

/* --- SPONSORS --- */
.sponsors-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.sponsor-placeholder {
    width: 150px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    display: flex; /* Center text */
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.3);
    font-weight: bold;
    transition: 0.3s;
}

.sponsor-placeholder:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-color: #fff;
}

/* --- TEAM --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
}

.avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #333;
    border: 2px solid var(--color-gold);
    overflow: hidden;
    position: relative;
}

.team-card h3 { font-family: var(--font-subheading); color: var(--color-gold); }
.team-card p { font-size: 0.9rem; color: var(--color-text-dim); }


/* --- FOOTER --- */
.footer-section {
    background: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-family: var(--font-subheading);
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.social-links a {
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.social-links a:hover { opacity: 1; color: var(--color-gold); }
.copyright { text-align: center; font-size: 0.8rem; opacity: 0.5; border-top: 1px solid #222; padding-top: 2rem; }

/* --- ANIMATIONS (Reveal on Scroll) --- */
.reveal-text, .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Mobile Menu Placeholder */
    .mobile-only { display: block; }
    
    .about-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item { flex-direction: column; align-items: flex-start; margin-left: 20px; border-left: 2px solid transparent; padding-left: 20px; }
    .timeline-item::after { left: -6px; } /* Adjust dot roughly */
    .timeline-item .event-info { text-align: left !important; padding: 0 !important; }
    .time { position: relative; left: 0; transform: none; top: 0; font-size: 0.9rem; margin-bottom: 0.5rem; }
    
    .section-title { font-size: 3rem; }
}

/* --- CINEMATIC GOLDEN SNITCH --- */
.snitch-perspective {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    perspective: 1000px;
    z-index: 9999;
}

/* --- SIMPLE GOLDEN SNITCH --- */
.snitch-container {
    position: fixed;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 9998;
}

.snitch-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, #ffd700, #daa520, #b8860b);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.6),
        inset -2px -2px 5px rgba(0,0,0,0.3),
        inset 2px 2px 5px rgba(255,255,255,0.5);
}

.snitch-wing {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 8px;
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.7), rgba(255,255,255,0.3));
    border-radius: 50%;
}

.snitch-wing.left {
    right: 50%;
    margin-right: 12px;
    transform-origin: right center;
    animation: hummingbirdFlutter 0.05s infinite alternate ease-in-out;
}

.snitch-wing.right {
    left: 50%;
    margin-left: 12px;
    transform-origin: left center;
    animation: hummingbirdFlutter 0.05s infinite alternate ease-in-out;
}

@keyframes hummingbirdFlutter {
    0% { transform: translateY(-50%) rotateZ(-15deg); opacity: 0.9; }
    100% { transform: translateY(-50%) rotateZ(15deg); opacity: 0.7; }
}

/* --- SPELL GLYPH CODEX --- */
.spell-glyph-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    perspective: 1000px;
}

.spell-card {
    width: 280px;
    min-height: 320px;
    background: linear-gradient(135deg, rgba(20, 10, 10, 0.9), rgba(40, 20, 20, 0.95));
    border: 1px solid var(--color-gold);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    animation: floatCard 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.spell-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold-glow);
}

.spell-card:active {
    transform: scale(0.98);
}

.spell-glyph-container {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.glyph-symbol {
    font-size: 4rem;
    color: var(--color-gold);
    text-shadow: 0 0 15px var(--color-gold);
    transition: all 0.4s ease;
}

.glyph-symbol.changing {
    transform: scale(0.2) rotate(360deg);
    opacity: 0;
    filter: blur(10px);
}

.glyph-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 0; height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: none;
}

.glyph-glow.active {
    animation: pulseGlow 0.8s ease-out forwards;
}

.spell-info {
    text-align: center;
}

.spell-name {
    font-family: var(--font-heading);
    font-size: 2.5rem; /* Large Harry P font */
    color: var(--color-parchment);
    margin: 0.5rem 0;
    line-height: 1;
    min-height: 2.5rem;
    transition: opacity 0.3s;
}

.spell-desc {
    font-family: var(--font-subheading);
    font-size: 0.9rem;
    color: var(--color-text-dim);
    font-style: italic;
    min-height: 1.4rem;
    transition: opacity 0.3s;
}

.text-fade-out {
    opacity: 0;
    transform: translateY(5px);
}

.glyph-caption {
    font-family: var(--font-subheading);
    font-size: 0.8rem;
    color: var(--color-gold);
    letter-spacing: 3px;
    opacity: 0.5;
    text-transform: uppercase;
    margin-top: 1rem;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulseGlow {
    0% { width: 0; height: 0; opacity: 1; }
    50% { opacity: 0.8; }
    100% { width: 250px; height: 250px; opacity: 0; }
}

/* --- MAGICAL TEXT LOADER --- */
.loader-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(ellipse at center, #0a0a0a 0%, #000 100%);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
    overflow: hidden;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    text-align: center;
}

.loader-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-gold);
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.8),
        0 0 40px rgba(212, 175, 55, 0.5),
        0 0 60px rgba(212, 175, 55, 0.3);
    letter-spacing: 4px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.loader-title .word {
    display: inline-block;
    margin: 0 0.3em;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: wordReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.loader-title .word:nth-child(1) { animation-delay: 0.2s; }
.loader-title .word:nth-child(2) { animation-delay: 0.4s; }
.loader-title .word:nth-child(3) { animation-delay: 0.6s; }
.loader-title .word:nth-child(4) { animation-delay: 0.8s; }
.loader-title .word:nth-child(5) { animation-delay: 1.0s; }

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
        filter: blur(10px);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Magical Particles */
.magic-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: 1;
}

.magic-particles::before,
.magic-particles::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    animation: ripple 3s ease-out infinite;
}

.magic-particles::after {
    animation-delay: 1.5s;
}

@keyframes ripple {
    0% {
        transform: scale(0.3);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Shimmer Effect */
.loader-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
    animation-delay: 1.5s;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Page Reveal States */
body:not(.loaded) section, 
body:not(.loaded) nav,
body:not(.loaded) footer {
    opacity: 0;
    filter: blur(10px);
}

body.loaded section,
body.loaded nav,
body.loaded footer {
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.7s ease, filter 0.7s ease;
}

/* --- EVENT DETAILS MODAL --- */
.event-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex; /* Center modal */
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out-smooth), visibility 0.4s;
    padding: 1rem;
}

.event-modal-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.event-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: -1;
}

.event-modal-content {
    background: #111;
    border: 1px solid var(--color-gold);
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 3rem;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.15);
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-out-smooth);
    
    /* Scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) #111;
}

.event-modal-overlay[aria-hidden="false"] .event-modal-content {
    transform: scale(1);
}

.event-modal-content::-webkit-scrollbar {
    width: 8px;
}
.event-modal-content::-webkit-scrollbar-track {
    background: #111;
}
.event-modal-content::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
}

/* Close Button */
.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-text-dim);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
}

.modal-close-btn:hover {
    color: var(--color-gold);
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 1.5rem;
    padding-right: 3rem; /* Prevent overlap with absolute close button */
}

.modal-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    border: 1px solid var(--color-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-icon {
    font-size: 3rem;
}

.modal-title-group {
    flex: 1;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
    line-height: 1.1;
}

.modal-subtitle {
    font-family: var(--font-subheading);
    color: var(--color-gold);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Modal Body */
.modal-section-header {
    font-family: var(--font-subheading);
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--color-gold);
    padding-left: 0.8rem;
}

.modal-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
}

/* Details Grid */
.modal-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-left: 2px solid rgba(212, 175, 55, 0.3);
    padding-left: 1rem;
}

.detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-dim);
}

.detail-value {
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    color: var(--color-gold);
}

/* Contact Section */
.modal-contact-section {
    margin-bottom: 2.5rem;
}

.modal-pocs {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.poc-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.poc-name {
    font-weight: bold;
    color: #fff;
}

.poc-number {
    color: var(--color-text-dim);
    font-family: monospace;
}

/* Footer */
.modal-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#modalRegisterBtn {
    width: 100%;
    max-width: 300px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .event-modal-content {
        padding: 1.5rem;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
        width: 100vw;
    }

    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .modal-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .modal-icon {
        font-size: 2rem;
    }
    
    .modal-close-btn {
        top: 1rem;
        right: 1rem;
    }
}
/* --- MOBILE NAVIGATION --- */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        padding: 5px;
        z-index: 1005;
        transition: all 0.3s ease;
    }
    
    .hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-gold); /* Gold hamburger for dark theme */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(10, 5, 5, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
    }
    
    .mobile-menu.active {
        height: 100vh;
        opacity: 1;
        pointer-events: auto;
    }
    
    .mobile-nav-item {
        font-family: var(--font-subheading);
        font-size: 1.5rem;
        color: var(--color-parchment);
        text-transform: uppercase;
        letter-spacing: 3px;
        text-decoration: none;
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .mobile-menu.active .mobile-nav-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Staggered entrance for items */
    .mobile-menu.active .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
    .mobile-menu.active .mobile-nav-item:nth-child(2) { transition-delay: 0.2s; }
    .mobile-menu.active .mobile-nav-item:nth-child(3) { transition-delay: 0.3s; }
    .mobile-menu.active .mobile-nav-item:nth-child(4) { transition-delay: 0.4s; }
    .mobile-menu.active .mobile-nav-item:nth-child(5) { transition-delay: 0.5s; }
    
    .mobile-nav-item:hover {
        color: var(--color-gold);
        letter-spacing: 5px;
    }
}

body.menu-open {
    overflow: hidden;
}

/* --- QUEST 2026 CONTENT UPDATES STYLES --- */

/* Hero Updates */
.hero-dates {
    font-family: var(--font-subheading);
    font-size: 1.8rem;
    color: var(--color-gold);
    margin: 1rem 0;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
}



.hero-cta-group {
    margin-top: 2.5rem;
    text-align: center;
}

.btn-primary-gold {
    background: var(--color-gold);
    color: #000;
    padding: 1rem 2.5rem;
    font-family: var(--font-subheading);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    display: inline-block;
    text-decoration: none;
}

/* --- TYPEWRITER QUOTE MODULE --- */
.quote-container {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--color-gold); /* Updated to theme gold */
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    min-height: 3.5rem; /* Reserve space for 2 lines likely */
    display: flex; /* Centering content */
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    line-height: 1.5;
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--color-gold);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 768px) {
    .quote-container {
        font-size: 0.9rem;
        padding: 0.8rem;
        margin-top: 1.5rem;
        width: 90%;
    }
}

.btn-primary-gold:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--color-gold-glow);
    box-shadow: 0 0 25px var(--color-gold-glow);
    color: #000;
}

/* About CTA */
.about-cta {
    margin-top: 2rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    padding: 4rem 0;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    color: var(--color-parchment);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Championship & Guidelines */
.championship-section, .guidelines-section {
    padding: 6rem 0;
}

.championship-content, .guidelines-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(20, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 3rem;
    border-radius: 10px;
}

.championship-list, .guidelines-list {
    margin-top: 1.5rem;
    list-style: none;
    padding-left: 0;
}

.championship-list li, .guidelines-list li {
    position: relative;
    margin-bottom: 1.2rem;
    padding-left: 2.5rem;
    color: rgba(240, 230, 210, 0.8);
    font-size: 1.05rem;
    line-height: 1.4;
}

.championship-list li::before, .guidelines-list li::before {
    content: "🧙‍♂️";
    position: absolute;
    left: 0;
}

/* Foldable Cards Styles */
.foldable-info-section {
    padding: 4rem 0;
}

.info-fold-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stacked vertically to prevent cropping */
    gap: 2rem;
    max-width: 800px; /* Limit width for aesthetics */
    margin: 0 auto;
}

.info-fold-card {
    background: rgba(20, 10, 10, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: auto; /* Allow header to define height */
}

.info-fold-card.active {
    background: rgba(20, 10, 10, 0.8);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.fold-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(212, 175, 55, 0.05);
    transition: background 0.3s;
}

.fold-header:hover {
    background: rgba(212, 175, 55, 0.1);
}

.fold-header h3 {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    color: var(--color-gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4; /* Better functionality for wrapped text */
}

.fold-icon {
    font-size: 0.8rem;
    color: var(--color-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent icon from squishing */
    margin-left: 1rem;
}

.info-fold-card.active .fold-icon {
    transform: rotate(180deg);
}

.fold-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    transition: all 0.5s ease;
}

.info-fold-card.active .fold-content {
    opacity: 1;
    max-height: 2000px; /* Increased to ensure fits */
    padding: 2rem 2rem 4rem 2rem; /* Added extra bottom padding */
    pointer-events: auto;
}

/* Coordinators Section Styles */
/* Coordinators Section Styles */
.coordinators-grid {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    margin-top: 3rem;
    padding-bottom: 2rem; /* Space for scrollbar */
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) transparent;
}

.coordinators-grid::-webkit-scrollbar {
    height: 6px;
}

.coordinators-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.coordinators-grid::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 3px;
}

.coord-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 12px;
    transition: all 0.4s ease;
    min-width: 280px; /* Fixed width for carousel items */
    scroll-snap-align: center;
}

.coord-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.coord-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.coord-card h3 {
    font-family: var(--font-subheading);
    font-size: 1.3rem;
    color: var(--color-parchment);
    margin-bottom: 0.5rem;
}

.coord-phone {
    font-family: 'Courier New', monospace;
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: bold;
}

/* Category Header Enhancements */
.category-row {
    position: relative;
    width: 100%;
}

.category-header {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    text-align: center;
    color: var(--color-gold);
    margin: 4rem 0 2.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
}

.category-header::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: var(--color-gold);
    margin: 10px auto 0;
    box-shadow: 0 0 10px var(--color-gold);
}

.sub-category-header {
    display: none; /* Removed as we now have row headers */
}

.competition-wrapper, .standalone-events-wrapper {
    margin-bottom: 6rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .category-header {
        font-size: 2.5rem;
    }
    .championship-content, .guidelines-content {
        padding: 2rem 1.5rem;
    }
    .championship-content, .guidelines-content {
        padding: 2rem 1.5rem;
    }
}

/* Scroll Arrows */
.scroll-arrow {
    position: absolute;
    right: 0;
    top: 55%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--color-gold);
    animation: moveLeftRight 1.5s infinite alternate;
    pointer-events: none;
    z-index: 10;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
    opacity: 0.8;
}

/* Coordinators section specific adjustment */
#coordinators .container {
    position: relative;
}
.coord-arrow {
    top: 60%; /* Adjust for header height */
}
}

.info-fold-card.active {
    background: rgba(20, 10, 10, 0.8);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.fold-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(212, 175, 55, 0.05);
    transition: background 0.3s;
}

.fold-header:hover {
    background: rgba(212, 175, 55, 0.1);
}

.fold-header h3 {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    color: var(--color-gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4; /* Better functionality for wrapped text */
}

.fold-icon {
    font-size: 0.8rem;
    color: var(--color-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent icon from squishing */
    margin-left: 1rem;
}

.info-fold-card.active .fold-icon {
    transform: rotate(180deg);
}

.fold-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    transition: all 0.5s ease;
}

.info-fold-card.active .fold-content {
    opacity: 1;
    max-height: 2000px; /* Increased to ensure fits */
    padding: 2rem 2rem 4rem 2rem; /* Added extra bottom padding */
    pointer-events: auto;
}

/* Coordinators Section Styles */
/* Coordinators Section Styles */
.coordinators-grid {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    margin-top: 3rem;
    padding-bottom: 2rem; /* Space for scrollbar */
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) transparent;
}

.coordinators-grid::-webkit-scrollbar {
    height: 6px;
}

.coordinators-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.coordinators-grid::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 3px;
}

.coord-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 12px;
    transition: all 0.4s ease;
    min-width: 280px; /* Fixed width for carousel items */
    scroll-snap-align: center;
}

.coord-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.coord-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.coord-card h3 {
    font-family: var(--font-subheading);
    font-size: 1.3rem;
    color: var(--color-parchment);
    margin-bottom: 0.5rem;
}

.coord-phone {
    font-family: 'Courier New', monospace;
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: bold;
}

/* Category Header Enhancements */
.category-row {
    position: relative;
    width: 100%;
}

.category-header {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    text-align: center;
    color: var(--color-gold);
    margin: 4rem 0 2.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
}

.category-header::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: var(--color-gold);
    margin: 10px auto 0;
    box-shadow: 0 0 10px var(--color-gold);
}

.sub-category-header {
    display: none; /* Removed as we now have row headers */
}

.competition-wrapper, .standalone-events-wrapper {
    margin-bottom: 6rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .category-header {
        font-size: 2.5rem;
    }
    .championship-content, .guidelines-content {
        padding: 2rem 1.5rem;
    }
    .championship-content, .guidelines-content {
        padding: 2rem 1.5rem;
    }
}

/* Scroll Arrows */
.scroll-arrow {
    position: absolute;
    right: 0;
    top: 55%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--color-gold);
    animation: moveLeftRight 1.5s infinite alternate;
    pointer-events: none;
    z-index: 10;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
    opacity: 0.8;
}

/* Coordinators section specific adjustment */
#coordinators .container {
    position: relative;
}
.coord-arrow {
    top: 60%; /* Adjust for header height */
}

@keyframes moveLeftRight {
    0% { transform: translateY(-50%) translateX(0); }
    100% { transform: translateY(-50%) translateX(5px); }
}
/* --- SPONSORS MARQUEE --- */
.sponsors-section {
    padding: 3rem 0;
    overflow: hidden;
    background: transparent;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    background: rgba(0, 0, 0, 0.3); /* Subtle band background */
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
    /* Mask to fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
    display: flex;
    gap: 4rem; /* Spacing between logos */
    width: max-content;
    animation: scroll 40s linear infinite; /* Smooth continuous scroll */
    will-change: transform;
}

/* Pause animation on hover */
.marquee-track:hover {
    animation-play-state: paused;
}

.sponsor-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%; /* Circular Frame */
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95); /* White bg to make logos pop */
    border: 3px solid var(--color-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px; /* Padding inside the circle */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0; /* Prevent shrinking */
}

.sponsor-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
    z-index: 10;
}

.sponsor-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transform: scale(1.5); /* 50% zoomed in */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Moves exactly half (the original set) */
    }
}

/* Tablet/Mobile Adjustments */
@media (max-width: 768px) {
    .marquee-track {
        gap: 2rem;
        animation: scroll 25s linear infinite;
    }
    
    .sponsor-logo {
        width: 80px;
        height: 80px;
        padding: 10px;
    }
}