/* ============================================================
   Red Shadow — mobile games studio
   Palette: deep indigo, coral, gold, mint, violet
   ============================================================ */

:root {
  --bg: #0b0814;
  --bg-2: #120f24;
  --bg-3: #191331;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.075);
  --text: #f8f5ff;
  --muted: #b8add6;
  --muted-2: #8d80ad;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --coral: #ff6b6b;
  --coral-2: #ff8a5c;
  --pink: #ff6b9d;
  --gold: #ffd166;
  --mint: #5eead4;
  --violet: #a78bfa;
  --cream: #fdf7ea;
  --danger: #ff7a7a;
  --radius: 24px;
  --font: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --emoji: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --container: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 92px; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(100% 55% at 50% 0%, #1b1233 0%, transparent 60%),
    linear-gradient(180deg, #0b0814 0%, #0d0918 40%, #0b0814 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

::selection { background: rgba(255, 107, 107, 0.35); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.container {
  width: min(100% - 44px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--cream);
  color: #160f26;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s, border-color 0.3s, padding 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 9px 0;
  background: rgba(11, 8, 20, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-logo {
  display: block;
  width: auto;
  height: 40px;
}
.footer-brand .brand-logo { height: 44px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.main-nav a { transition: color 0.2s; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lang-switch:hover { background: rgba(255, 255, 255, 0.09); color: var(--text); border-color: var(--line-strong); }
.lang-globe { font-size: 14px; color: var(--mint); }
.header-play { height: 36px; padding: 0 16px; border-radius: 10px; font-size: 12px; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  padding: 9px 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  display: none;
  margin: 10px 18px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 11, 28, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 4px;
}
.mobile-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.mobile-nav a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.mobile-nav .btn { margin-top: 8px; justify-content: center; }
.mobile-nav.is-open { display: flex; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: translateY(2px) scale(0.99); }
.btn-primary {
  color: #2b1024;
  background: linear-gradient(180deg, #ffb18a 0%, #ff8a5c 52%, #ff6f4b 100%);
  box-shadow: 0 4px 0 #b8432f, 0 14px 30px rgba(255, 120, 80, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.28); }
.btn-large { min-height: 52px; padding: 0 24px; border-radius: 15px; font-size: 15px; }
.btn-small { min-height: 36px; padding: 0 15px; border-radius: 10px; font-size: 12px; }
.btn-arrow { font-size: 18px; line-height: 1; transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 158px 0 90px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 16s ease-in-out infinite alternate;
}
.aurora-a {
  width: 620px; height: 620px;
  left: -180px; top: 40px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.55), transparent 65%);
}
.aurora-b {
  width: 560px; height: 560px;
  right: -160px; top: 80px;
  background: radial-gradient(circle, rgba(255, 79, 125, 0.42), transparent 65%);
  animation-delay: -5s;
}
.aurora-c {
  width: 620px; height: 620px;
  left: 25%; bottom: -380px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.22), transparent 65%);
  animation-delay: -9s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3%, 4%, 0) scale(1.08); }
}
.grid-fade {
  position: absolute;
  inset: 0;
  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: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 78%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: 50px;
  align-items: center;
}
.hero-copy { max-width: 660px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.12);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.10); }
  50% { box-shadow: 0 0 0 7px rgba(94, 234, 212, 0.03); }
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(42px, 5.9vw, 76px);
  line-height: 0.99;
  letter-spacing: -0.045em;
  font-weight: 900;
}
.gradient-text {
  background: linear-gradient(100deg, #ffd0b8 0%, #ff8a5c 32%, #ff6b9d 66%, #c9a7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 30px rgba(255, 107, 157, 0.18));
}
.lead {
  margin-top: 24px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}
.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted-2);
}
.mini-store {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}
.mini-store.is-soon { color: var(--muted-2); opacity: 0.75; }
.hero-sep { width: 1px; height: 14px; background: var(--line); margin: 0 2px; }
.hero-offline { color: var(--mint); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats b {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff, #cdbde9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span {
  font-size: 9px;
  line-height: 1.35;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* hero visual */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.hero-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.24), transparent 66%);
  filter: blur(20px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 2;
  width: 294px;
  padding: 8px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2a2147 0%, #120e23 55%, #1d1435 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  transform: rotate(1.6deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone-screen {
  position: relative;
  border-radius: 33px;
  overflow: hidden;
  background: #120f24;
  aspect-ratio: 560 / 856;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-notch {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 50%;
  width: 78px;
  height: 20px;
  border-radius: 99px;
  background: #090613;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.phone-glow {
  position: absolute;
  inset: 8%;
  border-radius: 34px;
  box-shadow: inset 0 0 40px rgba(167, 139, 250, 0.12);
  pointer-events: none;
  z-index: 2;
}
.hero-badge {
  position: absolute;
  z-index: 4;
  right: calc(50% - 195px);
  bottom: 66px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 209, 102, 0.35);
  background: rgba(28, 20, 18, 0.9);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.12);
}
.hero-note {
  position: absolute;
  z-index: 4;
  left: calc(50% - 170px);
  bottom: 60px;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.03em;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(11, 8, 20, 0.8);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.float-tile {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(160deg, #fffdf7, #f1e5cf);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.22), 0 14px 28px rgba(0, 0, 0, 0.32);
  font-family: var(--emoji);
  font-size: 28px;
  animation: floaty 5s ease-in-out infinite alternate;
}
.ft-1 { left: 4%; top: 16%; transform: rotate(-10deg); animation-delay: -1s; }
.ft-2 { right: 4%; top: 10%; transform: rotate(8deg); animation-delay: -2s; width: 46px; height: 46px; font-size: 24px; }
.ft-3 { right: 2%; top: 43%; transform: rotate(11deg); animation-delay: -3s; }
.ft-4 { left: 0%; bottom: 20%; transform: rotate(-7deg); animation-delay: -4s; width: 46px; height: 46px; font-size: 24px; }
.ft-5 { right: 9%; bottom: 13%; transform: rotate(7deg); animation-delay: -2.5s; width: 40px; height: 40px; font-size: 21px; opacity: 0.9; }
@keyframes floaty {
  from { translate: 0 0; }
  to { translate: 0 -12px; }
}

/* ---------- common section ---------- */

.section {
  position: relative;
  padding: 104px 0;
}
.section-head { max-width: 800px; margin-bottom: 44px; }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 900;
}
.section-sub {
  margin-top: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.section-lead {
  margin-top: 18px;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}
.title-small {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.32em;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  vertical-align: middle;
}
.fineprint {
  margin-top: 14px;
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted-2);
}

/* ---------- game ---------- */

.game-section {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255, 107, 157, 0.06), transparent 70%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}
.prisma-section {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(124, 92, 255, 0.12), transparent 70%),
    radial-gradient(70% 55% at 100% 100%, rgba(34, 211, 238, 0.05), transparent 65%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012), transparent);
}
.store-web .store-ico { color: #a78bfa; }
.game-title-row { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.game-icon {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25), 0 16px 34px rgba(0, 0, 0, 0.3);
  flex: 0 0 auto;
  background: #120f24;
}
.game-icon img { width: 100%; height: 100%; object-fit: cover; }
.game-title-row h2 { margin: 0; }
.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 56px;
  align-items: start;
}
.game-info { padding-top: 8px; }
.game-desc {
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 26px;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.032);
  font-size: 12px;
  font-weight: 700;
  color: #e8e1f7;
}
.feature-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--emoji);
  font-size: 15px;
  flex: 0 0 auto;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 152px;
  padding: 10px 14px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.store-btn:hover { background: rgba(255, 255, 255, 0.085); border-color: rgba(255, 255, 255, 0.26); transform: translateY(-2px); }
