:root {
  --bg: #070715;
  --bg-2: #110923;
  --text: #f8fbff;
  --muted: #aab8d8;
  --muted-2: #7f8fb8;
  --cyan: #6ff3ff;
  --violet: #9a6cff;
  --pink: #ff4fd8;
  --orange: #ffae40;
  --green: #70f0b6;
  --panel: rgba(16, 22, 54, 0.74);
  --panel-strong: rgba(20, 29, 70, 0.92);
  --line: rgba(172, 192, 255, 0.2);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(125deg, rgba(111, 243, 255, 0.18) 0 8%, transparent 8% 42%, rgba(255, 79, 216, 0.16) 42% 52%, transparent 52%),
    linear-gradient(32deg, transparent 0 58%, rgba(255, 174, 64, 0.13) 58% 70%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 52%, #050817 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.07), transparent 18%, transparent 78%, rgba(111, 243, 255, 0.06)),
    linear-gradient(170deg, transparent 0 68%, rgba(154, 108, 255, 0.2) 68% 84%, transparent 84%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  backdrop-filter: blur(22px);
}

.brand,
.nav-links,
.hero-actions,
.card-actions,
.footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 10%, transparent 11%),
    conic-gradient(from 130deg, var(--cyan), var(--violet), var(--pink), var(--orange), var(--cyan));
  box-shadow: 0 0 34px rgba(111, 243, 255, 0.45);
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.nav-links a,
.footer a {
  color: rgba(231, 238, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  color: var(--text);
}

.hero-section {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.88fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  padding: 64px 0 86px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions,
.card-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: #07101f;
  background: linear-gradient(135deg, var(--cyan), #d8fbff 42%, var(--orange));
  box-shadow: 0 18px 44px rgba(111, 243, 255, 0.2);
}

.button-secondary,
.button-quiet {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.button-quiet {
  background: rgba(255, 255, 255, 0.03);
}

.hero-showcase {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.energy-rail {
  position: absolute;
  width: min(52vw, 650px);
  height: 94px;
  border: 1px solid rgba(151, 192, 255, 0.22);
  background:
    linear-gradient(90deg, transparent, rgba(111, 243, 255, 0.14), rgba(255, 79, 216, 0.1), transparent),
    rgba(255, 255, 255, 0.025);
  transform: skewX(-18deg) rotate(-18deg);
  box-shadow: inset 0 0 52px rgba(111, 243, 255, 0.08);
}

.rail-one {
  top: 15%;
  right: -6%;
}

.rail-two {
  left: -8%;
  bottom: 17%;
  border-color: rgba(255, 79, 216, 0.28);
  transform: skewX(-18deg) rotate(15deg);
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.main-game-card {
  width: min(430px, 82vw);
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  transform: rotate(3deg);
}

.main-game-card > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main-game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 28%, rgba(5, 8, 23, 0.44) 100%),
    radial-gradient(circle at 12% 16%, rgba(111, 243, 255, 0.32), transparent 20%);
}

.game-glass {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(8, 13, 34, 0.74);
  backdrop-filter: blur(18px);
}

.game-glass img,
.game-title-row img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.game-glass strong {
  display: block;
  font-size: 18px;
}

.game-glass span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.prism-cut {
  position: absolute;
  width: 72px;
  height: 24px;
  clip-path: polygon(8% 0, 100% 0, 84% 100%, 0 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.prism-a {
  top: 16%;
  right: 16%;
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 34px rgba(111, 243, 255, 0.24);
  transform: rotate(-16deg);
}

.prism-b {
  left: 4%;
  bottom: 20%;
  background: linear-gradient(90deg, var(--pink), transparent);
  box-shadow: 0 0 46px rgba(255, 79, 216, 0.22);
  transform: rotate(18deg);
}

.prism-c {
  right: 8%;
  bottom: 18%;
  background: linear-gradient(90deg, var(--orange), transparent);
  box-shadow: 0 0 32px rgba(255, 174, 64, 0.24);
  transform: rotate(-32deg);
}

.section-band {
  padding: 92px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.game-card,
.shelf-card,
.principle-grid article,
.launch-strip,
.footer {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 38%),
    var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.game-card {
  min-height: 100%;
  display: grid;
  overflow: hidden;
  border-radius: 26px;
}

.game-card-featured {
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
}

.game-art {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.game-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 45%, rgba(11, 12, 34, 0.42) 100%);
}

.game-card-body {
  padding: clamp(24px, 4vw, 42px);
}

.game-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.game-card h3,
.principle-grid h3,
.launch-strip h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
}

.game-card p,
.principle-grid p,
.launch-strip p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.game-title-row p {
  margin: 8px 0 0;
}

.game-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
}

.game-stats div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.game-stats dt {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-stats dd {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 900;
}

.coming-card {
  position: relative;
  overflow: hidden;
}

.coming-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 28%, rgba(255, 79, 216, 0.16) 28% 40%, transparent 40%),
    linear-gradient(35deg, transparent 0 60%, rgba(111, 243, 255, 0.14) 60% 74%, transparent 74%);
}

.coming-visual {
  position: relative;
  height: 230px;
  display: grid;
  place-items: center;
}

.coming-visual span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  clip-path: polygon(8% 0, 100% 0, 86% 100%, 0 100%);
}

.coming-visual span:nth-child(1) {
  width: 200px;
  height: 92px;
  background: linear-gradient(100deg, rgba(111, 243, 255, 0.18), transparent 70%);
  transform: rotate(-14deg);
}

.coming-visual span:nth-child(2) {
  width: 142px;
  height: 66px;
  background: linear-gradient(100deg, rgba(255, 174, 64, 0.24), transparent 70%);
  transform: rotate(12deg);
}

.coming-visual span:nth-child(3) {
  width: 78px;
  height: 34px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 0 42px rgba(255, 79, 216, 0.42);
  transform: rotate(-7deg);
}

.coming-card .game-card-body {
  position: relative;
  padding-top: 12px;
}

.shelf-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, minmax(0, 0.92fr));
  gap: 18px;
}

