:root {
  --ink: #070817;
  --cabinet: #101431;
  --panel: rgba(10, 14, 40, 0.82);
  --cyan: #4eeeff;
  --pink: #ff3bd5;
  --gold: #ffc336;
  --orange: #ff7a2f;
  --white: #f8fbff;
  --muted: #b9d5e9;
  --line: rgba(78, 238, 255, 0.28);
  --shadow-cyan: 0 0 18px rgba(78, 238, 255, 0.52);
  --shadow-pink: 0 0 22px rgba(255, 59, 213, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 59, 213, 0.28), transparent 26rem),
    radial-gradient(circle at 82% 20%, rgba(78, 238, 255, 0.23), transparent 28rem),
    linear-gradient(180deg, #060714 0%, #090a1c 45%, #14092a 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(78, 238, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 59, 213, 0.12) 1px, transparent 1px);
  background-size: 68px 68px;
  transform: perspective(640px) rotateX(58deg) translateY(34vh) scale(1.8);
  transform-origin: bottom;
  opacity: 0.68;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: screen;
}

.button,
.eyebrow,
h1,
h2,
h3,
.scoreboard,
.ticker {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
}

main {
  padding-top: 2.75rem;
}

.hero {
  min-height: calc(100vh - 2.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.2rem, 5vw, 4.5rem) clamp(1rem, 5vw, 5.5rem) clamp(2.6rem, 5vw, 4.5rem);
}

.hero-copy {
  min-width: 0;
  max-width: 63rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--cyan);
  font-size: clamp(0.95rem, 1.9vw, 1.18rem);
  text-shadow: var(--shadow-cyan);
}

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

h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  color: var(--pink);
  font-size: clamp(2.65rem, 5.9vw, 6.05rem);
  line-height: 0.9;
  overflow-wrap: break-word;
  text-shadow:
    0.04em 0.04em 0 #1b1445,
    0 0 24px rgba(255, 59, 213, 0.75);
}

h1 span {
  display: block;
}

.hero-lede {
  max-width: 45rem;
  color: var(--gold);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  line-height: 1.45;
  text-shadow: 0 0 15px rgba(255, 195, 54, 0.32);
}

.hero-actions,
.cta-section,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border: 2px solid;
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.44);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07), var(--shadow-cyan);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.button.secondary {
  border-color: var(--cyan);
  background: rgba(78, 238, 255, 0.12);
}

.book-stage {
  position: relative;
  display: grid;
  min-width: 0;
  justify-items: center;
  align-content: center;
  align-self: stretch;
  min-height: 31rem;
  perspective: 1200px;
}

.scoreboard {
  width: min(24rem, 100%);
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--cyan);
  color: var(--gold);
  background: rgba(0, 0, 0, 0.56);
  box-shadow: var(--shadow-cyan);
  align-self: end;
}

.scoreboard strong {
  color: var(--pink);
}

.book-cover {
  width: min(21rem, 78vw);
  margin-top: 1.35rem;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    -18px 22px 0 rgba(255, 59, 213, 0.24),
    18px 30px 0 rgba(78, 238, 255, 0.18),
    0 0 48px rgba(78, 238, 255, 0.42);
  transform: rotateY(-9deg) rotateZ(1deg);
}

.ticker {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 15;
  overflow: hidden;
  border-block: 1px solid var(--line);
  color: var(--ink);
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--pink));
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 120s linear infinite;
}

.ticker-set {
  display: flex;
  flex-shrink: 0;
  gap: 1.5rem;
  padding: 0.75rem 1rem;
}

.ticker span {
  white-space: nowrap;
}

.chip-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  background:
    linear-gradient(90deg, rgba(255, 59, 213, 0.12), transparent 38%),
    rgba(0, 0, 0, 0.22);
}

.chip-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 2.6rem;
  background: rgba(0, 0, 0, 0.35);
  box-shadow:
    0 0 0 10px rgba(248, 251, 255, 0.08),
    0 0 38px rgba(255, 195, 54, 0.24),
    0 0 54px rgba(78, 238, 255, 0.18);
}

.chip-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% 48%;
  filter: saturate(1.08) contrast(1.05);
}

.chip-copy {
  max-width: 58rem;
}

.chip-copy h2 {
  max-width: 13ch;
}

.chip-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  line-height: 1.72;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5.5rem);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

h2 {
  color: var(--gold);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  text-shadow: 0 0 22px rgba(255, 195, 54, 0.46);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  border: 2px solid rgba(78, 238, 255, 0.34);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(255, 59, 213, 0.18);
}

.feature-card {
  min-height: 17rem;
  padding: 1.25rem;
}

.card-icon {
  display: inline-grid;
  min-width: 3.1rem;
  min-height: 3.1rem;
  place-items: center;
  margin-bottom: 1rem;
  border: 2px solid var(--pink);
  color: var(--cyan);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-shadow: var(--shadow-cyan);
}

h3 {
  margin-bottom: 0.7rem;
  color: var(--cyan);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.feature-card p,
.preview-copy p,
.check-list {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}

.story-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 195, 54, 0.18), transparent 22rem),
    linear-gradient(180deg, rgba(255, 59, 213, 0.08), rgba(6, 7, 20, 0.18));
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(17rem, 0.52fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.story-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid rgba(255, 195, 54, 0.52);
  box-shadow: 0 0 34px rgba(255, 195, 54, 0.18), 0 0 44px rgba(255, 59, 213, 0.2);
}

.story-heading {
  max-width: 54rem;
}

.story-heading h2 {
  margin-bottom: 0.8rem;
}

.story-heading p:not(.eyebrow),
.story-panel p,
.story-panel li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.62;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.story-panel {
  padding: 1.15rem;
  border: 2px solid rgba(78, 238, 255, 0.28);
  background: rgba(10, 14, 40, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 195, 54, 0.12);
}

.story-panel-wide {
  grid-column: 1 / -1;
}

.story-panel h3,
.story-panel h4 {
  color: var(--gold);
}

.story-panel h4 {
  margin: 0 0 0.55rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.12rem;
  font-weight: 400;
  text-transform: uppercase;
}

.story-panel ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
}

.story-panel strong {
  color: var(--white);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.preview-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.preview-copy {
  max-width: 42rem;
}

.check-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--pink);
  content: ">";
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.cover-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.cover-pair img {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 32px rgba(255, 59, 213, 0.24);
}

.cover-pair img:nth-child(2) {
  transform: translateY(2rem);
}

.cta-section {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.32);
}

.cta-section h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.cta-actions {
  justify-content: flex-end;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .hero,
  .chip-section,
  .story-hero,
  .preview-section {
    grid-template-columns: 1fr;
  }

  .book-stage {
    min-height: auto;
  }

  .chip-media {
    width: min(100%, 34rem);
  }

  .feature-grid,
  .story-grid,
  .tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 2rem;
    overflow: hidden;
  }

  .hero-copy,
  .book-stage {
    width: min(100%, 21.5rem);
    max-width: calc(100vw - 2rem);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 11.4vw, 3.05rem);
    line-height: 0.96;
  }

  .scoreboard {
    width: min(100%, 21.5rem);
    font-size: 0.82rem;
  }

  .feature-grid,
  .story-grid,
  .tips-grid,
  .cover-pair {
    grid-template-columns: 1fr;
  }

  .cover-pair img:nth-child(2) {
    transform: none;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
