/* ===========================================================
   THE BOOTH · SKUUSE ME — shared design system
   ===========================================================
   Used by: index.html (home), booth.html (fan), dj.html (DJ).
   Brand palette + typography matches skuuseme.com.
   =========================================================== */

:root {
  /* — base palette — */
  --bg: #050506;
  --bg-2: #0b1016;
  --bg-3: #111821;
  --surface: rgba(244, 239, 228, 0.03);
  --surface-hi: rgba(244, 239, 228, 0.05);

  /* — brand accents — */
  --amber: #e88a3c;
  --amber-soft: #f2b979;
  --amber-deep: #c4732c;
  --teal-bright: #2b9d97;
  --teal-glow: #5dd1c5;
  --blue: #2f5cff;
  --blue-bright: #4e74ff;
  --red-glow: #c8372d;

  /* — ink — */
  --cream: #f4efe4;
  --ink: #f4efe4;
  --ink-dim: rgba(244, 239, 228, 0.62);
  --ink-fade: rgba(244, 239, 228, 0.32);
  --ink-ghost: rgba(244, 239, 228, 0.16);
  --line: rgba(244, 239, 228, 0.10);
  --line-strong: rgba(244, 239, 228, 0.22);

  /* — radii — */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* — type — */
  --font-display: "Unbounded", "Archivo Black", "Impact", system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* film grain overlay — across all pages */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===========================================================
   SHARED — top bar (used on home + booth + dj)
   =========================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 6, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* SKUUSE ME wordmark logo */
.brand-logo {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(1.05);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-fade);
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  align-self: stretch;
  display: flex;
  align-items: center;
}

@keyframes spin { to { transform: rotate(360deg); } }

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.2s var(--ease);
}
.topbar-link:hover { color: var(--cream); }
.topbar-cta {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: rgba(47, 92, 255, 0.35);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 20px -12px rgba(47, 92, 255, 0.45);
  transition: all 0.25s var(--ease);
}
.topbar-cta:hover {
  background: rgba(78, 116, 255, 0.55);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 28px -10px rgba(78, 116, 255, 0.7);
}

/* ===========================================================
   SHARED — utility
   =========================================================== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.eyebrow-amber { color: var(--amber); }
.eyebrow-teal  { color: var(--teal-glow); }

/* eyebrow-pill — matches listening lounge brand ( BRACKETED ) style */
.eyebrow-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 8px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
}

/* live-pulse — radiating green dot (active/live state, not error) */
.live-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #5dd1c5;
  box-shadow: 0 0 0 0 rgba(93, 209, 197, 0.8);
  animation: live-pulse 1.6s ease-out infinite;
  display: inline-block;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(93, 209, 197, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(93, 209, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(93, 209, 197, 0); }
}
.live-pulse-label { color: var(--teal-glow); }
.live-pulse-sep { opacity: 0.4; }
.live-pulse-sub { color: rgba(255, 255, 255, 0.72); letter-spacing: 0.14em; }

/* small live-dot — for inline usage in pills */
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-glow);
  box-shadow: 0 0 10px var(--teal-glow);
  animation: pulse 1.6s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.92;
  text-transform: none;
}

.muted-line { color: var(--ink-fade); font-weight: 400; }

.text-amber { color: var(--amber); }
.text-teal  { color: var(--teal-glow); }
.text-dim   { color: var(--ink-dim); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  will-change: transform;
}

/* Primary — blue glass, matches lounge hero CTAs */
.btn-primary {
  background: rgba(47, 92, 255, 0.35);
  color: #fff;
  border: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 24px -12px rgba(47, 92, 255, 0.45);
}
.btn-primary:hover {
  background: rgba(78, 116, 255, 0.55);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 32px -10px rgba(78, 116, 255, 0.7);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--cream); background: var(--surface); transform: translateY(-1px); }

/* Amber — secondary accent, used sparingly (inline pills, highlight CTAs) */
.btn-amber {
  background: var(--amber);
  color: #0b0a08;
}
.btn-amber:hover { background: var(--amber-soft); transform: translateY(-1px); }

.btn-ghost {
  color: var(--ink-dim);
  background: transparent;
}
.btn-ghost:hover { color: var(--cream); }

.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ===========================================================
   MODAL — shared (submission flow + waitlist)
   =========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 6, 0.86);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  padding: 20px;
}
.modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.modal {
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 32px;
  transform: translateY(20px);
  transition: transform 0.35s var(--ease);
  position: relative;
}
.modal-overlay.show .modal {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  transition: all 0.2s var(--ease);
  background: var(--surface);
}
.modal-close:hover { color: var(--cream); background: var(--surface-hi); }
.modal-close svg { width: 16px; height: 16px; }

.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin-bottom: 12px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--cream);
  line-height: 1.05;
  margin: 0 0 20px;
}
.modal-title em { font-style: normal; color: var(--amber); }
.modal-sub {
  font-size: 14px;
  color: var(--ink-dim);
  margin-bottom: 22px;
  line-height: 1.5;
}

