/* ═══════════════════════════════════════════════
   TRYST 2026 — Master Stylesheet
   Organized: Base → Layout → Components → Sections → Animations → Responsive
═══════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   BASE / RESET
───────────────────────────────────────────── */
:root {
  --gold: #C9A84C;
  --gold-light: #E5C97E;
  --gold-glow: #FFD700;
  --gold-dark: #8B6914;
  --navy: #0A0F1E;
  --navy-mid: #0D1530;
  --navy-light: #142044;
  --navy-accent: #1A2A5E;
  --azure: #0066CC;
  --radius: 4px;
  --glass-bg: rgba(20, 32, 68, 0.55);
  --glass-border: rgba(201, 168, 76, 0.2);
  --transition-fast: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-std: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --logo-scale: 1.5;
}

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

html { scroll-behavior: auto; } /* GSAP handles smooth scroll */

body {
  background-color: var(--navy);
  color: #fff;
  overflow-x: hidden;
  cursor: none;
}

/* Subtle global texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 50%, #0a0f1f 100%);
  z-index: -1;
  pointer-events: none;
}

body > * { position: relative; z-index: 1; }

/* Scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Global background image */
.global-bg {
  position: fixed;
  inset: 0;
  background: url("images/bg.jpeg") center/cover no-repeat;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

.surprise-bg, .schedule-bg, .about-bg-decor {
  opacity: 0.04 !important;
  z-index: 0;
}

section > * { position: relative; z-index: 1; }

footer { margin-top: 20px; }

/* ─────────────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────────────── */
.section-eyebrow {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title { position: relative; }

.gold-divider {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);        /* ↓ from 16px — better perf */
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
}

/* ─────────────────────────────────────────────
   COMPONENTS — CURSOR
───────────────────────────────────────────── */
.custom-cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--gold-glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
}

/* ─────────────────────────────────────────────
   COMPONENTS — NAVBAR
───────────────────────────────────────────── */
#navbar {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  pointer-events: none;
  background: transparent;
}

#navbar.scrolled {
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

#navbar.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.nav-logo { transition: filter 0.3s; }
.nav-logo:hover { filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.7)); }

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

.btn-gold-sm {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn-gold-sm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: -1;
}
.btn-gold-sm:hover { color: var(--navy); }
.btn-gold-sm:hover::before { transform: translateX(0); }

/* Mobile menu */
#mobile-menu { display: none; }
#mobile-menu.open { display: flex; }

.mobile-link { text-decoration: none; position: relative; }
.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s;
}
.mobile-link:hover::after { width: 100%; }

/* ─────────────────────────────────────────────
   COMPONENTS — BUTTONS
───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  position: relative;
  padding: 13px 36px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  overflow: hidden;
  transition: color 0.28s ease;
  cursor: none;
}
.btn-primary .btn-inner { position: relative; z-index: 2; }
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 1;
}
.btn-primary:hover { color: var(--navy); }
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary .btn-glow {
  position: absolute; inset: -2px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s;
  z-index: 0;
}
.btn-primary:hover .btn-glow {
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.35), inset 0 0 20px rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.25);
}

.btn-ghost {
  display: inline-block;
  padding: 13px 36px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.25s;
  cursor: none;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: white; }

/* ─────────────────────────────────────────────
   SECTION — HERO
───────────────────────────────────────────── */
.hero-section { min-height: 100vh; background: var(--navy); }

.hero-bg { overflow: hidden; }
.hero-bg img { transform-origin: center center; will-change: transform; }

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(10, 15, 30, 0.85) 0%,
    rgba(10, 15, 30, 0.55) 40%,
    rgba(10, 15, 30, 0.72) 100%
  );
}

/* Stars */
.stars-layer { position: absolute; inset: 0; pointer-events: none; }

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%       { opacity: var(--opacity, 0.8); transform: scale(1); }
}

/* Corner ornaments — REDUCED SIZE */
.ornament-tl::before,
.ornament-tr::before,
.ornament-bl::before,
.ornament-br::before {
  content: '';
  display: block;
  width: 32px;   /* ↓ from 60px */
  height: 32px;  /* ↓ from 60px */
}
.ornament-tl::before { border-top: 1px solid var(--gold); border-left:  1px solid var(--gold); }
.ornament-tr::before { border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.ornament-bl::before { border-bottom: 1px solid var(--gold); border-left:  1px solid var(--gold); }
.ornament-br::before { border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

/* Hero typography */
.hero-badge { font-size: 11px; letter-spacing: 0.5em; margin-top: 20px; }


@media (max-width: 768px) {
  .hero-badge {
    margin-top: 4px;
  }
}

.hero-title-tryst {
  font-size: clamp(4.5rem, 16vw, 12rem);
  letter-spacing: 0.08em;
  line-height: 0.9;
  text-shadow: 0 0 60px rgba(255,255,255,0.08);
}

.hero-title-year {
  font-size: clamp(2.8rem, 9vw, 6rem);
  letter-spacing: 0.25em;
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.35);
}

.hero-line { display: flex; align-items: center; gap: 12px; }
.line-deco {
  display: block; width: 70px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.line-diamond {
  display: block; width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--gold);
}

.hero-subtitle { font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: 0.04em; }

/* ─────────────────────────────────────────────
   COMPONENTS — HORIZONTAL CARDS
───────────────────────────────────────────── */
.cards-track {
  display: flex;
  gap: 20px;
  padding: 16px 48px 32px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}
.cards-track::-webkit-scrollbar { display: none; }
.cards-track.grabbing { cursor: grabbing; }

.nav-card {
  flex: 0 0 260px;
  height: 380px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: none;
  transition: box-shadow var(--transition-std);
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
}

.nav-card:hover {
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.18), 0 16px 50px rgba(0, 0, 0, 0.45);
}

.nav-card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: brightness(0.85) saturate(1);
  will-change: transform, filter;
}
.nav-card:hover .nav-card-bg { transform: scale(1.06); filter: brightness(0.6) saturate(1); }

.nav-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,0.95) 0%, rgba(10,15,30,0.4) 60%, transparent 100%);
  transition: opacity 0.25s;
}

.nav-card-glow {
  position: absolute; inset: -2px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.25s;
  pointer-events: none;
}
.nav-card:hover .nav-card-glow {
  border-color: rgba(201, 168, 76, 0.28);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.12), inset 0 0 20px rgba(201, 168, 76, 0.04);
}

/* Premium card style */
.nav-card.premium {
  height: 400px;
  border-radius: 24px;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.12);
}
.nav-card.premium .nav-card-bg { filter: none; height: 100%; }
.nav-card.premium:hover .nav-card-bg { transform: scale(1.05); filter: brightness(1) saturate(1.1); }
.nav-card.premium .nav-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.4) 18%,
    rgba(255,255,255,0.15) 35%, rgba(10,15,30,0.2) 60%, rgba(10,15,30,0.5) 100%
  );
}
.nav-card.premium:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
}

.premium-content {
  position: absolute;
  top: 24px; left: 22px;
  z-index: 2;
}
.premium-content::before {
  content: "";
  position: absolute;
  inset: -16px -16px auto -16px;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
  z-index: -1;
  border-radius: 18px;
}

.card-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: #a68828;
  font-weight: 700;
}

.card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 800;
  max-width: 170px;
  color: #1e3b8a;
  text-shadow: 0 2px 0 rgba(255,255,255,0.3), 0 5px 16px rgba(0,0,0,0.2);
}

.cards-hint {
  text-align: center;
  padding: 6px;
  animation: fade-pulse 2s ease-in-out infinite;
}

@keyframes fade-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.8; } }

/* ─────────────────────────────────────────────
   SECTION — ABOUT
───────────────────────────────────────────── */
.about-bg-decor {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 42, 94, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.about-img-frame {
  position: relative;
  width: 100%; height: 420px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.about-img-overlay { background: linear-gradient(to bottom, transparent 60%, var(--navy) 100%); }

.stat-divider {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.35), transparent);
  align-self: center;
}

/* ─────────────────────────────────────────────
   SECTION — SURPRISE ARTIST
───────────────────────────────────────────── */
.surprise-bg {
  background: radial-gradient(ellipse at center, rgba(26, 42, 94, 0.5) 0%, var(--navy) 70%);
}

.surprise-stage { max-width: 380px; }

.surprise-frame {
  position: relative; width: 100%; height: 440px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: none;
}

.surprise-question-wrap {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 4;
  transition: opacity 0.5s, visibility 0.5s;
}

.surprise-q-mark {
  font-size: 7rem; line-height: 1;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.4)); }
  50%       { filter: drop-shadow(0 0 28px rgba(201, 168, 76, 0.8)); }
}