.store-btn:active { transform: translateY(0); }
.store-ico {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 900;
  flex: 0 0 auto;
}
.store-google .store-ico { color: #7ee787; }
.store-rustore .store-ico { color: #ff8a8a; }
.store-copy { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.store-copy small { font-size: 8px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted-2); font-weight: 700; }
.store-copy b { font-size: 13px; font-weight: 800; }
.store-btn.is-disabled { opacity: 0.45; cursor: default; pointer-events: none; }
.store-btn.is-disabled .store-ico { color: var(--muted-2); }

.game-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.shot {
  padding: 7px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, border-color 0.3s;
}
.shot:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.24); }
.shot-offset { margin-top: 44px; }
.shot-frame {
  border-radius: 20px;
  overflow: hidden;
  background: #0b0814;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.shot-frame img { width: 100%; height: auto; }
.shot figcaption {
  padding: 10px 5px 4px;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- studio ---------- */

.studio-section {
  background:
    radial-gradient(70% 55% at 10% 10%, rgba(167, 139, 250, 0.10), transparent 65%),
    radial-gradient(70% 55% at 100% 100%, rgba(94, 234, 212, 0.06), transparent 65%);
}
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}
.studio-copy h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.07;
  letter-spacing: -0.035em;
  font-weight: 900;
}
.studio-tech {
  display: inline-block;
  margin-top: 24px;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}
.values { display: flex; flex-direction: column; gap: 12px; }
.value-card {
  padding: 20px 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.038);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.value-card:hover { background: rgba(255, 255, 255, 0.062); border-color: rgba(255, 255, 255, 0.17); transform: translateX(4px); }
