/* ===== Variables — Apple-inspired black & white ===== */
:root {
  --color-bg: #000000;
  --color-surface: #0a0a0a;
  --color-surface-elevated: #141414;
  --color-surface-hover: #1c1c1e;
  --color-border: #2c2c2e;
  --color-border-light: #38383a;
  --color-text: #f5f5f7;
  --color-text-muted: #86868b;
  --color-text-tertiary: #6e6e73;
  --color-accent: #ffffff;
  --color-accent-hover: #e8e8ed;
  --color-accent-dim: rgba(255, 255, 255, 0.12);
  --color-link: #2997ff;
  --color-link-hover: #4dabff;
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', 'DM Sans', system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Space Grotesk', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-2xl: 28px;
  --transition: 0.25s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  --glow-soft: 0 0 60px rgba(255, 255, 255, 0.04);
  --glow-strong: 0 0 80px rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.98); }
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-15px, -25px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 64px 64px; }
}

@keyframes gradientMove {
  0%, 100% { opacity: 1; transform: scale(1) translate(0, 0); }
  33% { opacity: 0.9; transform: scale(1.05) translate(2%, -1%); }
  66% { opacity: 0.95; transform: scale(0.98) translate(-1%, 2%); }
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(4%, -3%) scale(1.02); }
  50% { transform: translate(-3%, 2%) scale(0.98); }
  75% { transform: translate(2%, 4%) scale(1.01); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-5%, -2%) scale(1.03); }
  66% { transform: translate(3%, 5%) scale(0.97); }
}

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
  50% { transform: translate(var(--dx), var(--dy)) rotate(180deg); opacity: 0.9; }
}

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

@keyframes scanline {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.08; }
}

@keyframes glitch {
  0% { clip-path: inset(0 0 98% 0); transform: translate(-1px, 1px); }
  20% { clip-path: inset(40% 0 30% 0); transform: translate(1px, -1px); }
  40% { clip-path: inset(80% 0 5% 0); transform: translate(-1px, 1px); }
  60% { clip-path: inset(10% 0 60% 0); transform: translate(1px, 0); }
  80% { clip-path: inset(60% 0 20% 0); transform: translate(-1px, -1px); }
  100% { clip-path: inset(0 0 98% 0); transform: translate(0, 0); }
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
}

[data-animate].animate-in {
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

/* Dark zone: more dramatic reveal (scale + blur) */
.dark-zone [data-animate] {
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  filter: blur(6px);
}

.dark-zone [data-animate].animate-in {
  animation: revealScaleBlur 1.1s var(--ease-out-expo) forwards;
}

@keyframes revealScaleBlur {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero [data-animate] {
  opacity: 0;
  transform: translateY(28px);
}

/* ===== Loading screen ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: opacity 0.7s var(--ease-out-expo), visibility 0.7s;
  pointer-events: none;
}

body.loaded .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.loader-grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: loaderGridPulse 3s ease-in-out infinite;
}

.loader-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(255, 255, 255, 0.08), transparent 60%);
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* 3D rotating rings on load */
.loader-3d {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  z-index: 1;
}

.loader-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.9);
  border-right-color: rgba(255, 255, 255, 0.4);
  border-bottom-color: rgba(255, 255, 255, 0.6);
  border-left-color: rgba(255, 255, 255, 0.3);
  animation: loaderRingSpin 3s linear infinite;
  opacity: 0.9;
}

.loader-ring-1 {
  transform: rotateX(65deg);
}

.loader-ring-2 {
  width: 220px;
  height: 220px;
  border-top-color: rgba(255, 255, 255, 0.6);
  border-right-color: rgba(255, 255, 255, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.5);
  border-left-color: rgba(255, 255, 255, 0.25);
  animation: loaderRingSpin 4s linear infinite reverse;
  transform: rotateX(65deg) rotateZ(60deg);
  opacity: 0.6;
}

.loader-ring-3 {
  width: 140px;
  height: 140px;
  border-width: 1.5px;
  border-top-color: rgba(255, 255, 255, 0.7);
  border-right-color: rgba(255, 255, 255, 0.25);
  border-bottom-color: rgba(255, 255, 255, 0.9);
  border-left-color: rgba(255, 255, 255, 0.35);
  animation: loaderRingSpin 2.5s linear infinite;
  transform: rotateX(65deg) rotateZ(-45deg);
  opacity: 0.8;
}

