/* Black steel surfaces, with lime reserved for signals and interaction. */
.hood-theme {
  --hood-accent: #ccff00;
  background: #000;
  isolation: isolate;
}

.hood-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 72% 0%, #141414, transparent 52%), #000;
}

.hood-atmosphere::before,
.hood-atmosphere::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hood-atmosphere::before {
  inset: -8%;
  background:
    repeating-linear-gradient(90deg, #ffffff13 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, #ffffff13 0 1px, transparent 1px 56px);
  mask-image: radial-gradient(ellipse at 76% 18%, #000, transparent 68%);
}

.hood-atmosphere::after {
  inset: -22% 0 auto;
  height: 22%;
  background: linear-gradient(transparent, #ffffff09 72%, #ffffff22 99%, transparent);
}

.hood-theme :is(h1, .hero h2) {
  text-shadow: 0 2px 24px #000, 0 0 32px #ffffff14;
}

.hood-theme :is(.button, .primary, #paper-buy, #holder-connect, #radio-play, .hq-pin-primary):not(:disabled) {
  transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.hood-theme :is(.button, .primary, #paper-buy, #holder-connect, #radio-play, .hq-pin-primary):is(:hover, :focus-visible):not(:disabled) {
  box-shadow: 0 0 20px #ccff0028, inset 0 0 12px #ffffff0a;
}

.hood-theme :is(.games-overview, .scout, .intro, .heading, .neural-deck) {
  border-top-color: #777;
}

@media (prefers-reduced-motion: no-preference) {
  .hood-atmosphere::before {
    animation: hood-grid-drift 22s ease-in-out infinite alternate;
  }

  .hood-atmosphere::after {
    animation: hood-scan 16s linear infinite;
  }

  .hood-theme :is(.hero, .intro, .heading, .wrap > h1) {
    animation: hood-arrival .75s cubic-bezier(.2, .7, .2, 1) both;
  }

  @supports (animation-timeline: view()) {
    .hood-theme :is(.games-overview, .scout, .scout-promo, .roadmap, .security-section, .arena, .neural-deck) {
      animation: hood-arrival linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
  }
}

@keyframes hood-grid-drift {
  from { transform: translate3d(-1.5%, -1%, 0); }
  to { transform: translate3d(1.5%, 1%, 0); }
}

@keyframes hood-scan {
  from { transform: translateY(0); }
  to { transform: translateY(122vh); }
}

@keyframes hood-arrival {
  from { opacity: .75; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hood-theme :is(.button, .primary, #holder-connect, #paper-buy, #radio-play, .hq-pin-primary),
.hood-theme .scout-controls .section-head button,
.hood-theme .radio-controls button:first-child {
  background: #101010;
  color: var(--hood-accent);
  border-color: #777;
}

.hood-theme :is(.button, .primary, #holder-connect, #paper-buy, #radio-play, .hq-pin-primary):hover:not(:disabled),
.hood-theme .radio-controls button:first-child:hover:not(:disabled) {
  background: #1a1a1a;
  color: var(--hood-accent);
  border-color: var(--hood-accent);
}

.hood-theme :is(.edition, .mark, .free, .ticker, .founder-portrait) {
  background: #101010;
  color: var(--hood-accent);
}

.hood-theme .clock.active {
  background: #202020;
  color: var(--hood-accent);
  border-color: var(--hood-accent);
}

.hood-theme .hero-feature {
  box-shadow: 0 18px 65px #000, 0 0 0 1px #ffffff1a;
}

.hood-theme :is(.games-club-list a, .card) {
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.hood-theme :is(.games-club-list a, a.card):is(:hover, :focus-visible) {
  border-color: var(--hood-accent);
  box-shadow: inset 3px 0 var(--hood-accent), 0 0 24px #ffffff12;
}

@media (prefers-reduced-motion: reduce) {
  .hood-theme :is(.button, .primary, #paper-buy, #holder-connect, #radio-play, .hq-pin-primary, .games-club-list a, .card) {
    transition: none;
  }
}

.hood-theme .hero-copy h1.tagline {
  max-width: 10ch;
  margin-bottom: 24px;
  font-family: "Barlow Condensed", Manrope, Arial, sans-serif;
  font-size: clamp(3.5rem, 6.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .92;
  color: #f5f5f5;
  text-wrap: balance;
}

.hood-theme .hero.informative .hero-feature {
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid #333;
  background: linear-gradient(125deg, #111111a8, #00000069);
}

.hood-theme .hero.informative .hero-feature video {
  border-color: #484848;
  box-shadow: 0 12px 30px #000a;
}

@media (max-width: 760px) {
  .hood-theme .hero-copy h1.tagline {
    font-size: clamp(3rem, 10vw, 4.5rem);
  }
}