.surprise-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(30px) brightness(0.3);
  transition: filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  will-change: filter;
}
.surprise-img.revealed { filter: blur(0) brightness(0.9); }

.surprise-revealed {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px; z-index: 5;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(to top, rgba(10,15,30,0.98) 0%, transparent 100%);
}
.surprise-revealed.show { opacity: 1; transform: translateY(0); }
.surprise-name { font-size: 1.5rem; text-shadow: 0 0 25px rgba(201, 168, 76, 0.45); }

.surprise-veil {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(26, 42, 94, 0.65) 0%, transparent 70%);
  z-index: 2;
  transition: opacity 0.9s ease;
}
.surprise-veil.hidden { opacity: 0; }

.surprise-glow-ring {
  position: absolute; inset: -3px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  z-index: 6; transition: all 0.9s ease;
  pointer-events: none;
}
.surprise-glow-ring.active {
  border-color: var(--gold);
  box-shadow: 0 0 35px rgba(201,168,76,0.45), inset 0 0 35px rgba(201,168,76,0.08);
}

/* Locked wrapper */
.locked-wrapper { position: relative; display: inline-block; }
.lock-overlay {
  position: absolute; inset: 0;
  background: rgba(10,15,30,0.7);
  display: flex; align-items: center; justify-content: center;
  cursor: not-allowed; z-index: 10;
}
.lock-overlay img { width: 36px; opacity: 0.9; }
.locked-wrapper.locked button { pointer-events: none; opacity: 0.6; }

/* ─────────────────────────────────────────────
   SECTION — PAST PERFORMERS
───────────────────────────────────────────── */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.artist-card {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition-std), box-shadow var(--transition-std);
  cursor: none;
  display: flex; 
  flex-direction: column;
  will-change: transform;
  transform: none !important;
  height: 100%;
}
.artist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.45), 0 0 24px rgba(201,168,76,0.08);
}

.artist-img-wrap {
  position: relative;
  height: 320px; /* ↓ from 360px — more compact */
  overflow: hidden; flex-shrink: 0;
}
.artist-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), filter 0.3s ease;
  filter: brightness(0.85) saturate(0.9);
  will-change: transform, filter;
}
.artist-card:hover .artist-img { transform: scale(1.04); filter: brightness(0.7) saturate(1.1); }

.artist-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,0.92) 0%, transparent 50%);
  display: flex; align-items: flex-end;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.artist-card:hover .artist-overlay { opacity: 1; }
.artist-overlay-content { padding: 18px; }

.artist-info {
  padding: 12px 16px;
  flex-grow: 1;
  background: var(--navy-mid);
  border-top: 1px solid var(--glass-border);
  display: flex; flex-direction: column; gap: 3px;
}
.artist-name { font-size: 0.9rem; letter-spacing: 0.05em; }
.artist-tag { font-size: 9px; }

/* ─────────────────────────────────────────────
   SECTION — SCHEDULE
───────────────────────────────────────────── */
.schedule-bg {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
}

.schedule-tabs { gap: 3px; }
.schedule-tab {
  padding: 9px 28px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: rgba(255,255,255,0.4);
  cursor: none;
  transition: all 0.25s;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}
.schedule-tab:hover { color: var(--gold); border-color: rgba(201,168,76,0.3); }
.schedule-tab.active {
  background: linear-gradient(135deg, rgba(201,168,76,0.14), rgba(201,168,76,0.05));
  border-color: var(--gold); color: var(--gold);
}

.schedule-day { display: none; }
.schedule-day.active { display: block; }

.schedule-timeline {
  display: flex; flex-direction: column;
  gap: 8px;                /* ↓ from 24px — compact */
  max-width: 800px;
  margin: 0 auto;
}

.schedule-event {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}

.event-time-col {
  text-align: right;
  padding-top: 12px;
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.event-time {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.event-time-line {
  width: 1px; flex: 1; min-height: 12px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.35), transparent);
}

.event-card {
  border: 1px solid rgba(201,168,76,0.18);
  overflow: hidden;
  transition: box-shadow 0.25s;
  background: rgba(20,32,68,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.event-card:hover { box-shadow: 0 0 16px rgba(201,168,76,0.08); }

.event-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 10px 14px;   /* ↓ from 20px 24px — compact */
  cursor: pointer;
  transition: background 0.2s;
}
.event-header:hover { background: rgba(201,168,76,0.04); }

.event-tag {
  font-family: 'Rajdhani', sans-serif;
  color: rgba(201,168,76,0.6);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.event-title { font-size: 0.95rem; }

.event-toggle {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
  min-width: 20px; text-align: center;
  color: var(--gold);
}
.event-toggle.open { transform: rotate(45deg); }

.event-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.event-body.open { max-height: 220px; }

/* Event expand layout with poster image */
.event-body-inner {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  padding: 8px 14px 14px;
}
.event-poster {
  width: 100%; height: 70px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--glass-border);
  display: block;
}
.event-details p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}
.event-meta-row {
  margin-top: 5px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   SECTION — REGISTER
───────────────────────────────────────────── */
.btn-register {
  display: inline-block; position: relative;
  padding: 18px 56px;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 2px solid var(--gold);
  color: var(--gold); text-decoration: none;
  overflow: hidden; font-size: 0.95rem;
  cursor: none; transition: all 0.35s;
}
.btn-register-inner { position: relative; z-index: 2; transition: color 0.35s; }
.btn-register-glow { position: absolute; inset: -4px; background: transparent; transition: box-shadow 0.35s; }
.btn-register:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  box-shadow: 0 0 50px rgba(201,168,76,0.35), 0 0 100px rgba(201,168,76,0.15);
}

.countdown-num { font-variant-numeric: tabular-nums; line-height: 1; }

/* ─────────────────────────────────────────────
   SECTION — GALLERY  (Pinterest / masonry columns)
───────────────────────────────────────────── */
.gallery-masonry {
  /* CSS multi-column masonry — auto-adjusts to screen width */
  column-count: 4;
  column-gap: 10px;
}

/* Each item fills a column slot and doesn't break across columns */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  break-inside: avoid;          /* never split an image across columns */
  margin-bottom: 10px;          /* vertical gap between items */
  display: block;
  transition: box-shadow 0.28s ease;
}
.gallery-item:hover {
  box-shadow: 0 0 22px rgba(201,168,76,0.18), 0 8px 32px rgba(0,0,0,0.4);
}

/* Images are full-width of their column, height is natural (aspect ratio preserved) */
.gallery-item img {
  width: 100%;
  height: auto;          /* KEY: natural height — no fixed row height */
  display: block;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), filter 0.28s ease;
  filter: brightness(0.78) saturate(0.85);
  will-change: transform, filter;
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.92) saturate(1.05);
}

/* Overlay label — always shown at bottom on touch, hover on desktop */
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,0.9) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 14px 12px;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Tap-to-zoom hint — shown on mobile only */
.gallery-tap-hint {
  position: absolute;
  top: 8px; right: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(10,15,30,0.65);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 2px 7px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
@media (max-width: 768px) {
  .gallery-tap-hint { opacity: 1; }
  .gallery-overlay { opacity: 1; }  /* always show label on mobile */
}

/* ── Responsive column counts ─────────────────── */
@media (max-width: 1200px) {
  .gallery-masonry { column-count: 3; }
}
@media (max-width: 768px) {
  .gallery-masonry { column-count: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; border-radius: 6px; }
}
@media (max-width: 420px) {
  .gallery-masonry { column-count: 2; column-gap: 6px; }
  .gallery-item { margin-bottom: 6px; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.active { visibility: visible; opacity: 1; }

.lightbox-overlay {
  position: absolute; inset: 0;
  background: rgba(10,15,30,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: none;
}
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  background: none; border: 1px solid var(--glass-border);
  color: var(--gold); font-size: 1.8rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; z-index: 10; transition: all 0.25s;
}
.lightbox-close:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); }

.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(10,15,30,0.8); border: 1px solid var(--glass-border);
  color: var(--gold); font-size: 1.8rem;
  width: 44px; height: 70px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; z-index: 10; transition: all 0.25s;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(201,168,76,0.14); }

.lightbox-img-wrap { position: relative; z-index: 5; max-width: 90vw; max-height: 85vh; }
.lightbox-img {
  max-width: 90vw; max-height: 85vh; object-fit: contain;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 50px rgba(0,0,0,0.75);
}

/* ─────────────────────────────────────────────
   SECTION — CONTACT
───────────────────────────────────────────── */
.contact-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  transition: all 0.25s;
}
.contact-item:hover .contact-icon { border-color: var(--gold); background: rgba(201,168,76,0.08); }