@keyframes loaderRingSpin {
  from { transform: rotateX(65deg) rotateZ(0deg); }
  to { transform: rotateX(65deg) rotateZ(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .loader-ring {
    animation: none;
    opacity: 0.7;
  }
}

.loader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 32px;
}

.loader-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.loader-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--color-text);
  opacity: 0;
  animation: loaderLogoIn 0.8s var(--ease-out-expo) 0.2s forwards;
}

.loader-year {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  opacity: 0;
  animation: loaderLogoIn 0.6s var(--ease-out-expo) 0.5s forwards;
}

.loader-bar-wrap {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 20px;
}

.loader-bar {
  height: 3px;
  background: var(--color-border);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0;
  background: var(--color-text);
  border-radius: 3px;
  animation: loaderBarFill 2s var(--ease-out-expo) 0.4s forwards;
}

.loader-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  opacity: 0;
  animation: loaderLogoIn 0.5s ease 0.9s forwards;
}

.loader-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loader-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.4;
  animation: loaderDot 1.2s ease-in-out infinite;
}

.loader-dots span:nth-child(1) { animation-delay: 0s; }
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loaderGridPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

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

@keyframes loaderBarFill {
  to { width: 100%; }
}

@keyframes loaderDot {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 101;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.loaded .scroll-progress {
  opacity: 1;
}

.scroll-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-text), rgba(255, 255, 255, 0.85));
  border-radius: 0 2px 2px 0;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ===== Page animated background (only above apply section) ===== */
/* Animated bg only covers hero through speakers (Leaders who shape the industry) */
.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 220vh;
  z-index: 0;
  overflow: hidden;
  background: var(--color-bg);
  pointer-events: none;
}

/* ===== Dark zone: single cool bg (gradient + falling coins) after Featured Speakers ===== */
.dark-zone {
  position: relative;
  z-index: 1;
}

.dark-zone-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.dark-zone-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 140% 90% at 50% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse 100% 70% at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 45%),
    linear-gradient(180deg, #000 0%, #080808 20%, #0a0a0a 50%, #000 85%, #000 100%);
}

.dark-zone-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.dark-zone-coins {
  position: absolute;
  inset: -20%;
  width: 120%;
  height: 120%;
  pointer-events: none;
}

.dark-zone .section,
.dark-zone .footer {
  position: relative;
  z-index: 1;
  background: transparent;
}

.dark-zone .section-header h2,
.dark-zone .section h2 {
  color: var(--color-text);
}

.dark-zone .section-tag {
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
}

/* Falling + spinning coins */
.coin {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.3), 0 0 12px rgba(255, 255, 255, 0.06);
  animation: coinFall linear infinite;
  opacity: 0.5;
}

