@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka-variable-tr.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/nunito-sans-variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --ink: #0a0c22;
  --navy: #111538;
  --navy-2: #171b47;
  --violet: #713dff;
  --violet-2: #9b68ff;
  --violet-soft: #ece6ff;
  --coral: #ff4e68;
  --teal: #17c7ba;
  --amber: #ffb31a;
  --paper: #f8f7ff;
  --white: #fffefb;
  --muted: #6d728b;
  --line: rgba(21, 18, 67, .12);
  --shadow: 0 24px 70px rgba(26, 16, 82, .14);
  --radius-lg: 36px;
  --radius-md: 24px;
  --shell: min(1180px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 4px;
}

.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--violet);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow-light { color: #cdbdff; }

.eyebrow-dot,
.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(23, 199, 186, .12);
  vertical-align: 1px;
}

.pulse { animation: pulse 2s ease-in-out infinite; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 0 12px;
  color: white;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.site-header.scrolled {
  background: rgba(10, 12, 34, .82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
}

.brand {
  order: 1;
  display: inline-flex;
  width: 180px;
  height: 52px;
  align-items: center;
  text-decoration: none;
}

.brand img { width: 100%; height: auto; }

.primary-nav {
  order: 2;
  display: flex;
  gap: 30px;
  margin-left: auto;
  align-items: center;
  font-size: .92rem;
  font-weight: 800;
}

.primary-nav a {
  position: relative;
  color: rgba(255,255,255,.76);
  text-decoration: none;
  transition: color .2s ease;
}

.primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.primary-nav a:hover { color: white; }
.primary-nav > a:hover::after { transform: scaleX(1); }

.primary-nav .nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: white;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px rgba(255,255,255,.1);
}

.nav-cta span { display: inline-block; margin-left: 5px; }
.menu-toggle { order: 4; display: none; }

.language-switcher {
  order: 3;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  margin-left: 14px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 15px;
  background: rgba(255,255,255,.065);
  box-shadow: inset 0 1px rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
}

.language-option {
  display: inline-flex;
  min-height: 36px;
  padding: 0 10px;
  align-items: center;
  gap: 6px;
  border-radius: 11px;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.language-option:hover,
.language-option:focus-visible {
  color: white;
  background: rgba(255,255,255,.09);
}

.language-option.is-active {
  color: #171a3d;
  background: white;
  box-shadow: 0 5px 16px rgba(0,0,0,.16);
}

.language-flag {
  display: block;
  width: 19px;
  height: 14px;
  border: 1px solid rgba(17,20,50,.14);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,.16);
  object-fit: cover;
}

.language-code { display: none; }

.legal-header-tools {
  order: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.legal-header-tools .language-switcher { margin-left: 0; }

.hero {
  display: grid;
  min-height: 800px;
  padding-top: 150px;
  padding-bottom: 80px;
  color: white;
  background:
    radial-gradient(circle at 12% 8%, rgba(119, 61, 255, .32), transparent 32%),
    radial-gradient(circle at 87% 65%, rgba(0, 191, 255, .13), transparent 28%),
    linear-gradient(145deg, #090a22 0%, #101339 55%, #0b0d28 100%);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .55;
}

.hero-glow-one { width: 420px; height: 420px; left: -260px; top: 250px; background: #6d3bff; }
.hero-glow-two { width: 360px; height: 360px; right: -220px; top: 120px; background: #ff4e68; opacity: .22; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
  gap: 50px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 3; padding-bottom: 30px; }

.hero h1,
.section-heading h2,
.values h2,
.coming h2,
.contact h2,
.legal-hero h1 {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: .98;
}

.hero h1 { max-width: 650px; font-size: clamp(4.4rem, 7.6vw, 7.2rem); }
.hero h1 span { color: #b193ff; }

.hero-lead {
  max-width: 600px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.68);
  font-size: clamp(1.04rem, 1.6vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--violet); color: white; box-shadow: 0 15px 35px rgba(113, 61, 255, .32); }
.button-primary:hover { background: #8051ff; box-shadow: 0 18px 45px rgba(113, 61, 255, .42); }
.button-ghost { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: white; }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.button-light { background: white; color: var(--ink); box-shadow: 0 16px 40px rgba(15, 9, 45, .22); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 610px;
  margin: 54px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-facts div { padding-right: 18px; }
.hero-facts dt { font-weight: 900; font-size: .95rem; }
.hero-facts dd { margin: 3px 0 0; color: rgba(255,255,255,.48); font-size: .78rem; }
.hero-facts-single { grid-template-columns: minmax(0, 220px); }

.hero-art { position: relative; min-height: 625px; }

.phone {
  position: absolute;
  z-index: 2;
  width: 250px;
  aspect-ratio: 9 / 19.35;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 43px;
  background: linear-gradient(145deg, #272b4b 0%, #080914 40%, #02030a 100%);
  box-shadow: 0 34px 80px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,255,255,.07), inset 0 0 0 4px rgba(0,0,0,.72);
}

.phone::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 7px;
  border-radius: 35px;
  background: linear-gradient(120deg, rgba(255,255,255,.14), transparent 17%, transparent 76%, rgba(255,255,255,.05));
  box-shadow: inset 0 0 0 1px rgba(8,9,28,.15);
  pointer-events: none;
}

.phone img {
  width: 100%;
  height: 100%;
  border-radius: 35px;
  object-fit: cover;
  object-position: 50% 18%;
  transform: scale(1.035);
}

.phone-top {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 50%;
  width: 74px;
  height: 19px;
  border-radius: 999px;
  background: #080918;
  transform: translateX(-50%);
}

.phone-top::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #24283d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.phone-hero { top: 20px; right: 100px; width: min(262px, 46vw); transform: rotate(3deg); }
.phone-hero img { object-position: 50% 13%; transform: scale(1.045); }

.orbit { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.orbit-one { width: 500px; height: 500px; top: 34px; right: -16px; }
.orbit-two { width: 380px; height: 380px; top: 96px; right: 44px; border-color: rgba(127, 82, 255, .34); }

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(20, 23, 61, .8);
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
}

.floating-card img { width: 52px; height: 52px; border-radius: 14px; }
.floating-card span span { display: block; }
.floating-card strong { display: block; font-size: .85rem; }
.floating-card small { display: block; color: rgba(255,255,255,.52); font-size: .7rem; }
.floating-logo { top: 138px; left: 8px; }
.floating-rating { right: 0; bottom: 102px; }
.floating-rating .spark { color: var(--amber); font-size: 2rem; }

.shape { position: absolute; z-index: 1; width: 80px; height: 80px; border-radius: 28px; transform: rotate(26deg); }
.shape-coral { left: 55px; bottom: 120px; background: linear-gradient(145deg, var(--coral), #ff8d9d); box-shadow: 0 20px 60px rgba(255,78,104,.24); }
.shape-teal { top: 35px; right: 15px; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 14px rgba(23,199,186,.1); }

.hero-ribbon {
  position: absolute;
  z-index: 10;
  inset: auto -2% -40px;
  width: 104%;
  overflow: hidden;
  background: var(--coral);
  color: white;
  transform: rotate(-1.8deg);
  box-shadow: 0 -10px 35px rgba(255,78,104,.22);
}

.hero-ribbon div {
  display: flex;
  width: max-content;
  gap: 30px;
  padding: 15px 0;
  align-items: center;
  animation: ribbon 22s linear infinite;
  font-family: "Fredoka", sans-serif;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: .16em;
}

.hero-ribbon b { color: #ffd65f; }

.games { background: var(--paper); padding-top: 150px; }

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2,
.values h2,
.coming h2,
.contact h2 { font-size: clamp(2.7rem, 5vw, 5rem); }

.section-heading h2 span,
.values h2 span,
.contact h2 span { color: var(--violet); }

.section-heading > p {
  max-width: 480px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1.04rem;
}

.featured-game {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 46px;
  color: white;
  background:
    radial-gradient(circle at 85% 80%, rgba(23,199,186,.12), transparent 38%),
    linear-gradient(135deg, #15163e 0%, #24166c 65%, #32138a 100%);
  box-shadow: var(--shadow);
}

.game-info { position: relative; z-index: 5; padding: 64px 0 58px 64px; }

.availability {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.75);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.availability span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(23,199,186,.12); }
.game-logo { width: min(264px, 66%); max-height: 132px; margin: 18px 0 22px; object-fit: contain; }
.game-description { max-width: 520px; margin: 0; color: rgba(255,255,255,.66); line-height: 1.75; }

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.feature-chips li {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.74);
  font-size: .8rem;
  font-weight: 750;
}

.feature-chips span { margin-right: 5px; color: #b9a4ff; }
.store-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.store-button {
  display: flex;
  min-width: 180px;
  gap: 11px;
  padding: 11px 17px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: #050612;
  color: white;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.store-button:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.35); background: #0c0e21; }
.store-button svg { width: 29px; height: 29px; fill: currentColor; flex: 0 0 auto; }
.store-button small { display: block; color: rgba(255,255,255,.55); font-size: .66rem; line-height: 1.2; }
.store-button strong { display: block; font-size: .96rem; line-height: 1.3; }
.store-note { margin: 11px 0 0; color: rgba(255,255,255,.35); font-size: .7rem; }

.game-preview { position: relative; min-height: 650px; }
.preview-blob { position: absolute; inset: 8% -20% -25% 5%; border-radius: 50% 38% 30% 55%; background: linear-gradient(145deg, rgba(121, 62, 255, .72), rgba(85, 19, 206, .8)); transform: rotate(-8deg); }
.phone-back { z-index: 2; top: 82px; left: 85px; width: 202px; transform: rotate(-9deg); opacity: .78; }
.phone-back img { object-position: 50% 20%; transform: scale(1.055); }
.phone-front { z-index: 3; top: 46px; right: 62px; width: 242px; transform: rotate(5deg); }
.phone-front img { object-position: 50% 12%; transform: scale(1.045); }

.mini-card {
  position: absolute;
  z-index: 4;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(13, 13, 43, .8);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  font-family: "Fredoka", sans-serif;
  font-size: 1.25rem;
  font-weight: 650;
}

.mini-card small { display: block; color: rgba(255,255,255,.5); font-family: "Nunito Sans", sans-serif; font-size: .68rem; font-weight: 700; }
.mini-card-one { left: 18px; bottom: 110px; color: #ffd45a; }
.mini-card-two { right: 18px; top: 190px; color: #ffd45a; white-space: nowrap; }

.gallery-section { padding-top: 20px; background: var(--paper); }
.gallery-heading { grid-template-columns: 1fr auto; margin-bottom: 36px; }
.gallery-controls { display: flex; gap: 10px; }

.gallery-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.gallery-controls button:hover { background: var(--violet); color: white; transform: translateY(-2px); }

.screenshot-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 0;
  padding-bottom: 28px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: #b6a2f7 transparent;
}

.screenshot-card {
  --shot-accent: #9b68ff;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(112px, .64fr);
  gap: 12px;
  aspect-ratio: 16 / 10;
  padding: 22px 18px 0 28px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  color: white;
  background: radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--shot-accent) 52%, transparent), transparent 38%), linear-gradient(145deg, #141536, #24225a);
  box-shadow: 0 20px 48px rgba(32, 21, 74, .16);
  cursor: zoom-in;
  scroll-snap-align: start;
  transform: translateZ(0);
  isolation: isolate;
  text-align: left;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}

.screenshot-card:nth-child(2) { --shot-accent: #ff4e68; background-color: #291632; }
.screenshot-card:nth-child(3) { --shot-accent: #17c7ba; background-color: #102e3d; }
.screenshot-card:nth-child(4) { --shot-accent: #ffb31a; background-color: #39263b; }
.screenshot-card:nth-child(5) { --shot-accent: #37a5ff; background-color: #172b56; }
.screenshot-card:nth-child(6) { --shot-accent: #8c5cff; background-color: #271958; }

.screenshot-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  right: -74px;
  bottom: -82px;
  border: 34px solid color-mix(in srgb, var(--shot-accent) 22%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.screenshot-card:hover {
  border-color: color-mix(in srgb, var(--shot-accent) 65%, white);
  box-shadow: 0 26px 60px rgba(32, 21, 74, .23);
  transform: translateY(-5px);
}

.shot-copy {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  padding-bottom: 20px;
  align-self: center;
  flex-direction: column;
}

.shot-copy small {
  color: color-mix(in srgb, var(--shot-accent) 72%, white);
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.shot-copy strong {
  margin-top: 7px;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.shot-copy em {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  align-items: center;
  color: rgba(255,255,255,.58);
  font-size: .76rem;
  font-style: normal;
  font-weight: 800;
}

.shot-copy b { color: white; font-size: .9rem; }

.shot-device {
  position: relative;
  z-index: 2;
  display: block;
  height: 108%;
  aspect-ratio: 9 / 19.35;
  padding: 4px;
  align-self: end;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 25px 25px 0 0;
  background: #070817;
  box-shadow: 0 18px 36px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(2.5deg) translateY(18px);
  transform-origin: center bottom;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.screenshot-card:nth-child(even) .shot-device { transform: rotate(-2.5deg) translateY(18px); }
.screenshot-card:hover .shot-device { transform: rotate(0) translateY(10px) scale(1.025); }
.shot-device img { width: 100%; height: 100%; border-radius: 20px 20px 0 0; object-fit: cover; object-position: top; }
.gallery-hint { margin: 0; color: var(--muted); font-size: .78rem; text-align: center; }

.values {
  color: white;
  background:
    radial-gradient(circle at 16% 15%, rgba(113,61,255,.3), transparent 25%),
    linear-gradient(145deg, #0a0c24, #121639);
  overflow: hidden;
}

.values::after { content: "JA"; position: absolute; right: -30px; bottom: -160px; color: rgba(255,255,255,.022); font-family: "Fredoka", sans-serif; font-size: 30rem; font-weight: 700; line-height: 1; pointer-events: none; }
.values-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 95px; align-items: start; }
.values-intro { position: sticky; top: 130px; }
.values-intro > p:last-child { max-width: 480px; color: rgba(255,255,255,.58); }
.value-list { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.value-list li { display: grid; grid-template-columns: 68px 1fr; gap: 24px; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.12); }
.value-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.value-list > li > span { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: #c7b6ff; font-family: "Fredoka", sans-serif; font-size: .78rem; }
.value-list h3 { margin: 0 0 8px; font-family: "Fredoka", sans-serif; font-size: 1.6rem; font-weight: 600; }
.value-list p { max-width: 560px; margin: 0; color: rgba(255,255,255,.55); }

.coming { background: var(--paper); }
.coming-card { position: relative; display: grid; grid-template-columns: 1fr .9fr; min-height: 570px; padding: 75px; overflow: hidden; border-radius: 46px; color: white; background: linear-gradient(135deg, #5b2fea 0%, #7a3fff 50%, #4923bd 100%); box-shadow: 0 34px 80px rgba(83,42,202,.25); isolation: isolate; }
.coming-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, black); opacity: .35; }
.coming-copy { position: relative; z-index: 2; align-self: center; }
.coming h2 span { color: #ffcf52; }
.coming-copy > p:not(.eyebrow) { max-width: 520px; margin: 26px 0 34px; color: rgba(255,255,255,.72); font-size: 1.04rem; }
.project-stack { position: relative; z-index: 2; min-height: 410px; }
.project-card { position: absolute; display: grid; grid-template-columns: 65px 1fr 65px; gap: 18px; width: min(430px, 95%); padding: 25px; align-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 25px; color: var(--ink); background: rgba(255,255,255,.91); box-shadow: 0 24px 50px rgba(41,16,116,.27); backdrop-filter: blur(14px); }
.project-card-one { top: 42px; right: -10px; transform: rotate(4deg); }
.project-card-two { top: 223px; left: 18px; transform: rotate(-4deg); background: rgba(22,23,63,.92); color: white; }
.project-number { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 17px; color: white; background: var(--coral); font-family: "Fredoka", sans-serif; font-size: 1.25rem; font-weight: 650; }
.project-card-two .project-number { background: var(--teal); color: #071e2c; }
.project-card span { color: var(--violet); font-size: .68rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.project-card-two span { color: #77e5da; }
.project-card h3 { margin: 2px 0 0; font-family: "Fredoka", sans-serif; font-size: 1.55rem; line-height: 1.1; }
.project-card p { margin: 2px 0 0; color: var(--muted); font-size: .8rem; }
.project-card-two p { color: rgba(255,255,255,.5); }
.project-mark { display: grid; width: 55px; height: 55px; place-items: center; border: 1px dashed currentColor; border-radius: 50%; color: var(--violet); font-family: "Fredoka", sans-serif; font-size: 1.35rem; }
.coming-orb { position: absolute; z-index: 0; border-radius: 50%; background: rgba(255,255,255,.1); }
.coming-orb-one { width: 240px; height: 240px; right: -90px; top: -90px; }
.coming-orb-two { width: 110px; height: 110px; left: 45%; bottom: -50px; background: rgba(255,178,31,.22); }

.contact { padding-top: 40px; }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 90px; align-items: center; }
.contact-copy > p:not(.eyebrow) { max-width: 510px; margin: 25px 0 32px; color: var(--muted); font-size: 1.05rem; }
.contact-card { display: block; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 30px; background: white; box-shadow: var(--shadow); font-style: normal; }
.contact-card > a,
.contact-card > div { display: grid; grid-template-columns: 50px 1fr auto; gap: 15px; padding: 16px; align-items: center; border-radius: 18px; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.contact-card > a:hover { background: var(--violet-soft); transform: translateX(3px); }
.contact-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: var(--violet); background: var(--violet-soft); font-weight: 900; }
.contact-icon-in { color: white; background: #0a66c2; font-size: .9rem; }
.contact-card small { display: block; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-card strong { display: block; font-size: .94rem; overflow-wrap: anywhere; }
.contact-card b { color: var(--violet); }

.site-footer { padding: 70px 0 max(28px, env(safe-area-inset-bottom)); color: white; background: #080a20; }
.footer-top { display: grid; grid-template-columns: 230px 1fr auto; gap: 40px; align-items: center; padding-bottom: 42px; }
.footer-brand { display: inline-flex; width: 205px; }
.footer-top > p { margin: 0; color: rgba(255,255,255,.48); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: rgba(255,255,255,.72); font-size: .86rem; font-weight: 800; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: center; gap: 30px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.37); font-size: .76rem; text-align: center; }
.footer-bottom p { margin: 0; }
.footer-bottom span { color: #ffcf52; }

.lightbox {
  width: min(460px, calc(100% - 28px));
  max-height: 92vh;
  padding: 12px;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 30px;
  color: white;
  background: rgba(8,10,32,.96);
  box-shadow: 0 40px 100px rgba(0,0,0,.55);
}

.lightbox::backdrop { background: rgba(4,5,17,.86); backdrop-filter: blur(12px); }
.lightbox img { width: 100%; max-height: 78vh; border-radius: 21px; object-fit: contain; }
.lightbox p { margin: 10px 45px 2px 8px; color: rgba(255,255,255,.68); font-size: .84rem; }
.lightbox-close { position: absolute; z-index: 2; top: -14px; right: -12px; display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: #171a3d; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.lightbox-nav { position: absolute; z-index: 2; top: 50%; display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: white; background: rgba(12,14,43,.82); box-shadow: 0 12px 28px rgba(0,0,0,.28); backdrop-filter: blur(10px); cursor: pointer; font-size: 1.25rem; transform: translateY(-50%); transition: background .2s ease, transform .2s ease; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-nav:hover, .lightbox-nav:focus-visible { background: var(--violet); transform: translateY(-50%) scale(1.06); }
.noscript { position: fixed; z-index: 200; inset: auto 20px 20px; margin: 0; padding: 12px 18px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); color: var(--ink); text-align: center; }

.reveal.is-visible { animation: reveal-in .75s cubic-bezier(.2,.8,.2,1) both; }

.legal-page { min-height: 100vh; color: white; background: #090b25; }
.legal-page .site-header { position: absolute; }
.legal-hero { padding: 175px 0 75px; background: radial-gradient(circle at 20% 20%, rgba(113,61,255,.35), transparent 35%); }
.legal-hero h1 { font-size: clamp(3.3rem, 8vw, 6.5rem); }
.legal-hero p { max-width: 650px; color: rgba(255,255,255,.58); }
.legal-content { padding: 70px 0 110px; color: var(--ink); background: var(--paper); }
.legal-prose { max-width: 800px; }
.legal-prose h2 { margin: 46px 0 12px; font-family: "Fredoka", sans-serif; font-size: 1.8rem; line-height: 1.2; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p, .legal-prose li { color: #555b73; }
.legal-prose a { color: var(--violet); font-weight: 800; }
.legal-meta { display: inline-flex; padding: 8px 13px; border-radius: 999px; background: var(--violet-soft); color: var(--violet); font-size: .76rem; font-weight: 900; }
.back-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 44px; font-weight: 900; text-decoration: none; }
.not-found { min-height: 100vh; display: grid; padding: 80px 0; place-items: center; text-align: center; }
.not-found-mark { margin: 0 auto 24px; }
.not-found-copy { margin: 24px auto 34px; }

@keyframes ribbon { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(23,199,186,.13); } 50% { box-shadow: 0 0 0 10px rgba(23,199,186,0); } }
@keyframes reveal-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
  .primary-nav { gap: 20px; }
  .hero-grid { grid-template-columns: .95fr 1.05fr; gap: 20px; }
  .phone-hero { right: 65px; }
  .floating-logo { left: -20px; }
  .game-info { padding-left: 45px; }
  .phone-back { left: 40px; }
  .phone-front { right: 34px; }
  .screenshot-track { grid-auto-columns: calc((100% - 22px) / 2); }
  .coming-card { padding: 58px; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 720px); }
  .section { padding: 90px 0; }
  .language-switcher { margin-left: auto; }
  .legal-header-tools .language-switcher { margin-left: 0; }
  .menu-toggle { position: relative; z-index: 102; display: grid; width: 46px; height: 46px; margin-left: 8px; place-content: center; gap: 6px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.08); cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; border-radius: 2px; background: white; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: fixed; z-index: 101; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 90px 28px 40px; background: rgba(8,10,32,.97); backdrop-filter: blur(22px); opacity: 0; pointer-events: none; transform: translateY(-15px); transition: opacity .25s ease, transform .25s ease; font-family: "Fredoka", sans-serif; font-size: 1.8rem; }
  .primary-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .primary-nav .nav-cta { margin-top: 12px; font-family: "Nunito Sans", sans-serif; font-size: 1rem; }
  .hero { min-height: auto; padding-top: 140px; padding-bottom: 110px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero h1, .hero-lead, .hero-facts { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { min-height: 570px; max-width: 590px; width: 100%; margin: 15px auto 0; }
  .phone-hero { right: 50%; transform: translateX(50%) rotate(4deg); }
  .floating-logo { left: 5px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .featured-game { grid-template-columns: 1fr; }
  .game-info { padding: 56px 42px 28px; text-align: center; }
  .game-logo, .game-description { margin-inline: auto; }
  .feature-chips, .store-actions { justify-content: center; }
  .game-preview { min-height: 590px; }
  .phone-back { left: 21%; }
  .phone-front { right: 20%; }
  .mini-card-one { left: 12%; }
  .mini-card-two { right: 11%; }
  .screenshot-track { grid-auto-columns: calc((100% - 22px) / 2); }
  .values-grid { grid-template-columns: 1fr; gap: 50px; }
  .values-intro { position: relative; top: auto; }
  .coming-card { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .coming-copy > p { margin-inline: auto; }
  .project-stack { width: min(520px, 100%); margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-self: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); --radius-lg: 28px; }
  .section { padding: 76px 0; }
  .brand { width: 158px; }
  .language-switcher { gap: 2px; padding: 3px; border-radius: 13px; }
  .language-option { min-height: 34px; padding: 0 8px; gap: 4px; }
  .language-name { display: none; }
  .language-code { display: inline; }
  .language-flag { width: 18px; height: 13px; }
  .menu-toggle { width: 42px; height: 42px; margin-left: 6px; border-radius: 13px; }
  .hero { padding-top: 125px; padding-bottom: 90px; }
  .hero h1 { font-size: clamp(3.6rem, 19vw, 5.2rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-facts { gap: 8px; }
  .hero-facts div { padding: 0 4px; }
  .hero-facts dt { font-size: .82rem; }
  .hero-facts dd { font-size: .66rem; }
  .hero-art { min-height: 500px; }
  .phone-hero { top: 12px; width: 218px; }
  .orbit-one { width: 400px; height: 400px; right: 50%; transform: translateX(50%); }
  .orbit-two { width: 310px; height: 310px; right: 50%; transform: translateX(50%); }
  .floating-card { padding: 10px 12px; }
  .floating-logo { top: 90px; left: -8px; }
  .floating-rating { right: -5px; bottom: 65px; }
  .floating-card img { width: 42px; height: 42px; }
  .floating-card strong { font-size: .72rem; }
  .floating-card small { font-size: .61rem; }
  .shape-coral { left: 2px; bottom: 72px; width: 58px; height: 58px; }
  .shape-teal { right: 4px; }
  .games { padding-top: 115px; }
  .section-heading h2, .values h2, .coming h2, .contact h2 { font-size: clamp(2.45rem, 13vw, 3.55rem); }
  .featured-game { border-radius: 28px; }
  .game-info { padding: 38px 20px 20px; }
  .game-description { font-size: .92rem; }
  .game-logo { width: min(220px, 64%); max-height: 110px; margin-top: 16px; margin-bottom: 20px; }
  .feature-chips { gap: 7px; }
  .feature-chips li { padding: 7px 9px; font-size: .72rem; }
  .store-actions { flex-direction: column; }
  .store-button { width: 100%; justify-content: center; }
  .game-preview { min-height: 475px; }
  .phone-back { top: 70px; left: 5%; width: 164px; }
  .phone-front { top: 28px; right: 5%; width: 188px; }
  .mini-card { padding: 10px 13px; font-size: 1rem; }
  .mini-card-one { left: 4px; bottom: 72px; }
  .mini-card-two { right: 1px; top: 145px; }
  .gallery-heading { grid-template-columns: 1fr; }
  .gallery-controls { display: none; }
  .screenshot-track { grid-auto-columns: 100%; gap: 14px; margin-inline: auto; padding-inline: 0; }
  .screenshot-card { min-width: 0; aspect-ratio: 1.42 / 1; padding: 20px 11px 0 20px; border-radius: 25px; }
  .shot-copy strong { font-size: 1.48rem; }
  .shot-copy em { margin-top: 16px; }
  .shot-device { height: 102%; border-radius: 21px 21px 0 0; }
  .value-list li { grid-template-columns: 48px 1fr; gap: 14px; }
  .value-list > li > span { width: 42px; height: 42px; }
  .value-list h3 { font-size: 1.35rem; }
  .coming-card { min-height: auto; padding: 45px 20px 36px; border-radius: 28px; }
  .project-stack { min-height: 365px; }
  .project-card { grid-template-columns: 50px 1fr 42px; gap: 10px; padding: 18px 14px; text-align: left; }
  .project-card-one { right: -5px; }
  .project-card-two { top: 205px; left: -3px; }
  .project-number { width: 46px; height: 46px; border-radius: 13px; font-size: 1rem; }
  .project-card h3 { font-size: 1.25rem; }
  .project-mark { width: 40px; height: 40px; }
  .contact-card { padding: 8px; border-radius: 24px; }
  .contact-card > a, .contact-card > div { grid-template-columns: 44px 1fr auto; gap: 12px; padding: 13px 10px; }
  .contact-icon { width: 42px; height: 42px; border-radius: 13px; }
  .contact-card strong { font-size: .85rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal.is-visible { animation: none; }
}

@media (prefers-contrast: more) {
  .hero-lead, .game-description, .section-heading > p, .values-intro > p:last-child, .value-list p { color: white; }
  .feature-chips li, .store-button, .contact-card { border-width: 2px; }
}

/* Privacy center and reusable game policy pages */
.header-back {
  min-height: 46px;
  padding: 0 19px;
  gap: 9px;
  font-size: .86rem;
}

.privacy-hub-hero,
.policy-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(113, 61, 255, .42), transparent 32%),
    radial-gradient(circle at 88% 78%, rgba(23, 199, 186, .15), transparent 28%),
    linear-gradient(145deg, #090a22 0%, #11153a 65%, #0b0d28 100%);
  isolation: isolate;
}

.privacy-hub-hero::before,
.policy-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.privacy-hub-hero { padding-bottom: 105px; }
.privacy-hub-hero h1 { max-width: 850px; }
.privacy-hub-hero p:last-child { max-width: 720px; font-size: 1.08rem; }

.privacy-directory {
  padding: 90px 0 105px;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 15%, rgba(113,61,255,.08), transparent 24%),
    var(--paper);
}

.privacy-directory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 38px;
}

.privacy-directory-heading h2 {
  max-width: 720px;
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1;
}

.privacy-directory-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
}

.privacy-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.privacy-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  min-height: 255px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: 0 18px 50px rgba(26,16,82,.08);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.privacy-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -85px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--violet-soft);
  opacity: .6;
  transition: transform .3s ease;
}

.privacy-card:hover {
  z-index: 1;
  border-color: rgba(113,61,255,.3);
  box-shadow: 0 28px 70px rgba(26,16,82,.15);
  transform: translateY(-5px);
}

.privacy-card:hover::after { transform: scale(1.18); }

.privacy-card-icon,
.privacy-card img {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 20px;
}

.privacy-card-icon {
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--violet), #a472ff);
  box-shadow: 0 14px 30px rgba(113,61,255,.25);
  font-family: "Fredoka", sans-serif;
  font-size: 2rem;
  font-weight: 650;
}

.privacy-card img {
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(18,12,58,.18);
}

.privacy-card-copy { position: relative; z-index: 1; align-self: center; }

.privacy-card-copy small {
  display: block;
  margin-bottom: 5px;
  color: var(--violet);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.privacy-card-copy strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.1;
}

.privacy-card-copy > span {
  display: block;
  max-width: 370px;
  margin-top: 9px;
  color: var(--muted);
  font-size: .9rem;
}

.privacy-card-action {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  align-self: end;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--violet);
  font-size: .82rem;
  font-weight: 900;
}

.privacy-card-action b { font-size: 1.1rem; }

.site-notice { scroll-margin-top: 30px; }
.site-notice .legal-prose { max-width: 850px; }
.site-notice .legal-title {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  letter-spacing: -.03em;
}
.site-notice .legal-intro {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: 1.08rem;
}

.policy-hero { padding: 185px 0 112px; }
.policy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .55fr);
  gap: 70px;
  align-items: center;
}
.policy-hero h1 { max-width: 850px; font-size: clamp(3.25rem, 6.7vw, 6.2rem); }
.policy-hero p:not(.eyebrow) { max-width: 690px; font-size: 1.05rem; }

.policy-game-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 17px;
  padding: 18px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 25px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 25px 65px rgba(0,0,0,.17);
  backdrop-filter: blur(16px);
}

.policy-game-card img {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0,0,0,.23);
}

.policy-game-card span,
.policy-game-card small {
  display: block;
  color: rgba(255,255,255,.52);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.policy-game-card strong {
  display: block;
  margin: 3px 0;
  font-family: "Fredoka", sans-serif;
  font-size: 1.13rem;
  line-height: 1.15;
}
.policy-game-card small { letter-spacing: 0; text-transform: none; }

.policy-content {
  position: relative;
  padding: 0 0 115px;
  color: var(--ink);
  background:
    linear-gradient(rgba(113,61,255,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 64px;
}

.policy-meta-card {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.25fr 1fr .8fr .9fr;
  margin: 0 0 65px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: white;
  box-shadow: 0 24px 70px rgba(26,16,82,.13);
  transform: translateY(-38px);
}

.policy-meta-card > div {
  min-width: 0;
  padding: 23px 25px;
  border-right: 1px solid var(--line);
}

.policy-meta-card > div:last-child { border-right: 0; }
.policy-meta-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.policy-meta-card strong,
.policy-meta-card code {
  display: block;
  overflow-wrap: anywhere;
  font-size: .88rem;
}
.policy-meta-card code {
  padding: 2px 7px;
  border-radius: 6px;
  color: #4f2dcc;
  background: var(--violet-soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.policy-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 780px);
  gap: clamp(45px, 7vw, 90px);
  justify-content: center;
  align-items: start;
}

.policy-sidebar {
  position: sticky;
  top: 28px;
}

.policy-toc {
  padding: 23px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 42px rgba(26,16,82,.07);
}

.policy-toc > p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.policy-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: policy-item;
}

.policy-toc li { counter-increment: policy-item; }

.policy-toc a {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 7px;
  padding: 6px 4px;
  border-radius: 8px;
  color: #555b73;
  font-size: .77rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.policy-toc a::before {
  content: counter(policy-item, decimal-leading-zero);
  color: #9a91bc;
  font-size: .62rem;
  font-weight: 900;
  line-height: 1.65;
}

.policy-toc a:hover {
  color: var(--violet);
  background: var(--violet-soft);
}

.policy-contact-link {
  display: block;
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 19px;
  color: white;
  background: linear-gradient(135deg, var(--violet), #8f5cff);
  box-shadow: 0 14px 34px rgba(113,61,255,.22);
  text-decoration: none;
}
.policy-contact-link span { display: block; color: rgba(255,255,255,.66); font-size: .72rem; }
.policy-contact-link strong { display: block; margin-top: 2px; font-size: .87rem; }

.policy-prose { min-width: 0; }
.policy-prose section {
  margin-bottom: 52px;
  scroll-margin-top: 30px;
}
.policy-prose h2 {
  margin: 0 0 17px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.05rem);
  font-weight: 620;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.policy-prose p,
.policy-prose li {
  color: #555b73;
  line-height: 1.75;
}
.policy-prose p { margin: 0 0 15px; }
.policy-prose ul { margin: 0 0 16px; padding-left: 22px; }
.policy-prose li { margin-bottom: 7px; }
.policy-prose strong { color: #282c42; }
.policy-prose a { color: var(--violet); font-weight: 850; }
.policy-prose code {
  padding: 2px 7px;
  border-radius: 6px;
  color: #4f2dcc;
  background: var(--violet-soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .87em;
}

.policy-prose table {
  display: block;
  width: 100%;
  margin: 19px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-spacing: 0;
  border-radius: 15px;
  background: white;
  box-shadow: 0 10px 32px rgba(26,16,82,.045);
  font-size: .84rem;
}
.policy-prose tbody { display: table; width: 100%; border-collapse: collapse; }
.policy-prose th,
.policy-prose td {
  min-width: 170px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: #555b73;
  text-align: left;
  vertical-align: top;
}
.policy-prose th {
  color: #332767;
  background: var(--violet-soft);
  font-size: .76rem;
  font-weight: 900;
}
.policy-prose tr:last-child td { border-bottom: 0; }

.policy-prose .pill {
  display: inline-flex;
  margin-right: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--violet);
  background: var(--violet-soft);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .04em;
  vertical-align: 1px;
}

.policy-end-card {
  display: flex;
  max-width: 1140px;
  margin: 25px auto 0;
  padding: 23px 26px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(23,199,186,.22);
  border-radius: 24px;
  background: rgba(23,199,186,.075);
}
.policy-end-card > div { display: flex; gap: 14px; align-items: center; }
.policy-end-card p { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }
.policy-end-icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #087d74;
  background: rgba(23,199,186,.16);
  font-weight: 1000;
}
.policy-end-card .back-link { flex: 0 0 auto; margin: 0; color: var(--violet); }

.game-policy-link {
  display: inline-flex;
  margin-top: 12px;
  align-items: center;
  color: var(--violet);
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}
.game-policy-link:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .privacy-directory-heading,
  .policy-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .policy-game-card { width: min(430px, 100%); }
  .policy-meta-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-meta-card > div:nth-child(2) { border-right: 0; }
  .policy-meta-card > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .policy-layout { grid-template-columns: 1fr; gap: 45px; }
  .policy-sidebar { position: static; }
  .policy-toc ol { columns: 2; column-gap: 24px; }
  .policy-toc li { break-inside: avoid; }
  .policy-contact-link { display: inline-block; }
}

@media (max-width: 700px) {
  .privacy-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .legal-page .brand { width: 142px; }
  .legal-header-tools { gap: 6px; }
  .header-back { width: 42px; min-height: 42px; padding: 0; font-size: .88rem; }
  .header-back-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .privacy-hub-hero { padding: 145px 0 78px; }
  .privacy-hub-hero h1 { font-size: clamp(3.15rem, 17vw, 4.6rem); }
  .privacy-directory { padding: 65px 0 78px; }
  .privacy-directory-heading { margin-bottom: 28px; }
  .privacy-directory-heading h2 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
  .privacy-card { grid-template-columns: 62px minmax(0,1fr); min-height: 235px; padding: 21px; border-radius: 24px; }
  .privacy-card-icon, .privacy-card img { width: 62px; height: 62px; border-radius: 17px; }
  .privacy-card-copy strong { font-size: 1.35rem; }
  .site-notice .legal-title { font-size: 2.35rem; }
  .policy-hero { padding: 145px 0 85px; }
  .policy-hero h1 { font-size: clamp(2.9rem, 14.5vw, 4.2rem); }
  .policy-game-card { grid-template-columns: 62px minmax(0,1fr); padding: 14px; border-radius: 20px; }
  .policy-game-card img { width: 62px; height: 62px; border-radius: 16px; }
  .policy-game-card strong { font-size: 1rem; }
  .policy-content { padding-bottom: 80px; }
  .policy-meta-card { grid-template-columns: 1fr; margin-bottom: 25px; border-radius: 21px; }
  .policy-meta-card > div { padding: 17px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .policy-meta-card > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .policy-meta-card > div:last-child { border-bottom: 0; }
  .policy-toc ol { columns: 1; }
  .policy-prose section { margin-bottom: 43px; }
  .policy-prose h2 { font-size: 1.55rem; }
  .policy-prose p, .policy-prose li { font-size: .92rem; }
  .policy-prose table { font-size: .76rem; }
  .policy-prose th, .policy-prose td { min-width: 145px; padding: 10px; }
  .policy-end-card { flex-direction: column; align-items: flex-start; padding: 20px; }
}
