/* =========================================================
   Lucas Carvalho — Portfólio (versão HUD)
   ========================================================= */

:root {
  --bg: #0b0814;
  --bg-alt: #110b1f;
  --panel: #140d26;
  --ink: #14060c;
  --text: #f6efe9;
  --text-soft: #d8cbe6;
  --muted: #c9b8dc;
  --amber: #ffb03a;
  --amber-hi: #ffc36b;
  --pink: #ff3d7f;
  --pink-soft: #ff5c93;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.14);
  --font-display: Anton, 'Arial Narrow', Impact, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --font-body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: var(--amber); }
a:hover { color: #ffd08a; }

.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;
}

/* ---------- Tipografia utilitária ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .16em;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  text-decoration: none;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .14em;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 6px 6px 0 var(--pink); }
.btn-primary:hover { background: #ffc566; color: var(--ink); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--pink); }
.btn-ghost { background: rgba(11, 8, 20, .45); color: var(--text); border: 1px solid rgba(255, 255, 255, .4); }
.btn-ghost:hover { color: var(--amber); border-color: var(--amber); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 12px; }
.btn-email { text-transform: none; letter-spacing: .02em; }

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

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 980px;
  overflow: hidden;
  background: #1b0630;
}

/* Intro "LC" */
/* Intro: cobre a tela inteira e bloqueia scroll/cliques até o JS liberar */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 1000;
  background: #0b0312;
  display: grid; place-items: center;
  overscroll-behavior: contain;
  touch-action: none;
}
.js.is-ready .intro {
  pointer-events: none;
  animation: curtain 1.1s cubic-bezier(.75, 0, .2, 1) forwards;
}
.js .intro.is-gone { display: none; }
html.is-loading, html.is-loading body { overflow: hidden; height: 100%; }
.intro__badge {
  width: 200px; height: 200px; border-radius: 34px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #ffd27a 0%, #ff8a3d 55%, #ff2e88 100%);
  animation: lcBadgeIn .7s cubic-bezier(.2, 1.4, .4, 1) both, lcBreathe 1.2s .7s ease-in-out infinite alternate;
}
.intro__badge span {
  font-family: var(--font-display); font-size: 112px; line-height: 1;
  color: var(--ink); transform: translateY(4px);
}
.intro__loading {
  position: absolute; right: 48px; bottom: 44px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: lcFade .5s .4s ease forwards;
}
.intro__loading .mono { font-size: 12px; color: var(--muted); }
.intro__spin { animation: lcSpin .9s linear infinite; }

/* Céu, sol, mar */
.sky { position: absolute; inset: 0; }
.sky__grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #1b0630 0%, #3d0b4f 22%, #8e1d6e 40%, #e0346f 51%, #ff7a3d 58%, #ffc46b 62%);
  animation: kb 24s ease-in-out infinite alternate;
}
.sky__stars {
  position: absolute; left: 0; right: 0; top: 0; height: 40%; opacity: .6;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 24% 9%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 41% 26%, #ffd9e6 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 22%, #fff 50%, transparent 51%);
}
.cloud { position: absolute; left: 0; border-radius: 50%; animation: drift 70s linear infinite; }
.cloud--1 { top: 24%; width: 420px; height: 46px; background: rgba(255, 150, 190, .32); filter: blur(10px); }
.cloud--2 { top: 33%; width: 620px; height: 60px; background: rgba(255, 120, 120, .28); filter: blur(14px); animation-duration: 95s; animation-delay: -40s; }
.cloud--3 { top: 14%; width: 300px; height: 32px; background: rgba(200, 120, 220, .3); filter: blur(8px); animation-delay: -30s; }

