/* ============================================================
   MODMUN 4.0 — Master Design System
   Modern School Noida Model United Nations — 4th Edition
   Premium diplomatic-grade single-page site.
   ============================================================ */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
    /* Backgrounds */
    --primary-bg: #060E1A;      /* Deep Space Navy */
    --secondary-bg: #0B172A;    /* Midnight Slate */
    --surface-bg: rgba(11, 23, 42, 0.55);
    --elevated-bg: rgba(15, 32, 56, 0.7);

    /* Accents */
    --primary-accent: #D4AF37;  /* Diplomatic Gold */
    --secondary-accent: #F3C969;/* Warm Light Gold */
    --primary-accent-hover: #E8C968;
    --cyan-accent: #38BDF8;
    --emerald-accent: #10B981;
    --amber-accent: #F59E0B;
    --rose-accent: #F43F5E;

    /* Text */
    --primary-text: #F1F5F9;
    --secondary-text: #A9B7C8;
    --muted-text: #6B7A8F;

    /* Status */
    --success-color: #10B981;
    --error-color: #F43F5E;
    --warning-color: #F59E0B;
    --info-color: #38BDF8;

    /* Misc */
    --white: #ffffff;
    --black: #000000;
    --border-color: rgba(212, 175, 55, 0.25);
    --border-radius: 14px;
    --transition-speed: 0.25s;

    /* Typography */
    --font-display: 'Cinzel', ui-serif, Georgia, serif;
    --font-primary: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(56, 189, 248, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 90% 10%, rgba(212, 175, 55, 0.06), transparent);
    background-attachment: fixed;
    font-family: var(--font-primary);
    color: var(--primary-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1rem;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.02em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--cyan-accent);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}
a:hover { color: var(--secondary-accent); }

img { max-width: 100%; }

::selection {
    background: rgba(212, 175, 55, 0.35);
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--primary-bg); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary-accent), var(--primary-accent));
    border-radius: 8px;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.hidden { display: none !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.section-pad { padding: 4.5rem 1.5rem; }

/* Section heading kicker (small gold overline) */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-accent);
    margin-bottom: 0.75rem;
}
.kicker::before {
    content: '';
    width: 2.2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-accent));
}
.kicker::after {
    content: '';
    width: 2.2rem;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-accent), transparent);
}
.kicker-center::before, .kicker-center::after { background: linear-gradient(90deg, transparent, var(--primary-accent)); }

/* ============================================================
   Glass Cards
   ============================================================ */
.glass-card {
    background: var(--surface-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
    position: relative;
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 55, 0.25), 0 0 24px rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.5);
}

.gold-glow { box-shadow: 0 0 30px rgba(212, 175, 55, 0.12); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), background var(--transition-speed), color var(--transition-speed);
    text-decoration: none;
    line-height: 1.4;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    color: #0B172A;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
    font-weight: 700;
}
.btn-gold:hover {
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.5);
    color: #060E1A;
}

.btn-outline {
    background: transparent;
    color: var(--secondary-accent);
    border: 1px solid rgba(212, 175, 55, 0.6);
}
.btn-outline:hover {
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.2);
    color: var(--secondary-accent);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    color: var(--secondary-accent);
}

.btn-danger {
    background: rgba(244, 63, 94, 0.15);
    color: var(--rose-accent);
    border: 1px solid rgba(244, 63, 94, 0.4);
}
.btn-danger:hover { background: rgba(244, 63, 94, 0.25); }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.82rem; }

