:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-2: #0a101a;
  --panel: rgba(8, 13, 20, 0.72);
  --panel-strong: rgba(10, 15, 24, 0.92);
  --line: rgba(90, 220, 255, 0.16);
  --line-strong: rgba(118, 236, 255, 0.44);
  --text: #eff5ff;
  --muted: #a8bbd2;
  --cyan: #4fd8ff;
  --cyan-2: #1f7dff;
  --pink: #ff4fd8;
  --mx: 50%;
  --my: 32%;
  --glow-x: 50%;
  --glow-y: 34%;
  --wrap: 1240px;
  --radius: 34px;
  --shadow: 0 34px 120px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(79, 216, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 22% 18%, rgba(255, 79, 216, 0.13), transparent 18rem),
    radial-gradient(circle at 82% 16%, rgba(31, 125, 255, 0.14), transparent 22rem),
    linear-gradient(180deg, #04060b 0%, #07101a 52%, #030509 100%);
}

body::before,
body::after,
.fx {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  opacity: 0.17;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.046) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 76px);
  mask-image: linear-gradient(180deg, black, transparent 88%);
}

body::after {
  z-index: -1;
  opacity: 0.22;
  background:
    radial-gradient(circle at 50% 0%, rgba(79, 216, 255, 0.08), transparent 18rem),
    linear-gradient(115deg, transparent 0 39%, rgba(79, 216, 255, 0.08) 44%, transparent 49% 100%),
    linear-gradient(180deg, transparent 0 50%, rgba(255, 255, 255, 0.05) 50.3%, transparent 50.6%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.fx-grid {
  z-index: -1;
  opacity: 0.22;
  background:
    radial-gradient(circle at 50% 28%, rgba(79, 216, 255, 0.09), transparent 22rem),
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(79, 216, 255, 0.08) 59%, transparent 60%),
    repeating-linear-gradient(180deg, rgba(79, 216, 255, 0.08) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(90deg, rgba(79, 216, 255, 0.06) 0 1px, transparent 1px 120px);
  mask-image: radial-gradient(circle at 50% 45%, black 0 58%, transparent 80%);
}

.fx-orbit {
  z-index: -1;
  opacity: 0.9;
  background:
    radial-gradient(circle at 50% 50%, rgba(79, 216, 255, 0.1), transparent 9rem),
    radial-gradient(circle at 50% 50%, transparent 0 24%, rgba(79, 216, 255, 0.24) 24.2% 24.5%, transparent 24.7%),
    radial-gradient(circle at 50% 50%, transparent 0 33%, rgba(255, 79, 216, 0.14) 33.2% 33.5%, transparent 33.7%);
  filter: blur(2px) drop-shadow(0 0 18px rgba(79, 216, 255, 0.26));
  transform: scale(1.05);
}

.fx-scan {
  z-index: -1;
  opacity: 0.16;
  background:
    linear-gradient(180deg, transparent 0 38%, rgba(79, 216, 255, 0.06) 48%, transparent 58%),
    linear-gradient(180deg, transparent 0 74%, rgba(255, 255, 255, 0.07) 75%, transparent 76%);
  animation: scanDrift 8s linear infinite;
}

.landing {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 16px;
}

.shell {
  width: min(100%, var(--wrap));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(79, 216, 255, 0.16);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(12, 18, 29, 0.76), rgba(5, 9, 15, 0.9)),
    var(--panel);
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 32px 120px rgba(0, 0, 0, 0.64),
    0 0 60px rgba(79, 216, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.shell::before,
.shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shell::before {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(79, 216, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 50% 18%, rgba(79, 216, 255, 0.08), transparent 28rem),
    linear-gradient(115deg, transparent 0 40%, rgba(255, 79, 216, 0.09) 44%, transparent 50% 100%);
  mix-blend-mode: screen;
}

.shell::after {
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow:
    0 0 0 1px rgba(79, 216, 255, 0.08) inset,
    0 0 60px rgba(79, 216, 255, 0.08) inset;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
  max-width: 640px;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.title-block {
  position: relative;
  display: grid;
  padding-block: 8px 10px;
}

.title-block::before,
.title-block::after {
  content: "";
  position: absolute;
  left: 0;
  width: min(240px, 56vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 216, 255, 0.58), rgba(255, 79, 216, 0.36), transparent);
  opacity: 0.72;
}

.title-block::before {
  top: 0;
}

.title-block::after {
  bottom: 0;
}

h1 {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(3.8rem, 8.8vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  color: #f4f8ff;
  text-shadow:
    0 0 18px rgba(79, 216, 255, 0.18),
    0 0 44px rgba(79, 216, 255, 0.12),
    0 0 80px rgba(255, 79, 216, 0.08);
}

.lead {
  max-width: 560px;
  margin: 0;
  color: #d9e6f5;
  font-size: clamp(1.02rem, 1.65vw, 1.24rem);
  line-height: 1.68;
}

.cta-row {
  width: min(100%, 600px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.cta-card {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 118px;
  padding: 18px 20px 18px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel-strong);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 20px 60px rgba(0, 0, 0, 0.46);
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-card::before {
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.24) 46%, transparent 54% 100%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.06) 50%, transparent);
  transform: translateX(-120%);
  opacity: 0.42;
}

.cta-card::after {
  opacity: 0.95;
  filter: blur(16px);
  transform: scale(1.18);
}

.cta-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.cta-card:hover::before {
  animation: sweep 1.1s ease;
}

.cta-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.cta-card strong {
  font-family: "Oxanium", sans-serif;
  font-size: clamp(1.5rem, 2.7vw, 2.05rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.cta-card small {
  color: #d7e4f3;
  font-size: 0.96rem;
  line-height: 1.35;
}

.cta-card.twitch {
  border-color: rgba(79, 216, 255, 0.2);
}

.cta-card.twitch::after {
  background:
    radial-gradient(circle at 20% 35%, rgba(79, 216, 255, 0.34), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(31, 125, 255, 0.28), transparent 30%);
}

.cta-card.tiktok {
  border-color: rgba(255, 79, 216, 0.2);
}

.cta-card.tiktok::after {
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 79, 216, 0.34), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(79, 216, 255, 0.2), transparent 32%);
}

.cta-card.twitch:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 24px 70px rgba(0, 0, 0, 0.56),
    0 0 38px rgba(79, 216, 255, 0.22);
}

.cta-card.tiktok:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 24px 70px rgba(0, 0, 0, 0.56),
    0 0 38px rgba(255, 79, 216, 0.22);
}

.hero-visual {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.hero-card {
  width: min(100%, 520px);
  aspect-ratio: 1;
  position: relative;
  padding: 18px;
  border-radius: 36px;
  border: 1px solid rgba(79, 216, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(5, 9, 15, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 76px rgba(0, 0, 0, 0.58),
    0 0 48px rgba(79, 216, 255, 0.16);
  animation: float 7s ease-in-out infinite;
  overflow: hidden;
}

.hero-card::before,
.hero-card::after,
.hero-card-glow {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-card::before {
  background:
    linear-gradient(180deg, rgba(5, 9, 15, 0.18), rgba(5, 9, 15, 0.5)),
    url("/assets/skynet30-banner.png") center/cover no-repeat;
  filter: blur(16px) saturate(0.82) brightness(0.42);
  transform: scale(1.08);
  opacity: 0.85;
}

.hero-card::after {
  inset: 12px;
  border-radius: 24px;
  border: 1px solid rgba(79, 216, 255, 0.14);
  box-shadow: 0 0 30px rgba(79, 216, 255, 0.08) inset;
}

.hero-card-glow {
  background:
    radial-gradient(circle at 30% 18%, rgba(79, 216, 255, 0.26), transparent 18%),
    radial-gradient(circle at 72% 74%, rgba(255, 79, 216, 0.16), transparent 26%),
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, 0.08) 50%, transparent 56% 100%);
  mix-blend-mode: screen;
  opacity: 0.96;
}

.hero-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  filter: saturate(1.1) contrast(1.08) brightness(0.98);
}

.hero-caption {
  display: flex;
  width: min(100%, 520px);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px;
  color: #d8e4f3;
}

.hero-caption span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-caption strong {
  font-family: "Oxanium", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.18, 0.8, 0.2, 1);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes scanDrift {
  0% {
    transform: translateY(-1.5%);
  }
  50% {
    transform: translateY(1.5%);
  }
  100% {
    transform: translateY(-1.5%);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    width: min(100%, 460px);
  }

  .hero-caption {
    width: min(100%, 460px);
  }
}

@media (max-width: 720px) {
  .landing {
    place-items: start center;
    padding: 10px 10px 12px;
  }

  .shell {
    gap: 16px;
    padding: 14px;
    border-radius: 30px;
  }

  .hero-copy {
    gap: 14px;
    text-align: center;
    justify-items: center;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  .title-block {
    padding-block: 4px 8px;
    justify-items: center;
  }

  .title-block::before,
  .title-block::after {
    left: 50%;
    transform: translateX(-50%);
    width: min(220px, 56vw);
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.9rem);
  }

  .lead {
    max-width: 34rem;
    font-size: 0.98rem;
  }

  .cta-row {
    width: 100%;
    gap: 10px;
  }

  .cta-card {
    min-height: 92px;
    padding: 14px 14px 14px 16px;
    border-radius: 24px;
  }

  .cta-card strong {
    font-size: 1.3rem;
  }

  .cta-card small {
    font-size: 0.84rem;
  }

  .hero-card {
    width: min(100%, 240px);
    border-radius: 30px;
    padding: 12px;
  }

  .hero-caption {
    width: 100%;
    padding: 0 2px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }
}