.sun {
  position: absolute; left: 63%; bottom: 38%;
  width: clamp(280px, 36vw, 520px); aspect-ratio: 1 / 1;
  transform: translate(-50%, 42%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff3c4 0%, #ffd27a 30%, #ff8a3d 62%, #ff3d7a 100%);
  box-shadow: 0 0 120px 30px rgba(255, 110, 80, .55);
  animation: sunrise 3.4s cubic-bezier(.2, .7, .2, 1) both;
}

.skyline {
  position: absolute; left: 0; right: 0; bottom: 38%; height: 120px;
  display: flex; align-items: flex-end; gap: 2px; padding-left: 2%;
}
.skyline span { background: #4a1050; }
.skyline .gap { flex: 1 1 auto; background: none; }

.sea {
  position: absolute; left: 0; right: 0; bottom: 0; height: 38%; overflow: hidden;
  background: linear-gradient(180deg, #ff8a5c 0%, #c42a6e 9%, #5a1458 34%, #22072f 70%, #0b0814 100%);
}
.sea__shimmer {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(180deg, rgba(255, 214, 160, .22) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  animation: shimmer 6s linear infinite;
}
.sea__glint {
  position: absolute; left: 63%; top: 0;
  width: clamp(160px, 22vw, 320px); height: 78%;
  transform: translateX(-50%);
  background-image: repeating-linear-gradient(180deg, rgba(255, 210, 122, .95) 0 4px, transparent 4px 13px);
  -webkit-mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 30%, transparent 100%);
  animation: glint 2.6s ease-in-out infinite alternate;
}
.sea__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: linear-gradient(180deg, rgba(18, 5, 28, 0), var(--bg));
}

/* Palmeiras */
.palm { position: absolute; z-index: 2; pointer-events: none; }
.palm svg { width: 100%; height: 100%; transform-origin: 50% 100%; }
.palm--left { left: -70px; bottom: -30px; height: 820px; width: 430px; }
.palm--left svg { animation: sway 7s ease-in-out infinite alternate; }
.palm--right { right: -60px; bottom: -20px; height: 660px; width: 345px; }
.palm--right .flip { width: 100%; height: 100%; transform: scaleX(-1); }
.palm--right svg { animation: sway 8.5s ease-in-out -2s infinite alternate; }

.grain {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 3; opacity: .14; mix-blend-mode: overlay; pointer-events: none;
}

/* Header */
.site-header {
  position: relative; z-index: 5;
  max-width: 1440px; margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 2px solid var(--amber); transform: rotate(45deg);
}
.brand__mark span { transform: rotate(-45deg); font-size: 15px; color: var(--amber); }
.brand__name { font-size: 12px; font-weight: 700; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 12px; }
.site-nav a { color: var(--text); text-decoration: none; opacity: .86; }
.site-nav a:hover { color: var(--amber); opacity: 1; }

/* Conteúdo do hero */
.hero__body {
  position: relative; z-index: 4;
  max-width: 1440px; margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter) 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;
}
.hero__copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__eyebrow {
  margin: 0; display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; color: var(--amber);
}
.diamond { width: 10px; height: 10px; background: var(--amber); transform: rotate(45deg); flex: none; }
.hero__title {
  margin: 0;
  font-size: clamp(76px, 11.5vw, 176px); line-height: .86;
  color: #fff6ee;
  text-shadow: 0 6px 0 rgba(255, 61, 127, .6), 0 0 70px rgba(255, 61, 127, .35);
}
.hero__title span { display: block; }
.hero__title span + span { color: var(--amber-hi); }
.hero__lead {
  margin: 0; max-width: 560px;
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5;
  color: #f6e8f1; text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }

.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .1s; }
.d1 { animation-delay: .25s; }
.d2 { animation-delay: .4s; }
.d3 { animation-delay: .55s; }
/* Hero só anima quando a intro começa a subir */
.js:not(.is-ready) .rise { animation: none; opacity: 0; }
.js:not(.is-ready) .sun { animation: none; transform: translate(-50%, 95%); }

/* Painel de status (HUD) */
.hud-panel {
  position: relative;
  flex: 1 1 280px; max-width: 340px; align-self: flex-start;
  background: rgba(11, 8, 20, .66);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 22px;
  display: flex; flex-direction: column; gap: 18px;
}
.corner { position: absolute; width: 14px; height: 14px; border: 0 solid var(--amber); }
.corner--tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.corner--tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.corner--bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.corner--br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.hud-panel__title { margin: 0; font-size: 11px; color: var(--muted); }
.hud-field { display: flex; flex-direction: column; gap: 4px; }
.hud-field .label { font-size: 11px; color: var(--muted); }
.hud-field .big { font-size: 32px; line-height: 1; color: #fff6ee; }
.hud-field .val { font-size: 16px; font-weight: 600; }
.xp { display: flex; flex-direction: column; gap: 8px; }
.xp__labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.xp__bar { height: 8px; background: rgba(255, 255, 255, .12); }
.xp__fill {
  width: 72%; height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--pink));
  box-shadow: 0 0 12px rgba(255, 61, 127, .7);
}

.hero__scroll {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 40px;
  margin: 0; text-align: center; font-size: 12px; color: #e9dcf2;
}
.blink { animation: blink 1.1s steps(1) infinite; }

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  background: var(--pink); color: var(--ink); overflow: hidden;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker__group { display: flex; align-items: center; gap: 28px; padding: 14px; margin: 0; list-style: none; }
.ticker__group li { display: contents; }
.ticker__word { font-size: 28px; line-height: 1; }
.ticker__dot { width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); flex: none; }

/* =========================================================
   SEÇÕES
   ========================================================= */