/* ============================================================
   Form Inputs
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--primary-text);
    background-color: rgba(6, 14, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
    outline: none;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
input::placeholder, textarea::placeholder { color: var(--muted-text); }
select option { background: var(--secondary-bg); color: var(--primary-text); }

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-text);
    margin-bottom: 0.4rem;
}

.form-group { margin-bottom: 1rem; }

/* ============================================================
   Status Badges
   ============================================================ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid transparent;
}
.status-available {
    color: var(--emerald-accent);
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
}
.status-reserved {
    color: var(--amber-accent);
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.4);
}
.status-allotted {
    color: var(--rose-accent);
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.4);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 14, 26, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--primary-text);
    font-weight: 700;
    font-size: 1.15rem;
    font-family: var(--font-display);
    letter-spacing: 0.04em;
}
.brand-link:hover { color: var(--secondary-accent); }

.brand-emblem {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
    flex-shrink: 0;
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-sub {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--secondary-text);
    margin-top: 0.1rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.15rem;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.header-actions .register-cta {
    white-space: nowrap;
}

.mobile-nav-cta {
    padding: 0.9rem 0.25rem 0.4rem;
}
.mobile-nav-cta .btn { width: 100%; }

.nav-link {
    padding: 0.45rem 0.7rem;
    color: var(--secondary-text);
    font-size: 0.84rem;
    font-weight: 500;
    border-radius: 999px;
    transition: color var(--transition-speed), background-color var(--transition-speed);
}
.nav-link:hover,
.nav-link.active {
    color: var(--secondary-accent);
    background-color: rgba(212, 175, 55, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
}
.menu-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--secondary-accent);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-toggle.active .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active .menu-bar:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Navigation Drawer */
.mobile-nav {
    display: none;
    background: rgba(6, 14, 26, 0.96);
    border-top: 1px solid rgba(212, 175, 55, 0.22);
    padding: 0.75rem 1.5rem 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.mobile-nav.open { display: block; max-height: 70vh; overflow-y: auto; }
.mobile-nav-list { list-style: none; }
.mobile-nav-link {
    display: block;
    padding: 0.8rem 0.25rem;
    color: var(--secondary-text);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-nav-link:hover { color: var(--secondary-accent); }

/* ============================================================
   Hero
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 2; width: 100%; }

.hero-tagline {
    font-family: var(--font-display);
    letter-spacing: 0.18em;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-accent) 0%, var(--primary-accent) 45%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
}

.hero-subtitle {
    color: var(--secondary-text);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Conference badges */
.conference-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 1.6rem 0;
}
.conference-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(11, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-text);
}

/* Countdown */
.countdown-wrap {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.countdown-box {
    min-width: 88px;
    padding: 1rem 0.8rem;
    background: var(--surface-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
}
.countdown-box .num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-accent);
    line-height: 1;
}
.countdown-box .lbl {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted-text);
    margin-top: 0.35rem;
    display: block;
}

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}
.stat-item { text-align: center; padding: 1rem 0.5rem; }
.stat-item .stat-num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--secondary-accent);
    line-height: 1.2;
}
.stat-item .stat-lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--secondary-text);
    margin-top: 0.25rem;
}

/* ============================================================
   Legacy Timeline
   ============================================================ */
.timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 1.8rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--primary-accent), var(--secondary-accent), transparent);
}
.timeline-item {
    position: relative;
    margin-bottom: 1.6rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.8rem;
    top: 1.4rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-bg);
    border: 2px solid var(--primary-accent);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}
.timeline-year {
    font-family: var(--font-display);
    color: var(--secondary-accent);
    font-weight: 700;
    font-size: 1.15rem;
}
.timeline-title { font-weight: 700; color: var(--primary-text); margin: 0.2rem 0 0.3rem; }
.timeline-text { color: var(--secondary-text); font-size: 0.9rem; margin: 0; }

/* ============================================================
   Dignitary Tabs
   ============================================================ */
.dignitary-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.dignitary-tab {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(11, 23, 42, 0.6);
    color: var(--secondary-text);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}
.dignitary-tab:hover { color: var(--secondary-accent); border-color: var(--border-color); }
.dignitary-tab.active {
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    color: #0B172A;
    border-color: transparent;
}
.dignitary-panel { display: none; }
.dignitary-panel.active { display: block; animation: fadeIn 0.4s ease; }

.portrait-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(56, 189, 248, 0.15));
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    margin: 0 auto 1rem;
    color: var(--secondary-accent);
}

/* ============================================================
   Committee Cards
   ============================================================ */
.committee-card {
    border-top: 3px solid var(--cc, var(--cyan-accent));
    overflow: hidden;
}
.committee-code {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.06em;
}
.committee-agenda {
    color: var(--secondary-text);
    font-size: 0.9rem;
}
.committee-mandate {
    font-size: 0.78rem;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ============================================================
   Country Matrix
   ============================================================ */
.matrix-card {
    transition: all var(--transition-speed);
}
.matrix-card .country-name { font-weight: 700; color: var(--primary-text); }
.matrix-card .committee-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--secondary-text);
}