.coin::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.coin-1  { width: 14px;  height: 14px;  left: 3%;  animation-duration: 18s; animation-delay: 0s; }
.coin-2  { width: 20px;  height: 20px;  left: 8%;  animation-duration: 22s; animation-delay: -2s; }
.coin-3  { width: 12px;  height: 12px;  left: 14%; animation-duration: 16s; animation-delay: -5s; }
.coin-4  { width: 18px;  height: 18px;  left: 21%; animation-duration: 20s; animation-delay: -1s; }
.coin-5  { width: 10px;  height: 10px;  left: 28%; animation-duration: 14s; animation-delay: -8s; }
.coin-6  { width: 22px;  height: 22px;  left: 35%; animation-duration: 24s; animation-delay: -3s; }
.coin-7  { width: 16px;  height: 16px;  left: 42%; animation-duration: 19s; animation-delay: -6s; }
.coin-8  { width: 12px;  height: 12px;  left: 48%; animation-duration: 17s; animation-delay: -4s; }
.coin-9  { width: 20px;  height: 20px;  left: 55%; animation-duration: 21s; animation-delay: -9s; }
.coin-10 { width: 14px;  height: 14px;  left: 62%; animation-duration: 15s; animation-delay: -2s; }
.coin-11 { width: 18px;  height: 18px;  left: 68%; animation-duration: 23s; animation-delay: -7s; }
.coin-12 { width: 10px;  height: 10px;  left: 74%; animation-duration: 13s; animation-delay: -1s; }
.coin-13 { width: 24px;  height: 24px;  left: 80%; animation-duration: 26s; animation-delay: -5s; }
.coin-14 { width: 12px;  height: 12px;  left: 86%; animation-duration: 16s; animation-delay: -3s; }
.coin-15 { width: 16px;  height: 16px;  left: 92%; animation-duration: 20s; animation-delay: -6s; }
.coin-16 { width: 14px;  height: 14px;  left: 5%;  animation-duration: 19s; animation-delay: -10s; }
.coin-17 { width: 18px;  height: 18px;  left: 18%; animation-duration: 21s; animation-delay: -12s; }
.coin-18 { width: 10px;  height: 10px;  left: 32%; animation-duration: 14s; animation-delay: -11s; }
.coin-19 { width: 20px;  height: 20px;  left: 45%; animation-duration: 23s; animation-delay: -14s; }
.coin-20 { width: 12px;  height: 12px;  left: 58%; animation-duration: 17s; animation-delay: -13s; }
.coin-21 { width: 16px;  height: 16px;  left: 72%; animation-duration: 18s; animation-delay: -15s; }
.coin-22 { width: 22px;  height: 22px;  left: 88%; animation-duration: 25s; animation-delay: -16s; }
.coin-23 { width: 11px;  height: 11px;  left: 12%; animation-duration: 15s; animation-delay: -18s; }
.coin-24 { width: 19px;  height: 19px;  left: 38%; animation-duration: 22s; animation-delay: -17s; }
.coin-25 { width: 13px;  height: 13px;  left: 64%; animation-duration: 16s; animation-delay: -19s; }
.coin-26 { width: 17px;  height: 17px;  left: 9%;  animation-duration: 20s; animation-delay: -20s; }
.coin-27 { width: 15px;  height: 15px;  left: 52%; animation-duration: 18s; animation-delay: -21s; }
.coin-28 { width: 21px;  height: 21px;  left: 76%; animation-duration: 24s; animation-delay: -22s; }
.coin-29 { width: 11px;  height: 11px;  left: 25%; animation-duration: 14s; animation-delay: -23s; }
.coin-30 { width: 16px;  height: 16px;  left: 96%; animation-duration: 19s; animation-delay: -24s; }

@keyframes coinFall {
  0% {
    transform: translateY(-15%) rotate(0deg);
    opacity: 0.35;
  }
  10% {
    opacity: 0.55;
  }
  90% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(115vh) rotate(720deg);
    opacity: 0.3;
  }
}

/* Subtle top divider on first dark section (Agenda) */
#agenda.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0.8;
  z-index: 1;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  z-index: 10;
  pointer-events: none;
}

.bg-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.15) 0%, rgba(5, 6, 8, 0.25) 100%);
  z-index: 11;
  pointer-events: none;
}

.bg-gradient-animated {
  position: absolute;
  inset: -20%;
  z-index: 2;
  background:
    radial-gradient(ellipse 90% 60% at 30% 10%, rgba(255, 255, 255, 0.06), transparent 50%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(255, 255, 255, 0.04), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 255, 255, 0.03), transparent 65%);
  animation: gradientMove 18s ease-in-out infinite;
  pointer-events: none;
}

.bg-grid-animated {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  animation: gridShift 25s linear infinite;
  pointer-events: none;
}

.bg-orbs {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.bg-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.bg-orbs .orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.06);
  top: -10%;
  left: 10%;
  animation: orbFloat1 18s ease-in-out infinite;
}

.bg-orbs .orb-2 {
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.05);
  top: 40%;
  right: -5%;
  animation: orbFloat2 22s ease-in-out infinite;
}

.bg-orbs .orb-3 {
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.04);
  bottom: 10%;
  left: 30%;
  animation: orbFloat1 20s ease-in-out infinite reverse;
}

.bg-orbs .orb-4 {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  top: 60%;
  left: 5%;
  animation: orbFloat2 16s ease-in-out infinite;
}

