:root {
  --bg0: #070612;
  --bg1: #0b0820;
  --panel: rgba(18, 10, 40, 0.72);
  --panel2: rgba(22, 12, 52, 0.62);
  --border: rgba(210, 170, 255, 0.24);
  --border2: rgba(255, 120, 255, 0.28);
  --text: rgba(250, 245, 255, 0.92);
  --muted: rgba(224, 212, 255, 0.72);

  --pink: #d47bff;
  --pink2: #ff4bd6;
  --blue: #4ad7ff;
  --green: #57ff8a;
  --orange: #ffb454;
  --red: #ff5a6e;

  --shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
  --pixel: "Press Start 2P", ui-monospace, "SFMono-Regular", Menlo, Consolas,
    "Liberation Mono", monospace;
  --ui: "Oxanium", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ui);
  color: var(--text);
  background: radial-gradient(1200px 900px at 12% 6%, #1a0f3e 0%, transparent 60%),
    radial-gradient(900px 700px at 85% 18%, #1b0a31 0%, transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 1000;
}
.skip:focus {
  left: 12px;
}

/* FX background layers */
.fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.fx__stars {
  position: absolute;
  inset: 0;
  opacity: 0.8;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 55% 15%, rgba(255, 255, 255, 0.6) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.3) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 80%, rgba(255, 255, 255, 0.45) 0 1px, transparent 2px);
  background-size: 520px 520px;
  filter: drop-shadow(0 0 10px rgba(210, 160, 255, 0.12));
  animation: drift 18s linear infinite;
}

.fx__nebula {
  position: absolute;
  inset: -10%;
  opacity: 0.55;
  background: radial-gradient(60% 50% at 25% 35%, rgba(212, 123, 255, 0.22), transparent 60%),
    radial-gradient(55% 45% at 72% 55%, rgba(74, 215, 255, 0.15), transparent 62%),
    radial-gradient(40% 40% at 55% 20%, rgba(255, 75, 214, 0.12), transparent 55%),
    radial-gradient(40% 40% at 40% 78%, rgba(87, 255, 138, 0.1), transparent 55%);
  filter: blur(8px) saturate(1.2);
  transform: translate3d(0, 0, 0);
}

.fx__grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(212, 123, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 123, 255, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  mix-blend-mode: screen;
  mask-image: radial-gradient(900px 600px at 50% 30%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  animation: gridDrift 12s linear infinite;
}

.fx__scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 2px,
    transparent 6px
  );
  mix-blend-mode: overlay;
}

.fx__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 900px at 50% 25%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: -160px 120px, -160px 120px, -320px 240px, -320px 240px;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-80px, 60px, 0);
  }
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(8, 6, 18, 0.78), rgba(8, 6, 18, 0.35));
  border-bottom: 1px solid rgba(210, 170, 255, 0.14);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}
.brand__icon {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 0 22px rgba(212, 123, 255, 0.22);
}
.brand__name {
  font-family: var(--pixel);
  letter-spacing: 0.06em;
  font-size: 14px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(212, 123, 255, 0.28);
}
.brand--sm .brand__icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
}
.brand--sm .brand__name {
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(210, 170, 255, 0.12);
  background: rgba(10, 8, 22, 0.35);
}
.nav a {
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(250, 245, 255, 0.84);
  padding: 8px 10px;
  border-radius: 10px;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}