.social-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none; transition: all 0.25s; cursor: none;
}
.social-btn:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(201,168,76,0.08);
  box-shadow: 0 0 16px rgba(201,168,76,0.15);
}

.form-input {
  background: rgba(20,32,68,0.5);
  border: 1px solid var(--glass-border);
  color: white; padding: 10px 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  border-radius: var(--radius);
  cursor: text;
}
.form-input::placeholder { color: rgba(255,255,255,0.22); }
.form-input:focus {
  border-color: rgba(201,168,76,0.45);
  box-shadow: 0 0 16px rgba(201,168,76,0.08);
}

/* ─────────────────────────────────────────────
   COMPONENTS — MODALS
───────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,15,30,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px; z-index: 9999;
}
.modal.active { display: flex; }

.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none;
  color: var(--gold); font-size: 1.4rem;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
  border-radius: 0;
}
.modal-close:hover {
  transform: scale(1.1);
  text-shadow: 0 0 12px rgba(201,168,76,0.8), 0 0 24px rgba(201,168,76,0.4);
  background: none;
  border-color: transparent;
}

.modal-header { padding: 30px 30px 0; border-bottom: 1px solid var(--glass-border); padding-bottom: 20px; margin-bottom: 20px; }
.modal-body { padding: 0 30px 30px; }

/* Split modal (about/performers) */
.split-modal {
  display: flex;
  width: min(920px, 100%);
  max-height: 88vh;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
}
.modal-image { flex: 1; max-height: 88vh; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-info {
  flex: 1; padding: 36px;
  display: flex; flex-direction: column; justify-content: center;
  max-height: 88vh; overflow: hidden;
}
.modal-info .modal-title, .modal-title { color: #1e3a8a; }
.modal-text { color: #5c6b8a; line-height: 1.55; margin-bottom: 14px; font-family: 'Cormorant Garamond', serif; font-size: 1rem; }
.modal-location { margin: 8px 0 20px; color: #1e3a8a; font-weight: 600; font-family: 'Rajdhani', sans-serif; font-size: 0.9rem; }
.modal-btn {
  display: inline-block; padding: 12px 24px;
  background: #1e3a8a; color: white;
  border-radius: 28px; text-decoration: none;
  font-family: 'Cinzel', serif; font-size: 0.8rem;
  transition: background 0.25s;
}
.modal-btn:hover { background: #2d55c2; }
.modal-eyebrow { font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); }

/* Events modal */
.events-modal-content {
  width: min(520px, 92vw);
  max-height: 85vh;
  background: var(--navy-mid);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px;
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--navy);
}

.events-modal-tabs {
  display: flex; gap: 6px;
  margin-bottom: 16px;
}
.events-modal-tab {
  flex: 1; padding: 7px 0;
  border: 1px solid var(--glass-border);
  background: transparent; color: rgba(255,255,255,0.4);
  font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; cursor: pointer;
  transition: all 0.2s;
}
.events-modal-tab.active { background: rgba(201,168,76,0.12); border-color: var(--gold); color: var(--gold); }
.events-modal-tab:hover:not(.active) { color: var(--gold); }

.events-modal-day { display: none; }
.events-modal-day.active { display: block; }

.events-modal-item {
  border: 1px solid var(--glass-border);
  border-radius: 6px; margin-bottom: 6px;
  overflow: visible;               /* ← was hidden, caused clipping */
  transition: border-color 0.2s;
}
.events-modal-item:hover { border-color: rgba(201,168,76,0.35); }

.events-modal-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 48px;                /* guaranteed visible height */
}
.events-modal-row:hover { background: rgba(201,168,76,0.04); }

.events-modal-tag {
  font-family: 'Rajdhani', sans-serif; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(201,168,76,0.6);
}
.events-modal-name {
  font-family: 'Cinzel', serif; font-size: 0.85rem;
  color: white; margin-top: 2px;
}
.events-modal-arrow {
  color: var(--gold); font-size: 1.1rem;
  transition: transform 0.2s;
  flex-shrink: 0; margin-left: 8px;
}
.events-modal-item.open .events-modal-arrow { transform: rotate(90deg); }

.events-modal-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.16,1,0.3,1);
  padding: 0;
}
/* Enough room for description + button — no clipping */
.events-modal-item.open .events-modal-body { max-height: 160px; }
.events-modal-body p {
  padding: 0 14px 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; color: rgba(255,255,255,0.55);
}

.know-more-btn {
  display: inline-block;
  margin: 0 14px 12px;
  padding: 5px 14px;
  border: 1px solid var(--gold);
  color: var(--gold); background: transparent;
  font-family: 'Rajdhani', sans-serif; font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.know-more-btn:hover { background: rgba(201,168,76,0.12); }

/* ─────────────────────────────────────────────
   ANIMATIONS — SCROLL REVEALS
───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-in-right { transition: opacity 0.3s ease; transform: none; }
  .star { animation: none; opacity: 0.4; }
  .scroll-arrow { animation: none; }
  #hero-bg-img { will-change: auto; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(201,168,76,0.25); }
  50%       { box-shadow: 0 0 35px rgba(201,168,76,0.55), 0 0 70px rgba(201,168,76,0.15); }
}
.glow-loop { animation: glow-pulse 2s ease-in-out infinite; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .artists-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  /* Hero */
  .hero-title-tryst { font-size: clamp(3.5rem, 18vw, 5.5rem); }
  .hero-title-year  { font-size: clamp(2.2rem, 11vw, 3.5rem); }

  /* About */
  .about-img-frame { height: 260px; }
  .about-float-card { display: none; }

  /* Artists: 2 cols on mobile */
  .artists-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .artist-img-wrap { height: 200px; }

  /* Schedule */
  .schedule-event { grid-template-columns: 80px 1fr; gap: 8px; }
  .event-body-inner { grid-template-columns: 80px 1fr; gap: 8px; }
  .event-poster { height: 56px; }

  /* Gallery — column counts now handled in gallery section above */

  /* Stats */
  .stats-row { gap: 16px; }
  .stat-divider { display: none; }

  /* Cards */
  .cards-track { padding: 12px 20px 28px; }
  .nav-card.premium { flex: 0 0 220px; height: 340px; }

  /* Register */
  .btn-register { padding: 14px 28px; }
  .register-countdown { gap: 12px; }
  .countdown-num { font-size: 2.5rem; }

  /* Cursor off on touch */
  body { cursor: auto; }
  .custom-cursor, .cursor-follower { display: none; }

  /* Modals */
  .split-modal { flex-direction: column; height: auto; }
  .modal-image { height: 200px; }
  .events-modal-content { padding: 20px 16px; }

  /* Performance: reduce blur on mobile */
  .glass-card { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .event-card  { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .global-bg   { display: none; } /* Skip bg texture on mobile */
}

@media (max-width: 480px) {
  .artists-grid { grid-template-columns: repeat(2, 1fr); } /* Keep 2-col even on smallest screens */
  /* gallery handled above in masonry section */
  .hero-line .line-deco { width: 36px; }
  .event-body-inner { grid-template-columns: 1fr; }
  .event-poster { width: 100%; height: 90px; }
  .schedule-event { grid-template-columns: 72px 1fr; }
}
/* ═══════════════════════════════════════════════
   REGISTRATION MODAL
   Fully isolated — prefixed .register- / .reg-
   Does NOT touch or override any existing styles.
═══════════════════════════════════════════════ */

/* ── Overlay ───────────────────────────────── */
.register-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;                          /* below card (9100), above everything else */
  background: rgba(8, 12, 26, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}
.register-overlay.reg-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ── Modal wrapper ─────────────────────────── */
.register-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  visibility: hidden;
}
.register-modal.reg-active {
  visibility: visible;
  pointer-events: auto;
}

/* ── Card ──────────────────────────────────── */
.register-card {
  position: relative;
  width: min(700px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;

  /* Glassmorphism dark card */
  background: linear-gradient(
    145deg,
    rgba(13, 21, 48, 0.97) 0%,
    rgba(10, 15, 30, 0.99) 100%
  );
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 16px;

  /* Layered premium shadow */
  box-shadow:
    0 0 0 1px rgba(201, 168, 76, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 32px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(201, 168, 76, 0.12);

  /* Start hidden for GSAP */
  opacity: 0;
  transform: scale(0.92) translateY(18px);
  overflow: hidden;
}

/* Inner top highlight line */
.register-card::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.45), transparent);
  pointer-events: none;
}

