:root {
  --bg: #141312;
  --bg-2: #1b1a18;
  --panel: #1f1d1b;
  --line: #34312d;
  --line-soft: #2a2825;
  --cream: #f3ece0;
  --cream-soft: #cfc7ba;
  --muted: #8b847a;
  --teal: #82e9e7;
  --teal-dim: #5e8b8b;
  --teal-deep: #2f5d5d;
  --gold: #d4a017;
  --danger: #e5897d;
  --display: "Oswald", Impact, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 600px at 80% -5%, rgba(130,233,231,0.05), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(212,160,23,0.04), transparent 60%);
}

.mono { font-family: var(--mono); }
.teal { color: var(--teal); }
.muted { color: var(--muted); }

/* Outer frame + crop marks */
.frame {
  position: relative;
  max-width: 880px;
  margin: 26px auto;
  padding: clamp(22px, 5vw, 52px);
  border: 1px solid var(--line);
}
.crop { position: absolute; width: 16px; height: 16px; border: 2px solid var(--teal); }
.crop.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.crop.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.crop.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.crop.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* Topbar */
.topbar {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; padding-bottom: 26px; border-bottom: 1px dashed var(--line);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 64px; width: auto; display: block; }
/* legacy text mark (unused, kept for fallback) */
.brand-mark { font-family: "Caveat", cursive; font-size: 28px; color: var(--teal); line-height: 0.8; }
.brand-name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; color: var(--cream); }
.topbar-right { font-size: 11px; letter-spacing: 0.16em; color: var(--cream-soft); text-align: right; padding-top: 6px; }
.topbar-right .dot { color: var(--gold); font-size: 9px; vertical-align: middle; }
.topbar-right .sep { color: var(--muted); margin: 0 2px; }
#hero-counter { color: var(--teal); }

/* Hero */
.hero { padding: 48px 0 8px; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 0.34em; color: var(--teal); margin: 0 0 18px; text-transform: uppercase; }
.eyebrow .rule { height: 1px; width: 46px; background: var(--teal-dim); display: inline-block; }
.display {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(72px, 17vw, 168px); line-height: 0.86; letter-spacing: -0.01em;
  margin: 0 0 26px; color: var(--cream);
}
.tagline { font-family: var(--display); font-weight: 300; font-size: clamp(20px, 3.4vw, 30px); letter-spacing: 0.01em; color: var(--cream); margin: 0 0 14px; text-transform: uppercase; }
.blurb { font-size: 17px; color: var(--cream-soft); max-width: 56ch; margin: 0 0 36px; }

/* Ticket rail */
.rail { display: flex; align-items: center; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.datebox { display: flex; align-items: baseline; gap: 12px; }
.datebox .dow { font-size: 13px; letter-spacing: 0.18em; color: var(--teal); }
.datebox .datenum { font-family: var(--display); font-weight: 600; font-size: 40px; letter-spacing: 0.02em; }
.dash { flex: 1; min-width: 24px; height: 0; border-top: 1px dashed var(--line); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; }
.facts li { font-size: 11px; letter-spacing: 0.12em; color: var(--cream-soft); border: 1px solid var(--line); padding: 6px 11px; text-transform: uppercase; }
.facts li a { color: var(--teal); text-decoration: none; }

/* Admit / CTA rail */
.admit { display: flex; align-items: center; gap: 16px; margin-top: 22px; font-size: 12px; letter-spacing: 0.22em; color: var(--muted); }
.admit-dash { flex: 1; height: 0; border-top: 1px dashed var(--line); }
.cta {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--teal); color: #0e1414; font-family: var(--mono); font-weight: 700;
  font-size: 13px; letter-spacing: 0.16em; padding: 13px 20px; border: 1px solid var(--teal);
  transition: background .15s, color .15s;
}
.cta:hover { background: transparent; color: var(--teal); }
.cta .arrow { font-size: 15px; }

