/* Episode One. Change the colors here. */
:root {
  --bg: #120b24;
  --panel: #1c1336;
  --line: #31255a;
  --text: #f5f0ff;
  --muted: #b5a9d6;
  --coral: #ff7e67;
  --violet: #8b5cf6;
  --peach: #ffc2a8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(700px 400px at 15% -10%, rgb(255 126 103 / 0.22), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgb(139 92 246 / 0.25), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--peach); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(820px, 100% - 32px); margin: 0 auto; padding: clamp(32px, 6vw, 72px) 0 32px; }

.show { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; margin-bottom: 40px; }
.cover svg { display: block; width: 150px; height: 150px; border-radius: 18px; box-shadow: 0 20px 50px rgb(255 126 103 / 0.25); }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--coral); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.kicker svg { width: 16px; height: 16px; }
h1 { margin: 0 0 8px; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.lead { margin: 0; color: var(--muted); }

.drop { padding: 32px clamp(20px, 4vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: rgb(28 19 54 / 0.7); text-align: center; }
.wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 64px; margin-bottom: 18px; }
.wave span { width: 6px; height: 20%; border-radius: 3px; background: linear-gradient(180deg, var(--coral), var(--violet)); animation: wave 1.2s ease-in-out infinite; }
.wave span:nth-child(3n) { animation-duration: 0.9s; }
.wave span:nth-child(4n) { animation-duration: 1.5s; }
.wave span:nth-child(5n) { animation-delay: -0.4s; }
.wave span:nth-child(7n) { animation-delay: -0.8s; }
.wave span:nth-child(2n) { animation-delay: -0.2s; }
.drop h2 { margin: 0 0 10px; color: var(--muted); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.countdown { display: flex; justify-content: center; gap: clamp(12px, 4vw, 36px); }
.countdown p { margin: 0; display: flex; flex-direction: column; }
.countdown span {
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, var(--peach));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.countdown small { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.status { margin: 18px 0 0; color: var(--peach); font-style: italic; }

.subscribe { margin-top: 40px; }
.subscribe h2 { margin: 0 0 14px; font-size: 1.3rem; }
.buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.sub { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); font-weight: 700; text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.sub:hover { border-color: var(--coral); transform: translateY(-2px); }
.sub svg { width: 20px; height: 20px; color: var(--coral); }

.news label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--muted); font-weight: 600; }
.news label svg { width: 18px; height: 18px; color: var(--coral); }
.row { display: flex; gap: 8px; }
.row input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); font: inherit; }
.row input::placeholder { color: var(--muted); }
.row input:focus-visible { outline-offset: 0; border-color: var(--coral); }
.row button { padding: 0 24px; border: 0; border-radius: 14px; background: linear-gradient(90deg, var(--coral), var(--violet)); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.note { min-height: 1.6em; margin: 10px 0 0; color: var(--peach); font-weight: 600; }

.foot { margin-top: 48px; color: var(--muted); font-size: 0.85rem; text-align: center; }

@media (max-width: 640px) {
  .show { grid-template-columns: 1fr; text-align: center; }
  .cover svg { margin: 0 auto; width: 120px; height: 120px; }
  .buttons { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  .row button { height: 50px; }
}

@keyframes wave { 50% { height: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .wave span { animation: none; height: 50%; }
  .wave span:nth-child(odd) { height: 80%; }
  .sub { transition: none; }
}
