@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Space+Mono:ital@0;1&family=Italiana&display=swap');

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

:root {
  --bg: #08080a;
  --bg-card: #0f0f12;
  --bg-elevated: #141418;
  --border: #1e1e24;
  --border-accent: #2a2a32;
  --gold: #c9a96e;
  --gold-dim: #8a7450;
  --gold-bright: #dfc08a;
  --wine: #4a1a2e;
  --wine-light: #6b2a42;
  --text: #d4d0c8;
  --text-dim: #7a776f;
  --text-faint: #4a4842;
  --white: #ece8e1;
  --purple: #1a1225;
  --purple-glow: rgba(120,80,160,0.15);
  --crystal: #9b7ec8;
  --crystal-dim: rgba(120,80,160,0.3);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.7;
}

/* Subtle noise texture */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Vignette */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   PAGE LAYOUT
   ============================================ */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
}

/* Content frame */
.ornate-frame {
  max-width: 720px;
  width: 100%;
  position: relative;
  padding: 3rem 2.5rem;
}

/* Top/bottom thin line accents */
.ornate-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.ornate-frame::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.corner-tl, .corner-tr, .corner-bl, .corner-br {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--gold-dim);
  border-style: solid;
  opacity: 0.4;
}
.corner-tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.corner-tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.corner-bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.corner-br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* ============================================
   THE FORTUNE TELLER BOOTH — MODERN GOTHIC
   ============================================ */
.booth-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.booth {
  width: 240px;
  position: relative;
}

/* Dome — clean arch */
.booth-dome {
  width: 180px;
  height: 40px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--gold-dim) 0%, var(--gold-dark, #5a4a2e) 100%);
  border-radius: 90px 90px 0 0;
  position: relative;
  z-index: 3;
  border: 1px solid var(--gold-dim);
  border-bottom: none;
  opacity: 0.9;
}

/* Dome spire */
.booth-dome::before {
  content: '';
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 22px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
}

/* Dome jewel */
.booth-dome::after {
  content: '';
  position: absolute;
  top: -24px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-dim);
}

/* Scallop — simplified to a thin ornamental line */
.booth-scallop {
  width: 182px;
  height: 3px;
  margin: 0 auto;
  background: var(--gold-dim);
  position: relative;
  z-index: 3;
  opacity: 0.6;
}

/* Sign banner — minimal */
.booth-sign {
  width: 182px;
  margin: 0 auto;
  background: var(--bg);
  border-left: 1px solid var(--gold-dim);
  border-right: 1px solid var(--gold-dim);
  padding: 8px 0;
  text-align: center;
  position: relative;
  z-index: 3;
}

.booth-sign span {
  font-family: 'Italiana', serif;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 8px;
  text-transform: uppercase;
}

/* Glass cabinet — dark, atmospheric */
.booth-glass {
  width: 182px;
  height: 220px;
  margin: 0 auto;
  background: linear-gradient(180deg,
    rgba(15,12,18,0.98) 0%,
    rgba(20,15,25,0.95) 40%,
    rgba(18,12,22,0.98) 100%
  );
  border-left: 1px solid var(--gold-dim);
  border-right: 1px solid var(--gold-dim);
  position: relative;
  overflow: hidden;
}

/* Subtle interior glow from crystal ball */
.booth-interior-glow {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 80px;
  background: radial-gradient(ellipse, var(--crystal-dim), transparent);
  z-index: 1;
  animation: interior-glow 4s ease-in-out infinite;
}

@keyframes interior-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

/* Glass reflection — single faint streak */
.booth-glass::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 30%; height: 100%;
  background: linear-gradient(110deg, rgba(255,255,255,0.03) 0%, transparent 70%);
  z-index: 10;
  pointer-events: none;
}

/* ============================================
   THE ORACLE CHARACTER
   ============================================ */
.oracle {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 140px;
  z-index: 5;
  animation: oracle-breathe 5s ease-in-out infinite;
}

@keyframes oracle-breathe {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-2px); }
}

/* Turban */
.oracle-turban {
  width: 62px;
  height: 46px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--gold-dim), #5a4a2e);
  border-radius: 50% 50% 35% 35%;
  position: relative;
  z-index: 3;
}

/* Turban folds */
.oracle-turban::before {
  content: '';
  position: absolute;
  top: 14px; left: 6px; right: 6px;
  height: 1px;
  background: rgba(0,0,0,0.2);
  box-shadow: 0 5px 0 rgba(0,0,0,0.15), 0 10px 0 rgba(0,0,0,0.1);
}