/* ── Corner ornaments ──────────────────────── */
.reg-ornament {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.55;
}
.reg-ornament--tl { top: 12px;  left: 12px;  border-top: 1px solid var(--gold); border-left:  1px solid var(--gold); }
.reg-ornament--tr { top: 12px;  right: 12px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.reg-ornament--bl { bottom: 12px; left: 12px;  border-bottom: 1px solid var(--gold); border-left:  1px solid var(--gold); }
.reg-ornament--br { bottom: 12px; right: 12px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

/* ── Close button ──────────────────────────── */
.reg-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 20;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}
.reg-close-btn:hover {
  transform: scale(1.1);
  text-shadow: 0 0 12px rgba(201,168,76,0.8), 0 0 24px rgba(201,168,76,0.4);
  background: none;
  border-color: transparent;
}

/* ── Header ────────────────────────────────── */
.register-card-header {
  padding: 28px 32px 0;
  flex-shrink: 0;
}

.reg-eyebrow {
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 8px;
}

.reg-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 8px;
}

.reg-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ── Divider ───────────────────────────────── */
.reg-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  flex-shrink: 0;
}
.reg-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}
.reg-divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ── Card body — scrollable ────────────────── */
.register-card-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 32px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.35) transparent;
}
.register-card-body::-webkit-scrollbar { width: 3px; }
.register-card-body::-webkit-scrollbar-thumb { background: rgba(201, 168, 76, 0.35); border-radius: 2px; }

/* ── Form layout ───────────────────────────── */
.reg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.reg-form-row--three {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.reg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Labels ────────────────────────────────── */
.reg-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.reg-required { color: var(--gold); margin-left: 2px; }

/* ── Inputs & selects ──────────────────────── */
.reg-input {
  background: rgba(20, 32, 68, 0.55);
  border: 1px solid rgba(201, 168, 76, 0.18);
  color: #fff;
  padding: 10px 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  outline: none;
  border-radius: 6px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  width: 100%;
}
.reg-input::placeholder { color: rgba(255, 255, 255, 0.2); }
.reg-input:focus {
  border-color: rgba(201, 168, 76, 0.55);
  background: rgba(20, 32, 68, 0.75);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08), 0 0 18px rgba(201, 168, 76, 0.06);
}
.reg-input.reg-error {
  border-color: rgba(255, 80, 80, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.08);
}

.reg-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23C9A84C' opacity='0.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.reg-select option {
  background: #0d1530;
  color: #fff;
}

/* ── Upload section ────────────────────────── */
.reg-uploads-section {
  margin-bottom: 20px;
}
.reg-uploads-heading {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}
.reg-uploads-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.reg-upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 110px;
  border: 1px dashed rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  background: rgba(20, 32, 68, 0.4);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  text-align: center;
  padding: 12px 8px;
}
.reg-upload-zone:hover {
  border-color: rgba(201, 168, 76, 0.6);
  background: rgba(20, 32, 68, 0.65);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.07);
}
.reg-upload-zone.reg-has-file {
  border-color: rgba(201, 168, 76, 0.55);
  border-style: solid;
}

.reg-upload-zone--wide {
  grid-column: 1 / -1;
}

.reg-instagram-task-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 8px;
  background: rgba(20, 32, 68, 0.42);
}

.reg-instagram-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 4px 6px 4px 2px;
  min-height: 110px;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
}

.reg-instagram-info:hover {
  transform: translateY(-1px);
}

.reg-instagram-upload-box {
  min-height: 110px;
  background: rgba(12, 20, 42, 0.72);
}

.reg-instagram-badge {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.68);
}

.reg-instagram-title {
  font-size: 1rem;
  color: #fff;
  line-height: 1.1;
}

.reg-instagram-copy {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.45;
}

.reg-instagram-link {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.reg-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

/* Image preview fills the zone when uploaded */
.reg-upload-preview {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  border-radius: 7px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.reg-upload-zone.reg-has-file .reg-upload-preview { opacity: 1; }
.reg-upload-zone.reg-has-file .reg-upload-placeholder { opacity: 0; pointer-events: none; }

.reg-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
  position: relative;
  z-index: 0;
}
.reg-upload-icon { font-size: 1.5rem; line-height: 1; }
.reg-upload-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}
.reg-upload-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.32);
  font-style: italic;
}

/* ── Submit button ─────────────────────────── */
.reg-submit-btn {
  position: relative;
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 14px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  transition: color 0.28s ease;
}
.reg-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}
.reg-submit-btn:hover { color: var(--navy); }
.reg-submit-btn:hover::before { transform: scaleX(1); }
.reg-submit-btn:hover .reg-submit-glow {
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.35), inset 0 0 20px rgba(201, 168, 76, 0.08);
}
.reg-submit-inner {
  position: relative;
  z-index: 2;
}
.reg-submit-glow {
  position: absolute;
  inset: -2px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: box-shadow 0.28s;
  pointer-events: none;
  z-index: 1;
}
.reg-submit-btn.reg-loading {
  pointer-events: none;
  opacity: 0.65;
}

/* ── Disclaimer ────────────────────────────── */
.reg-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  font-style: italic;
  line-height: 1.5;
}

.reg-task-follow-note {
  margin: -4px 0 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.48);
  text-align: center;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 640px) {
  .register-card-header { padding: 22px 20px 0; }
  .register-card-body   { padding: 0 20px 22px; }
  .reg-divider          { padding: 12px 20px; }

  .reg-form-row,
  .reg-form-row--three  { grid-template-columns: 1fr; gap: 10px; }

  .reg-uploads-grid     { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .reg-upload-zone      { min-height: 90px; }
  .reg-upload-label     { font-size: 0.55rem; }
  .reg-upload-hint      { display: none; }
  .reg-instagram-task-card { grid-template-columns: 1fr; }
  .reg-instagram-info      { min-height: 0; padding: 2px 2px 6px; }
  .reg-instagram-upload-box { min-height: 90px; }
}

@media (max-width: 380px) {
  .reg-uploads-grid     { grid-template-columns: 1fr; }
  .reg-upload-zone      { min-height: 70px; flex-direction: row; justify-content: flex-start; gap: 10px; padding: 10px 14px; }
}
/* ─────────────────────────────────────────────
   TASK CARD (clickable zone in attendee form)
───────────────────────────────────────────── */
.task-card {
  position: relative;
  border: 1px dashed rgba(201,168,76,0.3);
  border-radius: 10px;
  padding: 20px 16px;
  background: rgba(20,32,68,0.45);
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  text-align: center;
  overflow: hidden;
}
.task-card:hover {
  background: rgba(26, 40, 84, 0.7);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(201,168,76,0.1);
}
/* Completed state */
.task-card.reg-has-file {
  border-color: rgba(201,168,76,0.55);
  border-style: solid;
}
.task-card.reg-has-file .task-collapsed {
  opacity: 0.4;
  display: none;
}
/* Gold shimmer on hover */
.task-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0) 0%, rgba(201,168,76,0.06) 50%, rgba(201,168,76,0) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.task-card:hover::before { opacity: 1; }

.task-collapsed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}
.task-collapsed .reg-upload-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.8);
}
.task-collapsed .reg-upload-hint {
  font-size: 0.72rem;
  color: rgba(201,168,76,0.6);
  font-style: italic;
}

/* ─────────────────────────────────────────────
   FITPASS TASK POPUP
   Full-screen modal with Android / iOS tabs,
   step instructions, handle input, screenshot upload.
───────────────────────────────────────────── */

/* Overlay */
.tp-overlay {
  position: fixed;
  inset: 0;
  z-index: 9200;
  background: rgba(4, 7, 18, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.tp-overlay.tp-active {
  opacity: 1;
  visibility: visible;
}

/* Popup card */
.tp-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.94);
  z-index: 9300;
  width: min(560px, 96vw);
  max-height: 90vh;
  background: linear-gradient(160deg, #0d1530 0%, #080d1e 100%);
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), visibility 0.3s ease;
}
.tp-popup.tp-active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Close button */
.tp-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s, transform 0.2s;
  padding: 4px;
}
.tp-close:hover {
  color: var(--gold);
  transform: scale(1.15);
}

/* Header */
.tp-header {
  padding: 28px 28px 16px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  flex-shrink: 0;
}
.tp-sponsor-badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.65);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.tp-title {
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.05em;
  margin: 0 0 6px;
}
.tp-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  margin: 0;
}

/* Platform tabs */
.tp-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  flex-shrink: 0;
}
.tp-tab {
  flex: 1;
  padding: 12px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255,255,255,0.38);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tp-tab:hover { color: rgba(255,255,255,0.65); }