.bg-particles {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.bg-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: particleFloat 12s ease-in-out infinite;
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bg-noise {
  position: absolute;
  inset: 0;
  z-index: 6;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Vignette for depth */
.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 7;
  background: radial-gradient(ellipse 100% 80% at 50% 40%, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

/* ===== Background video mute button ===== */
.mute-btn {
  position: fixed;
  bottom: 62px;
  right: 20px;
  z-index: 51;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(12, 14, 18, 0.9);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-tap-highlight-color: transparent;
}
.mute-btn:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-sm);
}
.mute-btn:active {
  transform: scale(0.96);
}
.mute-btn:focus {
  outline: none;
  border-color: var(--color-border-light);
  box-shadow: 0 0 0 2px var(--color-accent-dim);
}
.mute-btn .mute-btn-icon {
  display: none;
  width: 20px;
  height: 20px;
}
.mute-btn .mute-btn-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* Icon = current state: muted -> mute icon, unmuted -> sound icon */
.mute-btn[aria-pressed="false"] .mute-btn-icon-off { display: block; }
.mute-btn[aria-pressed="false"] .mute-btn-icon-on { display: none; }
.mute-btn[aria-pressed="true"] .mute-btn-icon-on { display: block; }
.mute-btn[aria-pressed="true"] .mute-btn-icon-off { display: none; }

/* ===== Crypto Ticker ===== */
.crypto-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(5, 6, 8, 0.95);
  border-top: 1px solid var(--color-border);
  padding: 10px 0;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.crypto-ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 35s linear infinite;
}

.crypto-ticker-inner {
  display: flex;
  gap: 24px;
  width: max-content;
  flex-shrink: 0;
}

.crypto-ticker-inner span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.crypto-ticker-inner span.up { color: var(--color-accent); }
.crypto-ticker-inner span.down { color: #f87171; }

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

body:not(.loaded) main,
body:not(.loaded) .header,
body:not(.loaded) .mute-btn {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out-expo) 0.2s;
}

body.loaded main,
body.loaded .header,
body.loaded .mute-btn {
  opacity: 1;
}

main {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

/* ===== Skip link (a11y) ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-accent);
  color: #050608;
  font-weight: 600;
  border-radius: var(--radius);
  transition: left 0.2s ease, transform 0.2s ease;
}

.skip-link:focus {
  left: 24px;
  outline: none;
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

/* Apple-style focus: visible ring for keyboard, minimal for mouse */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Trustworthy image treatment – used across site for a polished, conference-style look */
.img-frame {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}
.img-frame:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px) scale(1.01);
}
.img-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}
.img-frame:hover img {
  transform: scale(1.03);
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.section-header h2,
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.875rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.section-lead {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition-smooth), color var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--color-text);
  color: var(--color-bg);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  opacity: 1;
}

/* Hero CTA – shimmer + glow */
.btn-hero-cta {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 30px rgba(255, 255, 255, 0.08);
}

.btn-hero-cta:hover {
  box-shadow: var(--shadow-lg), 0 0 50px rgba(255, 255, 255, 0.12);
}

.btn-hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: btnShimmer 4s ease-in-out 1.5s infinite;
  pointer-events: none;
}

@keyframes btnShimmer {
  0% { left: -100%; }
  60%, 100% { left: 150%; }
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border-light);
}

.btn-outline:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-text-muted);
  color: var(--color-text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  min-height: 48px;
}

/* Touch-friendly tap target */
.btn {
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 24px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  border-color: var(--glass-border);
  box-shadow: 0 1px 0 var(--glass);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-text-animated {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.logo-link:hover .logo-text-animated {
  animation-duration: 1.5s;
}

@keyframes logoShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: width 0.25s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--color-text);
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  gap: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 56px 48px 64px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--glass), var(--glow-soft);
  backdrop-filter: blur(32px) saturate(1.1);
  -webkit-backdrop-filter: blur(32px) saturate(1.1);
  will-change: transform;
  transition: box-shadow 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.hero-countdown {
  margin-bottom: 28px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  display: inline-block;
  animation: countdownPulse 2.5s ease-in-out infinite;
  backdrop-filter: blur(8px);
}

@keyframes countdownPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.04); }
  50% { box-shadow: 0 0 32px 4px rgba(255, 255, 255, 0.06); }
}

.countdown-label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.countdown-inner {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-days {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--color-text);
}

.countdown-unit {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-left: 2px;
}

.countdown-sep {
  width: 1px;
  height: 22px;
  background: var(--color-border);
  align-self: center;
  opacity: 0.7;
}

.countdown-hms {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
  display: block;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.06), 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) scale(0.98);
  color: var(--color-text);
  animation: heroWordReveal 0.9s var(--ease-out-expo) forwards;
  margin-right: 0.15em;
  text-shadow: inherit;
}