.nav a:hover {
  transform: translateY(-1px);
  background: rgba(212, 123, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
}

.topbar__cta {
  display: flex;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(210, 170, 255, 0.18);
  background: rgba(18, 10, 40, 0.45);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 130ms ease, box-shadow 130ms ease, border-color 130ms ease,
    background 130ms ease;
  user-select: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
  border-color: rgba(212, 123, 255, 0.34);
}
.btn:active {
  transform: translateY(0px);
}

.btn--primary {
  border-color: rgba(255, 75, 214, 0.35);
  background: linear-gradient(180deg, rgba(255, 75, 214, 0.28), rgba(212, 123, 255, 0.16));
  box-shadow: 0 20px 60px rgba(255, 75, 214, 0.12), 0 16px 60px rgba(0, 0, 0, 0.35);
}
.btn--primary:hover {
  border-color: rgba(255, 75, 214, 0.55);
  box-shadow: 0 24px 90px rgba(255, 75, 214, 0.16), 0 16px 60px rgba(0, 0, 0, 0.35);
}
.btn--ghost {
  background: rgba(10, 8, 22, 0.25);
}

/* Hero */
.hero {
  padding: 74px 0 34px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(210, 170, 255, 0.16);
  background: rgba(10, 8, 22, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.tag__dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--pink2), var(--pink));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 0 22px rgba(255, 75, 214, 0.25);
}
.tag__text {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.hero__title {
  margin: 18px 0 10px;
  line-height: 1.02;
}
.hero__titleTop,
.hero__titleMain,
.hero__titleBottom {
  display: block;
  font-family: var(--pixel);
  letter-spacing: 0.04em;
}
.hero__titleTop {
  font-size: clamp(20px, 2.4vw, 26px);
  opacity: 0.9;
}
.hero__titleMain {
  font-size: clamp(36px, 4.2vw, 52px);
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 26px rgba(212, 123, 255, 0.28),
    0 0 42px rgba(255, 75, 214, 0.18);
}
.hero__titleBottom {
  font-size: clamp(18px, 2.2vw, 24px);
  opacity: 0.86;
}

.hero__lead {
  margin: 12px 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.hero__lead b {
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}

.statRow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.stat {
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(210, 170, 255, 0.14);
  background: rgba(10, 8, 22, 0.3);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.stat__k {
  font-family: var(--pixel);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
}
.stat__v {
  font-size: 13px;
  color: rgba(230, 218, 255, 0.7);
  line-height: 1.35;
}

/* Frames */
.frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(210, 170, 255, 0.18);
  background: rgba(18, 10, 40, 0.35);
  box-shadow: var(--shadow);
}
.frame--glow {
  box-shadow: 0 26px 120px rgba(255, 75, 214, 0.12), 0 22px 90px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 75, 214, 0.22);
}
.frame--soft {
  border-color: rgba(210, 170, 255, 0.14);
}
.frame__shine {
  position: absolute;
  inset: -20%;
  background: radial-gradient(500px 320px at 30% 25%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(520px 360px at 78% 68%, rgba(74, 215, 255, 0.08), transparent 55%),
    radial-gradient(520px 360px at 35% 72%, rgba(255, 75, 214, 0.08), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.9;
  transform: translate3d(0, 0, 0);
}

.frame--hero {
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.frame--hero .frame__shine {
  display: none;
}

.frame--hero .hero__video {
  width: 75%;
  margin-inline: auto;
  border-radius: 22px;
  box-shadow: 0 26px 120px rgba(255, 75, 214, 0.12), 0 22px 90px rgba(0, 0, 0, 0.55);
  animation: heroFloat 4.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

.hero__video {
  display: block;
  width: 100%;
  height: auto;
  transform: translateZ(0);
  opacity: 0;
  background: linear-gradient(180deg, rgba(18, 10, 40, 0.55), rgba(10, 8, 22, 0.25));
  transition: opacity 200ms ease;
}

.hero__video.is-ready {
  opacity: 1;
}

.tileRow {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: center;
}
.tile {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  image-rendering: pixelated;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(210, 170, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
  transition: transform 150ms ease, filter 150ms ease;
}
.tile:hover {
  transform: translateY(-2px) rotate(-0.5deg);
  filter: drop-shadow(0 0 18px rgba(212, 123, 255, 0.26));
}

/* Sections */
.section {
  padding: 60px 0;
}
.section--dense {
  padding: 44px 0 60px;
}
.section__head {
  margin-bottom: 22px;
}
.section__title {
  margin: 0 0 8px;
  font-family: var(--pixel);
  font-size: clamp(18px, 2.3vw, 22px);
  letter-spacing: 0.03em;
}
.section__sub {
  margin: 0;
  max-width: 70ch;
  line-height: 1.55;
  color: rgba(230, 218, 255, 0.72);
}

/* Our Gang */
.gang {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.gangCard {
  border-radius: 18px;
  border: 1px solid rgba(210, 170, 255, 0.14);
  background: linear-gradient(180deg, rgba(18, 10, 40, 0.55), rgba(10, 8, 22, 0.28));
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.35);
  padding: 12px 10px 10px;
  display: grid;
  justify-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 150ms ease, border-color 150ms ease, filter 150ms ease;
}

.gangCard::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(420px 260px at 30% 20%, rgba(212, 123, 255, 0.16), transparent 60%),
    radial-gradient(420px 260px at 80% 70%, rgba(74, 215, 255, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.gangCard:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 123, 255, 0.3);
  filter: drop-shadow(0 0 18px rgba(212, 123, 255, 0.18));
}
.gangCard:hover::after {
  opacity: 1;
}

.gangCard__img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  image-rendering: pixelated;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.gangCard__name {
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.9;
  text-align: center;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cards--stack {
  grid-template-columns: 1fr;
  gap: 12px;
}

.featuresLayout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.preview {
  border-radius: 18px;
  border: 1px solid rgba(210, 170, 255, 0.14);
  background: linear-gradient(180deg, rgba(18, 10, 40, 0.55), rgba(10, 8, 22, 0.25));
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.35);
  padding: 14px 14px 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.preview__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.preview__title {
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.preview__sub {
  font-size: 13px;
  color: rgba(230, 218, 255, 0.68);
  white-space: nowrap;
}

.preview__legend {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  color: rgba(230, 218, 255, 0.6);
  font-size: 12px;
}

.legendDot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.legendDot--pink {
  background: linear-gradient(180deg, var(--pink2), var(--pink));
}
.legendDot--green {
  background: linear-gradient(180deg, var(--green), rgba(87, 255, 138, 0.65));
}
.legendDot--blue {
  background: linear-gradient(180deg, var(--blue), rgba(74, 215, 255, 0.65));
}

.board {
  flex: 1;
  min-height: 0;
  width: min(380px, 100%);
  margin-inline: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 75, 214, 0.22);
  background:
    radial-gradient(900px 320px at 20% 18%, rgba(255, 75, 214, 0.18), transparent 60%),
    radial-gradient(900px 360px at 80% 75%, rgba(74, 215, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(18, 10, 40, 0.7), rgba(10, 8, 22, 0.35));
  box-shadow: 0 26px 120px rgba(255, 75, 214, 0.08), 0 22px 90px rgba(0, 0, 0, 0.55);
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.board::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(212, 123, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 123, 255, 0.18) 1px, transparent 1px);
  background-size: 40px 40px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.cell {
  border-radius: 14px;
  border: 1px solid rgba(210, 170, 255, 0.14);
  background: rgba(8, 6, 18, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.tileInCell {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 180ms ease, transform 180ms ease;
}
.tileInCell.is-on {
  opacity: 1;
  transform: scale(1);
}
.tileInCell.is-pop {
  animation: pop 260ms ease-out 1;
}
.tileInCell.is-slideL {
  animation: slideL 220ms ease-out 1;
}
.tileInCell.is-slideR {
  animation: slideR 220ms ease-out 1;
}
.tileInCell.is-slideU {
  animation: slideU 220ms ease-out 1;
}
.tileInCell.is-slideD {
  animation: slideD 220ms ease-out 1;
}

.tileInCell img {
  width: 78%;
  height: 78%;
  border-radius: 18px;
  image-rendering: pixelated;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

@keyframes pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes slideL {
  0% {
    transform: translate3d(10px, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes slideR {
  0% {
    transform: translate3d(-10px, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes slideU {
  0% {
    transform: translate3d(0, 10px, 0) scale(1);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes slideD {
  0% {
    transform: translate3d(0, -10px, 0) scale(1);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.card {
  border-radius: 18px;
  border: 1px solid rgba(210, 170, 255, 0.14);
  background: linear-gradient(180deg, rgba(18, 10, 40, 0.6), rgba(10, 8, 22, 0.35));
  padding: 16px 16px 14px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(520px 260px at 28% 30%, rgba(212, 123, 255, 0.18), transparent 60%),
    radial-gradient(520px 320px at 78% 70%, rgba(74, 215, 255, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}
.card:hover::after {
  opacity: 1;
}
.card__top {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.02em;
}
.badge--pink {
  border-color: rgba(255, 75, 214, 0.25);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.04), 0 0 24px rgba(255, 75, 214, 0.12);
}
.badge--blue {
  border-color: rgba(74, 215, 255, 0.25);
  box-shadow: 0 0 24px rgba(74, 215, 255, 0.1);
}
.badge--green {
  border-color: rgba(87, 255, 138, 0.25);
  box-shadow: 0 0 24px rgba(87, 255, 138, 0.09);
}
.badge--orange {
  border-color: rgba(255, 180, 84, 0.25);
  box-shadow: 0 0 24px rgba(255, 180, 84, 0.08);
}
.badge--red {
  border-color: rgba(255, 90, 110, 0.28);
  box-shadow: 0 0 24px rgba(255, 90, 110, 0.1);
}

.card__title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.card__text {
  margin: 0;
  line-height: 1.55;
  color: rgba(230, 218, 255, 0.7);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
}
.gallery__track {
  display: flex;
  gap: 6px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 6px;
  border-radius: 18px;
  border: 1px solid rgba(210, 170, 255, 0.14);
  background: rgba(10, 8, 22, 0.22);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.32);
  cursor: grab;
}
.gallery__track.is-dragging {
  cursor: grabbing;
}
.gallery__track::-webkit-scrollbar {
  height: 10px;
}
.gallery__track::-webkit-scrollbar-thumb {
  background: rgba(212, 123, 255, 0.18);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.shot {
  margin: 0;
  flex: 0 0 auto;
  width: min(280px, 70vw);
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(210, 170, 255, 0.14);
  background: rgba(18, 10, 40, 0.35);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.35);
  transform: translateZ(0);
}
.shot img {
  width: 100%;
  height: auto;
}

.gbtn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(210, 170, 255, 0.18);
  background: rgba(18, 10, 40, 0.45);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--pixel);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  transition: transform 130ms ease, border-color 130ms ease;
}
.gbtn:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 123, 255, 0.34);
}
.gbtn:active {
  transform: translateY(0);
}

.galleryHint {
  margin-top: 12px;
  color: rgba(230, 218, 255, 0.62);
  font-size: 13px;
}
.hintKey {
  font-family: var(--pixel);
  font-size: 10px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(210, 170, 255, 0.14);
  background: rgba(10, 8, 22, 0.3);
  margin-right: 6px;
}

/* About split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.poster {
  transform: translateZ(0);
}

.poster--about {
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  display: grid;
  place-items: center;
}

.poster--about .frame__shine {
  display: none;
}

.poster--about img {
  width: 60%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.55);
}

.bullets {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.bullet {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(210, 170, 255, 0.12);
  background: rgba(10, 8, 22, 0.22);
}
.bullet__icon {
  font-family: var(--pixel);
  color: rgba(255, 255, 255, 0.8);
  filter: drop-shadow(0 0 16px rgba(212, 123, 255, 0.24));
  margin-top: 2px;
}
.bullet__t {
  font-weight: 900;
  margin-bottom: 2px;
}
.bullet__d {
  color: rgba(230, 218, 255, 0.68);
  line-height: 1.45;
}

/* CTA */
.section--cta {
  padding: 44px 0 70px;
}
.cta {
  border-radius: 22px;
  border: 1px solid rgba(255, 75, 214, 0.24);
  background: radial-gradient(900px 360px at 15% 30%, rgba(255, 75, 214, 0.2), transparent 60%),
    radial-gradient(900px 360px at 82% 60%, rgba(74, 215, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(18, 10, 40, 0.65), rgba(10, 8, 22, 0.32));
  box-shadow: 0 30px 140px rgba(255, 75, 214, 0.08), 0 22px 90px rgba(0, 0, 0, 0.55);
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cta__title {
  margin: 0 0 6px;
  font-family: var(--pixel);
  font-size: 16px;
}
.cta__text {
  margin: 0;
  color: rgba(230, 218, 255, 0.72);
  line-height: 1.5;
  max-width: 64ch;
}
.cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(210, 170, 255, 0.14);
  background: rgba(8, 6, 18, 0.65);
  padding: 20px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer__meta {
  margin-top: 6px;
  color: rgba(230, 218, 255, 0.62);
  font-size: 13px;
}
.footer__right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer__link {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(210, 170, 255, 0.12);
  background: rgba(10, 8, 22, 0.22);
  color: rgba(255, 255, 255, 0.82);
  transition: transform 120ms ease, background 120ms ease;
}
.footer__link:hover {
  transform: translateY(-1px);
  background: rgba(212, 123, 255, 0.12);
}

/* Responsive */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .brand {
    min-width: unset;
  }
  .nav {
    display: none;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .featuresLayout {
    grid-template-columns: 1fr;
  }
  .gang {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
  .statRow {
    grid-template-columns: 1fr;
  }
  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .gbtn {
    display: none;
  }
}

@media (min-width: 981px) {
  /* Show 3 shots fully in the track area */
  .gallery__track {
    scroll-snap-type: x mandatory;
    scroll-padding: 6px;
  }

  .shot {
    width: calc((100% - 16px) / 3);
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fx__grid {
    animation: none;
  }
  .frame--hero .hero__video {
    animation: none;
  }
  .fx__stars {
    animation: none;
  }
  .btn,
  .nav a,
  .tile,
  .gbtn,
  .footer__link {
    transition: none;
  }
}

