:root {
  --bg-primary: #0a0b0f;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-border: rgba(255, 255, 255, 0.06);
  --text-primary: #e8e6e1;
  --text-secondary: rgba(232, 230, 225, 0.55);
  --text-dim: rgba(232, 230, 225, 0.3);
  --accent: #fbf300;
  --accent-dim: rgba(251, 243, 0, 0.10);
  --mono: 'JetBrains Mono', monospace;
  --sans: 'DM Sans', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  background: var(--bg-primary);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(251, 243, 0, 0.02) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(40, 60, 120, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.cover { margin-bottom: 40px; }

.cover img {
  width: 550px;
  max-width: 90vw;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6))
         drop-shadow(0 4px 20px rgba(251, 243, 0, 0.05));
}

.tagline {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.9;
}

.hook {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 12px;
  color: var(--text-primary);
  max-width: 520px;
}

.hook em { font-style: italic; color: var(--accent); }

.sub-hook {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.top-cta {
  display: inline-block;
  padding: 11px 28px;
  border: 1px solid rgba(251, 243, 0, 0.3);
  border-radius: 6px;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
  background: var(--accent-dim);
}

.top-cta:hover {
  background: rgba(251, 243, 0, 0.18);
  border-color: rgba(251, 243, 0, 0.5);
}

/* ── Divider ── */
.divider {
  width: 40px;
  height: 1px;
  background: var(--bg-card-border);
  margin: 48px auto;
}

/* ── Synopsis ── */
.synopsis-label, .excerpt-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.synopsis p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.75;
}

.synopsis p:last-child { margin-bottom: 0; }

/* ── World image ── */
.world-image {
  text-align: center;
}

.world-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(251, 243, 0, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(251, 243, 0, 0.03);
}

/* ── Excerpt ── */
.excerpt-text { position: relative; }

.excerpt-text p {
  font-size: 0.98rem;
  color: rgba(232, 230, 225, 0.45);
  margin-bottom: 16px;
  line-height: 1.8;
}

.excerpt-text .first-line {
  font-style: normal;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.excerpt-preview { position: relative; }

.excerpt-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.excerpt-hidden {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.excerpt-hidden.visible {
  display: block;
  opacity: 1;
}

/* ── Subscribe gate ── */
.subscribe-gate {
  text-align: center;
  margin: 40px 0 0;
}

.subscribe-gate.hidden { display: none; }

.subscribe-box {
  border: 1px solid var(--bg-card-border);
  background: var(--bg-card);
  border-radius: 8px;
  padding: 36px 28px;
}

.subscribe-heading {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
  text-align: center;
}

.subscribe-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
  text-align: center;
}

.subscribe-sub strong { color: var(--accent); font-weight: 500; }

/* ── Form styling ── */
.gate-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
}

.form-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 400;
}

.gate-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
  margin-bottom: 14px;
}

.gate-form input[type="email"]::placeholder {
  color: var(--text-dim);
}

.gate-form input[type="email"]:focus {
  border-color: rgba(251, 243, 0, 0.4);
}

.gate-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 16px;
  cursor: pointer;
}

.gate-form .consent input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.gate-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--sans);
  background: var(--accent);
  color: #0a0b0f;
  cursor: pointer;
  transition: opacity 0.2s ease;
  margin-bottom: 12px;
}

.gate-form button:hover { opacity: 0.88; }

.form-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
}

/* ── Unlocked message ── */
.unlocked-msg {
  display: none;
  text-align: center;
  margin: 32px 0 0;
  padding: 16px 24px;
  border: 1px solid rgba(251, 243, 0, 0.15);
  border-radius: 6px;
  background: rgba(251, 243, 0, 0.05);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.unlocked-msg.visible { display: block; }

/* ── Countdown ── */
.countdown-section {
  text-align: center;
  padding: 32px 0;
}

.countdown-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 20px rgba(251, 243, 0, 0.15);
}

.countdown-unit {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

.countdown-sep {
  font-family: var(--mono);
  font-size: 1.6rem;
  color: rgba(251, 243, 0, 0.25);
  line-height: 1;
  align-self: flex-start;
  padding-top: 2px;
}

/* ── Privacy ── */
.privacy {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bg-card-border);
}

.privacy-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.privacy p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease forwards;
}

.fade-in-d1 { animation-delay: 0.1s; }
.fade-in-d2 { animation-delay: 0.25s; }
.fade-in-d3 { animation-delay: 0.4s; }
.fade-in-d4 { animation-delay: 0.55s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .page { padding: 40px 18px 60px; }
  .cover img { width: 420px; }
  .hook { font-size: 1.3rem; }
  .subscribe-box { padding: 28px 20px; }
  .countdown-number { font-size: 1.5rem; }
  .countdown-timer { gap: 16px; }
  .countdown-sep { font-size: 1.2rem; }
}