.tp-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.tp-tab-icon { font-size: 1rem; }

/* Scrollable body */
.tp-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.25) transparent;
}
.tp-body::-webkit-scrollbar { width: 4px; }
.tp-body::-webkit-scrollbar-track { background: transparent; }
.tp-body::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.25); border-radius: 2px; }

/* Platform panels */
.tp-panel { display: none; }
.tp-panel.active { display: block; }

/* Steps */
.tp-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.tp-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tp-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0;
}
.tp-step-content { flex: 1; padding-top: 3px; }
.tp-step-title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 4px;
}
.tp-step-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  line-height: 1.5;
}
.tp-store-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.tp-store-link:hover { color: #e5c97e; border-color: var(--gold); }

/* Keywords block */
.tp-keywords {
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.16);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 20px;
}
.tp-keywords-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.6);
  margin-bottom: 7px;
}
.tp-keywords-list {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  line-height: 1.75;
}

/* Handle name text field */
.tp-field-group {
  margin-bottom: 16px;
}
.tp-field-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.65);
  margin-bottom: 7px;
}
.tp-field-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(10,15,35,0.7);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 6px;
  padding: 11px 14px;
  color: #fff;
  font-size: 1rem;
  font-style: italic;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tp-field-input::placeholder { color: rgba(255,255,255,0.22); }
.tp-field-input:focus {
  border-color: rgba(201,168,76,0.55);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.07);
}
.tp-field-hint {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  margin-top: 5px;
}

/* Screenshot upload zone */
.tp-upload-zone {
  border: 1.5px dashed rgba(201,168,76,0.3);
  border-radius: 10px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.22s, background 0.22s;
  text-align: center;
  position: relative;
  margin-bottom: 4px;
}
.tp-upload-zone:hover {
  border-color: rgba(201,168,76,0.6);
  background: rgba(201,168,76,0.04);
}
.tp-upload-zone.tp-has-file {
  border-color: rgba(201,168,76,0.5);
  border-style: solid;
  background: rgba(201,168,76,0.04);
}
.tp-upload-icon { font-size: 1.6rem; }
.tp-upload-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}
.tp-upload-hint {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.32);
  font-style: italic;
}
.tp-upload-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tp-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

/* Footer action buttons */
.tp-footer {
  display: flex;
  gap: 10px;
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(201,168,76,0.1);
  flex-shrink: 0;
}
.tp-btn-cancel {
  flex: 0 0 auto;
  padding: 11px 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: rgba(255,255,255,0.38);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.tp-btn-cancel:hover { border-color: rgba(255,255,255,0.28); color: rgba(255,255,255,0.65); }

.tp-btn-confirm {
  flex: 1;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(201,168,76,0.18) 0%, rgba(201,168,76,0.08) 100%);
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 6px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.tp-btn-confirm:hover {
  background: linear-gradient(135deg, rgba(201,168,76,0.28) 0%, rgba(201,168,76,0.14) 100%);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(201,168,76,0.15);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .tp-header { padding: 22px 18px 14px; }
  .tp-body   { padding: 16px 16px; }
  .tp-footer { padding: 12px 16px 16px; }
  .tp-title  { font-size: 1.05rem; }
  .tp-popup  { border-radius: 12px; }
}
/* ═══════════════════════════════════════════════
   ADDITIONS — TRYST 2026 v2
   Surprise (dual) · Student Union · Event Reg ·
   Footer Credit
═══════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   SURPRISE ARTIST — DUAL CARD SYSTEM
───────────────────────────────────────────── */
.surprise-dual-stage {
  display: flex;
  justify-content: center;
  gap: 28px;
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

/* Each artist card shares the same base styles as before */
.surprise-dual-stage .surprise-frame {
  width: 380px;
  height: 440px;
  flex-shrink: 0;
}

/* Artist 2 starts hidden behind artist 1 */
.surprise-frame--hidden {
  position: absolute;
  top: 0;
  left: calc(50% - 190px); /* same x as card 1 */
  opacity: 0;
  transform: scale(0.88) translateZ(-80px);
  pointer-events: none;
  z-index: 0;
}

/* Revealed state (JS adds this) */
.surprise-frame--hidden.revealed-card {
  position: relative;
  left: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: auto;
}

.surprise-unlock-hint {
  min-height: 1.4em;
}

/* Mobile: stack vertically */
@media (max-width: 820px) {
  .surprise-dual-stage {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .surprise-dual-stage .surprise-frame {
    width: min(360px, 92vw);
  }
  .surprise-frame--hidden {
    left: 50%;
    transform: translateX(-50%) scale(0.88);
  }
}

/* ─────────────────────────────────────────────
   STUDENT UNION SECTION
───────────────────────────────────────────── */
.su-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.su-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s ease;
}
.su-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 24px rgba(201,168,76,0.1);
}

/* Photo column */
.su-img-wrap {
  position: relative;
  width: 180px;
  height: 100%;
  min-height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--navy-mid);
}
.su-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.su-card:hover .su-img { transform: scale(1.04); }

.su-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 70%, rgba(13,21,48,0.9) 100%);
}

/* Placeholder if image missing */
.su-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-accent));
  border-right: 1px solid var(--glass-border);
}

/* Info column */
.su-info {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.su-role {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.su-name {
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.su-divider {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 4px 0;
}

.su-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .su-grid {
    grid-template-columns: 1fr;
  }
  .su-card {
    grid-template-columns: 140px 1fr;
  }
  .su-img-wrap { width: 140px; min-height: 200px; }
}

@media (max-width: 480px) {
  .su-card {
    grid-template-columns: 1fr;
  }
  .su-img-wrap { width: 100%; height: 200px; }
  .su-img-overlay {
    background: linear-gradient(to bottom, transparent 60%, rgba(13,21,48,0.9) 100%);
  }
}

/* ─────────────────────────────────────────────
   REGISTRATION MODAL — EVENT PARTICIPATION LINK
───────────────────────────────────────────── */
.reg-event-cta {
  text-align: center;
  padding: 10px 0 16px;
  border-top: 1px solid rgba(201,168,76,0.1);
  margin-bottom: 14px;
}

.reg-event-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.reg-event-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* ─────────────────────────────────────────────
   EVENT REGISTRATION MODAL
───────────────────────────────────────────── */
.ereg-step { width: 100%; display: flex; flex-direction: column; }

/* Participation type selector */
.ereg-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: 4px;
}

.ereg-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 12px;
  background: rgba(20,32,68,0.5);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ereg-type-btn:hover,
.ereg-type-btn.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.12);
}
.ereg-type-icon { font-size: 1.8rem; line-height: 1; }
.ereg-type-label { font-weight: 700; font-size: 0.85rem; }
.ereg-type-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}
.ereg-type-btn.selected .ereg-type-sub { color: rgba(201,168,76,0.7); }

/* Participant field block */
.ereg-participant-block {
  background: rgba(20,32,68,0.35);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}
.ereg-participant-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold);
  opacity: 0.7;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Generate fields button */
.ereg-gen-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(201,168,76,0.4);
  background: transparent;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.22s;
}
.ereg-gen-btn:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
}

/* Navigation row */
.ereg-nav-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.ereg-back-btn {
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.22s;
  flex-shrink: 0;
}
.ereg-back-btn:hover { border-color: rgba(255,255,255,0.35); color: #fff; }

.ereg-next-btn {
  flex: 1;
  padding: 13px 20px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.06));
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s;
}
.ereg-next-btn:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
}

/* Confirmation box */
.ereg-confirm-box {
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ereg-confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.ereg-confirm-key {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.ereg-confirm-val {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  text-align: right;
}
.ereg-confirm-divider {
  height: 1px;
  background: rgba(201,168,76,0.15);
  margin: 4px 0;
}
.ereg-confirm-participant {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ereg-confirm-participant:last-child { border-bottom: none; }

@media (max-width: 480px) {
  .ereg-type-grid { grid-template-columns: 1fr; }
  .ereg-type-btn { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 14px 16px; }
}

/* ─────────────────────────────────────────────
   FOOTER CREDIT
───────────────────────────────────────────── */
.footer-credit-link {
  color: rgba(201,168,76,0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: color 0.22s, border-color 0.22s;
}
.footer-credit-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}
/* ═══════════════════════════════════════════════
   EVENT DETAIL MODAL
   Split layout: left (content + scroll desc) |
   right (poster, object-fit contain).
   Only .ed-desc-scroll overflows — card is fixed.
═══════════════════════════════════════════════ */

/* ── Overlay ─────────────────────────────────── */
.ed-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(7, 11, 24, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
}
.ed-overlay.ed-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ── Modal wrapper ───────────────────────────── */
.ed-modal {
  position: fixed;
  inset: 0;
  z-index: 8100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  visibility: hidden;
}
.ed-modal.ed-active {
  visibility: visible;
  pointer-events: auto;
}

/* ── Card ────────────────────────────────────── */
.ed-card {
  position: relative;
  width: min(960px, 100%);
  max-height: 88vh;
  display: flex;
  flex-direction: column;

  /* Glassmorphism dark card */
  background: linear-gradient(
    145deg,
    rgba(13, 21, 48, 0.97) 0%,
    rgba(10, 15, 30, 0.99) 100%
  );
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 18px;

  box-shadow:
    0 0 0 1px rgba(201, 168, 76, 0.05),
    0 8px 32px rgba(0, 0, 0, 0.65),
    0 32px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(201, 168, 76, 0.1);

  /* Start state for GSAP */
  opacity: 0;
  transform: scale(0.93) translateY(16px);
  overflow: hidden;
}

/* Inner top shine line */
.ed-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.4), transparent);
  pointer-events: none;
  z-index: 1;
}

