:root {
  color-scheme: dark;
  --bg: #030308;
  --panel: rgba(12, 14, 28, 0.76);
  --line: rgba(113, 238, 255, 0.22);
  --text: #f5fbff;
  --muted: #a9b7c7;
  --cyan: #22efff;
  --blue: #4578ff;
  --magenta: #df4dff;
  --pink: #ff5adf;
  --success: #4df6a2;
  --danger: #ff6c8e;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 239, 255, 0.14), transparent 32rem),
    radial-gradient(circle at 82% 8%, rgba(223, 77, 255, 0.16), transparent 30rem),
    linear-gradient(180deg, #000 0%, var(--bg) 46%, #05040a 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.has-cookie-banner {
  padding-bottom: var(--cookie-banner-space, 130px);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 80%);
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  transform: translateY(calc(-100% - 2rem));
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: var(--cyan);
  color: #001015;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.16s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 18px max(20px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.24));
  backdrop-filter: blur(18px);
}

.brand img {
  width: 146px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(34, 239, 255, 0.34));
}

.main-nav,
.footer-grid nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.2vw, 1.5rem);
}

.main-nav a,
.footer-grid a,
.link-button {
  color: var(--muted);
  text-decoration: none;
  font: inherit;
  font-size: 0.88rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.main-nav a:hover,
.footer-grid a:hover,
.link-button:hover,
.lead a,
.policy-content a,
.email-link {
  color: var(--cyan);
}

.section-band {
  position: relative;
  overflow: clip;
  padding: clamp(74px, 10vw, 140px) 0;
}

.hero {
  min-height: 96svh;
  display: grid;
  align-items: center;
  padding-top: 120px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(34, 239, 255, 0.12) 58% 59%, transparent 59%),
    linear-gradient(65deg, transparent 0 64%, rgba(223, 77, 255, 0.12) 64% 65%, transparent 65%);
}

.hero-orbit {
  position: absolute;
  right: -18vw;
  top: 14vh;
  width: min(62vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(34, 239, 255, 0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(69, 120, 255, 0.2), 0 0 70px rgba(223, 77, 255, 0.18);
  animation: pulse 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 1.3rem;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.hero-copy,
.lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
  max-width: 680px;
}

.hero-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  color: #030308;
  box-shadow: 0 0 30px rgba(34, 239, 255, 0.22), 0 0 38px rgba(223, 77, 255, 0.18);
}

.button-ghost {
  border: 1px solid var(--line);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metrics span {
  min-width: 128px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: rgba(3, 3, 8, 0.62);
  color: var(--muted);
  border-radius: 6px;
}

.hero-metrics strong {
  display: block;
  color: var(--text);
  font-size: 1.5rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.game-section,
.contact-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.04));
}

