/* ElityGames — estilo base do site
   Identidade: gema facetada (menta / esmeralda / jade) sobre azul-noite.
   Recurso de assinatura: cantos cortados a 45°, o mesmo ângulo das facetas da gema. */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
}

:root {
  --night: #0B1220;
  --deep: #070C16;
  --slate: #121C2E;
  --slate-2: #18243A;
  --line: rgba(238, 244, 242, 0.10);
  --paper: #EEF4F2;
  --mute: #9DB0BF;
  --mint: #6BF0CB;
  --emerald: #19D3A2;
  --jade: #0E8F6E;

  --cut: 28px;
  --cut-sm: 10px;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);

  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Archivo', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: 'wdth' 100;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 125%; font-variation-settings: 'wdth' 125; line-height: 1.04; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--mint); color: var(--deep); padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- cabeçalho ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 800; font-size: 1.32rem; letter-spacing: 0.01em; }
.brand-word i { font-style: normal; font-weight: 700; font-size: 0.6rem; letter-spacing: 0.52em; color: var(--emerald); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--mute); font-weight: 600; font-size: 0.95rem; padding: 10px 14px; border-radius: 6px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--paper); background: rgba(255,255,255,.05); }
.nav a[aria-current="page"] { color: var(--mint); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--paper); width: 44px; height: 44px; border-radius: 8px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- botões ---------- */
.btn {
  --bg: var(--emerald); --fg: var(--deep);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--body); text-decoration: none; border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
  transition: background .15s, transform .15s;
}
.btn:hover { --bg: var(--mint); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --bg: rgba(238,244,242,.08); --fg: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { --bg: rgba(238,244,242,.16); }
.btn--play { --bg: #fff; --fg: #111; }
.btn--play:hover { --bg: var(--mint); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero da home ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before { /* brilho e linhas de velocidade, como no banner da marca */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 72% 45%, rgba(25,211,162,.16), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 46px, rgba(107,240,203,.045) 46px 47px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 80%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 30%, #000 80%, transparent);
}
.hero .wrap { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 32px; min-height: min(680px, calc(100svh - 68px)); padding-block: 48px 24px; }
.hero h1 { font-size: clamp(2.1rem, 4.3vw, 4rem); font-weight: 800; max-width: 13ch; text-wrap: balance; }
.hero-lede { margin: 26px 0 34px; font-size: clamp(1.06rem, 1.5vw, 1.25rem); color: var(--mute); max-width: 46ch; }
.hero-lede strong { color: var(--paper); font-weight: 600; }

.gem-stage { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; }
.gem-stage .halo { position: absolute; inset: 8%; border: 1px solid rgba(107,240,203,.22); transform: rotate(45deg) scale(.86); }
.gem-stage .halo + .halo { inset: 0; border-color: rgba(107,240,203,.09); transform: rotate(45deg) scale(.7); }
.gem { position: absolute; inset: 21%; overflow: visible; filter: drop-shadow(0 0 48px rgba(25,211,162,.35)); }
.gem path { transform-box: view-box; transition: translate .6s cubic-bezier(.2,.8,.2,1); }
.gem-tile {
  position: absolute; width: 23%; aspect-ratio: 1; border-radius: 22%;
  overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 2px rgba(255,255,255,.08);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.gem-tile img { width: 100%; height: 100%; object-fit: cover; }
.gem-tile:hover, .gem-tile:focus-visible { transform: translateY(-6px) rotate(0deg) scale(1.06) !important; }
.gem-tile--a { left: 2%; top: 14%; transform: rotate(-8deg); }
.gem-tile--b { right: 0; top: 40%; transform: rotate(7deg); }
.gem-tile--c { left: 12%; bottom: 3%; transform: rotate(5deg); }
.gem-tile-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 18% 6% 6%; font-size: .72rem; font-weight: 700; text-align: center; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .2s; }
.gem-tile:hover .gem-tile-name, .gem-tile:focus-visible .gem-tile-name { opacity: 1; }

/* montagem da gema: o único momento orquestrado da página */
@media (prefers-reduced-motion: no-preference) {
  .gem path { animation: facet-in .9s cubic-bezier(.2,.8,.2,1) both; }
  .gem path:nth-child(1) { --fx: -60px; --fy: -40px; animation-delay: .05s; }
  .gem path:nth-child(2) { --fx: -60px; --fy: 50px;  animation-delay: .15s; }
  .gem path:nth-child(3) { --fx: 70px;  --fy: -60px; animation-delay: .25s; }
  .gem path:nth-child(4) { --fx: 90px;  --fy: 0;     animation-delay: .35s; }
  .gem path:nth-child(5) { --fx: 70px;  --fy: 60px;  animation-delay: .45s; }
  .gem-tile { animation: tile-in .6s cubic-bezier(.2,.8,.2,1) both; }
  .gem-tile--a { animation-delay: .75s; } .gem-tile--b { animation-delay: .85s; } .gem-tile--c { animation-delay: .95s; }
}
@keyframes facet-in { from { opacity: 0; transform: translate(var(--fx), var(--fy)); } }
@keyframes tile-in { from { opacity: 0; translate: 0 18px; } }

/* ---------- seções ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; }
.section-head p { color: var(--mute); margin: 0; max-width: 48ch; }

/* ---------- painel de jogo (home) ---------- */
.game-list { display: grid; gap: clamp(28px, 4vw, 44px); }
.game-panel {
  --a: #19D3A2; --b: #0E8F6E; --hi: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px;
  padding: clamp(28px, 4.5vw, 60px);
  background: linear-gradient(135deg, var(--a), var(--b));
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  min-height: 520px;
}
.game-panel::before { content: ''; position: absolute; inset: -30px; z-index: -1; background: var(--art, none) center / cover; opacity: var(--art-o, .35); filter: blur(7px) saturate(1.15); }
.game-panel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,8,18,.86) 0%, rgba(5,8,18,.62) 48%, rgba(5,8,18,.08) 100%); }
.game-panel:nth-child(even)::after { background: linear-gradient(270deg, rgba(5,8,18,.86) 0%, rgba(5,8,18,.62) 48%, rgba(5,8,18,.08) 100%); }
.game-panel:nth-child(even) .game-info { order: 2; }
.game-panel--stack { --a: #1C7CF5; --b: #9B37E8; --hi: #FFC531; --art: url('/stackslice/img/feature.webp'); --art-o: .55; }
.game-panel--warp  { --a: #140A3C; --b: #3A1E9A; --hi: #FF9A2E; --art: url('/warprider/img/bg.webp'); --art-o: .75; }
.game-panel--vitral{ --a: #1B2030; --b: #2B2D3F; --hi: #F6C945; --art: url('/vitral/img/feature.webp'); --art-o: .5; }
.game-info { max-width: 470px; }
.game-id { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.game-id img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.4); flex: none; }
.game-id h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
.game-genre { margin: 6px 0 0; font-weight: 600; color: var(--hi); font-size: .98rem; }
.game-info > p { color: rgba(238,244,242,.86); }
.facts { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: 7px 12px; background: rgba(255,255,255,.1); border-radius: 999px; font-size: .9rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.phones { position: relative; height: 440px; }
.phone {
  position: absolute; top: 50%; left: 50%; width: 190px; aspect-ratio: 1 / 2;
  border-radius: 26px; overflow: hidden; background: #000;
  box-shadow: 0 24px 50px rgba(0,0,0,.5), 0 0 0 5px #0a0d14, 0 0 0 6px rgba(255,255,255,.14);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg); z-index: 3; }
.phone:nth-child(2) { transform: translate(-112%, -46%) rotate(-9deg) scale(.88); z-index: 2; }
.phone:nth-child(3) { transform: translate(12%, -46%) rotate(9deg) scale(.88); z-index: 1; }
.game-panel:hover .phone:nth-child(2) { transform: translate(-125%, -47%) rotate(-12deg) scale(.88); }
.game-panel:hover .phone:nth-child(3) { transform: translate(25%, -47%) rotate(12deg) scale(.88); }

/* ---------- em produção ---------- */
.wip {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch;
  background: var(--slate);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.wip-art { position: relative; min-height: 360px; background: #8a8f99 url('/assets/img/ragemetal-cars.webp') center / cover; }
.wip-body { padding: clamp(28px, 4.5vw, 56px); }
.status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 700; color: var(--mint); font-size: .95rem; }
.status::before { content: ''; width: 10px; height: 10px; background: var(--emerald); transform: rotate(45deg); box-shadow: 0 0 0 4px rgba(25,211,162,.2); }
@media (prefers-reduced-motion: no-preference) { .status::before { animation: pulse 2s ease-in-out infinite; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(25,211,162,0); } }
.wip h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 18px; }
.wip-body > p { color: var(--mute); max-width: 50ch; }
.wip dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.wip dt { color: var(--mute); font-size: .95rem; }
.wip dd { margin: 0; font-weight: 600; }

/* ---------- sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); }
.about h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; margin-bottom: 26px; }
.about-copy p { color: var(--mute); font-size: 1.12rem; max-width: 52ch; }
.about-copy p:first-of-type { color: var(--paper); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pillars li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars svg { width: 26px; height: 26px; margin-top: 3px; }
.pillars h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 6px; }
.pillars p { margin: 0; color: var(--mute); }

/* ---------- contato ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); }
.contact::before { content: ''; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; right: -160px; top: 50%; translate: 0 -50%; background: url('/assets/brand/gem.svg') center / contain no-repeat; opacity: .07; }
.contact h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; max-width: 16ch; }
.contact p { color: var(--mute); max-width: 50ch; margin: 18px 0 30px; }
.mail { font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 700; font-size: clamp(1.15rem, 3.2vw, 2.1rem); color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.mail:hover { color: var(--paper); }

/* ---------- rodapé ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 56px 40px; color: var(--mute); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 36px; }
.foot-grid h2 { font-family: var(--body); font-variation-settings: 'wdth' 100; font-size: .95rem; font-weight: 700; color: var(--paper); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--mint); }
.foot-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; }

/* ---------- página de jogo ---------- */
.g-hero {
  --a: #19D3A2; --b: #0E8F6E; --hi: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.g-hero::before { content: ''; position: absolute; inset: -30px; z-index: -1; background: var(--art, none) center / cover; opacity: var(--art-o, .4); filter: blur(7px) saturate(1.15); }
.g-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,8,18,.88), rgba(5,8,18,.5) 55%, rgba(5,8,18,.15)); }
.g-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-block: clamp(48px, 7vw, 96px); }
.g-hero .game-id img { width: 112px; height: 112px; border-radius: 26px; }
.g-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 900; }
.g-hero .lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: rgba(238,244,242,.88); max-width: 44ch; margin: 22px 0 30px; }
.g-hero .phones { height: 520px; }
.g-hero .phone { width: 230px; }
.theme-stack  { --a: #1C7CF5; --b: #9B37E8; --hi: #FFC531; --art: url('/stackslice/img/feature.webp'); --art-o: .6; }
.theme-warp   { --a: #140A3C; --b: #3A1E9A; --hi: #FF9A2E; --art: url('/warprider/img/bg.webp'); --art-o: .8; }
.theme-vitral { --a: #1B2030; --b: #2B2D3F; --hi: #F6C945; --art: url('/vitral/img/feature.webp'); --art-o: .55; }

.prose { max-width: 66ch; }
.prose p { color: var(--mute); font-size: 1.1rem; }
.prose p:first-child { color: var(--paper); font-size: 1.22rem; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.features li { padding: 26px 0; border-top: 1px solid var(--line); }
.features h3 { font-family: var(--body); font-variation-settings: 'wdth' 100; font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; }
.features h3::before { content: ''; flex: none; width: 10px; height: 10px; background: var(--hi, var(--emerald)); transform: rotate(45deg) translateY(-2px); }
.features p { margin: 0; color: var(--mute); }

.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 6px var(--gutter) 22px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: thin; scrollbar-color: var(--jade) transparent; }
.rail button { flex: none; width: clamp(180px, 22vw, 250px); aspect-ratio: 1 / 2; padding: 0; border: 0; border-radius: 22px; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; background: #000; box-shadow: 0 0 0 1px var(--line); transition: transform .2s; }
.rail button:hover { transform: translateY(-4px); }
.rail img { width: 100%; height: 100%; object-fit: cover; }
.rail-hint { color: var(--mute); font-size: .95rem; margin: 0; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; }
.lightbox::backdrop { background: rgba(3,6,12,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-height: 88dvh; max-width: 92vw; border-radius: 18px; }
.lightbox-close { position: fixed; top: 16px; right: 16px; }
.lightbox-nav { position: fixed; top: 50%; translate: 0 -50%; }
.lightbox-nav--prev { left: 12px; } .lightbox-nav--next { right: 12px; }
.lightbox .btn { width: auto; min-height: 48px; padding: 0 16px; }

.media-box { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.media-box canvas, .media-box video { width: 320px; max-width: 100%; border-radius: 18px; background: #000; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0,0,0,.4); }
.media-box canvas { aspect-ratio: 320 / 460; height: auto; touch-action: manipulation; }
.media-box video { aspect-ratio: 9 / 16; }
.media-box h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.media-box p { color: var(--mute); max-width: 44ch; }
.kbd { display: inline-block; padding: 1px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--slate-2); font-size: .9em; color: var(--paper); }

.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.more a { display: flex; align-items: center; gap: 18px; padding: 18px; background: var(--slate); text-decoration: none; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); transition: background .15s; }
.more a:hover { background: var(--slate-2); }
.more img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.more b { display: block; font-size: 1.12rem; }
.more span { color: var(--mute); font-size: .95rem; }

.band { background: var(--deep); }

/* ---------- política de privacidade (markup antigo, estilo novo) ---------- */
.legal { padding-block: 56px 96px; }
.legal .head { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.legal .app-icon img { width: 84px; height: 84px; border-radius: 20px; }
.legal .kicker { margin: 0 0 6px; color: var(--emerald); font-weight: 700; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; text-transform: none; }
.legal .effective { color: var(--mute); margin-bottom: 36px; font-size: .95rem; }
.legal .policy { max-width: 74ch; }
.legal .policy h2 { font-family: var(--body); font-variation-settings: 'wdth' 100; font-size: 1.35rem; font-weight: 700; margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal .policy h3 { font-family: var(--body); font-variation-settings: 'wdth' 100; font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--mint); }
.legal .policy p, .legal .policy li { color: #C4D2DC; }
.legal .policy strong { color: var(--paper); }
.legal .policy a { color: var(--mint); }
.legal .policy .lead { color: var(--paper); }
.legal .service { background: var(--slate); padding: 22px 24px 8px; margin: 16px 0; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.legal .policy ul { padding-left: 1.2em; }
.legal .back-link { display: inline-block; margin-bottom: 30px; color: var(--mute); text-decoration: none; font-weight: 600; }
.legal .back-link:hover { color: var(--mint); }
.legal footer, .legal .foot { display: none; }

/* ---------- 404 ---------- */
.lost { min-height: calc(100svh - 68px - 160px); display: grid; place-items: center; text-align: center; padding-block: 80px; }
.lost img { width: 120px; margin: 0 auto 30px; }
.lost h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 16px; }
.lost p { color: var(--mute); margin-bottom: 30px; }
.lost .btn-row { justify-content: center; }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .hero .wrap, .g-hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .gem-stage { width: min(100%, 420px); order: -1; }
  .hero h1 { max-width: 14ch; }
  .game-panel, .wip, .about, .split, .section-head { grid-template-columns: 1fr; }
  .game-panel { min-height: 0; }
  .game-panel:nth-child(even) .game-info { order: 0; }
  .game-panel::after, .game-panel:nth-child(even)::after { background: linear-gradient(180deg, rgba(5,8,18,.8), rgba(5,8,18,.45)); }
  .phones { height: 380px; }
  .phone { width: 160px; }
  .g-hero .phones { height: 420px; }
  .g-hero .phone { width: 190px; }
  .features { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; background: var(--night); border-bottom: 1px solid var(--line); display: none; }
  .nav-open .nav { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .media-box { grid-template-columns: 1fr; justify-items: start; }
  .media-box canvas, .media-box video { justify-self: center; }
}
@media (max-width: 620px) {
  :root { --cut: 18px; }
  .hero .wrap { padding-block: 28px 56px; }
  .phones { height: 330px; }
  .phone { width: 136px; border-radius: 20px; }
  .g-hero .phones { height: 360px; }
  .g-hero .phone { width: 160px; }
  .features { grid-template-columns: 1fr; }
  .wip-art { min-height: 240px; }
  .game-id img { width: 68px; height: 68px; border-radius: 16px; }
  .g-hero .game-id img { width: 84px; height: 84px; border-radius: 20px; }
  .btn { width: 100%; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
