/* ============================================================
   LANDING PAGE – Emirates Premium Editorial Layout
   Full-width hero · Stats strip · Alternating sections · Elegant typography
   + Countdown · Marquee · Event Modal · Preloader · Cursor
   ============================================================ */

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .9s cubic-bezier(.76, 0, .24, 1), opacity .4s ease .5s;
}

#preloader.exit {
    transform: translateY(-105%);
    opacity: 0;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
    animation: fadeInUp .6s ease-out;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, #AA771C 0%, #FCF6BA 35%, #D4AF37 65%, #AA771C 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: .05em;
    margin-bottom: 28px;
    animation: goldShimmer 4s ease infinite;
    filter: drop-shadow(0 2px 8px rgba(180, 135, 40, .5));
}

.preloader-bar-track {
    width: 240px;
    height: 3px;
    background: rgba(255, 255, 255, .12);
    border-radius: 3px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.preloader-bar {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    background: linear-gradient(90deg, #C60C30, #C8A951, #C60C30);
    animation: preloaderFill 1.6s cubic-bezier(.4, 0, .2, 1) forwards;
    box-shadow: 0 0 12px rgba(198, 12, 48, .6);
}

@keyframes preloaderFill {
    to {
        width: 100%;
    }
}

.preloader-sub {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    font-family: var(--font-body);
}

/* ============================================================
   CURSOR
   ============================================================ */
body.custom-cursor-active {
    cursor: none !important;
}

body.custom-cursor-active * {
    cursor: none !important;
}

#cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--emirates-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width .2s ease, height .2s ease, background .2s ease, opacity .3s ease;
    box-shadow: 0 0 10px var(--emirates-red);
    opacity: 0;
}

#cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(198, 12, 48, .5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%);
    transition: width .35s cubic-bezier(.25, .46, .45, .94),
        height .35s cubic-bezier(.25, .46, .45, .94),
        border-color .3s ease, opacity .3s ease,
        top .06s linear, left .06s linear;
    opacity: 0;
}

#cursor-dot.active {
    width: 6px;
    height: 6px;
    background: var(--gold);
}

#cursor-ring.active {
    width: 56px;
    height: 56px;
    border-color: rgba(200, 169, 81, .6);
}

#cursor-dot.visible,
#cursor-ring.visible {
    opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--nav-h) 20px var(--space-lg);
    background: var(--grad-dark);
    overflow: hidden;
}

/* Warm ambient lighting */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(198, 12, 48, .12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(200, 169, 81, .08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle golden line at bottom of hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Glow orbs */
.hero-glow {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    animation: fadeInUp .8s ease-out;
}

/* Eyebrow / badge */
.hero-badge,
.hero-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: .12em;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    font-family: var(--font-body);
    background: none;
    border: none;
    padding: 0;
}

/* Main hero title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg,
            #AA771C 0%, #D4AF37 18%, #FCF6BA 35%,
            #FBF5B7 50%, #D4AF37 65%, #FCF6BA 80%, #AA771C 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: goldShimmer 5s ease infinite;
    filter: drop-shadow(0 2px 8px rgba(180, 135, 40, .5));
    text-shadow: none;
}

.hero-subtitle-line,
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, .65);
    margin-bottom: var(--space-md);
    letter-spacing: 0.25em;
    font-family: var(--font-body);
    text-transform: uppercase;
    -webkit-text-fill-color: unset;
    background: none;
}

.hero-meta,
.hero-date {
    color: rgba(255, 255, 255, .45);
    font-size: .92rem;
    margin-bottom: var(--space-lg);
    font-family: var(--font-body);
    margin-top: 12px;
}

.hero-meta strong,
.hero-date strong {
    color: rgba(255, 255, 255, .75);
}

/* CTA button group */
.hero-actions,
.hero-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-cta {
    margin-bottom: 32px;
}

/* ============================================================
   COUNTDOWN WIDGET (inside hero)
   ============================================================ */
.hero-anim-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 28px 0 36px;
    animation: fadeInUp .9s ease-out .15s both;
}

.hanim-countdown {
    text-align: center;
}

.hanim-countdown-title {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    margin-bottom: 14px;
    font-family: var(--font-body);
}

.hanim-countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hanim-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 64px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(200, 169, 81, .3);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 0 20px rgba(200, 169, 81, .1), inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: transform .2s;
}

