@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@800;900&display=swap");

:root {
  color-scheme: dark;
  --bg: #170601;
  --bg-2: #2a0902;
  --panel: rgba(73, 18, 5, 0.42);
  --panel-strong: rgba(96, 24, 6, 0.62);
  --line: rgba(255, 110, 38, 0.22);
  --text: #fff4e8;
  --muted: #d4a58d;
  --orange: #ff6b22;
  --orange-2: #ff9b45;
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
  font-family:
    "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 100, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 100, 24, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(255, 88, 24, 0.23), transparent 32rem),
    linear-gradient(180deg, #220702 0%, #100201 56%, #1b0501 100%);
  background-size: 70px 70px, 70px 70px, auto, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.035) 0 1px,
      transparent 1px 4px
    ),
    radial-gradient(circle at 8% 14%, rgba(255, 93, 24, 0.2), transparent 12rem);
  mix-blend-mode: screen;
  opacity: 0.44;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 31%, rgba(255, 118, 38, 0.1) 31.2%, transparent 31.5%),
    linear-gradient(162deg, transparent 0 63%, rgba(255, 118, 38, 0.08) 63.1%, transparent 63.3%);
}

body.modal-open {
  overflow: hidden;
}

button,
a,
input,
video {
  cursor: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483647;
  pointer-events: none;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--orange);
  box-shadow: 0 0 16px rgba(255, 107, 34, 0.9);
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 107, 34, 0.78);
  transition:
    width 180ms ease,
    height 180ms ease,
    border-color 180ms ease;
}

.cursor-ring.is-active {
  width: 58px;
  height: 58px;
  border-color: rgba(255, 244, 232, 0.72);
}

.hero,
.section-shell,
footer {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 94vh;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 56px 0 86px;
  text-align: center;
}

.tag,
.section-kicker,
.meta,
footer small,
.book-caption,
.quote-card small,
.social {
  font-family: Consolas, "Courier New", monospace;
  letter-spacing: 0;
}