.game-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.game-copy {
  align-self: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.tag-row span {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(223, 77, 255, 0.35);
  border-radius: 999px;
  background: rgba(223, 77, 255, 0.08);
  color: #f4dbff;
  font-size: 0.9rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
  --store-badge-width: 208px;
  --store-badge-height: 64px;
}

.store-flip {
  display: block;
  width: var(--store-badge-width);
  height: var(--store-badge-height);
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  perspective: 900px;
}

.store-flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

.store-flip-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.store-badge {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-flip-back {
  grid-template-rows: auto auto;
  align-content: center;
  gap: 0.18rem;
  border: 1px solid rgba(113, 238, 255, 0.32);
  background: linear-gradient(135deg, rgba(34, 239, 255, 0.16), rgba(223, 77, 255, 0.18)), #050509;
  color: var(--text);
  font-size: clamp(0.84rem, 1vw, 0.96rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotateY(180deg);
  box-shadow: inset 0 0 28px rgba(34, 239, 255, 0.1), 0 0 24px rgba(223, 77, 255, 0.12);
}

.store-flip-back small {
  color: var(--cyan);
  font-size: 0.68em;
  letter-spacing: 0.04em;
}

.store-flip:focus-visible {
  outline: 2px solid rgba(34, 239, 255, 0.72);
  outline-offset: 4px;
}

.store-flip.is-flipped .store-flip-inner,
.store-flip:focus-visible .store-flip-inner {
  transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .store-flip:hover .store-flip-inner {
    transform: rotateY(180deg);
  }
}

.game-icon-showcase {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.game-icon-showcase img {
  width: min(64vw, 300px);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24%;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.46), 0 0 62px rgba(34, 239, 255, 0.18), 0 0 46px rgba(223, 77, 255, 0.14);
}

.screenshot-slider {
  grid-column: 1 / -1;
  min-width: 0;
  position: relative;
  margin-top: clamp(0.2rem, 2vw, 1.2rem);
}

.screenshot-slider::before,
.screenshot-slider::after {
  position: absolute;
  top: 0.2rem;
  bottom: 1rem;
  z-index: 2;
  width: clamp(48px, 8vw, 120px);
  pointer-events: none;
  content: "";
  opacity: 0;
  transition: opacity 0.18s ease;
}

.screenshot-slider::before {
  left: 0;
  background: linear-gradient(90deg, rgba(4, 4, 10, 0.92), rgba(4, 4, 10, 0));
}

.screenshot-slider::after {
  right: 0;
  background: linear-gradient(270deg, rgba(4, 4, 10, 0.92), rgba(4, 4, 10, 0));
  opacity: 1;
}

.screenshot-slider.is-scrolled::before {
  opacity: 1;
}

.screenshot-track {
  display: flex;
  max-width: 100%;
  min-width: 0;
  gap: clamp(0.75rem, 1.7vw, 1.25rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 0 clamp(24px, 5vw, 70px);
  scroll-snap-type: x proximity;
  padding: 0.2rem clamp(24px, 5vw, 70px) 1rem 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.screenshot-track::-webkit-scrollbar {
  display: none;
}

.screenshot-track img {
  flex: 0 0 auto;
  width: clamp(190px, 20vw, 250px);
  aspect-ratio: 9 / 16;
  height: auto;
  border: 1px solid rgba(113, 238, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
  object-fit: cover;
  scroll-snap-align: start;
}

.game-panel,
.contact-form,
.studio-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 0 45px rgba(34, 239, 255, 0.08), inset 0 0 30px rgba(223, 77, 255, 0.05);
}

.game-panel {
  position: relative;
  min-height: 420px;
  padding: 1.1rem;
  overflow: hidden;
}

.scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 8px);
  opacity: 0.4;
}

.panel-topline,
.panel-stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
}

.factory-map {
  position: relative;
  min-height: 295px;
  margin: 1rem 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(rgba(34, 239, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 239, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

.node,
.belt {
  position: absolute;
  display: block;
}

.node {
  width: 74px;
  aspect-ratio: 1;
  border: 2px solid var(--cyan);
  background: rgba(34, 239, 255, 0.14);
  box-shadow: 0 0 24px rgba(34, 239, 255, 0.4);
}

.node::after {
  position: absolute;
  inset: 18px;
  content: "";
  background: var(--pink);
  box-shadow: 0 0 22px rgba(255, 90, 223, 0.7);
}

.node-a { left: 10%; top: 16%; }
.node-b { right: 12%; top: 20%; }
.node-c { left: 24%; bottom: 14%; }
.node-d { right: 24%; bottom: 12%; }

.belt {
  height: 10px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--magenta));
  box-shadow: 0 0 20px rgba(34, 239, 255, 0.48);
  transform-origin: left center;
}

.belt-one { left: 22%; top: 30%; width: 52%; transform: rotate(5deg); }
.belt-two { left: 34%; top: 56%; width: 34%; transform: rotate(-24deg); }
.belt-three { left: 29%; bottom: 26%; width: 42%; transform: rotate(8deg); }

.panel-stats {
  color: var(--muted);
}

.panel-stats strong {
  color: var(--text);
}

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

.studio-grid article {
  padding: 1.4rem;
}

.studio-grid p,
.site-footer p,
.policy-content li {
  color: var(--muted);
}

.company-details {
  display: grid;
  gap: 0.2rem;
  margin: 0.8rem 0 0;
  color: #78879a;
  font-size: 0.82rem;
  line-height: 1.45;
}

.company-details a {
  color: inherit;
  text-decoration: none;
}

.company-details a:hover {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.8rem);
}

.contact-email-note .email-link,
.contact-email-note a.email-link {
  color: #c6d1df;
  text-decoration-color: rgba(198, 209, 223, 0.34);
}

.contact-email-note .email-link:hover,
.contact-email-note a.email-link:hover {
  color: var(--cyan);
}

.contact-form label {
  display: grid;
  gap: 0.38rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(113, 238, 255, 0.24);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--text);
  font: inherit;
  padding: 0.9rem 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #88a8bd;
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(34, 239, 255, 0.45);
  border-color: var(--cyan);
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.notice {
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-weight: 700;
}

.notice.success {
  border: 1px solid rgba(77, 246, 162, 0.35);
  background: rgba(77, 246, 162, 0.1);
  color: var(--success);
}

.notice.error {
  border: 1px solid rgba(255, 108, 142, 0.35);
  background: rgba(255, 108, 142, 0.1);
  color: var(--danger);
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #020205;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand nav"
    "legal nav";
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  grid-area: brand;
}

.footer-grid nav {
  grid-area: nav;
}

.company-details {
  grid-area: legal;
}

.policy-main {
  padding: 120px 0 80px;
}

.policy-content {
  max-width: 860px;
}

.policy-content h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.policy-content h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.policy-content ul {
  padding-left: 1.3rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1rem, 2.4vw, 1.9rem) max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(34, 239, 255, 0.26);
  background:
    linear-gradient(90deg, rgba(34, 239, 255, 0.08), transparent 34%, rgba(223, 77, 255, 0.09)),
    rgba(3, 3, 8, 0.96);
  box-shadow: 0 -18px 45px rgba(0, 0, 0, 0.42), 0 0 40px rgba(34, 239, 255, 0.08);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.6vw, 1.2rem);
}