.shelf-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.shelf-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(111, 243, 255, 0.14), transparent 36%),
    linear-gradient(25deg, transparent 0 58%, rgba(255, 79, 216, 0.13) 58% 74%, transparent 74%);
}

.shelf-card.active::before {
  background:
    linear-gradient(135deg, rgba(111, 243, 255, 0.22), transparent 32%),
    linear-gradient(25deg, transparent 0 52%, rgba(255, 174, 64, 0.18) 52% 72%, transparent 72%);
}

.shelf-card > * {
  position: relative;
}

.shelf-status {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #081126;
  background: linear-gradient(135deg, var(--cyan), #e7fbff);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shelf-card:not(.active) .shelf-status {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.shelf-card h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.shelf-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.principle-grid article {
  padding: 28px;
  border-radius: 24px;
}

.principle-icon {
  width: 42px;
  height: 42px;
  display: block;
  margin-bottom: 22px;
  border-radius: 15px;
}

.principle-icon.instant {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 30px rgba(111, 243, 255, 0.24);
}

.principle-icon.colorful {
  background: conic-gradient(from 40deg, var(--cyan), var(--violet), var(--pink), var(--orange), var(--cyan));
  box-shadow: 0 0 32px rgba(255, 79, 216, 0.24);
}

.principle-icon.review {
  background: linear-gradient(135deg, var(--orange), #fff1a0);
  box-shadow: 0 0 30px rgba(255, 174, 64, 0.26);
}

.launch-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0 92px;
  padding: clamp(26px, 5vw, 42px);
  border-radius: 28px;
  background:
    linear-gradient(140deg, transparent 0 58%, rgba(255, 174, 64, 0.18) 58% 70%, transparent 70%),
    linear-gradient(135deg, rgba(111, 243, 255, 0.13), rgba(255, 79, 216, 0.12)),
    var(--panel-strong);
}

.launch-strip p {
  margin-bottom: 0;
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 28px;
  padding: 24px;
  border-radius: 24px;
}

.footer p {
  max-width: 460px;
  margin: 8px 0 0;
  font-size: 14px;
}

.footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.content-page {
  padding: 72px 0 92px;
}

.content-hero {
  max-width: 860px;
  padding: 52px 0 34px;
}

.content-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.content-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.content-hero p:not(.content-kicker) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
    var(--panel);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.22);
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-card p {
  margin: 0;
}

.legal-card p + p {
  margin-top: 16px;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-card a {
  color: var(--cyan);
  font-weight: 800;
}

.contact-link {
  font-size: clamp(22px, 4vw, 36px);
  word-break: break-word;
}

@media (max-width: 940px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-section {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-showcase {
    min-height: 520px;
  }

  .game-grid,
  .game-card-featured,
  .shelf-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .game-art {
    min-height: 360px;
  }

  .launch-strip,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100vw - 24px, 1180px);
  }

  .topbar {
    position: relative;
  }

  .nav-links {
    gap: 12px 14px;
  }

  .hero-section {
    gap: 28px;
    padding: 34px 0 68px;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 15vw, 64px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-actions,
  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-showcase {
    min-height: 440px;
  }

  .energy-rail {
    width: 72vw;
  }

  .rail-one {
    right: 3%;
  }

  .rail-two {
    left: 3%;
  }

  .main-game-card {
    width: min(330px, 88vw);
    border-radius: 22px;
  }

  .game-glass {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .game-stats {
    grid-template-columns: 1fr;
  }

  .section-band {
    padding: 68px 0;
  }

  .game-art {
    min-height: 310px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .main-game-card {
    animation: floatCard 6s ease-in-out infinite;
  }

  .prism-a,
  .prism-b,
  .prism-c {
    animation: prismFlash 3.8s ease-in-out infinite;
  }

  .prism-b {
    animation-delay: 700ms;
  }

  .prism-c {
    animation-delay: 1200ms;
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }

  50% {
    transform: translateY(-14px) rotate(1.5deg);
  }
}

@keyframes prismFlash {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }
}