.filter-chip {
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(11, 23, 42, 0.6);
    color: var(--secondary-text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}
.filter-chip:hover { color: var(--secondary-accent); border-color: var(--border-color); }
.filter-chip.active {
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    color: #0B172A;
    border-color: transparent;
}

/* ============================================================
   Fee Calculator
   ============================================================ */
.pricing-toggle {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: rgba(11, 23, 42, 0.6);
}
.pricing-option {
    padding: 0.6rem 1.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--secondary-text);
    transition: all var(--transition-speed);
}
.pricing-option.active {
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    color: #0B172A;
}
.pricing-option .price-tag { display: block; font-size: 0.7rem; font-weight: 600; opacity: 0.85; }

.fee-total {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--secondary-accent);
    border: 3px solid var(--primary-bg);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
    cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary-accent);
    border: 3px solid var(--primary-bg);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
    cursor: pointer;
}

/* One-tap copy buttons */
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary-text);
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}
.copy-btn:hover { color: var(--secondary-accent); border-color: var(--primary-accent); background: rgba(212, 175, 55, 0.1); }

/* ============================================================
   Kit Inclusions strip
   ============================================================ */
.kit-inclusion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    padding: 0.9rem 0.4rem;
}
.kit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
}
.kit-label { font-size: 0.72rem; color: var(--secondary-text); font-weight: 600; line-height: 1.3; }

/* ============================================================
   Secretariat
   ============================================================ */
.secretariat-card { text-align: center; padding: 1.4rem 1rem; }
.secretariat-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 0.8rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(56, 189, 248, 0.2));
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-accent);
}
.secretariat-name { font-weight: 700; color: var(--primary-text); font-size: 0.98rem; }
.secretariat-role { font-size: 0.75rem; color: var(--secondary-text); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.2rem; }

/* Dress code */
.dress-card { overflow: hidden; }
.dress-day {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ============================================================
   Contact hub
   ============================================================ */
.contact-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.contact-row:last-child { border-bottom: none; }
.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    flex-shrink: 0;
}
.contact-label { font-size: 0.72rem; color: var(--muted-text); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-value { font-weight: 600; color: var(--primary-text); font-size: 0.92rem; }

/* ============================================================
   Modal
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(4, 9, 18, 0.82);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-panel {
    width: 100%;
    max-width: 640px;
    background: linear-gradient(180deg, #0B172A, #081120);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.08);
    transform: translateY(32px) scale(0.97);
    transition: transform 0.35s ease;
    overflow: hidden;
}
.modal-overlay.open .modal-panel { transform: translateY(0) scale(1); }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.modal-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.modal-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--secondary-text);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition-speed);
}
.modal-close:hover { color: var(--secondary-accent); border-color: var(--primary-accent); }
.modal-body { padding: 1.5rem 1.6rem; }
.modal-footer {
    padding: 1rem 1.6rem 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: rgba(6, 14, 26, 0.9);
    border-top: 1px solid rgba(212, 175, 55, 0.22);
    padding: 2.5rem 1.5rem 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 0.5rem;
}
.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.footer-brand { font-family: var(--font-display); font-weight: 700; color: var(--secondary-accent); font-size: 1.1rem; }
.footer-tagline {
    color: var(--muted-text);
    font-size: 0.85rem;
    margin-top: 0.8rem;
    line-height: 1.6;
}
.footer-heading {
    font-size: 0.8rem;
    color: var(--secondary-accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.8rem;
}
.footer-links {
    list-style: none;
}
.footer-links li { margin-bottom: 0.45rem; }
.footer-link { color: var(--secondary-text); font-size: 0.85rem; transition: color var(--transition-speed); }
.footer-link:hover { color: var(--secondary-accent); }
.copyright {
    color: var(--muted-text);
    font-size: 0.78rem;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================
   Notification Popup (Toast)
   ============================================================ */
.notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 300;
    background: linear-gradient(180deg, #0B172A, #081120);
    color: var(--primary-text);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 16px;
    min-width: 300px;
    max-width: 380px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 175, 55, 0.08);
    border-left: 4px solid var(--primary-accent);
    transform: translateX(120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease, visibility 0.4s ease;
}
.notification-popup.show { transform: translateX(0); opacity: 1; visibility: visible; }
.notification-popup.success { border-left-color: var(--success-color); }
.notification-popup.error { border-left-color: var(--error-color); }
.notification-popup.warning { border-left-color: var(--warning-color); }
.notification-content { display: flex; align-items: center; gap: 12px; }
.notification-icon { font-size: 1.3rem; flex-shrink: 0; }
.notification-popup.success .notification-icon { color: var(--success-color); }
.notification-popup.error .notification-icon { color: var(--error-color); }
.notification-popup.warning .notification-icon { color: var(--warning-color); }
.notification-message { flex-grow: 1; font-size: 0.9rem; line-height: 1.4; margin: 0; }
.notification-close { background: none; border: none; color: var(--secondary-text); font-size: 1.3rem; cursor: pointer; padding: 0 4px; transition: color var(--transition-speed); flex-shrink: 0; }
.notification-close:hover { color: var(--primary-text); }
.notification-progress-bar { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background-color: rgba(255,255,255,0.08); border-bottom-left-radius: var(--border-radius); border-bottom-right-radius: var(--border-radius); overflow: hidden; }
.notification-progress-bar div { height: 100%; width: 0%; }
.notification-popup.success .notification-progress-bar div { background-color: var(--success-color); }
.notification-popup.error .notification-progress-bar div { background-color: var(--error-color); }
.notification-popup.warning .notification-progress-bar div { background-color: var(--warning-color); }
.notification-popup.show .notification-progress-bar div { animation: progressBar 6s linear forwards; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes progressBar { from { width: 100%; } to { width: 0%; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 12px rgba(212, 175, 55, 0.2); } 50% { box-shadow: 0 0 28px rgba(212, 175, 55, 0.5); } }

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Section alternation */
.section-alternate { background: rgba(11, 23, 42, 0.45); }

/* ============================================================
   Admin Panel
   ============================================================ */
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}
.admin-tab {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(11, 23, 42, 0.6);
    color: var(--secondary-text);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}
.admin-tab:hover { color: var(--secondary-accent); }
.admin-tab.active {
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    color: #0B172A;
    border-color: transparent;
}
.admin-panel { display: none; }
.admin-panel.active { display: block; animation: fadeIn 0.3s ease; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.admin-table th {
    text-align: left;
    padding: 0.6rem 0.8rem;
    color: var(--muted-text);
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
.admin-table td {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--secondary-text);
    vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.admin-card {
    background: rgba(11, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 1.1rem;
}
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.admin-stat {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(56, 189, 248, 0.06));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
}
.admin-stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--secondary-accent); }
.admin-stat-lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary-text); margin-top: 0.2rem; }