.hanim-cd-unit:hover {
    transform: translateY(-2px);
}

.hanim-cd-num {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 2ch;
    text-align: center;
    display: block;
    animation: cdFlip .25s ease both;
}

@keyframes cdFlip {
    0% {
        transform: rotateX(-90deg);
        opacity: 0;
    }

    60% {
        transform: rotateX(10deg);
        opacity: 1;
    }

    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

.hanim-cd-lbl {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
}

.hanim-cd-sep {
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(200, 169, 81, .5);
    line-height: 1;
    margin-bottom: 16px;
    animation: sepBlink 1s step-end infinite;
}

@keyframes sepBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .2;
    }
}

.hanim-seats-badge {
    margin-top: 16px;
    display: inline-block;
    padding: 7px 22px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(198, 12, 48, .15), rgba(198, 12, 48, .08));
    border: 1px solid rgba(198, 12, 48, .4);
    color: var(--emirates-red-l);
    box-shadow: 0 0 20px rgba(198, 12, 48, .15);
    animation: seatsPulse 2s ease-in-out infinite;
}

@keyframes seatsPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(198, 12, 48, .15);
    }

    50% {
        box-shadow: 0 0 35px rgba(198, 12, 48, .38);
    }
}

/* Trust bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 20px;
    animation: fadeInUp .9s ease-out .3s both;
}

.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(200, 169, 81, .25);
    color: rgba(255, 255, 255, .75);
    transition: transform .25s, box-shadow .25s;
}

.hero-trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(200, 169, 81, .2);
}

.hero-trust-divider {
    color: rgba(200, 169, 81, .4);
    font-size: .75rem;
    user-select: none;
}

/* Scroll indicator */
.scroll-indicator {
    position: relative;
    margin-top: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .3);
    font-size: .75rem;
    animation: fadeIn 1s ease-out 1s both;
    font-family: var(--font-body);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 18px;
    height: 18px;
    border-right: 2px solid rgba(200, 169, 81, .5);
    border-bottom: 2px solid rgba(200, 169, 81, .5);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: .4;
    }

    50% {
        transform: rotate(45deg) translate(4px, 4px);
        opacity: 1;
    }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: hidden;
    background: var(--bg-warm);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    animation: marqueeScroll 28s linear infinite;
}

.marquee-strip:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track span {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--text-muted);
    text-transform: uppercase;
    font-family: var(--font-body);
}

.marquee-track .marquee-dot {
    color: var(--gold);
    font-size: .6rem;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
    padding: var(--space-lg) 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
}

.stats-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.strip-stat {
    text-align: center;
}

.strip-stat-value {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 3px rgba(168, 139, 58, .4));
}

.strip-stat-label {
    color: var(--text-muted);
    font-size: .78rem;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 600;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.about-intro .lead {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--text-dark);
    line-height: 1.5;
}

.about-intro .lead span {
    color: var(--text-muted);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.about-tile {
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.about-tile:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
    transform: translateY(-4px);
}

.about-tile .tile-icon,
.about-tile .about-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.about-tile h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.about-tile p {
    color: var(--text-body);
    font-size: .9rem;
    line-height: 1.65;
}

/* ============================================================
   EVENTS
   ============================================================ */
.event-category {
    margin-bottom: var(--space-lg);
}

.category-label,
.events-category-title {
    font-family: var(--font-body);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.category-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
}

.events-category-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    letter-spacing: 0.06em;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-sm);
}

.event-tile,
.event-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.event-tile::before,
.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--emirates-red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s ease;
}

.event-tile:hover,
.event-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
    transform: translateY(-4px);
}

.event-tile:hover::before,
.event-card:hover::before {
    transform: scaleY(1);
}

.event-tile .tile-emoji,
.event-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.event-tile h4,
.event-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.event-tile p,
.event-card p {
    color: var(--text-body);
    font-size: .88rem;
    line-height: 1.6;
    flex: 1;
}

.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.tile-tag,
.event-tag {
    margin-top: var(--space-sm);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--emirates-red);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(198, 12, 48, .07);
    border: 1px solid rgba(198, 12, 48, .18);
}

.tile-tag.team {
    color: var(--emirates-red);
}