/* Turban jewel */
.turban-jewel {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.turban-jewel::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: radial-gradient(circle at 35% 35%, var(--crystal), #6b4a8a);
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 10px var(--crystal-dim);
  animation: jewel-pulse 3s ease-in-out infinite;
}

@keyframes jewel-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--crystal-dim); }
  50% { box-shadow: 0 0 16px rgba(155,126,200,0.5); }
}

/* Face */
.oracle-face {
  width: 48px;
  height: 56px;
  margin: -6px auto 0;
  background: linear-gradient(180deg, #a0825e, #8a6e4a);
  border-radius: 45% 45% 42% 42%;
  position: relative;
  z-index: 2;
}

/* Brows */
.oracle-brows {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 34px;
  display: flex;
  justify-content: space-between;
}

.oracle-brows::before,
.oracle-brows::after {
  content: '';
  width: 12px; height: 2px;
  background: #3a2a1a;
  border-radius: 1px;
}

.oracle-brows::before { transform: rotate(-6deg); }
.oracle-brows::after { transform: rotate(6deg); }

/* Eyes */
.oracle-eyes {
  position: absolute;
  top: 19px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.oracle-eye {
  width: 9px; height: 8px;
  background: #1a1225;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 6px rgba(155,126,200,0.4);
  animation: eye-glow 4s ease-in-out infinite;
}

.oracle-eye::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 3px; height: 3px;
  background: var(--crystal);
  border-radius: 50%;
  opacity: 0.8;
}

@keyframes eye-glow {
  0%, 100% { box-shadow: 0 0 4px rgba(155,126,200,0.3); }
  50% { box-shadow: 0 0 10px rgba(155,126,200,0.6); }
}

/* Nose */
.oracle-nose {
  position: absolute;
  top: 27px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 8px;
  background: rgba(0,0,0,0.15);
  border-radius: 50%;
}

/* Mustache */
.oracle-mustache {
  position: absolute;
  top: 36px; left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 8px;
}

.oracle-mustache::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 5px;
  background: #2a1a0a;
  border-radius: 0 0 60% 60%;
}

/* Curl hints */
.oracle-mustache::after {
  content: '';
  position: absolute;
  top: 1px; left: 0;
  width: 6px; height: 6px;
  border-bottom: 2px solid #2a1a0a;
  border-left: 2px solid #2a1a0a;
  border-radius: 0 0 0 50%;
}

.mustache-curl-r {
  position: absolute;
  top: 1px; right: 0;
  width: 6px; height: 6px;
  border-bottom: 2px solid #2a1a0a;
  border-right: 2px solid #2a1a0a;
  border-radius: 0 0 50% 0;
}

/* Beard */
.oracle-beard {
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 14px;
  background: #2a1a0a;
  border-radius: 30% 30% 50% 50%;
  opacity: 0.9;
}

/* Mouth */
.oracle-mouth {
  position: absolute;
  top: 42px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 3px;
  background: rgba(0,0,0,0.2);
  border-radius: 0 0 50% 50%;
}

/* Body */
.oracle-body {
  width: 78px;
  height: 80px;
  margin: -4px auto 0;
  position: relative;
  z-index: 1;
}

/* Shirt */
.oracle-shirt {
  width: 78px;
  height: 65px;
  background: linear-gradient(180deg, var(--gold-dim), #4a3a22);
  border-radius: 25% 25% 0 0;
  position: relative;
  overflow: hidden;
}

/* Neck */
.oracle-shirt::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 10px;
  background: #8a6e4a;
  border-radius: 0 0 50% 50%;
}

/* Vest */
.oracle-vest {
  position: absolute;
  top: 10px; left: 6px; right: 6px; bottom: 0;
  background: linear-gradient(180deg, var(--wine), #2a0e1a);
  border-radius: 8% 8% 0 0;
  opacity: 0.85;
}

/* Vest pattern — subtle damask-like dots */
.oracle-vest::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(201,169,110,0.15) 1.5px, transparent 1.5px),
    radial-gradient(circle at 75% 35%, rgba(201,169,110,0.12) 1px, transparent 1px),
    radial-gradient(circle at 40% 55%, rgba(201,169,110,0.1) 1.5px, transparent 1.5px),
    radial-gradient(circle at 60% 75%, rgba(201,169,110,0.12) 1px, transparent 1px);
}

/* Necklace */
.oracle-jewelry {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 18px;
  border: 1px solid var(--gold-dim);
  border-top: none;
  border-radius: 0 0 50% 50%;
  z-index: 2;
  opacity: 0.7;
}