.hero-title.animate-in .hero-title-word:nth-child(1) { animation-delay: 0.08s; }
.hero-title.animate-in .hero-title-word:nth-child(2) { animation-delay: 0.18s; }
.hero-title.animate-in .hero-title-word:nth-child(3) { animation-delay: 0.28s; }
.hero-title.animate-in .hero-title-word:nth-child(4) { animation-delay: 0.38s; }
.hero-title.animate-in .hero-title-word:nth-child(5) { animation-delay: 0.48s; }
.hero-title.animate-in .hero-title-word:nth-child(6) { animation-delay: 0.58s; }
.hero-title.animate-in .hero-title-word:nth-child(7) { animation-delay: 0.68s; }

@keyframes heroWordReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 0;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 40px;
  width: 100%;
  max-width: 720px;
}

.hero .hero-stats {
  position: relative;
  z-index: 2;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== About ===== */
.about {
  background: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content .section-lead {
  margin-bottom: 28px;
}

.about-visual {
  position: relative;
}

.about-img-main {
  width: 100%;
  max-width: 420px;
  height: 320px;
  border: 1px solid var(--color-border);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 140px;
  border: 2px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.badge:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-surface-hover);
  color: var(--color-text-muted);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img-accent {
    right: 16px;
    bottom: -16px;
  }
}

/* ===== Speakers ===== */
.speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.speaker-card {
  padding: 0;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), background 0.35s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--glass);
}

.speaker-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--glass-border), var(--glow-soft);
}

.speaker-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0;
  background: var(--color-border);
  overflow: hidden;
  margin-bottom: 0;
  position: relative;
}

.speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.speaker-card:hover .speaker-avatar::after {
  opacity: 1;
}

.speaker-card h3,
.speaker-card p {
  padding: 0 20px;
}

.speaker-card h3 {
  padding-top: 20px;
}

.speaker-card p {
  padding-bottom: 20px;
}

.speaker-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.speaker-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.speakers-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 48px;
}

.people-gallery-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
  color: var(--color-text-muted);
}

.people-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.people-gallery-grid .img-frame {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.people-gallery-grid .img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.people-gallery-grid .img-frame:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .people-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Agenda ===== */
.agenda {
  background: var(--color-surface);
}

.agenda-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agenda-day {
  padding: 0;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.agenda-day:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--glow-soft);
}

.agenda-day-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
}

.agenda-day .day-num,
.agenda-day h3,
.agenda-day p {
  padding-left: 24px;
  padding-right: 24px;
}

.day-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  padding-top: 24px;
}

.agenda-day h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.agenda-day p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  padding-bottom: 28px;
}

@media (max-width: 768px) {
  .agenda-timeline {
    grid-template-columns: 1fr;
  }
}

/* ===== Sponsors ===== */
.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
  filter: grayscale(1) brightness(1.2);
  opacity: 0.85;
}

.sponsor-logo {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: filter 0.25s var(--ease-out-expo), opacity 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.sponsor-logo:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: scale(1.08);
}

/* ===== Companies scroll (under Trusted by the Best) ===== */
.companies-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  overflow: hidden;
}

.companies-row {
  overflow: hidden;
  min-height: 44px;
}

.companies-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.companies-track.companies-speed-1 {
  animation: companiesScrollLeft 48s linear infinite;
}

.companies-track.companies-speed-2 {
  animation: companiesScrollRight 62s linear infinite;
}

.companies-track.companies-speed-3 {
  animation: companiesScrollLeft 55s linear infinite;
}

.companies-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
  flex-shrink: 0;
}

.companies-logo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
}

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

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

/* ===== VIP Dinner ===== */
.vip-dinner {
  background: var(--color-surface);
}

.vip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.vip-content h2,
.boat-content h2 {
  margin-top: 12px;
  margin-bottom: 16px;
}

.vip-detail,
.boat-detail {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-top: 16px;
  padding: 16px;
  background: var(--color-surface-elevated);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-accent);
}

.vip-visual,
.boat-visual {
  position: relative;
}

.vip-img-main,
.boat-img-main {
  width: 100%;
  max-width: 420px;
  height: 280px;
  border: 1px solid var(--color-border);
}

.vip-img-main img,
.boat-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vip-img-accent,
.boat-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 120px;
  border: 2px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
}