/* ── Corner ornaments ────────────────────────── */
.ed-ornament {
  position: absolute;
  width: 24px; height: 24px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}
.ed-ornament--tl { top: 12px;  left: 12px;  border-top: 1px solid var(--gold); border-left:  1px solid var(--gold); }
.ed-ornament--tr { top: 12px;  right: 12px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.ed-ornament--bl { bottom: 12px; left: 12px;  border-bottom: 1px solid var(--gold); border-left:  1px solid var(--gold); }
.ed-ornament--br { bottom: 12px; right: 12px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

/* ── Close button ────────────────────────────── */
.ed-close-btn {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 20;
  width: 34px; height: 34px;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}
.ed-close-btn:hover {
  transform: scale(1.1);
  text-shadow: 0 0 12px rgba(201,168,76,0.8), 0 0 24px rgba(201,168,76,0.4);
  background: none;
}

/* ── Split layout ─────────────────────────────── */
.ed-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  height: 100%;
  min-height: 0; /* critical for child overflow */
}

/* ── Content column (left) ───────────────────── */
.ed-content-col {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Pinned header area — never scrolls */
.ed-header-wrap {
  padding: 36px 32px 0;
  flex-shrink: 0;
}

/* Scrollable panels area — grows to fill space */
.ed-panels-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 32px 16px;

  /* custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.3) transparent;
}
.ed-panels-scroll::-webkit-scrollbar { width: 3px; }
.ed-panels-scroll::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.3);
  border-radius: 2px;
}

.ed-eyebrow {
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 10px;
}

.ed-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.ed-meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.6);
  margin-bottom: 0;
}

/* Divider */
.ed-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 12px;
  flex-shrink: 0;
}
.ed-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.28), transparent);
}
.ed-divider-diamond {
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.65;
  flex-shrink: 0;
}

/* ── Description scroll area (legacy — now panels-scroll handles scroll) ── */
.ed-desc-scroll {
  flex: 1; min-height: 0; overflow-y: auto
}

.ed-desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
}

/* ── Register button ─────────────────────────── */
.ed-register-btn {
  position: relative;
  flex-shrink: 0;
  padding: 13px 28px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  transition: color 0.28s ease;
  align-self: flex-start;
}
.ed-register-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}
.ed-register-btn:hover { color: var(--navy); }
.ed-register-btn:hover::before { transform: scaleX(1); }
.ed-register-inner { position: relative; z-index: 2; }
.ed-register-glow {
  position: absolute;
  inset: -2px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: box-shadow 0.28s;
  pointer-events: none;
  z-index: 1;
}
.ed-register-btn:hover .ed-register-glow {
  box-shadow: 0 0 28px rgba(201,168,76,0.3), inset 0 0 16px rgba(201,168,76,0.06);
}

/* ── Poster column (right) ───────────────────── */
.ed-poster-col {
  display: flex;
  align-items: stretch;
  border-left: 1px solid rgba(201, 168, 76, 0.1);
  background: rgba(8, 12, 26, 0.6);
  min-height: 0;
}

.ed-poster-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 0;
}

.ed-poster-img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain; /* full image, no crop */
  border-radius: 6px;
  display: block;
}

/* ── Poster zoom lightbox ─────────────────────── */
.poster-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 8, 18, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  cursor: pointer;
}
.poster-lightbox.plb-active {
  opacity: 1;
  visibility: visible;
}
.poster-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 0 60px rgba(0,0,0,0.8), 0 0 120px rgba(0,0,0,0.4);
  cursor: default;
  transform: scale(0.94);
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1);
}
.poster-lightbox.plb-active .poster-lightbox-img {
  transform: scale(1);
}
.poster-lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  color: rgba(201,168,76,0.8);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.poster-lightbox-close:hover {
  color: var(--gold);
  transform: scale(1.1);
  text-shadow: 0 0 12px rgba(201,168,76,0.6);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  .ed-card {
    width: min(520px, 100%);
    max-height: 92vh;
    border-radius: 14px;
  }

  /* Mobile: stack vertically — poster top, content bottom */
  .ed-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  /* Poster moves to top on mobile — taller for better visibility */
  .ed-poster-col {
    order: -1;
    border-left: none;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    height: 300px;
    flex-shrink: 0;
    cursor: pointer; /* tap to zoom */
    position: relative;
  }

  /* Tap-to-zoom hint overlay on poster */
  .ed-poster-col::after {
    content: '⤢  Tap to expand';
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.7);
    background: rgba(8, 12, 26, 0.72);
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid rgba(201,168,76,0.2);
    pointer-events: none;
    z-index: 5;
  }

  .ed-poster-wrap { padding: 10px; }

  .ed-header-wrap { padding: 18px 20px 0; }
  .ed-panels-scroll { padding: 0 20px 12px; }
  .ed-action-row { padding: 10px 20px 16px; }

  .ed-register-btn { align-self: auto; flex: 1; text-align: center; }
}

@media (max-width: 480px) {
  .ed-card { border-radius: 10px; }
  .ed-poster-col { height: 260px; }
  .ed-title { font-size: 1.25rem; }
  .ed-action-row { flex-direction: column; gap: 8px; }
  .ed-register-btn, .ed-toggle-btn { width: 100%; text-align: center; align-self: stretch; }
}

/* Production additions: structured event details + JSON submission states */
.ed-card {
  height: min(720px, 88vh);
}

.reg-status {
  min-height: 22px;
  margin: -4px 0 12px;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
}

.reg-status.is-success { color: var(--gold); }
.reg-status.is-error { color: #ff8a8a; }

.reg-submit-btn:disabled,
.ereg-next-btn:disabled,
.ed-register-btn:disabled {
  cursor: wait;
}

.reg-input[readonly] {
  opacity: 0.82;
  cursor: default;
}

.ed-info-section {
  margin-bottom: 18px;
}

.ed-section-title {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.ed-rich-text,
.ed-rich-text li {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
  line-height: 1.65;
}

.ed-rich-text ul {
  margin: 0;
  padding-left: 18px;
}

.ed-rich-text li + li {
  margin-top: 5px;
}

.ed-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
  padding: 12px 32px 20px;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  background: linear-gradient(to top, rgba(10, 15, 30, 0.6), transparent);
}

.ed-society-link {
  color: rgba(201,168,76,0.76);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201,168,76,0.32);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ed-society-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.ereg-member-upload {
  margin-top: 2px;
  min-height: 86px;
}

@media (max-width: 768px) {
  .ed-card {
    height: 92vh;
  }
}
/* ═══════════════════════════════════════════════
   TRYST 2026 — ADDITIONS (Tasks 1, 3, 4, 6+8, 7, 9)
═══════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   TASK 1 — Schedule Footnote
───────────────────────────────────────────── */
.schedule-footnote {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.schedule-footnote strong {
  color: rgba(201, 168, 76, 0.55);
  font-weight: 600;
}
.schedule-footnote-sep {
  color: rgba(201, 168, 76, 0.25);
  font-size: 0.9rem;
}

/* ─────────────────────────────────────────────
   TASK 3 — Success Popup
───────────────────────────────────────────── */
.success-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9800;
  background: rgba(7, 11, 24, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
}
.success-popup-overlay.sp-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.success-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 9900;
  width: min(480px, 92vw);
  padding: 48px 36px 36px;
  text-align: center;
  visibility: hidden;
  opacity: 0;

  background: linear-gradient(145deg, rgba(13,21,48,0.98), rgba(10,15,30,0.99));
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.05),
    0 8px 32px rgba(0,0,0,0.65),
    0 32px 80px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(201,168,76,0.12);

  /* top shine */
  &::before {
    content: '';
    position: absolute;
    top: 0; left: 16px; right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
  }
}
/* Fallback for browsers without &::before nesting */
.success-popup::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}

