:root {
  --bg:        #0a0612;
  --bg-2:      #120a24;
  --panel:     #16102b;
  --panel-2:   #1d1538;
  --ink:       #f3edff;
  --muted:     #a89cc8;
  --line:      rgba(255,255,255,0.08);

  --magenta:   #ff3ea5;
  --cyan:      #2ff3ff;
  --yellow:    #ffd23f;
  --violet:    #9d4edd;
  --green:     #45f57a;

  --maxw: 1120px;
  --pixel: "Press Start 2P", monospace;
  --sans: "Rubik", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 0%, rgba(157,78,221,0.25), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(47,243,255,0.14), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(255,62,165,0.18), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.025) 0px,
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.6;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(10,6,18,0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  font-family: var(--pixel);
  font-size: 13px; letter-spacing: 1px;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand .dot {
  width: 12px; height: 12px; border-radius: 2px;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.cta { color: #fff; }
@media (max-width: 760px) { .nav-links a:not(.cta) { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 10px;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 8px 30px rgba(255,62,165,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 12px 38px rgba(255,62,165,0.5); }
.btn-steam { background: linear-gradient(135deg, #1b2838, #2a475e); color: #fff; box-shadow: 0 8px 26px rgba(0,0,0,0.45); }
.btn-steam:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cyan); color: var(--cyan); }

/* store badges (App Store / Google Play) — placeholders until the apps ship */
.btn-store { background: #000; color: #fff; gap: 11px; padding: 9px 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.btn-store svg { flex: none; }
.btn-store .store-txt { display: flex; flex-direction: column; line-height: 1.08; text-align: left; }
.btn-store .store-txt small { font-size: 10px; font-weight: 500; color: #c9c9d6; letter-spacing: .3px; }
.btn-store .store-txt b { font-size: 16px; font-weight: 700; }
.btn.is-soon { opacity: .72; cursor: default; }
.btn.is-soon:hover { transform: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.soon-chip { margin-left: 4px; align-self: center; font-family: var(--pixel);
  font-size: 8px; letter-spacing: 1px; color: var(--bg); background: var(--yellow);
  padding: 3px 6px; border-radius: 5px; text-transform: uppercase; }

/* ---------- studio hero ---------- */
.hero { padding: 92px 0 72px; text-align: center; }
.eyebrow {
  font-family: var(--pixel); font-size: 11px; letter-spacing: 2px;
  color: var(--cyan); text-transform: uppercase;
  margin-bottom: 30px; display: inline-block;
  padding: 8px 14px; border: 1px solid rgba(47,243,255,0.3); border-radius: 999px;
  box-shadow: 0 0 18px rgba(47,243,255,0.15) inset;
}
.hero h1 {
  font-family: var(--pixel);
  font-size: clamp(26px, 5.4vw, 52px);
  line-height: 1.25; margin: 0 0 26px;
  color: #fff;
  text-shadow: 3px 3px 0 var(--violet), 6px 6px 0 rgba(255,62,165,0.5), 0 0 40px rgba(157,78,221,0.55);
}
.hero h1 .hl { color: var(--yellow); }
.hero p.lede {
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--muted);
  max-width: 660px; margin: 0 auto 14px;
}
.hero p.lede strong { color: var(--ink); font-weight: 700; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- page header (interior pages) ---------- */
.page-head { padding: 64px 0 8px; text-align: center; }
.page-head .kicker { font-family: var(--pixel); font-size: 11px; letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; }
.page-head h1 {
  font-family: var(--pixel); font-size: clamp(24px, 4.6vw, 40px); margin: 18px 0 14px; color: #fff;
  text-shadow: 2px 2px 0 var(--violet), 0 0 30px rgba(157,78,221,0.5);
}
.page-head p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 18px; }

/* ---------- sections ---------- */
section { padding: 76px 0; scroll-margin-top: 76px; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .kicker {
  font-family: var(--pixel); font-size: 11px; letter-spacing: 2px;
  color: var(--magenta); text-transform: uppercase;
}
.sec-head h2 { font-family: var(--pixel); font-size: clamp(20px, 3.6vw, 30px); margin: 16px 0 14px; color: #fff; }
.sec-head p { color: var(--muted); max-width: 580px; margin: 0 auto; font-size: 17px; }

/* ---------- flagship game feature ---------- */
.flagship {
  background: linear-gradient(180deg, rgba(157,78,221,0.10), rgba(255,62,165,0.06));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.flagship-grid {
  display: grid; gap: 44px; align-items: center;
  grid-template-columns: 1.05fr 1fr;
}
@media (max-width: 880px) { .flagship-grid { grid-template-columns: 1fr; } }
.flagship .tag-debut {
  font-family: var(--pixel); font-size: 10px; letter-spacing: 2px;
  color: var(--cyan); text-transform: uppercase;
}
.flagship h2 {
  font-family: var(--pixel); font-size: clamp(26px, 5vw, 46px);
  margin: 18px 0 22px; color: #fff;
  text-shadow: 2px 2px 0 var(--magenta), 0 0 28px rgba(255,62,165,0.5);
}
.flagship p { color: var(--muted); font-size: 17px; margin: 0 0 16px; }
.flagship p strong { color: var(--ink); }
.flagship .meta { display: flex; gap: 22px; flex-wrap: wrap; margin: 22px 0 28px; color: var(--muted); font-size: 14px; }
.flagship .meta b { color: var(--ink); }
.flagship-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* arcade-cabinet art (CSS) */
.cabinet {
  width: 100%; max-width: 360px; margin: 0 auto;
  aspect-ratio: 3 / 4; border-radius: 18px 18px 10px 10px;
  background: linear-gradient(180deg, #241845, #160e2c);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 6px rgba(0,0,0,0.25);
  padding: 18px; display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.cabinet .marquee {
  text-align: center; font-family: var(--pixel); font-size: 13px; color: #fff;
  padding: 12px 6px; border-radius: 8px;
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  box-shadow: 0 0 24px rgba(255,62,165,0.5);
}
.cabinet .crt {
  flex: 1; border-radius: 10px; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.28) 0 2px, transparent 2px 4px),
    radial-gradient(circle at 50% 38%, rgba(47,243,255,0.5), transparent 65%),
    radial-gradient(circle at 70% 80%, rgba(255,62,165,0.35), transparent 55%),
    #05030c;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pixel); font-size: 12px; letter-spacing: 1px;
  color: rgba(255,255,255,0.9); text-shadow: 0 0 12px var(--cyan); text-align: center;
}
.cabinet .panel-controls {
  height: 26px; border-radius: 6px;
  background: linear-gradient(180deg, #2b1d52, #1a1233);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.cabinet .panel-controls i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.cabinet .panel-controls i:nth-child(1){ background: var(--magenta); box-shadow: 0 0 8px var(--magenta); }
.cabinet .panel-controls i:nth-child(2){ background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.cabinet .panel-controls i:nth-child(3){ background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }

/* ---------- cabinets grid ---------- */
.games { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.game {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px 24px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.game:hover { transform: translateY(-4px); border-color: var(--accent, var(--magenta)); box-shadow: 0 18px 50px rgba(0,0,0,0.5); }
.game::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--accent, var(--magenta)); box-shadow: 0 0 18px var(--accent, var(--magenta));
}
.game .screen {
  height: 240px; border-radius: 10px; margin-bottom: 20px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pixel); font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,0.85);
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.25) 0 2px, transparent 2px 4px),
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%),
    #06040d;
  border: 1px solid rgba(255,255,255,0.07); text-shadow: 0 0 10px var(--accent); text-align: center;
}
.game .screen img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block;
  image-rendering: pixelated;
}
.game .genre { font-family: var(--pixel); font-size: 9px; letter-spacing: 1.5px; color: var(--accent, var(--magenta)); text-transform: uppercase; }
.game h3 { font-size: 22px; margin: 12px 0 8px; color: #fff; font-weight: 900; }
.game p.tag { color: var(--muted); font-size: 15px; margin: 0 0 16px; min-height: 48px; }
.game .ctrls { font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }
.game .ctrls b { color: var(--ink); font-weight: 600; }
.game.more {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border-style: dashed; background: transparent;
}
.game.more span { font-family: var(--pixel); font-size: 12px; color: var(--muted); line-height: 1.8; }

/* clickable cabinet card (links to its detail page) */
a.game { display: block; text-decoration: none; color: inherit; }

/* ---------- cabinet detail page ---------- */
.crumb { padding: 30px 0 0; }
.crumb a { color: var(--muted); text-decoration: none; font-size: 14px; }
.crumb a:hover { color: var(--cyan); }
.detail-grid { display: grid; gap: 44px; grid-template-columns: 0.95fr 1.05fr; align-items: start; }
@media (max-width: 880px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-cover {
  width: 100%; border-radius: 16px; display: block; image-rendering: pixelated;
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.detail-genre { font-family: var(--pixel); font-size: 10px; letter-spacing: 1.5px;
  color: var(--accent, var(--magenta)); text-transform: uppercase; }
.detail h1 { font-family: var(--pixel); font-size: clamp(22px, 4vw, 36px); margin: 14px 0 18px; color: #fff;
  text-shadow: 2px 2px 0 var(--accent, var(--magenta)), 0 0 26px color-mix(in srgb, var(--accent) 50%, transparent); }
.detail p.lead { color: var(--muted); font-size: 17px; margin: 0 0 16px; }
.detail p.lead strong { color: var(--ink); }
.detail .ctrls { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; margin: 8px 0 24px; }
.detail .ctrls b { color: var(--ink); }
.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.shots { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.shot {
  aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.25) 0 2px, transparent 2px 4px),
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--accent, var(--magenta)) 45%, transparent), transparent 70%),
    #06040d;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pixel); font-size: 10px; letter-spacing: 1px; color: rgba(255,255,255,0.5);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: pixelated; }

/* ---------- studio / about + pillar cards ---------- */
.about-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
.feat .ico { font-size: 26px; margin-bottom: 14px; }
.feat h4 { margin: 0 0 8px; font-size: 18px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

/* pillar cards link out to the main pages (home) */
a.feat { display: block; text-decoration: none; color: inherit;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
a.feat:hover { transform: translateY(-4px); border-color: var(--magenta); box-shadow: 0 16px 44px rgba(0,0,0,0.5); }
a.feat .go { margin-top: 14px; font-weight: 700; color: var(--cyan); font-size: 14px; }

/* ---------- engine / technology ---------- */
.engine {
  background: linear-gradient(180deg, rgba(47,243,255,0.07), rgba(157,78,221,0.06));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.platforms { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 0 0 46px; }
.platform {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); font-size: 14px; color: var(--ink);
}
.platform .pdot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.platform b { color: #fff; font-weight: 700; }
.platform .api { color: var(--muted); font-size: 12.5px; }

.code-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin-bottom: 44px; }
@media (max-width: 880px) { .code-grid { grid-template-columns: 1fr; } }
.code {
  background: #0b0818; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 16px 44px rgba(0,0,0,0.45);
}
.code .bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02);
}
.code .bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.code .bar .fname { margin-left: 8px; font-size: 12.5px; color: var(--muted); }
.code pre { margin: 0; padding: 18px; overflow-x: auto; }
.code code {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.75; color: #cdd6f4; white-space: pre; display: block;
}
.code .c  { color: #6f7aa0; font-style: italic; }   /* comment */
.code .k  { color: var(--cyan); }                    /* keyword */
.code .t  { color: var(--violet); }                  /* type    */
.code .s  { color: var(--yellow); }                  /* string  */
.code .n  { color: var(--green); }                   /* number/literal */
.code .fn { color: var(--green); }                   /* function name  */

/* ---------- services ---------- */
.svc-actions { text-align: center; margin-top: 40px; }

/* ---------- contact form ---------- */
.contact-form { max-width: 560px; margin: 4px auto 26px; text-align: left; display: grid; gap: 14px; position: relative; }
.contact-form .row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 6px; font-weight: 500; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.04); color: var(--ink); font-family: var(--sans); font-size: 15px;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(47,243,255,0.12);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.form-status { font-size: 14px; min-height: 20px; color: var(--muted); }
.form-status.ok  { color: var(--green); }
.form-status.err { color: var(--magenta); }

/* ---------- contact CTA ---------- */
.cta-band {
  margin: 0 auto; max-width: var(--maxw);
  background: linear-gradient(135deg, rgba(157,78,221,0.25), rgba(255,62,165,0.18));
  border: 1px solid rgba(255,62,165,0.3); border-radius: 22px;
  padding: 56px 32px; text-align: center;
  box-shadow: 0 0 60px rgba(157,78,221,0.2) inset;
}
.cta-band h2 { font-family: var(--pixel); font-size: clamp(18px, 3.4vw, 28px); margin: 0 0 16px; color: #fff; }
.cta-band p { color: var(--muted); max-width: 540px; margin: 0 auto 28px; font-size: 17px; }
.cta-band .links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand { font-family: var(--pixel); font-size: 12px; color: var(--ink); }
footer nav a { color: var(--muted); text-decoration: none; margin-left: 22px; }
footer nav a:hover { color: var(--cyan); }
.socials { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.socials a {
  color: var(--ink); display: inline-flex; padding: 9px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line);
  transition: color .12s ease, border-color .12s ease, transform .12s ease;
}
.socials a:hover { color: var(--magenta); border-color: var(--magenta); transform: translateY(-2px); }
.copyright { width: 100%; margin-top: 18px; font-size: 12.5px; color: #6b6090; }
