:root {
  --bg: #050403;
  --torch: #f5a623;
  --torch-hot: #ff6b3d;
  --text: #f8efe3;
  --text-soft: #9a8470;
  --tv-frame: #1c1210;
  --tv-bezel: #0a0706;
  --glow: rgba(245, 166, 35, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(245, 166, 35, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 107, 61, 0.08), transparent 50%),
    var(--bg);
}

a {
  color: var(--torch);
}

img {
  display: block;
  max-width: 100%;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--torch);
  color: #1a0f08;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Header —— */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 1.75rem);
  background: linear-gradient(180deg, rgba(5, 4, 3, 0.92), transparent);
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand img {
  width: 28px;
  height: 28px;
  opacity: 0.95;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.82rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--torch), var(--torch-hot));
  color: #1a0c06;
  box-shadow: 0 4px 24px rgba(245, 166, 35, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(245, 166, 35, 0.38);
}

/* —— Hero: TV dominates —— */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 3.5rem clamp(0.75rem, 2vw, 1.5rem) 2rem;
}

.tv-hero {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 0.5rem 0 1rem;
}

.tv-frame {
  width: min(88vw, 480px);
  max-width: 480px;
  margin: 0 auto;
  filter: drop-shadow(0 28px 64px rgba(0, 0, 0, 0.7));
}

.tv-cabinet {
  padding: clamp(0.55rem, 1.5vw, 0.85rem);
  border-radius: clamp(22px, 4vw, 32px);
  background: linear-gradient(165deg, #3a2818 0%, #221610 35%, #140c08 100%);
  border: 1px solid rgba(255, 190, 110, 0.14);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.65) inset,
    0 12px 0 rgba(0, 0, 0, 0.25);
}

.tv-bezel {
  padding: clamp(0.85rem, 2.2vw, 1.25rem) clamp(0.85rem, 2.2vw, 1.15rem) clamp(0.7rem, 1.8vw, 1rem);
  border-radius: clamp(14px, 2.5vw, 20px);
  background: linear-gradient(180deg, #1e1410 0%, #0c0806 100%);
  border: 2px solid rgba(0, 0, 0, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 200, 120, 0.08) inset,
    0 4px 16px rgba(0, 0, 0, 0.35) inset;
}

.tv-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14% / 12%;
  overflow: hidden;
  background: #0d0806;
  box-shadow:
    0 0 0 3px rgba(20, 12, 8, 0.95) inset,
    0 0 0 5px rgba(60, 40, 24, 0.5) inset,
    0 0 40px rgba(245, 166, 35, 0.12) inset;
}

/* Dungeon scene inside the TV */
.tv-scene {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1a0f0a 0%, #0a0604 100%);
}

.tv-scene__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 28% 72%, rgba(255, 140, 50, 0.55), transparent 60%),
    radial-gradient(ellipse 35% 45% at 72% 68%, rgba(255, 100, 40, 0.4), transparent 55%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(80, 40, 20, 0.5), transparent 70%);
  animation: torch-flicker 4s ease-in-out infinite;
}

.tv-scene__corridor {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 88%;
  height: 62%;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, #1a1008 0%, #2a1810 22%, #3d2418 50%, #2a1810 78%, #1a1008 100%);
  clip-path: polygon(8% 100%, 42% 18%, 58% 18%, 92% 100%);
  opacity: 0.9;
}

.tv-scene__fork {
  position: absolute;
  bottom: 8%;
  left: 50%;
  width: 2px;
  height: 45%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  box-shadow: -28px 0 0 rgba(0, 0, 0, 0.5), 28px 0 0 rgba(0, 0, 0, 0.5);
}

.tv-scene__party {
  position: absolute;
  bottom: 14%;
  left: 50%;
  width: 12px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 3px 3px 0 0;
  background: #f0c878;
  box-shadow:
    -14px 4px 0 -2px #c87840,
    14px 2px 0 -2px #a06030,
    0 -8px 0 -2px #e8b060;
}

.tv-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.18) 2px,
    rgba(0, 0, 0, 0.18) 4px
  );
}

.tv-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 88% 78% at 50% 45%, rgba(255, 255, 255, 0.07), transparent 58%);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.35);
}

.tv-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, transparent 38%, rgba(0, 0, 0, 0.62) 100%);
}

.tv-badge {
  position: absolute;
  top: clamp(0.65rem, 2vw, 1rem);
  left: clamp(0.65rem, 2vw, 1rem);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  font-size: clamp(0.62rem, 1.4vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffc8b0;
}

.tv-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4040;
  box-shadow: 0 0 8px #ff4040;
  animation: pulse-dot 1.4s ease-in-out infinite;
}

.tv-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(0.85rem, 2.5vw, 1.25rem) clamp(0.7rem, 1.8vw, 0.95rem);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  line-height: 1.2;
  color: #ffe8cc;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
}

.tv-face {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: clamp(0.55rem, 1.5vw, 0.85rem);
  padding: 0 0.15rem;
}

.tv-speaker {
  flex: 1;
  height: clamp(10px, 2vw, 14px);
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0,
    rgba(0, 0, 0, 0.55) 3px,
    rgba(255, 200, 120, 0.06) 3px,
    rgba(255, 200, 120, 0.06) 5px
  );
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}

.tv-dials {
  display: flex;
  gap: clamp(0.35rem, 1vw, 0.55rem);
  flex-shrink: 0;
}

.tv-dial {
  width: clamp(14px, 2.8vw, 20px);
  height: clamp(14px, 2.8vw, 20px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5a4030, #1a1008 70%);
  border: 1px solid rgba(255, 200, 120, 0.15);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tv-dial::after {
  content: "";
  display: block;
  width: 35%;
  height: 2px;
  margin: 42% auto 0;
  background: rgba(255, 220, 180, 0.35);
  transform: rotate(-32deg);
  border-radius: 1px;
}

.tv-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(0.35rem, 1vw, 0.65rem);
}

.tv-stand__neck {
  width: clamp(48px, 8vw, 72px);
  height: clamp(14px, 2.5vw, 22px);
  background: linear-gradient(90deg, #1a1008, #3a2418, #1a1008);
  border-radius: 2px;
}

.tv-stand__base {
  width: clamp(100px, 42%, 180px);
  height: clamp(10px, 1.4vw, 14px);
  margin-top: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a1810, #120a08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Copy below fold line — tight */
.hero-foot {
  width: 100%;
  max-width: 32rem;
  text-align: center;
  padding: 0.5rem 0 1rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--torch-hot);
}

h1 {
  margin: 0 0 0.45rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.notify-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 26rem;
  margin: 0 auto;
}

.notify-form input {
  flex: 1 1 160px;
  min-width: 0;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 200, 120, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}

.notify-form input::placeholder {
  color: var(--text-soft);
}

.notify-form input:focus {
  outline: 2px solid rgba(245, 166, 35, 0.45);
  outline-offset: 2px;
}

.notify-form .btn {
  flex: 0 0 auto;
}

.site-footer {
  padding: 1rem 1.5rem 1.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.site-footer p {
  margin: 0;
}

@keyframes torch-flicker {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.88; }
  70% { opacity: 0.95; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.85); }
}

@media (min-width: 720px) {
  .hero {
    padding-top: 3.25rem;
  }

  .tv-hero {
    flex: 1 1 auto;
    max-height: none;
  }

  .tv-frame {
    width: min(480px, calc(56vh * 1.28));
    max-width: 480px;
  }

  .hero-foot {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .brand span {
    display: none;
  }

  .notify-form {
    flex-direction: column;
    align-items: stretch;
  }

  .notify-form .btn {
    width: 100%;
  }
}