.value-ico { font-family: var(--emoji); font-size: 24px; }
.value-card h3 { margin-top: 11px; font-size: 16px; font-weight: 800; }
.value-card p { margin-top: 7px; font-size: 12px; line-height: 1.65; color: var(--muted); }

.roadmap {
  margin-top: 62px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}
.roadmap-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.roadmap-head h3 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.03em; font-weight: 900; }
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.roadmap-grid article {
  padding: 20px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.roadmap-num {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--coral-2);
}
.roadmap-grid h4 { margin-top: 12px; font-size: 15px; font-weight: 800; }
.roadmap-grid p { margin-top: 6px; font-size: 11px; line-height: 1.6; color: var(--muted); }

/* ---------- contact ---------- */

.contact-section {
  background:
    radial-gradient(60% 70% at 80% 10%, rgba(255, 107, 107, 0.10), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}
.contact-copy h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.07;
  letter-spacing: -0.035em;
  font-weight: 900;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(94, 234, 212, 0.22);
  background: rgba(94, 234, 212, 0.06);
  transition: background 0.2s, border-color 0.2s;
}
.contact-email:hover { background: rgba(94, 234, 212, 0.1); border-color: rgba(94, 234, 212, 0.4); }
.contact-email-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(94, 234, 212, 0.12);
  color: var(--mint);
  font-size: 16px;
}
.contact-email span:last-child { display: flex; flex-direction: column; gap: 3px; }
.contact-email small { font-size: 8px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); font-weight: 800; }
.contact-email b { font-size: 15px; font-weight: 800; }
.contact-cards { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; }
.contact-card {
  display: flex;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.03);
}
.contact-card > span { font-family: var(--emoji); font-size: 19px; }
.contact-card b { font-size: 12px; font-weight: 800; }
.contact-card p { margin-top: 3px; font-size: 10px; line-height: 1.5; color: var(--muted-2); }

.contact-form {
  position: relative;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(167, 139, 250, 0.10), transparent 55%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.contact-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(167, 139, 250, 0.12), transparent 55%),
    radial-gradient(80% 80% at 0% 100%, rgba(255, 107, 107, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.contact-panel__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(94, 234, 212, 0.10);
  border: 1px solid rgba(94, 234, 212, 0.22);
  color: var(--mint);
  font-size: 24px;
}
.contact-panel h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.contact-panel p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.contact-panel .btn { width: 100%; margin-top: 4px; }
.contact-panel .fineprint { margin-top: 0; }
.gateform-embed:empty { display: none; }
.gateform-embed { width: 100%; }
.contact-panel--form {
  padding: 16px;
  gap: 0;
}
.gateform-frame {
  display: block;
  width: 100%;
  max-width: 540px;
  min-height: 680px;
  margin: 0 auto;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
}
.contact-panel--form .fineprint {
  margin-top: 10px;
  text-align: center;
  width: 100%;
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(8, 5, 16, 0.45);
  color: var(--text);
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(184, 173, 214, 0.42); }
.field input:focus,
.field textarea:focus {
  border-color: rgba(94, 234, 212, 0.55);
  background: rgba(8, 5, 16, 0.62);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.08);
}
.field.has-error input,
.field.has-error textarea { border-color: rgba(255, 107, 107, 0.6); box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.08); }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.check-row input { width: 16px; height: 16px; margin-top: 1px; accent-color: #ff8a5c; flex: 0 0 auto; }
.form-hint { margin-top: 5px; font-size: 10px; }
.form-hint a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.btn-submit { width: 100%; margin-top: 16px; position: relative; }
.btn-submit.is-loading { pointer-events: none; opacity: 0.75; }
.btn-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(43, 16, 36, 0.25);
  border-top-color: #2b1024;
  animation: spin 0.7s linear infinite;
}
.btn-submit.is-loading .btn-spinner { display: block; }
.btn-submit.is-loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status {
  min-height: 18px;
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted-2);
}
.form-status.is-success { color: var(--mint); }
.form-status.is-error { color: #ff9f9f; }

/* ---------- footer ---------- */

.site-footer {
  padding: 54px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.14);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 40px;
  align-items: start;
}
.footer-brand p { margin-top: 14px; max-width: 260px; font-size: 11px; line-height: 1.6; color: var(--muted-2); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 12px; font-weight: 700; color: var(--muted); }
.footer-nav a:hover { color: var(--text); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; font-size: 12px; font-weight: 700; }
.footer-contact a { color: var(--mint); }
.footer-contact span { color: var(--muted-2); font-size: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 9px;
  color: var(--muted-2);
}