/* Login view */
.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, #0B172A, #081120);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.08);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .header-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .mobile-nav.open { display: block; }
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.5rem; }
    .section-pad { padding: 3rem 1rem; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .countdown-box { min-width: 68px; }
    .countdown-box .num { font-size: 1.6rem; }
    .countdown-wrap { gap: 0.5rem; }
    .notification-popup { min-width: 260px; max-width: 300px; right: 12px; left: 12px; top: 12px; }
    .modal-panel { max-width: 100%; }
    .timeline { padding-left: 1.5rem; }
    .timeline-item::before { left: -1.5rem; width: 12px; height: 12px; }
}

@media (max-width: 420px) {
    .hero-title { font-size: 2.1rem; }
    .header-container { padding: 0.5rem 1rem; }
    .conference-badge { font-size: 0.75rem; }
    .countdown-box { min-width: 60px; padding: 0.7rem 0.4rem; }
    .countdown-box .num { font-size: 1.3rem; }
}/* ============================================================
   MODMUN 4.0 — "DIPLOMATIC LUXURY" v2 LAYER
   Deep-space navy × classical diplomatic grandeur:
   gold hairlines, glassmorphism v2, grain, blooms, shine, motion.
   Appended on top of the base design system.
   ============================================================ */

:root {
    --lux-gold-a: #F3C969;
    --lux-gold-b: #D4AF37;
    --lux-gold-c: #9C7A1E;
    --lux-gold-line: rgba(212, 175, 55, 0.32);
    --lux-gold-line-strong: rgba(212, 175, 55, 0.55);
    --lux-gold-glow: rgba(212, 175, 55, 0.22);
    --lux-gold-glow-strong: rgba(243, 201, 105, 0.45);
    --lux-navy-deep: #040A14;
    --lux-navy: #060E1A;
    --lux-slate: #0B172A;
    --lux-slate-2: #10203A;
    --lux-white: #F6F3EA;
    --lux-ink: #0B172A;
    --lux-font-display: 'Cinzel', ui-serif, Georgia, serif;
    --lux-font-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    --lux-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --lux-speed: 0.45s;
    --lux-radius: 20px;
    --lux-radius-sm: 12px;
}