/* ===========================================================
   FIELDS — used in modals + DJ admin
   =========================================================== */
.field { margin-bottom: 16px; }
.field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.field-counter { color: var(--ink-fade); }
.field-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 16px;
  color: var(--cream);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.field-input::placeholder { color: var(--ink-ghost); }
.field-input:focus { border-bottom-color: var(--blue-bright); }

.field-boxed {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--cream);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.field-boxed:focus { border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(47, 92, 255, 0.12); }
.field-boxed::placeholder { color: var(--ink-ghost); }

.field-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--cream);
  font-family: var(--font-body);
  outline: none;
  resize: vertical;
  min-height: 70px;
  transition: border-color 0.2s var(--ease);
}
.field-textarea:focus { border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(47, 92, 255, 0.12); }
.field-textarea::placeholder { color: var(--ink-ghost); }

.field-two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ===========================================================
   TIERS — used in submit modal
   =========================================================== */
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  text-align: left;
  position: relative;
}
.tier:hover { border-color: var(--line-strong); }
.tier.selected {
  background: rgba(47, 92, 255, 0.05);
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 1px var(--blue-bright);
}
.tier-free.selected {
  background: rgba(43, 157, 151, 0.06);
  border-color: var(--teal-bright);
  box-shadow: 0 0 0 1px var(--teal-bright);
}
.tier-cut.selected {
  background: rgba(232, 138, 60, 0.06);
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}
.tier-vip.selected {
  background: rgba(47, 92, 255, 0.06);
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 1px var(--blue-bright);
}

.tier-info { display: flex; flex-direction: column; gap: 4px; }
.tier-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.tier-desc {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.4;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--cream);
  font-weight: 600;
}
.tier-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.tier.selected .tier-radio {
  border-color: var(--cream);
  background: var(--cream);
  box-shadow: inset 0 0 0 3px var(--bg-2);
}

/* ===========================================================
   RECEIPT (in confirm step + DJ session summary)
   =========================================================== */
.receipt {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 18px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dim);
}
.receipt-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  gap: 14px;
}
.receipt-line + .receipt-line { border-top: 1px dashed var(--line); }
.receipt-line .lbl { color: var(--ink-fade); letter-spacing: 0.1em; flex-shrink: 0; }
.receipt-line .val {
  color: var(--cream);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===========================================================
   FOOTER — shared
   =========================================================== */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 48px 24px 32px;
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-left h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--cream);
  margin: 0 0 12px;
  line-height: 1.05;
}
.footer-left p {
  color: var(--ink-dim);
  font-size: 14px;
  margin: 0 0 18px;
  max-width: 420px;
}
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}
.footer-right h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin: 0 0 8px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-dim);
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-fade);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================================================
   TOAST — small feedback (DJ + general)
   =========================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--cream);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s var(--ease);
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===========================================================
   PLATFORM PICKER (DJ admin) + watch-live button variants
   =========================================================== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.platform-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.platform-btn:hover { border-color: var(--line-strong); color: var(--cream); }
.platform-btn.selected {
  background: rgba(47, 92, 255, 0.10);
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 1px var(--blue-bright), 0 8px 24px -12px rgba(47, 92, 255, 0.45);
  color: var(--cream);
}
.platform-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.btn-watch[data-platform="youtube"],
.btn-watch[data-platform="tiktok"],
.btn-watch[data-platform="instagram"],
.btn-watch[data-platform="twitch"] {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn-watch[data-platform="youtube"]:hover,
.btn-watch[data-platform="tiktok"]:hover,
.btn-watch[data-platform="instagram"]:hover,
.btn-watch[data-platform="twitch"]:hover {
  background: rgba(244, 239, 228, 0.04);
  border-color: var(--cream);
}

/* Private session — non-link state. Defined LAST so it overrides
   the platform-tint rules even if data-platform="private" is set. */
.btn-watch[data-platform="private"],
.btn-watch.btn-watch-private {
  background: rgba(244, 239, 228, 0.04);
  color: var(--ink-dim);
  border-color: var(--line-strong);
  cursor: default;
  pointer-events: none;
}
.btn-watch[data-platform="private"]:hover,
.btn-watch.btn-watch-private:hover {
  background: rgba(244, 239, 228, 0.04);
  border-color: var(--line-strong);
}
.btn-watch[data-platform="private"] svg,
.btn-watch.btn-watch-private svg { opacity: 0.6; }

/* ===========================================================
   SOCIAL ROW — used in footer of all pages
   =========================================================== */
.social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  transition: all 0.2s var(--ease);
  background: var(--surface);
}
.social-icon:hover {
  color: var(--blue-bright);
  border-color: var(--blue-bright);
  transform: translateY(-1px);
}
.social-icon svg { width: 16px; height: 16px; fill: currentColor; }

/* ===========================================================
   RESPONSIVE — global
   =========================================================== */
@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-right { text-align: left; }
  .modal { padding: 24px 20px; }
  .modal-title { font-size: 24px; }
  .field-two-up { grid-template-columns: 1fr; gap: 10px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-sub { display: none; }
}