.vip-img-accent img,
.boat-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.boat-cruise {
  background: var(--color-surface-elevated);
}

@media (max-width: 900px) {
  .vip-grid,
  .boat-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .vip-img-main,
  .boat-img-main {
    max-width: 100%;
  }
  .vip-img-accent,
  .boat-img-accent {
    right: 16px;
    bottom: -16px;
  }
}

/* ===== Venue ===== */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.venue h2 {
  margin-top: 12px;
  margin-bottom: 16px;
}

.venue p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.link-arrow {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9375rem;
}

.link-arrow:hover {
  text-decoration: underline;
}

.venue-img-wrap {
  height: 320px;
}

.venue-img-wrap .venue-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-img-caption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== FAQ ===== */
.section.faq {
  background: linear-gradient(180deg, transparent 0%, rgba(12, 14, 18, 0.5) 100%);
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-item[open] {
  border-color: var(--color-border-light);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), var(--shadow-sm);
}

.faq-question {
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238892a0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.25s var(--ease-out-expo);
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-item[open] .faq-question {
  color: var(--color-text);
}

.faq-answer {
  padding: 0 20px 18px;
}

.faq-answer p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .venue-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Highlights / Video ===== */
.highlights {
  background: var(--color-surface);
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--glass);
  transition: box-shadow 0.4s var(--ease-out-expo);
}
.video-wrapper:hover {
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), var(--glow-soft);
}

.video-aspect {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: var(--color-bg);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.video-overlay.playing {
  pointer-events: none;
  background: transparent;
}

.video-overlay.playing .video-play-btn,
.video-overlay.playing .video-label {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-play-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-bg);
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease, opacity 0.2s ease;
}

.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.video-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Highlights video controls (stop/resume + volume) – visible when video is playing */
.highlights-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 2;
}

.highlights-video-controls.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-stop-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-stop-btn:hover {
  background: #fff;
  transform: scale(1.05);
}

.video-volume-wrap {
  flex: 1;
  max-width: 120px;
}

.video-volume {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  outline: none;
}

.video-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.video-volume::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.video-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.highlights-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.highlights-gallery-images {
  grid-template-columns: repeat(6, 1fr);
}

.highlights-gallery-images .img-frame {
  aspect-ratio: 16/10;
}

.highlights-gallery-images .img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .highlights-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .highlights-gallery-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Register / Application ===== */
/* Solid background so animated bg doesn’t show when scrolling through the form */
.section.register {
  background: var(--color-bg);
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Animated gradient border wrapper */
.register-box-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(90deg, rgba(255,255,255,0.28), rgba(255,255,255,0.1), rgba(255,255,255,0.22), rgba(255,255,255,0.28));
  background-size: 300% 300%;
  animation: registerBorderFlow 8s ease infinite;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.5s ease;
}
.register-box-wrap:hover {
  box-shadow: 0 0 70px rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@keyframes registerBorderFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.register-box {
  max-width: 100%;
  margin: 0;
  padding: 48px;
  background: var(--color-surface-elevated);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.register-header {
  margin-bottom: 28px;
}

.register-box h2 {
  margin-bottom: 12px;
}

.register-sub {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.step-indicator {
  margin-bottom: 20px;
}

.step-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.step-bar {
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.step-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.5));
  border-radius: 2px;
  transition: width 0.4s var(--ease-out-expo);
}

.step-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.step-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background 0.3s ease, transform 0.3s ease;
}

.step-dots .dot.active {
  background: var(--color-text);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: formStepIn 0.4s var(--ease-out-expo) forwards;
}

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

.hidden {
  display: none !important;
}

.form-step.hidden {
  display: none !important;
  animation: none;
}

.form-step-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.form-step-actions .btn-back {
  flex-shrink: 0;
}

.form-step-actions .btn-next,
.form-step-actions .btn-submit {
  flex: 1;
}

.readonly-field .device-display {
  padding: 14px 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.input-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.input-label-optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.picker-hint {
  margin-bottom: 12px;
}

.picker-hidden {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.picker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.picker-card:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface-elevated);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.picker-card.selected {
  border-color: var(--color-border-light);
  background: var(--color-surface-elevated);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), var(--shadow-sm);
}

.picker-card:focus {
  outline: none;
}

.picker-card:focus-visible {
  box-shadow: 0 0 0 2px var(--color-accent);
}

.picker-card img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