/* ---------- Body texture: grain + richer radial glows ---------- */
body {
    background-image:
        radial-gradient(ellipse 90% 60% at 12% -8%, rgba(212, 175, 55, 0.10), transparent 60%),
        radial-gradient(ellipse 70% 50% at 95% 8%, rgba(56, 189, 248, 0.08), transparent 60%),
        radial-gradient(ellipse 80% 55% at 50% 115%, rgba(212, 175, 55, 0.07), transparent 65%),
        radial-gradient(ellipse 45% 35% at 82% 42%, rgba(16, 185, 129, 0.05), transparent 60%);
}

/* Subtle grain overlay via inline SVG data-URI (feTurbulence noise) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.62'/%3E%3C/svg%3E");
}

/* ---------- Section blooms ---------- */
.section-glow { position: relative; }
.section-glow::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -60px;
    width: min(760px, 90vw);
    height: 300px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(212, 175, 55, 0.10), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.section-glow > .container { position: relative; z-index: 1; }

/* ---------- Eyebrow overlines ("01 · Legacy") ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--lux-gold-a);
    text-transform: uppercase;
    letter-spacing: 0.42em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    -webkit-font-smoothing: antialiased;
}
.eyebrow::before {
    content: '';
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lux-gold-b));
}
.eyebrow::after {
    content: '';
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, var(--lux-gold-b), transparent);
}
.eyebrow-center { justify-content: center; }
.eyebrow-center::before, .eyebrow-center::after { background: linear-gradient(90deg, transparent, var(--lux-gold-b), transparent); }

/* Keep the legacy .kicker aligned with the new overline language */
.kicker {
    color: var(--lux-gold-a);
    letter-spacing: 0.34em;
}

/* ---------- Display headings ---------- */
.lux-title {
    font-family: var(--lux-font-display);
    font-size: clamp(1.9rem, 4.4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0.01em;
    color: var(--lux-white);
    margin-bottom: 1.1rem;
}
.lux-title .gold {
    background: linear-gradient(120deg, var(--lux-gold-a) 0%, var(--lux-gold-b) 45%, #FFF2CE 70%, var(--lux-gold-b) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.28));
}
.lux-lead {
    color: var(--secondary-text);
    max-width: 720px;
    font-size: 1.02rem;
    line-height: 1.75;
}
.lux-lead em {
    font-style: italic;
    font-weight: 600;
    color: var(--lux-gold-a);
}

/* ---------- Diamond divider + gold rules ---------- */
.diamond-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin: 0 auto 1.2rem;
    max-width: 420px;
}
.diamond-divider::before, .diamond-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lux-gold-line-strong), transparent);
}
.diamond-divider span {
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--lux-gold-a), var(--lux-gold-c));
    box-shadow: 0 0 12px var(--lux-gold-glow-strong);
    display: block;
}
.gold-rule {
    height: 1px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--lux-gold-line-strong), transparent);
}