.tile-tag.solo {
    color: var(--gold-dark);
    background: rgba(200, 169, 81, .08);
    border-color: rgba(200, 169, 81, .25);
}

.event-tag.nt {
    color: var(--gold-dark);
    background: rgba(200, 169, 81, .08);
    border-color: rgba(200, 169, 81, .25);
}

.event-tile.feature {
    grid-column: 1 / -1;
    background: var(--black);
    color: var(--white);
    border-color: rgba(255, 255, 255, .08);
}

.event-tile.feature h4 {
    color: var(--white);
}

.event-tile.feature p {
    color: rgba(255, 255, 255, .6);
}

.event-tile.feature::before {
    background: var(--gold);
}

/* Info / Details button on event cards */
.event-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1.5px solid var(--border-light);
    background: var(--bg-warm);
    color: var(--text-dark);
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .03em;
    transition: background .2s, transform .18s, box-shadow .2s;
    white-space: nowrap;
    font-family: var(--font-body);
}

.event-info-btn:hover {
    background: rgba(0, 0, 0, .05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    transform: scale(1.05);
}

.event-info-btn.nt {
    border-color: var(--border-light);
    background: var(--bg-warm);
    color: var(--text-dark);
}

.event-info-btn.nt:hover {
    background: rgba(0, 0, 0, .08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

.event-info-btn.sp {
    border-color: var(--border-light);
    background: var(--bg-warm);
    color: var(--text-dark);
}

.event-info-btn.sp:hover {
    background: rgba(0, 0, 0, .1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

/* ============================================================
   PRIZES
   ============================================================ */
.prizes-headline {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.prizes-headline .big-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(90deg,
            #BF953F 0%, #FCF6BA 20%, #B38728 40%,
            #FCF6BA 60%, #AA771C 80%, #FCF6BA 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: goldShimmer 3s ease infinite;
    filter: drop-shadow(0 2px 8px rgba(180, 135, 40, .45));
}

.prizes-headline p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: var(--space-xs);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.prize-tile,
.prize-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.prize-tile:hover,
.prize-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
    transform: translateY(-4px);
}

.prize-tile.prize-gold {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(200, 169, 81, .12);
}

.prize-tile .medal,
.prize-medal {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.prize-tile .place,
.prize-card h3 {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.prize-tile .amount,
.prize-amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 2px rgba(168, 139, 58, .35));
    margin-bottom: 6px;
}

.prize-tile.prize-gold .amount {
    background: linear-gradient(135deg, #AA771C 0%, #FCF6BA 40%, #B38728 70%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
    animation: goldShimmer 3s ease infinite;
    background-size: 300% 300%;
    filter: drop-shadow(0 2px 6px rgba(168, 139, 58, .55));
}

.prize-tile .includes,
.prize-card p {
    color: var(--text-muted);
    font-size: .82rem;
    margin-top: 8px;
}

/* Extras bar */
.extras-bar,
.prize-extras {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--border-light);
}

.extras-bar .extras-list {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.extras-bar .extra,
.extra-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-body);
    font-size: .88rem;
}

.extras-bar .extra span,
.extra-item span {
    font-size: 1.2rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.contact-tile,
.contact-card {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .06);
    transition: var(--transition);
}

.contact-tile:hover,
.contact-card:hover {
    border-color: rgba(200, 169, 81, .2);
    transform: translateY(-4px);
}

.contact-tile .tile-emoji,
.contact-icon {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.contact-tile h4,
.contact-card h4 {
    font-size: .95rem;
    color: var(--white);
    margin-bottom: 8px;
}

.contact-tile p,
.contact-card p {
    color: rgba(255, 255, 255, .55);
    font-size: .88rem;
    line-height: 1.65;
}

/* ============================================================
   EVENT DETAIL MODAL (iOS app-open style)
   ============================================================ */
.emodal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(26, 26, 26, .75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}

.emodal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.emodal-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 44px 40px 36px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .15),
        0 0 0 1px rgba(200, 169, 81, .08),
        inset 0 1px 0 rgba(255, 255, 255, .8);
    transform: scale(0.42) translateY(40px);
    opacity: 0;
    transform-origin: center bottom;
    transition: transform .46s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease;
}

.emodal-overlay.open .emodal-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.emodal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--border-light);
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
    font-family: var(--font-body);
}

.emodal-close:hover {
    background: rgba(198, 12, 48, .1);
    color: var(--emirates-red);
}

.emodal-icon {
    font-size: 3.2rem;
    margin-bottom: 14px;
    display: block;
    animation: bounceIn .5s cubic-bezier(.34, 1.56, .64, 1) .25s both;
}

@keyframes bounceIn {
    from {
        transform: scale(.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.emodal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.emodal-tag {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: 18px;
    background: rgba(198, 12, 48, .08);
    color: var(--emirates-red);
    border: 1px solid rgba(198, 12, 48, .2);
    font-family: var(--font-body);
    text-transform: uppercase;
}

.emodal-tag.nt {
    background: rgba(200, 169, 81, .08);
    color: var(--gold-dark);
    border-color: rgba(200, 169, 81, .25);
}

.emodal-tag.sp {
    background: rgba(200, 169, 81, .1);
    color: var(--gold-dark);
    border-color: rgba(200, 169, 81, .3);
}

.emodal-desc {
    color: var(--text-body);
    font-size: .97rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.emodal-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
}

.emodal-highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    font-size: .84rem;
    color: var(--text-body);
}

.emodal-highlight-item span {
    font-size: 1.1rem;
}

/* Rich body layout (used for Chess tournament details) */
.emodal-highlights:has(.emodal-section) {
    display: block;
}

.emodal-section {
    margin-bottom: 18px;
}

.emodal-section-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold-dark);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-light);
    font-family: var(--font-body);
}

