:root {
  --bg: #0e0e10;
  --surface: #17151a;
  --surface-2: #201c22;
  --line: #2e2830;
  --text: #f3ece0;
  --muted: #a99f92;
  --red: #d8150d;
  --red-deep: #8f0705;
  --gold: #d8b566;
  --gold-light: #f6e6b4;
  --radius: 14px;
  --display: "Rye", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 69px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scroll-snap-type: y proximity;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(216, 21, 13, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.skip {
  position: absolute; left: 16px; top: -48px;
  background: var(--gold); color: #120d05; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; font-weight: 600; z-index: 10;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, calc((100% - 1120px) / 2));
  background: rgba(14, 14, 16, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-name { font-family: var(--display); font-size: 1.2rem; letter-spacing: 0.02em; }
nav { display: flex; gap: 4px; }
nav a {
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 999px;
}
nav a:hover { color: var(--text); background: var(--surface-2); }

/* Layout */
main { width: min(1120px, 100% - 32px); margin: 0 auto; }
.section { border-top: 1px solid var(--line); }

/* Full-screen panels: each section fills the screen below the header,
   with a cue at the bottom that scrolls to the next one. */
.panel {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: 56px 0 112px;
  scroll-snap-align: start;
}
.panel-inner { width: 100%; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); text-decoration: none;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
}
.scroll-cue:hover { color: var(--text); }
.scroll-cue svg {
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  animation: cue-bob 2.2s ease-in-out infinite;
}
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
h3 { margin: 0 0 6px; font-size: 1.05rem; }
.muted { color: var(--muted); margin: 0; }

/* Hero */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 5vw, 64px);
}
.hero-logo img { width: 100%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)); }
.eyebrow {
  margin: 0 0 10px; color: var(--gold); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.85rem;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.08; }
.lede { color: var(--muted); font-size: 1.125rem; max-width: 34ch; margin: 18px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  border-color: rgba(246, 230, 180, 0.45);
  box-shadow: 0 8px 22px rgba(216, 21, 13, 0.28);
}
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--gold); }
.btn[aria-disabled="true"] {
  color: var(--muted); background: var(--surface-2); border-color: var(--line);
  box-shadow: none; cursor: not-allowed; transform: none;
}

/* Next rip */
.next-rip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px; margin-bottom: 16px;
  border: 1px solid rgba(216, 181, 102, 0.45); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(216, 181, 102, 0.12), rgba(216, 21, 13, 0.08));
}
.next-rip .label { color: var(--gold); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0; }
.next-rip .title { font-weight: 600; font-size: 1.1rem; margin: 2px 0 0; }
.countdown { font-variant-numeric: tabular-nums; font-size: 1.5rem; font-weight: 700; }

/* Rip list */
.rip-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rip {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.rip-date {
  text-align: center; padding: 10px 6px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line); line-height: 1.2;
}
.rip-date .day { display: block; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.rip-date .num { display: block; font-size: 1.6rem; font-weight: 700; }
.rip-date .time { display: block; font-size: 0.8rem; color: var(--gold); font-weight: 600; }
.rip-title { margin: 0; font-weight: 600; font-size: 1.1rem; }
.rip-meta { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.rip-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.rip-price { font-weight: 700; font-size: 1.15rem; margin-right: 6px; }
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; margin-left: 8px;
}
.badge-live { background: var(--red); color: #fff; }
.badge-soldout { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badge-sample { background: transparent; color: var(--gold); border: 1px dashed var(--gold); }
.rip-empty { padding: 24px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps p { margin: 0; color: var(--muted); }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px;
  border-radius: 50%; font-weight: 700; color: #1a1206;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, #9a7228);
}

/* Channels */
.channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none; transition: border-color 0.15s ease;
}
a.channel:hover { border-color: var(--gold); }
.channel .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-kick { background: #53fc18; }
.dot-twitch { background: #9146ff; }
.dot-tiktok { background: #fe2c55; }
.channel strong { display: block; }
.channel span.handle { color: var(--muted); font-size: 0.9rem; }
.channel[aria-disabled="true"] { opacity: 0.6; }

/* Footer */
.site-footer {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  width: min(1120px, 100% - 32px); margin: 0 auto; padding: 32px 0 48px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem;
}
.site-footer p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .hero-logo { max-width: min(260px, 34svh); margin: 0 auto; }
  .panel { padding: 32px 0 96px; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .channels { grid-template-columns: 1fr; }
  .rip { grid-template-columns: 76px minmax(0, 1fr); }
  .rip-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 520px) {
  .brand-name { display: none; }
  nav a { padding: 8px 9px; font-size: 0.9rem; }
  .steps { grid-template-columns: 1fr; }
}