/* ---------- Glassmorphism v2: lux-card with gradient border ---------- */
.lux-card {
    position: relative;
    isolation: isolate;
    border-radius: var(--lux-radius);
    padding: 1.6rem 1.5rem;
    background:
        linear-gradient(var(--lux-slate-2), var(--lux-slate-2)) padding-box,
        linear-gradient(150deg, rgba(243, 201, 105, 0.65), rgba(212, 175, 55, 0.12) 38%, rgba(56, 189, 248, 0.10) 72%, rgba(212, 175, 55, 0.5)) border-box;
    border: 1px solid transparent;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 44px rgba(2, 8, 16, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform var(--lux-speed) var(--lux-ease), box-shadow var(--lux-speed) var(--lux-ease), border-color var(--lux-speed) var(--lux-ease);
}
.lux-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(160deg, rgba(243, 201, 105, 0.55), rgba(212, 175, 55, 0.05) 30%, transparent 60%, rgba(212, 175, 55, 0.35));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.8;
    transition: opacity var(--lux-speed) ease;
}
/* corner glow accent */
.lux-card::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 90px;
    height: 90px;
    border-radius: 0 var(--lux-radius) 0 0;
    background: radial-gradient(circle at 100% 0%, rgba(243, 201, 105, 0.16), transparent 65%);
    pointer-events: none;
    opacity: 0.7;
}
.lux-card:hover {
    transform: translateY(-6px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 26px 60px rgba(2, 8, 16, 0.62),
        0 0 0 1px rgba(212, 175, 55, 0.28),
        0 0 34px var(--lux-gold-glow);
}
.lux-card:hover::before { opacity: 1; }

/* Animated shine sweep across luxury cards */
.lux-card.lux-shine { overflow: hidden; }
.lux-card.lux-shine::marker { display: none; }
.lux-card.lux-shine .shine-sweep,
.lux-shine-sweep {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
    z-index: 1;
}
.lux-card.lux-shine .shine-sweep::before,
.lux-shine-sweep::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -90%;
    width: 55%;
    height: 180%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 244, 214, 0.12), transparent);
    transition: left 0.9s var(--lux-ease);
}
.lux-card.lux-shine:hover .shine-sweep::before,
.lux-shine-sweep:hover::before {
    left: 130%;
}

/* ---------- Buttons: gold sheen + 3D depth, ghost with glow ---------- */
.btn-gold {
    position: relative;
    background: linear-gradient(135deg, #F6D67A 0%, var(--lux-gold-b) 48%, #A87E1F 100%);
    color: var(--lux-ink);
    border: 1px solid rgba(255, 236, 170, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -2px 0 rgba(122, 88, 16, 0.55),
        0 6px 22px rgba(212, 175, 55, 0.34);
    overflow: hidden;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -110%;
    width: 50%;
    height: 200%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transition: left 0.7s var(--lux-ease);
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 0 rgba(122, 88, 16, 0.5),
        0 12px 34px rgba(212, 175, 55, 0.5),
        0 0 26px var(--lux-gold-glow);
    color: #0A0F18;
}
.btn-gold:hover::after { left: 135%; }
.btn-gold:active { transform: translateY(-1px); }

.btn-ghost {
    background: rgba(11, 23, 42, 0.5);
    color: var(--lux-gold-a);
    border: 1px solid var(--lux-gold-line-strong);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--lux-gold-a);
    box-shadow: 0 0 24px var(--lux-gold-glow), inset 0 0 14px rgba(243, 201, 105, 0.08);
    color: var(--lux-gold-a);
}

.btn-outline {
    background: rgba(11, 23, 42, 0.4);
    color: var(--lux-gold-a);
    border: 1px solid var(--lux-gold-line-strong);
}
.btn-outline:hover {
    color: #FFF2CE;
    background: rgba(212, 175, 55, 0.16);
    box-shadow: 0 0 22px var(--lux-gold-glow-strong);
}

/* ---------- Marquee strip ---------- */
.marquee {
    position: relative;
    overflow: hidden;
    padding: 1.15rem 0;
    border-top: 1px solid var(--lux-gold-line);
    border-bottom: 1px solid var(--lux-gold-line);
    background:
        linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.07) 50%, transparent),
        rgba(5, 11, 20, 0.7);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    padding-left: 1.5rem;
    animation: marqueeScroll 34s linear infinite;
    will-change: transform;
}
.marquee-track span {
    font-family: var(--lux-font-display);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    color: rgba(243, 201, 105, 0.78);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 3rem;
}
.marquee-track span::after {
    content: '◆';
    color: rgba(212, 175, 55, 0.45);
    font-size: 0.6rem;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Reveal v2: fade-up & blur-in ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--lux-ease), transform 0.9s var(--lux-ease);
    will-change: opacity, transform;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal-blur {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    filter: blur(10px);
    transition: opacity 0.9s var(--lux-ease), transform 0.9s var(--lux-ease), filter 0.9s var(--lux-ease);
}
.reveal-blur.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Staggered children (apply to a grid/wrap) */
.stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s var(--lux-ease), transform 0.75s var(--lux-ease);
}
.stagger.in-view > * { opacity: 1; transform: translateY(0); }
.stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in-view > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.in-view > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.in-view > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.in-view > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.in-view > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.in-view > *:nth-child(7) { transition-delay: 0.47s; }
.stagger.in-view > *:nth-child(8) { transition-delay: 0.54s; }
.stagger.in-view > *:nth-child(9) { transition-delay: 0.61s; }
.stagger.in-view > *:nth-child(10) { transition-delay: 0.68s; }