/* Ledger logo is dark – force white for visibility on dark UI */
.picker-card[data-value="Ledger"] img {
  filter: brightness(0) invert(1);
}

.picker-card .picker-fallback {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-surface-hover);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-muted);
}

.picker-card span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
  line-height: 1.2;
}

.picker-card.selected span {
  color: var(--color-text);
}

.register-form {
  display: block;
}

.register-form input,
.register-form select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.register-form input:focus,
.register-form select:focus {
  outline: none;
  border-color: var(--color-border-light);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.register-form input::placeholder {
  color: var(--color-text-muted);
}

.register-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238b92a0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 44px;
}

.register-form select[multiple] {
  background-image: none;
  padding-right: 18px;
}

.register-form .btn-next {
  margin-top: 4px;
}

/* File upload */
.file-upload-label {
  cursor: pointer;
}

.file-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-upload-ui {
  padding: 24px;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}

.file-upload-preview {
  display: none;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 200px;
  background: var(--color-bg);
}

.file-upload-preview-img {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.file-upload-label:hover .file-upload-ui,
.file-upload-label:focus-within .file-upload-ui {
  border-color: var(--color-accent);
  background: rgba(59, 130, 246, 0.05);
}

.file-upload-text {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.file-upload-name {
  display: block;
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-top: 8px;
}

.register-success {
  text-align: center;
  padding: 24px 0 16px;
}

/* When success is shown, hide the entire form and step indicator */
.register-box.form-submitted .register-header,
.register-box.form-submitted .register-form {
  display: none !important;
}

.register-success.hidden {
  display: none !important;
}

.register-success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.register-success-text {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.register-success .btn {
  display: inline-flex;
}

.register-note {
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.register-note a {
  color: var(--color-accent);
}

.register-note a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
  display: block;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-newsletter {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.footer-newsletter-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: border-color 0.2s ease;
}

.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.footer-newsletter-form input::placeholder {
  color: var(--color-text-muted);
}

.footer-newsletter-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* ===== Floating Apply CTA ===== */
.floating-apply {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 50;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-bg);
  background: var(--color-text);
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease-out-expo), opacity 0.3s ease, visibility 0.3s, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.floating-apply.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.floating-apply:hover {
  box-shadow: var(--shadow-lg);
  color: var(--color-bg);
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(12, 14, 18, 0.9);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(80px);
  transition: opacity 0.3s ease, visibility 0.3s, transform 0.35s var(--ease-out-expo), background 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border-light);
  color: var(--color-text);
}

.back-to-top:focus {
  outline: none;
  border-color: var(--color-border-light);
  box-shadow: 0 0 0 2px var(--color-accent-dim);
}

@media (max-width: 768px) {
  .footer-newsletter-form {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }

  .floating-apply {
    bottom: 80px;
  }

  .back-to-top {
    bottom: 80px;
    left: 16px;
  }
}

/* ===== Mobile compatibility ===== */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .header {
    padding: 12px 16px;
    padding-top: calc(12px + env(safe-area-inset-top, 0));
  }

  .nav {
    gap: 16px;
  }

  .hero {
    padding: 100px 16px 60px;
    padding-top: calc(100px + env(safe-area-inset-top, 0));
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content {
    padding: 32px 20px 40px;
    max-width: 100%;
  }

  .hero-stats {
    gap: 24px;
    margin-top: 28px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .register-box {
    padding: 24px 20px;
  }

  .form-step-actions {
    flex-direction: column;
  }

  .form-step-actions .btn-back,
  .form-step-actions .btn-next,
  .form-step-actions .btn-submit {
    width: 100%;
    min-height: 48px;
  }

  .file-upload-ui {
    padding: 16px;
  }

  .file-upload-preview {
    max-height: 160px;
  }

  .file-upload-preview-img {
    max-height: 160px;
  }

  .picker-grid {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 10px;
  }

  .picker-card {
    min-height: 44px;
    padding: 12px 8px;
    -webkit-tap-highlight-color: transparent;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .mute-btn {
    bottom: calc(24px + env(safe-area-inset-bottom, 0));
    right: calc(16px + env(safe-area-inset-right, 0));
  }
}

/* Prevent iOS zoom on input focus (16px minimum) */
@media (max-width: 768px) {
  .register-form input,
  .register-form select {
    font-size: 16px;
  }
}