/* Booking */
.booking { padding: 64px 0 16px; }
.section-head { margin-bottom: 30px; }
.booking h2 { font-size: 14px; letter-spacing: 0.3em; color: var(--teal); margin: 0 0 10px; font-weight: 500; }
.section-sub { color: var(--cream-soft); margin: 0; max-width: 54ch; }

.slots-status { color: var(--muted); padding: 22px 0; font-size: 13px; letter-spacing: 0.08em; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.slot {
  position: relative; appearance: none; cursor: pointer; text-align: left;
  font-family: var(--mono); font-size: 15px; font-weight: 500;
  background: var(--panel); color: var(--cream); border: 1px solid var(--line);
  padding: 15px 14px; transition: border-color .14s, background .14s, transform .14s;
}
.slot:hover:not(:disabled) { border-color: var(--teal); transform: translateY(-2px); }
.slot.selected { background: var(--teal); border-color: var(--teal); color: #0e1414; }
.slot:disabled { cursor: not-allowed; color: var(--muted); background: var(--bg-2); border-style: dashed; }
.slot:disabled .tk { text-decoration: line-through; }
.slot .tk { display: block; }
.slot small { display: block; font-size: 9px; letter-spacing: 0.18em; margin-top: 6px; color: var(--danger); text-transform: uppercase; }
.slot.selected small { color: rgba(14,20,20,0.7); }

/* Form */
.booking-form { margin-top: 40px; border: 1px solid var(--line); padding: clamp(22px, 4vw, 34px); background: var(--bg-2); animation: rise .3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.form-head .tag { font-size: 11px; letter-spacing: 0.26em; color: var(--teal); }
.picked { color: var(--cream); font-size: 14px; letter-spacing: 0.04em; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.18em; margin-bottom: 8px; color: var(--cream-soft); }
.field .opt { color: var(--muted); letter-spacing: 0.06em; }
input, select, textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--cream);
  background: var(--bg); border: 1px solid var(--line); border-radius: 0;
  padding: 13px 14px; transition: border-color .14s;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }

.form-error { background: rgba(229,137,125,0.1); border: 1px solid var(--danger); color: var(--danger); padding: 12px 14px; margin: 0 0 16px; font-size: 13px; letter-spacing: 0.04em; }

.btn-pay {
  width: 100%; cursor: pointer; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 0.16em;
  background: var(--teal); color: #0e1414; border: 1px solid var(--teal); padding: 17px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .15s, color .15s;
}
.btn-pay:hover:not(:disabled) { background: transparent; color: var(--teal); }
.btn-pay:disabled { opacity: 0.7; cursor: progress; }
.btn-spinner { width: 16px; height: 16px; border: 2px solid rgba(14,20,20,0.35); border-top-color: #0e1414; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.reassure { text-align: center; color: var(--muted); font-size: 10px; letter-spacing: 0.14em; margin: 14px 0 0; }

/* Footer */
footer { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px dashed var(--line); font-size: 11px; letter-spacing: 0.18em; color: var(--cream-soft); }

/* Success page */
.success { padding: 60px 0; }
.stamp { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--teal); color: var(--teal); font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; padding: 8px 14px; margin-bottom: 30px; }
.stamp .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); display: inline-block; }
.detail-card { border: 1px solid var(--line); background: var(--bg-2); margin: 28px 0; }
.detail-card .row { padding: 15px 20px; border-bottom: 1px dashed var(--line); color: var(--cream-soft); font-size: 14px; }
.detail-card .row:last-child { border-bottom: none; }
.detail-card .row b { color: var(--teal); font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; display: inline-block; min-width: 92px; }
.back-link { color: var(--teal); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-decoration: none; border-bottom: 1px solid var(--teal-deep); }

@media (max-width: 560px) {
  .frame { margin: 12px; padding: 22px 18px; }
  .topbar { flex-direction: column; gap: 14px; }
  .topbar-right { text-align: left; }
  .brand-logo { height: 56px; }
  .hero { padding: 34px 0 4px; }
  .rail { gap: 14px; }
  .dash { display: none; }
}