.emodal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.emodal-list li {
    font-size: .88rem;
    color: var(--text-body);
    line-height: 1.6;
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
}

.emodal-list li strong {
    color: var(--text-dark);
}


.emodal-cta {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    background: var(--emirates-red);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: opacity .2s, transform .2s;
    box-shadow: 0 4px 20px rgba(198, 12, 48, .25);
    font-family: var(--font-body);
}

.emodal-cta:hover {
    opacity: .88;
    transform: translateY(-2px);
    color: #fff;
}

/* ============================================================
   VENUE & DIRECTIONS
   ============================================================ */
#venue {
    background: var(--bg-warm);
    padding-bottom: var(--space-xl);
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.venue-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.venue-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.venue-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.venue-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.venue-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.bus-badge {
    background: var(--emirates-red);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0 2px;
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    border: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    animation: floatWa 3s ease-in-out infinite;
}

.floating-wa-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    animation-play-state: paused;
}

.floating-wa-icon {
    font-size: 32px;
    line-height: 1;
}

@keyframes floatWa {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.floating-wa-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: white;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: var(--font-body);
}

.floating-wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.floating-wa-btn:hover .floating-wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(200, 169, 81, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--emirates-red);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--emirates-red);
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-question {
    color: var(--emirates-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-light);
}

.faq-answer p {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================================
   ORGANIZING TEAM
   ============================================================ */
.team-category {
    margin-bottom: var(--space-xl);
}

.team-category-title {
    font-size: 1.2rem;
    color: var(--gold-dark);
    margin-bottom: var(--space-lg);
    text-align: center;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(200, 169, 81, 0.3);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--border-light);
}

.team-card:hover .team-avatar {
    border-color: var(--gold);
}

.team-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    /* Above WhatsApp button */
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--emirates-red);
    border-color: var(--emirates-red);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(198, 12, 48, 0.4);
}

.scroll-arrow-up {
    width: 12px;
    height: 12px;
    border-top: 2px solid white;
    border-left: 2px solid white;
    transform: rotate(45deg) translate(2px, 2px);
    transition: transform 0.2s;
}

.scroll-to-top:hover .scroll-arrow-up {
    transform: rotate(45deg) translate(0px, 0px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .hero {
        padding: var(--nav-h) 20px 40px;
    }

    .stats-strip .container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .prizes-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-tile.feature {
        grid-column: auto;
    }

    .extras-bar .extras-list {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .hanim-cd-num {
        font-size: 1.5rem;
    }

    .hanim-cd-unit {
        min-width: 52px;
        padding: 8px 10px;
    }

    .emodal-card {
        padding: 32px 24px 28px;
    }

    .venue-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    @media (max-width: 480px) {
        .event-card-footer {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }

        .event-card-footer>div {
            width: 100%;
            display: flex;
            justify-content: space-between;
        }
    }
}