.tag {
  display: inline-flex;
  border: 1px solid var(--line);
  padding: 12px 22px;
  color: var(--orange-2);
  font-size: 0.78rem;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2,
footer strong {
  font-family: Orbitron, Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 54px 0 32px;
  font-size: 8.8rem;
  line-height: 0.92;
  text-shadow:
    0 0 24px rgba(255, 98, 21, 0.18),
    0 8px 0 rgba(0, 0, 0, 0.15);
}

h1 span {
  display: block;
  background:
    repeating-linear-gradient(
      0deg,
      var(--text) 0 5px,
      rgba(255, 244, 232, 0.72) 5px 8px
    );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 .orange,
h2 span,
footer span {
  background:
    repeating-linear-gradient(
      0deg,
      var(--orange) 0 5px,
      #ff450d 5px 8px
    );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-text {
  max-width: 760px;
  margin: 42px auto 0;
  font-size: 1.42rem;
  line-height: 1.65;
  text-wrap: balance;
}

.section-shell {
  padding: 88px 0;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  color: var(--orange);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.section-kicker::after {
  content: "";
  width: 86px;
  height: 1px;
  background: var(--line);
}

.synopsis {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.78fr);
  gap: 90px;
  align-items: center;
}

.copy-block h2,
.video-stage h2,
.readers h2,
.author h2,
.email-box h2 {
  margin: 0 0 28px;
  font-size: 4.8rem;
  line-height: 0.92;
}

.copy-block p,
.author-copy p {
  max-width: 720px;
  color: #fff3e5;
  font-size: 1.12rem;
  line-height: 1.9;
}

.copy-block strong,
.author-copy a {
  color: var(--orange);
}

.cta-button {
  min-width: 268px;
  min-height: 54px;
  margin-top: 34px;
  border: 1px solid rgba(255, 137, 67, 0.95);
  border-radius: 0;
  padding: 0 26px;
  color: #fff;
  background:
    linear-gradient(135deg, transparent 0 10px, var(--orange) 10px),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.1) 0 2px,
      transparent 2px 5px
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 32px rgba(255, 90, 26, 0.22);
  font-family: Consolas, "Courier New", monospace;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 0 42px rgba(255, 90, 26, 0.36);
}

.video-stage {
  position: relative;
  display: grid;
  justify-items: center;
  align-self: center;
  perspective: 1100px;
  text-align: center;
}

.video-stage::before {
  content: "1989";
  position: absolute;
  top: 20%;
  right: -16%;
  z-index: -1;
  color: rgba(255, 107, 34, 0.08);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 11rem;
  line-height: 0.86;
  writing-mode: vertical-rl;
}

.video-stage .section-kicker {
  justify-content: center;
}

.video-stage h2 {
  margin-top: 0;
  margin-bottom: 28px;
  font-size: 3.8rem;
  line-height: 0.9;
}

.video-frame {
  position: relative;
  width: min(430px, 82vw);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow:
    0 34px 70px var(--shadow),
    0 0 0 8px rgba(255, 86, 20, 0.04);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

.video-frame:hover {
  box-shadow:
    0 42px 86px rgba(0, 0, 0, 0.62),
    0 0 34px rgba(255, 92, 24, 0.24);
}

.featured-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0;
  color: #fff;
  background:
    radial-gradient(circle, rgba(255, 107, 34, 0.9), rgba(255, 107, 34, 0.58) 58%, rgba(255, 107, 34, 0.18) 60%),
    rgba(0, 0, 0, 0.34);
  box-shadow:
    0 0 0 10px rgba(255, 107, 34, 0.14),
    0 0 46px rgba(255, 107, 34, 0.62);
  transform: translate(-50%, -50%);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.video-play span {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 26px solid #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.video-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow:
    0 0 0 13px rgba(255, 107, 34, 0.16),
    0 0 58px rgba(255, 107, 34, 0.78);
}

.video-frame.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}

.book-caption {
  margin-top: 24px;
  border: 1px solid var(--line);
  padding: 10px 18px;
  color: var(--orange-2);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.readers {
  display: grid;
  gap: 58px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.quote-card {
  min-height: 300px;
  border: 1px solid var(--line);
  padding: 38px;
  background:
    linear-gradient(135deg, transparent 0 18px, var(--panel) 18px),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.025) 0 2px,
      transparent 2px 5px
    );
}

.quote-card span {
  display: block;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0.6;
}

.quote-card p {
  color: #fff1e4;
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.75;
}

.quote-card small {
  color: var(--orange);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.author {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 88px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding-inline: max(32px, calc((100% - 1240px) / 2));
  background:
    radial-gradient(ellipse at 4% 18%, rgba(0, 0, 0, 0.24), transparent 22rem),
    radial-gradient(ellipse at 90% 88%, rgba(0, 0, 0, 0.22), transparent 24rem),
    linear-gradient(180deg, rgba(255, 85, 20, 0.09), rgba(255, 85, 20, 0.16));
  border-top: 1px solid rgba(255, 107, 34, 0.14);
  border-bottom: 1px solid rgba(255, 107, 34, 0.14);
}

.author h2 {
  text-transform: none;
}

.author-photo {
  width: min(460px, 86vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  justify-self: center;
  border: 1px solid var(--line);
  filter: saturate(1.18) contrast(1.08);
  box-shadow: 0 34px 90px var(--shadow);
}

.social {
  margin-top: 28px;
  font-size: 0.9rem;
}

.social a {
  text-underline-offset: 5px;
}

footer {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 58px 0;
  text-align: center;
}

footer strong {
  font-size: 1.35rem;
}

footer small {
  color: var(--muted);
  font-size: 0.74rem;
}

.email-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--text);
  background: rgba(9, 2, 0, 0.76);
  backdrop-filter: blur(8px);
  cursor: none;
}

.email-modal[hidden] {
  display: none;
}

.email-box {
  position: relative;
  width: min(560px, 100%);
  border: 1px solid var(--line);
  padding: 34px;
  background: rgba(28, 5, 1, 0.96);
  box-shadow: 0 28px 120px rgba(0, 0, 0, 0.72);
}

.email-box h2 {
  margin-bottom: 14px;
  font-size: 2.55rem;
  line-height: 1;
}

.email-box p {
  color: var(--muted);
  line-height: 1.6;
}

.email-box label {
  display: block;
  margin: 24px 0 8px;
  color: var(--orange);
  font-family: Consolas, "Courier New", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.email-box input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  outline: none;
}

.email-box input:focus {
  border-color: rgba(255, 107, 34, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 107, 34, 0.12);
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.4rem;
}

.form-message {
  min-height: 24px;
  margin: 10px 0 -14px;
  color: var(--orange-2) !important;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  body {
    cursor: auto;
  }

  button,
  a,
  input,
  video {
    cursor: pointer;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .synopsis,
  .author,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section-shell {
    width: min(100% - 28px, 720px);
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    font-size: 4rem;
  }

  .hero-text {
    font-size: 1.12rem;
  }

  .synopsis,
  .author {
    gap: 42px;
  }

  .copy-block h2,
  .video-stage h2,
  .readers h2,
  .author h2 {
    font-size: 3rem;
  }

  .video-stage::before {
    right: 0;
    font-size: 7rem;
  }

  .section-kicker {
    flex-wrap: wrap;
  }

  .quote-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero,
  .section-shell {
    width: min(100% - 24px, 720px);
  }

  .section-shell {
    padding: 64px 0;
  }

  h1 {
    font-size: 3.1rem;
  }

  .copy-block h2,
  .video-stage h2,
  .readers h2,
  .author h2,
  .email-box h2 {
    font-size: 2.45rem;
  }

  .tag {
    padding: 10px 14px;
    font-size: 0.72rem;
  }

  .cta-button {
    width: 100%;
    min-width: 0;
  }

  .email-box {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