/* ---------- reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.game-shots .shot:nth-child(2) { transition-delay: 0.1s; }
.values .value-card:nth-child(2) { transition-delay: 0.06s; }
.values .value-card:nth-child(3) { transition-delay: 0.12s; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(40px, 5.5vw, 64px); }
  .phone { width: 270px; }
  .hero-badge { right: calc(50% - 180px); }
  .hero-note { left: calc(50% - 158px); }
  .game-layout { gap: 36px; }
}

@media (max-width: 920px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-play { display: none; }
  .mobile-nav { display: none; }
  .mobile-nav.is-open { display: flex; }

  .hero { padding: 132px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 520px; }
  .phone { width: 286px; }
  .hero-stats { max-width: 620px; }

  .game-layout { grid-template-columns: 1fr; }
  .game-info { max-width: 720px; }
  .game-shots { max-width: 620px; margin-inline: auto; width: 100%; }
  .game-shots .shot { margin-top: 0; }

  .studio-grid { grid-template-columns: 1fr; gap: 34px; }
  .studio-copy { max-width: 760px; }
  .values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .value-card:hover { transform: translateY(-3px); }

  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-copy { max-width: 720px; }
  .contact-form { max-width: 620px; width: 100%; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, var(--container)); }
  .site-header { padding: 10px 0; }
  .brand-logo { height: 33px; }
  .lang-switch { height: 34px; padding: 0 9px; }

  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: clamp(37px, 9.5vw, 54px); }
  .lead { font-size: 15px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-platforms { font-size: 9px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-stats b { font-size: 22px; }

  .hero-visual { min-height: 470px; margin-top: 4px; }
  .phone { width: min(272px, 72vw); }
  .float-tile { width: 44px; height: 44px; font-size: 23px; border-radius: 12px; }
  .ft-2, .ft-4 { width: 38px; height: 38px; font-size: 20px; }
  .ft-1 { left: 0; top: 12%; }
  .ft-2 { right: 0; top: 8%; }
  .ft-3 { right: -1%; top: 47%; }
  .ft-4 { left: -1%; bottom: 18%; }
  .ft-5 { right: 10%; bottom: 8%; }
  .hero-badge { right: calc(50% - 162px); bottom: 42px; font-size: 9px; }
  .hero-note { left: calc(50% - 148px); bottom: 38px; font-size: 8px; }

  .section { padding: 76px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 34px; }
  .section-lead { font-size: 14px; }
  .game-title-row { gap: 12px; }
  .game-icon { width: 60px; height: 60px; border-radius: 16px; }
  .title-small { display: block; margin: 6px 0 0; font-size: 0.26em; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feature-grid li { font-size: 10px; padding: 9px; }
  .feature-ico { width: 25px; height: 25px; font-size: 13px; }
  .store-btn { min-width: 0; flex: 1 1 44%; }
  .game-shots { gap: 10px; }
  .shot { padding: 5px; border-radius: 18px; }
  .shot-frame { border-radius: 14px; }

  .values { grid-template-columns: 1fr; }
  .roadmap { margin-top: 42px; padding-top: 28px; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .roadmap-head { margin-bottom: 16px; }

  .contact-form { padding: 20px; border-radius: 20px; }
  .contact-email b { font-size: 13px; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-contact { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 6px; margin-top: 28px; }

  .site-footer { padding-bottom: 20px; }
}

@media (max-width: 420px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .store-btn { flex: 1 1 100%; }
  .hero-badge { right: calc(50% - 152px); }
  .hero-note { left: calc(50% - 138px); }
  .game-shots { grid-template-columns: 1fr; max-width: 340px; }
  .game-shots .shot:nth-child(2) { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- legal / privacy ---------- */

.legal-page { padding-bottom: 0; }
.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.legal-back {
  font-size: 12px;
  font-weight: 800;
  color: var(--mint);
}
.legal-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal {
  max-width: 840px;
  padding-top: 44px;
  padding-bottom: 70px;
}
.legal h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 900;
}
.legal-updated {
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.legal h2 {
  margin-top: 34px;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.legal h2:first-of-type { margin-top: 28px; }
.legal p,
.legal li {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.legal strong { color: #e9e3f7; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal li { margin-top: 6px; }
.legal a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.legal-rule {
  margin: 46px 0 30px;
  border: 0;
  border-top: 1px solid var(--line);
}
.legal-footer {
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 10px;
  color: var(--muted-2);
}
.legal-footer a { color: var(--muted); }
.legal-footer a:hover { color: var(--text); }

.error-page { text-align: center; padding-top: 100px; }
.error-kicker { margin-inline: auto; }
.error-page h1 { margin-top: 18px; }
.error-lead { max-width: 460px; margin: 16px auto 0; }
.error-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

@media (max-width: 640px) {
  .legal { padding-top: 30px; padding-bottom: 50px; }
  .legal-top { padding-top: 18px; padding-bottom: 18px; }
}