/* No-JS failsafe: never hide content */
html.no-js .reveal,
html.no-js .reveal-blur,
html.no-js .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

/* ---------- Countdown tile shimmer ---------- */
.countdown-box {
    position: relative;
    overflow: hidden;
}
.countdown-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 244, 214, 0.10) 46%, transparent 62%);
    transform: translateX(-110%);
    animation: cdShimmer 3.6s var(--lux-ease) infinite;
    pointer-events: none;
}
@keyframes cdShimmer {
    0% { transform: translateX(-110%); }
    52% { transform: translateX(110%); }
    100% { transform: translateX(110%); }
}

/* ---------- Gold-ringed avatars ---------- */
.gold-ring {
    border: 1px solid var(--lux-gold-line-strong) !important;
    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.14),
        0 0 24px var(--lux-gold-glow),
        inset 0 0 18px rgba(212, 175, 55, 0.12) !important;
}
/* ---------- Fee total glow ---------- */
.gold-glow-text {
    filter: drop-shadow(0 0 26px rgba(243, 201, 105, 0.35));
}

/* ---------- Header luxury ---------- */
.site-header {
    background: linear-gradient(180deg, rgba(6, 14, 26, 0.86), rgba(6, 14, 26, 0.62));
    border-bottom: 1px solid var(--lux-gold-line);
    box-shadow: 0 12px 40px rgba(2, 8, 16, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(243, 201, 105, 0.7), transparent);
    pointer-events: none;
}
.brand-link { color: var(--lux-white); }
.brand-sub { color: var(--secondary-text); letter-spacing: 0.24em; }
.nav-link { color: var(--secondary-text); }
.nav-link:hover, .nav-link.active {
    color: var(--lux-gold-a);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.14), rgba(212, 175, 55, 0.04));
    box-shadow: inset 0 -1px 0 var(--lux-gold-line-strong);
}
.brand-emblem { filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.55)); }

/* ---------- Footer luxury ---------- */
.site-footer {
    position: relative;
    border-top: 1px solid var(--lux-gold-line);
    background:
        radial-gradient(ellipse 60% 60% at 50% 0%, rgba(212, 175, 55, 0.06), transparent 65%),
        linear-gradient(180deg, #071120, #050A13);
    padding-top: 3.2rem;
    padding-bottom: 1.6rem;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(243, 201, 105, 0.6), transparent);
}
.footer-brand { color: var(--lux-white); font-family: var(--lux-font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.06em; }
.footer-heading {
    color: var(--lux-gold-a);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
}
.footer-link { color: var(--secondary-text); }
.footer-link:hover { color: var(--lux-gold-a); }
.copyright { color: var(--muted-text); font-size: 0.78rem; text-align: center; letter-spacing: 0.08em; }
/* Social icon round chips */
.social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--lux-gold-line);
    background: rgba(11, 23, 42, 0.7);
    color: var(--lux-gold-a);
    font-size: 1rem;
    transition: all var(--lux-speed) var(--lux-ease);
}
.social-chip:hover {
    transform: translateY(-3px);
    border-color: var(--lux-gold-a);
    box-shadow: 0 0 20px var(--lux-gold-glow), inset 0 0 12px rgba(243, 201, 105, 0.08);
    color: #FFF2CE;
}

/* ---------- Notification popup stays above grain (z 60) ---------- */
.notification-popup { z-index: 400; }

/* ---------- Reduced motion: reveal everything, stop animations ---------- */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-blur, .stagger > * {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
    .marquee-track { animation: none !important; }
    .countdown-box::after { animation: none !important; }
    .btn-gold::after { display: none; }
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------- Mobile marquee: slow + smaller ---------- */
@media (max-width: 480px) {
    .marquee-track { animation-duration: 46s; }
    .marquee-track span { letter-spacing: 0.22em; font-size: 0.82rem; }
}
@media (max-width: 380px) {
    .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* Footer socials row (chips) */
.footer-socials {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.1rem;
}
.footer-socials .social-chip {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
}