.success-popup.sp-active {
  visibility: visible;
  opacity: 1;
}

.success-popup-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(201,168,76,0.5);
}

.success-popup-title {
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.success-popup-reg {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 16px;
  min-height: 1.2em;
}

.success-popup-body {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.72;
  margin-bottom: 24px;
}

.success-popup-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  transition: color 0.2s, border-color 0.2s;
}
.success-popup-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.success-popup-close-btn {
  position: relative;
  padding: 12px 36px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  transition: color 0.25s;
}
.success-popup-close-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.76,0,0.24,1);
  z-index: 0;
}
.success-popup-close-btn span { position: relative; z-index: 1; }
.success-popup-close-btn:hover { color: var(--navy); }
.success-popup-close-btn:hover::before { transform: scaleX(1); }

/* ─────────────────────────────────────────────
   TASK 4 — Form steps scroll fix
───────────────────────────────────────────── */
/* Ensure each ereg-step's card-body scrolls independently */
.ereg-step {
  width: 100%;
  display: flex;
  flex-direction: column;
  max-height: 88vh;          /* cap at viewport */
  overflow: hidden;           /* let card-body scroll */
}

.ereg-step .register-card-body {
  flex: 1;
  min-height: 0;              /* critical — allows overflow-y to work */
  overflow-y: auto;
  padding: 0 32px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.3) transparent;
}
.ereg-step .register-card-body::-webkit-scrollbar { width: 3px; }
.ereg-step .register-card-body::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.3); border-radius: 2px;
}

/* ─────────────────────────────────────────────
   TASK 6+8 — Student Union Swipe Carousel
───────────────────────────────────────────── */
/* Override su-info when it becomes a swipe card */
.su-swipe-card {
  overflow: hidden;
  padding: 0;                /* remove inner padding — track handles it */
  position: relative;
  user-select: none;
}

.su-swipe-track {
  display: flex;
  width: 200%;                /* 2 pages side by side */
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.su-swipe-page {
  width: 50%;                 /* each page = 50% of 200% track = 100% of card */
  flex-shrink: 0;
  padding: 28px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

/* Pagination dots */
.su-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 0 16px;
  position: relative;
  z-index: 2;
}

.su-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(201,168,76,0.25);
  border: 1px solid rgba(201,168,76,0.3);
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease;
}
.su-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(201,168,76,0.5);
}

/* ── Swipe arrow indicators ─────────────────────────────── */
.su-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 1.1rem;
  padding: 4px 8px;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease;
  line-height: 1;
  pointer-events: auto;
}
.su-arrow:hover { opacity: 1; }
.su-arrow-prev { left: 4px; }
.su-arrow-next { right: 4px; }
.su-arrow--hidden {
  opacity: 0;
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   EVENT MODAL SOCIETY TOGGLE
   Toggle button sits in ed-action-row, next to Register Now
───────────────────────────────────────────── */
.ed-toggle-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 20px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: transparent;
  color: rgba(201, 168, 76, 0.8);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
              box-shadow 0.22s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.ed-toggle-btn:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.12);
}
/* Active state when showing society panel */
.ed-toggle-btn.society-active {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}

/* Society panel — visibility controlled by JS via .ed-panel-visible class */
#edSocietyPanel,
#edEventPanel {
  transition: opacity 0.2s ease;
}
/* Entering state */
.ed-panel-entering {
  animation: fadeInPanel 0.22s ease forwards;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ed-society-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.ed-society-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   TASK 9 — FAQ Section
───────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.22s;
}
.faq-item:hover { border-color: rgba(201,168,76,0.35); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.faq-question:hover {
  background: rgba(201,168,76,0.04);
  color: #fff;
}
.faq-question span:first-child { flex: 1; }

.faq-arrow {
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
}
.faq-item.faq-open .faq-arrow { transform: rotate(90deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1);
}
.faq-item.faq-open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   RESPONSIVE additions
───────────────────────────────────────────── */
@media (max-width: 640px) {
  .schedule-footnote { flex-direction: column; gap: 4px; }
  .schedule-footnote-sep { display: none; }
  .success-popup { padding: 40px 24px 28px; }
  .faq-question { font-size: 0.82rem; padding: 14px 16px; }
  .faq-answer p  { padding: 0 16px 14px; }
}
/* ═══════════════════════════════════════════════
   REGISTRATION CLOSED POPUP
═══════════════════════════════════════════════ */
.reg-closed-overlay {
  position: fixed; inset: 0; z-index: 9600;
  background: rgba(7, 11, 24, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
}
.reg-closed-overlay.rc-active { opacity: 1; visibility: visible; pointer-events: auto; }

.reg-closed-popup {
  position: fixed; top: 50%; left: 50%; z-index: 9700;
  transform: translate(-50%, -50%) scale(0.88);
  width: min(400px, 90vw);
  padding: 44px 32px 32px;
  text-align: center;
  visibility: hidden; opacity: 0;
  background: linear-gradient(145deg, rgba(13,21,48,0.98), rgba(10,15,30,0.99));
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(201,168,76,0.05),
              0 8px 32px rgba(0,0,0,0.65),
              0 32px 80px rgba(0,0,0,0.45),
              inset 0 1px 0 rgba(201,168,76,0.12);
  transition: none; /* GSAP handles */
}
.reg-closed-popup::before {
  content: '';
  position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}
.reg-closed-popup.rc-active { visibility: visible; opacity: 1; }

.reg-closed-icon { font-size: 2.4rem; margin-bottom: 12px; }

.reg-closed-title {
  font-size: 1.55rem; color: #fff;
  letter-spacing: 0.05em; margin-bottom: 12px;
}

.reg-closed-message {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7; margin-bottom: 18px;
}

.reg-closed-timer {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(201,168,76,0.6); margin-bottom: 20px;
  min-height: 1.2em;
}

.reg-closed-btn {
  padding: 11px 34px;
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; border-radius: 4px; overflow: hidden; position: relative;
  transition: color 0.25s;
}
.reg-closed-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.76,0,0.24,1); z-index: 0;
}
.reg-closed-btn span { position: relative; z-index: 1; }
.reg-closed-btn:hover { color: var(--navy); }
.reg-closed-btn:hover::before { transform: scaleX(1); }

/* ═══════════════════════════════════════════════
   EVENTS MENU MODAL
   Matches the screenshot: dark navy card, gold
   accents, society eyebrow + event name per row,
   Day I / Day II tabs, arrow on right.
═══════════════════════════════════════════════ */
.evmenu-overlay {
  position: fixed; inset: 0; z-index: 8200;
  background: rgba(7, 11, 24, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.26s ease, visibility 0.26s ease;
  pointer-events: none;
}
.evmenu-overlay.evm-active { opacity: 1; visibility: visible; pointer-events: auto; }

.evmenu-modal {
  position: fixed; inset: 0; z-index: 8300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; pointer-events: none; visibility: hidden;
}
.evmenu-modal.evm-active { visibility: visible; pointer-events: auto; }

.evmenu-card {
  position: relative;
  width: min(660px, 100%);
  max-height: 88vh;
  display: flex; flex-direction: column;
  background: linear-gradient(145deg, rgba(13,21,48,0.97), rgba(10,15,30,0.99));
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.65), 0 32px 80px rgba(0,0,0,0.45),
              inset 0 1px 0 rgba(201,168,76,0.1);
  opacity: 0; transform: scale(0.91) translateY(18px);
  overflow: hidden;
}
.evmenu-card::before {
  content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.35), transparent);
  pointer-events: none;
}

/* Close button */
.evmenu-close {
  position: absolute; top: 14px; right: 16px; z-index: 10;
  width: 32px; height: 32px;
  background: none; border: none; color: var(--gold);
  font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, text-shadow 0.2s;
}
.evmenu-close:hover {
  transform: scale(1.12);
  text-shadow: 0 0 12px rgba(201,168,76,0.8), 0 0 24px rgba(201,168,76,0.4);
}

/* Header */
.evmenu-header {
  padding: 24px 28px 8px; flex-shrink: 0;
}
.evmenu-eyebrow {
  font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); opacity: 0.7; margin-bottom: 6px;
}
.evmenu-title {
  font-size: 1.6rem; color: #fff; letter-spacing: 0.04em;
}