.section { padding: clamp(80px, 9vw, 128px) 0; }
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.section--striped {
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 14px);
}

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 40px; padding-bottom: 28px; margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.section-head__titles { display: flex; flex-direction: column; gap: 10px; }
.section-head__kicker { margin: 0; font-size: 13px; font-weight: 700; color: var(--pink-soft); }
.section-head h2 { margin: 0; font-size: clamp(48px, 6vw, 88px); line-height: .95; }
.section-head__desc { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---------- 01 Perfil ---------- */
.profile { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.portrait {
  position: relative; margin: 0;
  flex: 1 1 320px; max-width: 460px; aspect-ratio: 4 / 5;
  background-color: #1a1030;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 4px),
    linear-gradient(165deg, #3a1458 0%, #1a1030 55%, #0f0a1c 100%);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
}
.portrait .bracket { position: absolute; width: 26px; height: 26px; border: 0 solid var(--amber); }
.portrait .bracket--tl { top: 14px; left: 14px; border-top-width: 3px; border-left-width: 3px; }
.portrait .bracket--tr { top: 14px; right: 14px; border-top-width: 3px; border-right-width: 3px; }
.portrait .bracket--bl { bottom: 102px; left: 14px; border-bottom-width: 3px; border-left-width: 3px; }
.portrait .bracket--br { bottom: 102px; right: 14px; border-bottom-width: 3px; border-right-width: 3px; }
.portrait__glow {
  position: absolute; left: 50%; top: 42%; width: 92%; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 127, .45) 0%, rgba(255, 61, 127, 0) 62%);
}
.portrait__ring {
  position: relative; width: min(76%, 330px); aspect-ratio: 1 / 1;
  margin-bottom: 96px; padding: 6px; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--amber), var(--pink), var(--amber));
  box-shadow: 0 0 40px rgba(255, 61, 127, .45);
}
.portrait__inner { width: 100%; height: 100%; padding: 6px; border-radius: 50%; background: #1a1030; }
.portrait__inner img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.portrait__tag {
  position: absolute; right: 4%; bottom: 6%;
  padding: 6px 9px; background: var(--amber); color: var(--ink);
  font-size: 10px; font-weight: 700;
}
.portrait figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 22px; background: rgba(11, 8, 20, .86);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.portrait figcaption .display { font-size: 26px; line-height: 1; }
.portrait figcaption .mono { font-size: 11px; color: var(--muted); }

.profile__info { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.attrs {
  margin: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 28px 32px;
}
.attr { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 2px solid rgba(255, 255, 255, .2); }
.attr--hot { border-top-color: var(--pink); }
.attr dt { font-size: 11px; color: var(--muted); }
.attr dd { margin: 0; font-size: 20px; font-weight: 600; }

.block { display: flex; flex-direction: column; gap: 16px; }
.block__label { margin: 0; font-size: 12px; font-weight: 700; color: var(--amber); }
.lore { margin: 0; font-size: 18px; line-height: 1.7; color: #ece2f3; text-wrap: pretty; }

.quote { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.quote__mark { font-size: 88px; line-height: .6; color: var(--pink); height: 44px; }
.quote p {
  margin: 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4;
  font-weight: 600; color: var(--amber-hi); text-wrap: balance;
}

.perks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.perks li { padding: 10px 14px; border: 1px solid rgba(255, 176, 58, .55); }

/* ---------- 02 Arsenal ---------- */
.section-head--tight { margin-bottom: 40px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab {
  display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(11, 8, 20, .5); color: var(--text);
  font-size: 12px; font-weight: 700; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.tab:hover { border-color: var(--amber); }
.tab[aria-selected="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.tab__key { opacity: .7; }

.loadout { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.cat-card {
  flex: 1 1 300px; max-width: 400px;
  display: flex; flex-direction: column; gap: 20px; padding: 32px;
  background: linear-gradient(170deg, #2a1044 0%, #160d29 100%);
  border: 1px solid var(--line-strong);
}
.hex { clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); }
.cat-card__hex {
  width: 88px; height: 80px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--amber), var(--pink));
}
.cat-card__hex span { font-size: 30px; color: var(--ink); }
.cat-card h3 { margin: 0; font-size: 48px; line-height: .95; }
.cat-card__desc { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-soft); }
.cat-card__count { margin: auto 0 0; font-size: 12px; color: var(--amber); }

.slots {
  flex: 999 1 480px; min-width: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: 16px; align-content: start;
}
.slot {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  min-height: 188px; padding: 22px;
  background: rgba(11, 8, 20, .7); border: 1px solid var(--line-strong);
  transition: transform .2s ease, border-color .2s ease;
}
.slot:hover { transform: translateY(-4px); border-color: var(--pink); }
.slot__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.slot__num { font-size: 11px; color: var(--muted); }
.slot__icon {
  flex: none; width: 56px; height: 56px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
}
.slot__icon img { width: 34px; height: 34px; object-fit: contain; }
.slot__icon .display { font-size: 20px; line-height: 1; color: var(--amber); }
.slot__name { font-size: 32px; line-height: 1; }
.slot__desc { font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.slot__status {
  margin-top: auto; display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; color: var(--amber);
}
.slot__status::before { content: ''; width: 7px; height: 7px; background: var(--amber); }
.slots.swap .slot { animation: slotIn .35s cubic-bezier(.2, .7, .2, 1) both; }
.slots.swap .slot:nth-child(2) { animation-delay: .05s; }
.slots.swap .slot:nth-child(3) { animation-delay: .1s; }
.slots.swap .slot:nth-child(4) { animation-delay: .15s; }

/* ---------- 03 Missões ---------- */
.mission {
  display: flex; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line-strong);
  margin-bottom: 24px;
}
.mission__map {
  position: relative; flex: 1 1 380px; min-height: 340px; overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.mission__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mission__map-tag {
  position: absolute; top: 16px; left: 16px;
  padding: 8px 10px; background: rgba(11, 8, 20, .82);
  font-size: 11px; color: var(--amber);
}
.route { animation: dash 1.1s linear infinite; }
.ping { transform-box: fill-box; transform-origin: center; animation: ping 1.8s ease-out infinite; }

.mission__body {
  flex: 999 1 440px; min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 20px;
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; font-weight: 700; }
.badge { padding: 7px 10px; }
.badge--hot { background: var(--pink); color: var(--ink); }
.badge--outline { border: 1px solid rgba(255, 255, 255, .35); }
.mission h3 { margin: 0; font-size: clamp(40px, 4.4vw, 64px); line-height: .95; }
.mission__desc { margin: 0; font-size: 17px; line-height: 1.65; color: var(--text-soft); text-wrap: pretty; }
.mission__role { margin: 0; font-size: 11px; color: var(--muted); }
.checklist {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 12px 24px; font-size: 16px;
}
.checklist li { display: flex; align-items: center; gap: 12px; }
.check { flex: none; width: 18px; height: 18px; display: grid; place-items: center; background: var(--amber); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.chips li { padding: 7px 10px; background: rgba(255, 255, 255, .07); }
.mission .chips { padding-top: 8px; }

.classified {
  position: relative; display: flex; flex-wrap: wrap; align-items: center;
  gap: 28px 40px; padding: clamp(28px, 4vw, 44px);
  background: var(--panel); border: 1px solid rgba(255, 176, 58, .5);
  overflow: hidden;
}
.classified__tape {
  position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: repeating-linear-gradient(135deg, var(--amber) 0 14px, var(--ink) 14px 28px);
}
.classified__lock { flex: none; width: 72px; height: 72px; display: grid; place-items: center; border: 2px solid var(--amber); }
.classified__text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.classified__text h3 { margin: 0; font-size: clamp(36px, 4vw, 52px); line-height: 1; }
.classified__text p:last-child { margin: 0; max-width: 720px; font-size: 17px; line-height: 1.65; color: var(--text-soft); text-wrap: pretty; }
.redacted { flex: 1 1 200px; max-width: 260px; display: flex; flex-direction: column; gap: 10px; }
.redacted span { height: 14px; background: #2a2140; }

/* ---------- 04 Campanha ---------- */
.section-head--flush { margin-bottom: 16px; }
.timeline { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.chapter {
  display: flex; flex-wrap: wrap; gap: 16px 40px; padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.chapter:last-child { border-bottom: 0; }
.chapter__num { flex: 0 0 170px; display: flex; flex-direction: column; gap: 10px; }
.chapter__num > .mono:first-child { font-size: 12px; font-weight: 700; color: var(--muted); }
.chapter--current .chapter__num > .mono:first-child { color: var(--amber); }
.here {
  align-self: flex-start; display: flex; align-items: center; gap: 8px;
  padding: 6px 9px; background: var(--amber); color: var(--ink);
  font-size: 10px; font-weight: 700;
}
.here::before { content: ''; width: 6px; height: 6px; background: var(--ink); animation: blink 1.1s steps(1) infinite; }
.chapter__role { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; }
.chapter__role h3 { margin: 0; font-size: 40px; line-height: 1; }
.chapter__role .mono { font-size: 12px; color: var(--muted); }
.chapter__desc { flex: 2 1 380px; display: flex; flex-direction: column; gap: 14px; }
.chapter__desc p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--text-soft); }
.chapter__desc .chips li { padding: 6px 9px; }

/* ---------- 05 Conquistas ---------- */
.achievements {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 16px; margin: 0; padding: 0; list-style: none;
}
.ach {
  display: flex; gap: 20px; align-items: flex-start; padding: 24px;
  background: var(--panel); border: 1px solid var(--line-strong);
  transition: transform .2s ease, border-color .2s ease;
}
.ach:hover { transform: translateY(-3px); border-color: rgba(255, 176, 58, .6); }
.ach__hex {
  flex: none; width: 64px; height: 58px; display: grid; place-items: center;
  background: linear-gradient(160deg, #ffd36b, var(--pink));
}
.ach__text { display: flex; flex-direction: column; gap: 6px; }
.ach__title { font-size: 26px; line-height: 1; }
.ach__desc { font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.ach__state { font-size: 10px; font-weight: 700; color: var(--amber); }
.ach--locked { background: transparent; border: 1px dashed rgba(255, 255, 255, .28); }
.ach--locked .ach__hex { background: #2a2140; }
.ach--locked .ach__title, .ach--locked .ach__state { color: var(--muted); }

/* ---------- 06 Contato ---------- */
.contact {
  position: relative; overflow: hidden;
  padding: clamp(96px, 11vw, 160px) 0 clamp(180px, 16vw, 240px);
  background: linear-gradient(180deg, #0b0814 0%, #23103f 55%, #6a1a66 82%, #b02a6e 100%);
}
.contact__floor-wrap { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; overflow: hidden; background: #160b26; }
.floor {
  position: absolute; left: -50%; right: -50%; top: 0; height: 220%;
  background-image:
    linear-gradient(rgba(255, 61, 127, .6) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 61, 127, .6) 1.5px, transparent 1.5px);
  background-size: 72px 72px;
  transform: perspective(360px) rotateX(66deg);
  transform-origin: top center;
  animation: floor 1.6s linear infinite;
}
.contact__horizon {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: #ff7aa8; box-shadow: 0 0 24px 4px rgba(255, 61, 127, .7);
}
.contact__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
  background: linear-gradient(180deg, rgba(11, 8, 20, 0) 0%, var(--bg) 100%);
}
.contact__body {
  position: relative; z-index: 2;
  max-width: 980px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.contact__title { margin: 0; display: flex; flex-direction: column; align-items: center; font-weight: 400; }
.contact__script {
  font-size: clamp(40px, 5vw, 72px); line-height: 1; color: #fff4e6;
  text-shadow: 0 0 8px #ff4d9d, 0 0 24px #ff2e88; transform: rotate(-4deg);
}
.contact__crew { margin-top: -6px; font-size: clamp(110px, 17vw, 250px); line-height: .8; }
.contact__lead {
  margin: 10px 0 0; max-width: 600px;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #fff4e6; text-wrap: pretty;
}
.contact__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .1); background: var(--bg); }
.site-footer .container {
  padding-top: 24px; padding-bottom: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  font-size: 11px; color: var(--muted);
}
.saving { display: flex; align-items: center; gap: 10px; }
.saving::before { content: ''; width: 8px; height: 8px; background: var(--amber); animation: blink 1.1s steps(1) infinite; }

/* =========================================================
   Animações
   ========================================================= */
@keyframes floor { from { background-position: 0 0; } to { background-position: 0 72px; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: .2; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(2.8); opacity: 0; } }
@keyframes lcBadgeIn { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes lcBreathe {
  from { transform: scale(1); box-shadow: 0 0 40px rgba(255, 90, 100, .25); }
  to { transform: scale(1.04); box-shadow: 0 0 90px rgba(255, 90, 100, .5); }
}
@keyframes lcSpin { to { transform: rotate(360deg); } }
@keyframes lcFade { to { opacity: 1; } }
@keyframes curtain { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes sunrise { from { transform: translate(-50%, 95%); } to { transform: translate(-50%, 42%); } }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.4deg); } }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
@keyframes shimmer { from { background-position: 0 0; } to { background-position: 0 56px; } }
@keyframes glint {
  from { opacity: .55; transform: translateX(-50%) scaleX(.86); }
  to { opacity: 1; transform: translateX(-50%) scaleX(1.06); }
}
@keyframes slotIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Parallax por scroll (navegadores com scroll-driven animations) */
@supports (animation-timeline: scroll()) {
  .par-sky { animation: parSky linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
  .par-palm { animation: parPalm linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
}
@keyframes parSky { to { transform: scale(1.16) translateY(70px); } }
@keyframes parPalm { to { transform: translateY(-90px) scale(1.06); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .intro { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Menu mobile ("Jogo pausado")
   ========================================================= */
.menu-btn {
  display: none;
  width: 50px; height: 50px; flex: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 0; cursor: pointer;
  background: rgba(11, 8, 20, .55);
  border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.menu-btn:hover { border-color: var(--amber); }
.menu-btn span { width: 22px; height: 2px; background: var(--text); }
.menu-btn span:nth-child(2) { background: var(--amber); }

.menu-panel {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  padding: 18px clamp(20px, 5vw, 40px) 32px;
  overflow-y: auto;
  background:
    radial-gradient(ellipse 90% 60% at 80% 0%, rgba(255, 61, 127, .28), transparent 60%),
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(255, 176, 58, .18), transparent 60%),
    rgba(11, 8, 20, .97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  animation: menuIn .3s ease both;
}
.menu-panel[hidden] { display: none; }
.menu-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menu-panel__brand { display: flex; align-items: center; gap: 14px; }
.menu-panel__brand .mono { font-size: 12px; font-weight: 700; color: var(--amber); }
.menu-close {
  width: 50px; height: 50px; display: grid; place-items: center; padding: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, .3); cursor: pointer;
}
.menu-close:hover { border-color: var(--amber); }
.menu-nav { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: 40px 0 28px; }
.pm { opacity: 0; animation: pmIn .5s cubic-bezier(.2, .7, .2, 1) forwards; }
.pm-link {
  display: flex; align-items: baseline; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: var(--text); text-decoration: none;
  transition: color .2s ease, padding-left .25s ease;
}
.pm-link:hover { color: var(--amber); padding-left: 10px; }
.pm-link .mono { font-size: 12px; font-weight: 700; color: var(--pink-soft); }
.pm-link .display { font-size: clamp(40px, 11vw, 64px); line-height: 1; }
.menu-panel__foot { display: flex; flex-direction: column; gap: 14px; }
.menu-panel__foot .btn { justify-content: center; }
.menu-panel__foot .mono { font-size: 11px; text-align: center; color: var(--muted); }
html.menu-open, html.menu-open body { overflow: hidden; }
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pmIn { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pm { opacity: 1; } }

/* Escurece o topo do hero no mobile para o texto ler bem */
.hero-scrim {
  display: none;
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 8, 20, .62) 0%, rgba(11, 8, 20, .3) 34%, rgba(11, 8, 20, 0) 56%);
}

/* =========================================================
   Responsivo: tablet
   ========================================================= */
@media (max-width: 1100px) {
  .hud-panel {
    max-width: none; flex: 1 1 100%;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end; column-gap: 28px;
  }
  .hud-panel > p { grid-column: 1 / -1; }
  .cat-card {
    max-width: none; flex: 1 1 100%;
    display: grid; grid-template-columns: auto 1fr;
    column-gap: 28px; row-gap: 10px; align-items: center;
  }
  .cat-card__hex { grid-row: 1 / span 3; }
  .cat-card__count { margin: 0; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .profile { flex-wrap: nowrap; gap: 40px; }
  .portrait { flex: 0 0 300px; max-width: 300px; }
  .profile__info { flex: 1 1 0; }
}
@media (max-width: 1024px) {
  .site-nav, .desk-only { display: none; }
  .menu-btn { display: flex; }
  .site-header { flex-wrap: nowrap; }
}

/* =========================================================
   Responsivo: mobile
   ========================================================= */
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-scrim { display: block; }
  .hero__body { padding-top: 24px; padding-bottom: 240px; gap: 28px; }
  .hero__lead { text-shadow: 0 2px 16px rgba(11, 8, 20, .9); }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }
  .hud-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; row-gap: 16px; column-gap: 18px; }
  .hud-panel > div:last-child { grid-column: 1 / -1; }
  .hud-field .big { font-size: 24px; }
  .hero__scroll { display: none; }
  .palm--left { height: 480px; width: 250px; left: -135px; bottom: -20px; }
  .palm--right { height: 410px; width: 214px; right: -125px; }
  .ticker__word { font-size: 20px; }

  .profile { gap: 36px; }
  .portrait { flex: 1 1 100%; max-width: none; aspect-ratio: 1 / 1; }
  .attrs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .attr dd { font-size: 17px; }

  .tabs {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -20px 28px; padding: 0 20px 6px; scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; white-space: nowrap; }
  .loadout { gap: 16px; }
  .cat-card { padding: 20px; column-gap: 18px; }
  .cat-card__hex { width: 64px; height: 58px; }
  .cat-card h3 { font-size: 32px; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .slot { min-height: 0; padding: 16px; gap: 10px; }
  .slot__name { font-size: 23px; }
  .slot__icon { width: 44px; height: 44px; }
  .slot__icon img { width: 28px; height: 28px; }

  .mission__map { min-height: 240px; flex-basis: 100%; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .1); }

  /* Campanha vira linha do tempo vertical */
  .timeline { position: relative; padding-left: 28px; }
  .timeline::before {
    content: ''; position: absolute; left: 6px; top: 38px; bottom: 38px; width: 2px;
    background: linear-gradient(180deg, var(--amber), var(--pink) 45%, rgba(255, 255, 255, .14));
  }
  .chapter { position: relative; gap: 12px; padding: 28px 0; }
  .chapter::before {
    content: ''; position: absolute; left: -28px; top: 31px; width: 14px; height: 14px;
    background: var(--bg); border: 2px solid var(--pink); transform: rotate(45deg);
  }
  .chapter:first-child::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 16px rgba(255, 176, 58, .85); }
  .chapter__num { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .chapter__role h3 { font-size: 30px; }

  .contact__ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .contact__ctas .btn { justify-content: center; }
  .btn-email { overflow-wrap: anywhere; }
  .ach { padding: 18px; gap: 16px; }
}
@media (max-width: 380px) {
  .slots { grid-template-columns: 1fr; }
  .attrs { grid-template-columns: 1fr; }
}

/* =========================================================
   Atualização: parallax do mouse, radar, Cérebro, Caixa, cidade isométrica
   ========================================================= */
.script { font-family: Yellowtail, 'Brush Script MT', cursive; }
.hl { color: var(--amber); }
.ext1 {
  color: #fff4e6;
  text-shadow: 1px 1px 0 #ff4d8d, 2px 2px 0 #f2457f, 3px 3px 0 #e03d78, 4px 4px 0 #c9356f, 5px 5px 0 #b02d66,
    6px 6px 0 #93265c, 7px 7px 0 #771f51, 8px 8px 0 #5c1846, 9px 9px 0 #43123a, 10px 10px 0 #2d0c2e, 16px 18px 30px rgba(0, 0, 0, .6);
}
.ext2 {
  color: #ffc46b;
  text-shadow: 1px 1px 0 #ff8a3d, 2px 2px 0 #f27935, 3px 3px 0 #e0672d, 4px 4px 0 #c95526, 5px 5px 0 #b0441f,
    6px 6px 0 #933619, 7px 7px 0 #772813, 8px 8px 0 #5c1c0e, 9px 9px 0 #43130a, 10px 10px 0 #2d0c07, 16px 18px 30px rgba(0, 0, 0, .6);
}

/* ---------- Parallax do mouse no topo (--mx/--my de -1 a 1, via JS) ---------- */
.pl-stars  { translate: calc(var(--mx, 0) * -8px) calc(var(--my, 0) * -5px); }
.pl-cloud  { translate: calc(var(--mx, 0) * -18px) calc(var(--my, 0) * -8px); }
.pl-cloud2 { translate: calc(var(--mx, 0) * -26px) calc(var(--my, 0) * -10px); }
.pl-sun    { translate: calc(var(--mx, 0) * -24px) calc(var(--my, 0) * -14px); }
.pl-city   { translate: calc(var(--mx, 0) * -34px) 0; left: -40px; right: -40px; }
.pl-palm-l { translate: calc(var(--mx, 0) * -70px) calc(var(--my, 0) * -18px); rotate: calc(var(--mx, 0) * -3deg); transform-origin: 50% 100%; }
.pl-palm-r { translate: calc(var(--mx, 0) * -95px) calc(var(--my, 0) * -24px); rotate: calc(var(--mx, 0) * -4deg); transform-origin: 50% 100%; }
.pl-title  { transform: perspective(1100px) rotateX(calc(var(--my, 0) * 5deg)) rotateY(calc(var(--mx, 0) * -7deg)); transform-style: preserve-3d; }
.pl-hud    { translate: calc(var(--mx, 0) * 12px) calc(var(--my, 0) * 8px); }

/* ---------- Radar ---------- */
.hud-radar {
  position: absolute; z-index: 6; right: var(--gutter); bottom: 90px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hud-radar__screen {
  position: relative; width: 150px; height: 150px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle, rgba(40, 10, 60, .85), rgba(11, 3, 18, .9));
  border: 3px solid rgba(255, 244, 230, .85);
  box-shadow: 0 0 0 4px rgba(11, 3, 18, .6), 0 10px 30px rgba(0, 0, 0, .5);
}
.hud-radar__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 25px 25px;
}
.hud-radar__road { position: absolute; background: rgba(255, 120, 180, .45); }
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 176, 58, .55), rgba(255, 176, 58, 0) 70deg, transparent 360deg);
  animation: spin 3.2s linear infinite;
}
.blip { position: absolute; width: 10px; height: 10px; border-radius: 50%; animation: blip 1.6s ease-in-out infinite alternate; }
.hud-radar__label { font-size: 10px; color: #e9dcf2; text-shadow: 0 1px 8px #000; }

/* ---------- 03 Cérebro ---------- */
.brain { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 55% at 50% 62%, #2d0c45 0%, var(--bg) 70%); }
.brain__wrap { display: flex; justify-content: center; }
.orb-stage { position: relative; width: min(640px, 100%); aspect-ratio: 1 / 1; perspective: 900px; }
.orb-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.ring1 { width: 86%; height: 86%; border: 1px solid rgba(255, 176, 58, .35); transform: translate(-50%, -50%) rotateX(72deg); animation: ringA 14s linear infinite; }
.ring2 { width: 92%; height: 92%; border: 1px dashed rgba(255, 46, 136, .35); transform: translate(-50%, -50%) rotateY(70deg); animation: ringB 19s linear infinite; }
.ring3 { width: 70%; height: 70%; border: 1px solid rgba(91, 230, 255, .25); transform: translate(-50%, -50%) rotateX(60deg) rotateY(40deg); animation: ringC 24s linear infinite; }
.orb-core {
  position: absolute; left: 50%; top: 50%; z-index: 50;
  width: 30%; aspect-ratio: 1 / 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 38% 32%, #fff3c4 0%, #ffd27a 22%, #ff8a3d 52%, #ff2e88 82%, #8a1a6a 100%);
  transform: translate(-50%, -50%);
  animation: corePulse 3s ease-in-out infinite alternate;
}
.orb-core .display { font-size: clamp(30px, 5vw, 56px); color: var(--ink); opacity: .85; }
.orb-item { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); will-change: transform, opacity; }
.orb-chip {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(20, 6, 30, .88); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45); white-space: nowrap;
  font-size: 15px; font-weight: 700;
}
.orb-chip__logo { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff8ee; }
.orb-chip__logo img { width: 24px; height: 24px; object-fit: contain; }
.orb-tag {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  background: var(--amber); color: var(--ink); font-size: 11px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}

/* ---------- 04 Caixa do jogo ---------- */
.box-wrap { display: flex; justify-content: center; }
.box-stage {
  position: relative; flex: 1 1 460px; height: 640px;
  display: grid; place-items: center; perspective: 1500px;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.box-stage:active { cursor: grabbing; }
.box-shadow {
  position: absolute; left: 50%; bottom: 40px; width: 300px; height: 40px; margin-left: -150px;
  border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 46, 136, .45), transparent 70%); filter: blur(6px);
}
.box-scale { transform-style: preserve-3d; }
.box { position: relative; width: 320px; height: 440px; transform-style: preserve-3d; transform: rotateX(-8deg) rotateY(-28deg); }
.face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.face--front {
  inset: 0; transform: translateZ(18px); border-radius: 6px; background: var(--ink);
  display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
}
.front__top { height: 38px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; background: #0b0312; }
.front__top .mono { font-size: 9px; color: var(--amber); }
.front__logo { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: linear-gradient(160deg, #ffd27a, #ff2e88); }
.front__logo .display { font-size: 12px; color: var(--ink); }
.front__art { position: relative; flex: 1 1 auto; overflow: hidden; background: linear-gradient(180deg, #1b0630 0%, #6a1a66 45%, #ff4d6d 75%, #ffb03a 100%); }
.front__sun {
  position: absolute; left: 50%; bottom: -60px; width: 230px; height: 230px; margin-left: -115px; border-radius: 50%;
  background: linear-gradient(180deg, #fff3c4, #ffc46b 45%, #ff7a3d);
  -webkit-mask-image: linear-gradient(180deg, #000 0 52%, transparent 52% 56%, #000 56% 62%, transparent 62% 67%, #000 67% 72%, transparent 72% 78%, #000 78%);
          mask-image: linear-gradient(180deg, #000 0 52%, transparent 52% 56%, #000 56% 62%, transparent 62% 67%, #000 67% 72%, transparent 72% 78%, #000 78%);
}
.front__photo {
  position: absolute; left: 50%; top: 22px; width: 132px; height: 132px; margin-left: -66px;
  border-radius: 50%; padding: 4px; background: var(--ink); box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
}
.front__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; pointer-events: none; }
.front__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(180deg, transparent, var(--ink)); }
.front__bottom { padding: 10px 16px 14px; display: flex; flex-direction: column; gap: 6px; background: var(--ink); }
.front__title { font-size: 44px; line-height: .88; }
.front__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.front__rating { display: flex; align-items: center; gap: 6px; }
.front__rating .mono { font-size: 7px; color: var(--muted); letter-spacing: .1em; }
.front__genre { font-size: 8px; color: var(--amber); }
.rating { width: 26px; height: 26px; display: grid; place-items: center; background: #1aa34a; color: #fff; font-size: 16px; border-radius: 3px; }
.rating--sm { width: 20px; height: 20px; font-size: 12px; border-radius: 2px; }

.face--back {
  inset: 0; transform: rotateY(180deg) translateZ(18px); border-radius: 6px;
  background: linear-gradient(180deg, #2a0b3e, var(--ink)); padding: 18px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
}
.back__kicker { font-size: 26px; line-height: 1; color: #ffd27a; }
.back__title { font-size: 30px; line-height: .9; }
.back__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 11.5px; line-height: 1.35; color: #ecdff0; }
.back__list li { display: flex; gap: 8px; }
.back__list li span { color: var(--amber); }
.back__shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.back__shots div { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.back__shots .display { font-size: 12px; color: var(--ink); }
.back__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.back__code { display: flex; flex-direction: column; gap: 4px; }
.back__code .mono, .back__addr { font-size: 7px; color: var(--muted); }
.back__addr { font-size: 8px; text-align: right; }
.barcode {
  width: 100px; height: 34px; background-color: #fff8ee;
  background-image: repeating-linear-gradient(90deg, #14060c 0 2px, transparent 2px 3px, #14060c 3px 4px, transparent 4px 6px, #14060c 6px 9px, transparent 9px 10px);
}

.face--spine, .face--edge { left: 50%; top: 0; width: 36px; height: 440px; margin-left: -18px; }
.face--spine {
  transform: rotateY(-90deg) translateZ(160px);
  background: linear-gradient(180deg, #ff8a3d, #ff2e88 50%, #5b1a8a);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10px 0;
}
.face--spine > .display:first-child { font-size: 13px; color: var(--ink); }
.spine__title { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 18px; color: var(--ink); letter-spacing: .06em; }
.face--edge { transform: rotateY(90deg) translateZ(160px); background: linear-gradient(90deg, var(--ink), #2a0b3e 30%, var(--ink)); }
.face--top, .face--bottom { left: 0; top: 50%; width: 320px; height: 36px; margin-top: -18px; }
.face--top { transform: rotateX(90deg) translateZ(220px); background: #1d0830; }
.face--bottom { transform: rotateX(-90deg) translateZ(220px); background: var(--ink); }

/* ---------- 05 Missões: cidade isométrica ---------- */
.mission__map.iso-wrap {
  flex: 1 1 460px; height: 500px; min-height: 0;
  display: grid; place-items: center;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, #24093a, #140d26 75%);
}
.iso-scale { transform-style: preserve-3d; }
.iso {
  position: relative; width: 420px; height: 420px;
  transform: rotateX(58deg) rotateZ(-45deg); transform-style: preserve-3d;
  background-color: #160a26;
  background-image: linear-gradient(rgba(255, 120, 180, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 120, 180, .12) 1px, transparent 1px);
  background-size: 70px 70px;
  box-shadow: 0 0 0 2px rgba(255, 46, 136, .35), 0 0 80px rgba(255, 46, 136, .25);
}
.iso > svg { position: absolute; inset: 0; }
.ib { position: absolute; width: 54px; height: 54px; transform-style: preserve-3d; }
.ib .tp { position: absolute; inset: 0; transform: translateZ(var(--h)); background: linear-gradient(135deg, #5b1a7a, #3a0f52); box-shadow: inset 0 0 0 1px rgba(255, 140, 200, .35); }
.ib .fr {
  position: absolute; left: 0; top: 100%; width: 100%; height: var(--h);
  transform-origin: top; transform: rotateX(90deg);
  background-color: #2a0b3e; background-image: radial-gradient(circle, rgba(255, 196, 110, .75) 1.2px, transparent 1.8px); background-size: 9px 11px;
}
.ib .lf {
  position: absolute; top: 0; left: calc(-1 * var(--h)); width: var(--h); height: 100%;
  transform-origin: right; transform: rotateY(90deg);
  background-color: #1c0730; background-image: radial-gradient(circle, rgba(255, 120, 180, .55) 1.2px, transparent 1.8px); background-size: 11px 9px;
}
.ib.store .tp { background: linear-gradient(135deg, #ffd27a, #ff8a3d); box-shadow: 0 0 30px rgba(255, 176, 58, .8); }
.ib.store .fr { background-color: #c25a1c; }
.ib.store .lf { background-color: #8a3b10; }
.ib.dest .tp { background: linear-gradient(135deg, #ff8fb8, #ff2e88); box-shadow: 0 0 30px rgba(255, 46, 136, .9); }
.ib.dest .fr { background-color: #a3125a; }
.ib.dest .lf { background-color: #6e0c3e; }
.courier {
  position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%;
  background: #ffd27a; box-shadow: 0 0 0 4px rgba(255, 176, 58, .35), 0 0 24px 6px rgba(255, 176, 58, .9);
  offset-path: path('M 70 385 V 280 H 210 V 140 H 350 V 35'); offset-rotate: 0deg;
  animation: ride 6.5s cubic-bezier(.45, 0, .55, 1) infinite;
}
.iso-tag {
  position: absolute; top: 10px; left: 10px; padding: 8px 11px;
  background: rgba(11, 3, 18, .85); border: 1px solid rgba(255, 176, 58, .5);
  font-size: 10px; color: var(--amber);
}
.iso-legend { position: absolute; bottom: 10px; left: 10px; display: flex; gap: 14px; font-size: 10px; color: #d9c8e3; }
.iso-legend span { display: flex; align-items: center; gap: 6px; }
.iso-legend i { width: 10px; height: 10px; display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { from { opacity: .35; transform: scale(.8); } to { opacity: 1; transform: scale(1.15); } }
@keyframes corePulse {
  from { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 60px 10px rgba(255, 90, 100, .45), inset -20px -24px 50px rgba(120, 10, 70, .55); }
  to { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 120px 30px rgba(255, 90, 100, .65), inset -20px -24px 50px rgba(120, 10, 70, .55); }
}
@keyframes ringA { from { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(0deg); } to { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg); } }
@keyframes ringB { from { transform: translate(-50%, -50%) rotateY(70deg) rotateZ(0deg); } to { transform: translate(-50%, -50%) rotateY(70deg) rotateZ(-360deg); } }
@keyframes ringC { from { transform: translate(-50%, -50%) rotateX(60deg) rotateY(40deg) rotateZ(0deg); } to { transform: translate(-50%, -50%) rotateX(60deg) rotateY(40deg) rotateZ(360deg); } }
@keyframes ride { from { offset-distance: 0%; } to { offset-distance: 100%; } }

@media (max-width: 1100px) { .hud-radar { display: none; } }
@media (max-width: 760px) {
  .box-stage { height: 520px; }
  .box-scale { transform: scale(.82); }
  .mission__map.iso-wrap { height: 380px; }
  .iso-scale { transform: scale(.6); }
  .orb-item > * { transform: scale(.78); }
}
@media (max-width: 400px) {
  .iso-scale { transform: scale(.52); }
  .box-scale { transform: scale(.74); }
}
@media (prefers-reduced-motion: reduce) {
  .pl-stars, .pl-cloud, .pl-cloud2, .pl-sun, .pl-city, .pl-palm-l, .pl-palm-r, .pl-hud { translate: none; rotate: none; }
  .pl-title { transform: none; }
}