.oracle-jewelry::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--crystal);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--crystal-dim);
}

/* Hands */
.oracle-hands {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 24px;
  z-index: 6;
}

.oracle-hand {
  position: absolute;
  bottom: 0;
  width: 18px; height: 12px;
  background: #8a6e4a;
  border-radius: 40% 40% 45% 45%;
}

.oracle-hand.left {
  left: 8px;
  transform: rotate(12deg);
  animation: hand-hover 4s ease-in-out infinite;
}

.oracle-hand.right {
  right: 8px;
  transform: rotate(-12deg);
  animation: hand-hover 4s ease-in-out infinite 0.5s;
}

.oracle-hand::before {
  content: '';
  position: absolute;
  top: -2px; left: 3px;
  width: 3px; height: 4px;
  background: #8a6e4a;
  border-radius: 50%;
  box-shadow: 4px 0 0 #8a6e4a, 8px -1px 0 #8a6e4a;
}

@keyframes hand-hover {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(14deg) translateY(-2px); }
}

/* Crystal Ball */
.crystal-ball-booth {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 7;
}

.crystal-ball-orb {
  width: 40px; height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(155,126,200,0.25), rgba(80,50,120,0.15), rgba(15,12,18,0.5));
  border: 1px solid rgba(155,126,200,0.3);
  box-shadow:
    0 0 15px var(--crystal-dim),
    inset 0 0 10px rgba(155,126,200,0.2);
  animation: crystal-pulse 4s ease-in-out infinite;
  position: relative;
}

.crystal-ball-orb::before {
  content: '';
  position: absolute;
  top: 7px; left: 9px;
  width: 8px; height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.crystal-ball-orb::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 5px;
  background: linear-gradient(180deg, var(--gold-dim), #3a2a1a);
  border-radius: 0 0 40% 40%;
}

.crystal-mist {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  background: radial-gradient(circle, rgba(155,126,200,0.4), transparent);
  border-radius: 50%;
  animation: mist-drift 5s ease-in-out infinite;
}

@keyframes crystal-pulse {
  0%, 100% { box-shadow: 0 0 12px var(--crystal-dim), inset 0 0 8px rgba(155,126,200,0.15); }
  50% { box-shadow: 0 0 20px rgba(155,126,200,0.4), inset 0 0 14px rgba(155,126,200,0.3); }
}

@keyframes mist-drift {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  33% { transform: translate(-40%, -55%) scale(1.1); opacity: 0.6; }
  66% { transform: translate(-55%, -48%) scale(0.9); opacity: 0.5; }
}

/* Booth base */
.booth-base {
  width: 182px;
  height: 40px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1a1510, #0e0c08);
  border: 1px solid var(--gold-dim);
  border-top: 1px solid var(--gold-dim);
  position: relative;
}

.booth-slot {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 4px;
  background: #000;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 2px;
}

.booth-slot::before {
  content: 'INSERT COIN';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 0.4rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  white-space: nowrap;
}

.booth-feet {
  width: 192px;
  height: 4px;
  margin: 0 auto;
  background: var(--gold-dim);
  opacity: 0.4;
}

/* Trinkets */
.booth-trinkets {
  position: absolute;
  bottom: 35px; left: 15px;
  z-index: 4;
}

.trinket {
  position: absolute;
  font-size: 0.45rem;
  opacity: 0.3;
  color: var(--gold-dim);
}

.trinket:nth-child(1) { left: 0; bottom: 0; }
.trinket:nth-child(2) { left: 120px; bottom: 3px; }
.trinket:nth-child(3) { left: 8px; bottom: 14px; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.neon-sign {
  font-family: 'Italiana', serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 12px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fade-up 1s ease 0.3s forwards;
}

.subtitle {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  text-align: center;
  opacity: 0;
  animation: fade-up 1s ease 0.5s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BUTTONS
   ============================================ */
.coin-btn {
  display: inline-block;
  padding: 0.9rem 2.8rem;
  background: transparent;
  color: var(--gold);
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold-dim);
  cursor: pointer;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}

.coin-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.1), transparent);
  transition: left 0.6s;
}

.coin-btn:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(201,169,110,0.1);
}

.coin-btn:hover::before {
  left: 100%;
}

/* ============================================
   FORTUNE CARD
   ============================================ */
.fortune-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2.5rem 0;
}

.fortune-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--crystal-dim), transparent);
}

.fortune-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  line-height: 2;
  color: var(--text);
  max-width: 480px;
  letter-spacing: 0.5px;
}

.fortune-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--gold-dim);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-accent);
  padding-bottom: 2px;
  transition: all 0.3s;
}