/* Day tabs */
.evmenu-tabs {
  display: flex; gap: 8px;
  padding: 12px 28px 0; flex-shrink: 0;
}
.evmenu-tab {
  flex: 1; padding: 8px 0;
  border: 1px solid var(--glass-border);
  background: transparent; color: rgba(255,255,255,0.4);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; border-radius: 3px;
}
.evmenu-tab:hover:not(.active) { color: var(--gold); border-color: rgba(201,168,76,0.3); }
.evmenu-tab.active {
  background: linear-gradient(135deg, rgba(201,168,76,0.14), rgba(201,168,76,0.05));
  border-color: var(--gold); color: var(--gold);
}

/* Scrollable body */
.evmenu-body {
  flex: 1; min-height: 0; overflow-y: auto;
  padding: 14px 20px 20px;
  scrollbar-width: thin; scrollbar-color: rgba(201,168,76,0.3) transparent;
}
.evmenu-body::-webkit-scrollbar { width: 3px; }
.evmenu-body::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.3); border-radius: 2px; }

/* Day panels */
.evmenu-day { display: none; }
.evmenu-day.active { display: block; }

/* Event row — matches screenshot exactly */
.evmenu-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 8px; margin-bottom: 8px;
  cursor: pointer; background: rgba(20,32,68,0.3);
  transition: background 0.2s, border-color 0.2s, transform 0.18s;
  gap: 12px;
}
.evmenu-row:hover {
  background: rgba(20,32,68,0.6);
  border-color: rgba(201,168,76,0.35);
  transform: translateX(3px);
}
.evmenu-row:active { transform: scale(0.99) translateX(3px); }

.evmenu-row-left { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }

.evmenu-society {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(201,168,76,0.65);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.evmenu-name {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem; color: #fff; letter-spacing: 0.03em;
  line-height: 1.25;
}

.evmenu-arrow {
  color: rgba(201,168,76,0.55); font-size: 1.25rem; flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}
.evmenu-row:hover .evmenu-arrow {
  color: var(--gold); transform: translateX(3px);
}

@media (max-width: 480px) {
  .evmenu-card { border-radius: 10px; }
  .evmenu-header { padding: 20px 20px 6px; }
  .evmenu-tabs   { padding: 10px 20px 0; }
  .evmenu-body   { padding: 12px 16px 18px; }
  .evmenu-row    { padding: 12px 14px; }
  .evmenu-name   { font-size: 0.85rem; }
}
/* ═══════════════════════════════════════════════
   DUAL SUCCESS POPUPS — additions
   (base styles reuse .success-popup-* classes)
═══════════════════════════════════════════════ */

/* Bold highlight inside popup body */
.success-popup-highlight {
  color: var(--gold);
  font-style: normal;
}

/* "Register as Attendee →" action link — full-width soft gold button */
.success-popup-action-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.06));
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 4px;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
}
.success-popup-action-btn:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
  color: var(--navy);
}

/* ── Download Pass button ── */
.success-popup-download-btn {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 14px 20px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 4px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}
.success-popup-download-btn:hover {
  background: rgba(201,168,76,0.18);
  border-color: var(--gold);
  box-shadow: 0 0 22px rgba(201,168,76,0.18);
  transform: translateY(-1px);
}
.success-popup-download-btn:active { transform: translateY(0); }
.success-popup-download-btn span { position: relative; z-index: 1; }
.success-popup-download-btn.pdf-generating {
  opacity: 0.65;
  pointer-events: none;
  letter-spacing: 0.12em;
}
/* ── Task Verification Notice ── */
.reg-task-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 6px;
  padding: 12px 16px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.28);
  border-left: 3px solid #C9A84C;
  border-radius: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.reg-task-notice-icon {
  color: #C9A84C;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
.reg-task-notice strong {
  color: #E5C97E;
  font-weight: 600;
}
/* ═══════════════════════════════════════════════
   SURPRISE ARTIST — 3-CARD STAGE + CARD 3 + TAP HINT
═══════════════════════════════════════════════ */

/* Widen stage to hold 3 cards */
.surprise-dual-stage {
  max-width: 1240px !important;
  flex-wrap: wrap;
}

/* Card 3 initial: hidden in dead-centre of the stage */
.surprise-frame--center {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transform-origin: center center;
}
.surprise-frame--center.revealed-card {
  position: relative;
  left: auto;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  z-index: auto;
}

/* Card 1 is tappable after reveal — show pointer cursor */
.surprise-frame.is-tappable {
  cursor: pointer !important;
}
.surprise-frame.is-tappable:hover {
  border-color: rgba(201,168,76,0.65);
  box-shadow: 0 0 28px rgba(201,168,76,0.18);
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Tap hint — shown after reveal */
.surprise-tap-hint {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(201,168,76,0.55);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.5s ease 1.2s;
  text-shadow: 0 0 12px rgba(201,168,76,0.4);
}
.surprise-tap-hint.visible { opacity: 1; }

/* ── Mobile 3-card stack ── */
@media (max-width: 1100px) {
  .surprise-dual-stage {
    flex-direction: column !important;
    align-items: center;
  }
  .surprise-frame--center {
    left: 50%;
  }
}

/* ═══════════════════════════════════════════════
   ARTIST DETAIL MODAL  (sad = surprise artist detail)
═══════════════════════════════════════════════ */
.sad-overlay {
  position: fixed; inset: 0; z-index: 8500;
  background: rgba(7,11,24,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
}
.sad-overlay.sad-open { opacity: 1; visibility: visible; pointer-events: auto; }

.sad-modal {
  position: fixed; inset: 0; z-index: 8600;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; pointer-events: none; visibility: hidden;
}
.sad-modal.sad-open { visibility: visible; pointer-events: auto; }

.sad-card {
  position: relative;
  width: min(600px, 100%);
  max-height: 90vh;
  display: flex; flex-direction: column;
  background: linear-gradient(145deg, rgba(13,21,48,0.98), rgba(10,15,30,0.99));
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.65), 0 32px 80px rgba(0,0,0,0.45),
              inset 0 1px 0 rgba(201,168,76,0.12);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.91) translateY(18px);
}
.sad-card::before {
  content: '';
  position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
  pointer-events: none; z-index: 1;
}

/* ── Hero image strip ── */
.sad-hero {
  position: relative;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
}
.sad-hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.sad-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(10,15,30,0.98) 0%,
    rgba(10,15,30,0.4) 60%,
    transparent 100%);
}
.sad-hero-info {
  position: absolute; bottom: 18px; left: 24px; right: 24px;
}
.sad-eyebrow {
  font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
  color: rgba(201,168,76,0.75); margin-bottom: 4px;
}
.sad-artist-name {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

/* ── Scrollable body ── */
.sad-body {
  flex: 1; min-height: 0; overflow-y: auto;
  padding: 6px 28px 32px;
  scrollbar-width: thin; scrollbar-color: rgba(201,168,76,0.3) transparent;
}
.sad-body::-webkit-scrollbar { width: 3px; }
.sad-body::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.3); border-radius: 2px; }

.sad-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.78;
  margin-bottom: 24px;
}

/* ── Tracks section ── */
.sad-tracks-header {
  font-size: 9.5px; letter-spacing: 0.38em; text-transform: uppercase;
  color: rgba(201,168,76,0.65);
  margin-bottom: 14px;
}

.sad-tracks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Single track row — Spotify style ── */
.sad-track {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 8px;
  background: rgba(20,32,68,0.35);
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}
.sad-track:hover { background: rgba(20,32,68,0.65); border-color: rgba(201,168,76,0.3); }

/* Left: album art square with play button */
.sad-track-thumb {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 5px;
  flex-shrink: 0;
  overflow: hidden;
}
.sad-track-art {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 5px;
}

/* Play button overlay — centre of thumb */
.sad-track-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.45);
  color: #1DB954; /* Spotify green */
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.18s;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
}
.sad-track:hover .sad-track-play { opacity: 1; }

/* Always-visible small Spotify icon (bottom-right of thumb) */
.sad-track-spotify-badge {
  position: absolute; bottom: 3px; right: 3px;
  width: 14px; height: 14px;
  background: #1DB954;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 7px;
  color: #000;
  font-weight: 900;
}

/* Right: track info */
.sad-track-info {
  flex: 1; min-width: 0;
}
.sad-track-name {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sad-track-meta {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Track index number */
.sad-track-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  color: rgba(201,168,76,0.45);
  letter-spacing: 0.1em;
  min-width: 18px;
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .sad-hero  { height: 180px; }
  .sad-body  { padding: 6px 18px 24px; }
  .sad-artist-name { font-size: 1.5rem; }
  .sad-track-thumb { width: 44px; height: 44px; }
}