.cookie-banner a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.cookie-banner .cookie-actions {
  flex-wrap: nowrap;
  gap: 1rem;
}

.cookie-banner .button {
  min-width: 136px;
  min-height: 54px;
  border-radius: 6px;
  font-size: 1rem;
}

.cookie-banner .button-ghost {
  border: 1px solid rgba(113, 238, 255, 0.42);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  box-shadow: inset 0 0 18px rgba(34, 239, 255, 0.05);
}

.cookie-banner .button-primary {
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  color: #08070d;
  box-shadow: 0 0 30px rgba(34, 239, 255, 0.18), 0 0 30px rgba(223, 77, 255, 0.14);
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.035);
  }
}

@media (max-width: 880px) {
  .site-header {
    position: sticky;
    flex-direction: row;
    align-items: center;
    padding: 14px 20px;
  }

  .main-nav {
    width: auto;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .split,
  .split.reverse,
  .studio-grid,
  .game-showcase {
    grid-template-columns: 1fr;
  }

  .game-icon-showcase {
    order: 0;
    grid-column: 1 / -1;
    min-height: 280px;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .game-copy {
    order: 1;
  }

  .screenshot-slider {
    order: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "legal";
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-grid nav {
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: 0.55rem;
  }

  .footer-grid a,
  .footer-grid .link-button {
    font-size: 0.8rem;
  }

  .company-details {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

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

  .game-panel {
    min-height: 340px;
  }

  .panel-stats,
  .panel-topline,
  .hero-metrics {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .site-header {
    gap: 0.75rem;
  }

  .brand img {
    width: 112px;
  }

  .main-nav {
    gap: 0.8rem;
  }

  .main-nav a {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .hero-content {
    margin-left: auto;
  }

  .hero-copy,
  .lead {
    font-size: 1rem;
  }

  .hero-metrics span {
    min-width: 0;
  }

  .factory-map {
    min-height: 230px;
  }

  .store-buttons {
    display: flex;
    --store-badge-width: min(208px, calc((100vw - 44px) / 2));
    --store-badge-height: calc(var(--store-badge-width) * 86 / 280);
  }

  .store-badge {
    width: var(--store-badge-width);
    height: var(--store-badge-height);
  }

  .game-icon-showcase {
    min-height: 240px;
  }

  .game-icon-showcase img {
    width: min(62vw, 220px);
  }

  .screenshot-slider {
    width: calc(100% + 14px);
    margin-left: 0;
    margin-top: 2.25rem;
  }

  .screenshot-slider::before {
    background: linear-gradient(90deg, rgba(4, 4, 10, 0.76), rgba(4, 4, 10, 0));
  }

  .screenshot-slider::after {
    background: linear-gradient(270deg, rgba(4, 4, 10, 0.76), rgba(4, 4, 10, 0));
  }

  .screenshot-track {
    gap: 0.8rem;
    scroll-padding-inline: 0 14px;
    padding-inline: 0 14px;
  }

  .screenshot-track img {
    width: min(62vw, 230px);
    border-radius: 20px;
  }

  .node {
    width: 56px;
  }

  .node::after {
    inset: 14px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    padding: 1rem 14px;
  }

  body.has-cookie-banner {
    padding-bottom: var(--cookie-banner-space, 230px);
  }

  .cookie-banner .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .cookie-banner .button {
    min-width: 0;
    width: 100%;
  }
}