.fortune-link:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}

/* Crystal ball standalone */
.crystal-ball-standalone {
  width: 80px; height: 80px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.08), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(155,126,200,0.2), rgba(80,50,120,0.1), var(--bg));
  border: 1px solid rgba(155,126,200,0.2);
  box-shadow: 0 0 30px var(--crystal-dim);
  animation: crystal-pulse 4s ease-in-out infinite;
  position: relative;
}

.crystal-ball-standalone::after {
  content: '';
  position: absolute;
  top: 18%; left: 25%;
  width: 18%; height: 12%;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: rotate(-20deg);
}

/* ============================================
   THINKING ANIMATION
   ============================================ */
.thinking {
  display: none;
  text-align: center;
  padding: 2.5rem;
}

.thinking.active { display: block; }

.thinking-dots span {
  display: inline-block;
  width: 4px; height: 4px;
  margin: 0 6px;
  background: var(--gold-dim);
  border-radius: 50%;
  animation: thinking-fade 1.6s ease-in-out infinite;
}

.thinking-dots span:nth-child(2) { animation-delay: 0.3s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.6s; }

@keyframes thinking-fade {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

.thinking-text {
  color: var(--text-dim);
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  margin-top: 1.2rem;
  letter-spacing: 1px;
}

/* ============================================
   FORMS
   ============================================ */
.oracle-form {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  color: var(--text-dim);
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%238a7450' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg);
  color: var(--text);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: transparent;
  color: var(--gold);
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid var(--gold-dim);
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: rgba(201,169,110,0.05);
  box-shadow: 0 0 20px rgba(201,169,110,0.08);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h1 {
  font-family: 'Italiana', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 0.6rem;
}

.section-header h2 {
  font-family: 'Italiana', serif;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 3px;
}

.section-header p {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-style: italic;
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  margin: 2rem 0;
  background: var(--border);
}

.team-card {
  background: var(--bg-card);
  padding: 2rem 1.2rem;
  text-align: center;
  transition: background 0.3s;
}

.team-card:hover {
  background: var(--bg-elevated);
}

.team-avatar {
  width: 50px; height: 50px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  opacity: 0.7;
}

.team-card h3 {
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.team-card .title {
  color: var(--text-dim);
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { margin: 2rem 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.8rem 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  color: var(--text);
  font-weight: 400;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.faq-q::before {
  content: '';
}

.faq-a {
  color: var(--text-dim);
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.8;
  padding-left: 1rem;
  border-left: 1px solid var(--border-accent);
}

/* ============================================
   TICKET
   ============================================ */
.ticket-display {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.ticket-display.visible { display: block; animation: fadeIn 0.6s ease; }

.ticket-number {
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0.5rem 0;
  letter-spacing: 2px;
}

/* ============================================
   SUCCESS
   ============================================ */
.success-msg {
  display: none;
  text-align: center;
  padding: 2.5rem;
}

.success-msg.visible { display: block; animation: fadeIn 0.6s ease; }

/* ============================================
   LINKS & MISC
   ============================================ */
.text-link {
  color: var(--gold-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--border-accent);
  padding-bottom: 1px;
  transition: all 0.3s;
  font-size: inherit;
}

.text-link:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}

.corporate-text {
  line-height: 1.9;
  color: var(--text);
  font-size: 1rem;
}

.corporate-text p { margin-bottom: 1.2rem; }

.mystical-divider {
  text-align: center;
  margin: 2.5rem 0;
  color: var(--text-faint);
  font-size: 0.6rem;
  letter-spacing: 12px;
}

footer {
  text-align: center;
  padding: 3rem 2rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-faint);
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  margin-top: auto;
  line-height: 2;
}

.four-oh-four {
  font-family: 'Italiana', serif;
  font-size: 7rem;
  font-weight: 400;
  color: var(--gold-dim);
  opacity: 0.3;
  letter-spacing: 12px;
}

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

.fade-in { animation: fadeIn 0.8s ease; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  .neon-sign { font-size: 2.2rem; letter-spacing: 6px; }
  .ornate-frame { padding: 2.5rem 1.5rem; }
  .booth { transform: scale(0.85); transform-origin: top center; }
  .section-header h1 { font-size: 1.6rem; }
  .four-oh-four { font-size: 5rem; }
}

@media (max-width: 400px) {
  .neon-sign { font-size: 1.8rem; letter-spacing: 4px; }
  .page-wrapper { padding: 2rem 0.8rem; }
  .booth { transform: scale(0.75); }
}
