/* Site de divulgação do Prisma. Cores do ícone: a noite do mundo padronizado e o espectro que Lumen devolve. */
:root {
  --night: #0b0a16;
  --deep: #110f22;
  --panel: #19152e;
  --line: rgba(255, 255, 255, 0.1);
  --text: #eee9f8;
  --muted: #b3aacd;
  --gold: #ffe08a;
  --ember: #ff9f5a;
  --teal: #7ff0d0;
  --violet: #b084ff;
  --spectrum: linear-gradient(90deg, #ff5a5f, #ff9f43, #ffe34d, #4fdc6a, #4ba3ff, #b074ff);
  --pixel: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  line-height: 1.18;
  text-wrap: balance;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(27px, 4.4vw, 42px);
  letter-spacing: -0.01em;
}

h2::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 14px;
  background: var(--spectrum);
}

h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

p {
  margin: 0 0 14px;
}

a {
  color: var(--gold);
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 60;
  padding: 8px 14px;
  background: var(--panel);
}

.skip:focus {
  left: 8px;
}

/* ---------- Botões ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 22px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--gold), var(--ember));
  box-shadow: 0 4px 0 #8a3f24, 0 10px 26px rgba(255, 150, 70, 0.28);
  color: #2a1420;
  font: 700 15px/1.2 var(--pixel);
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.button:active {
  box-shadow: 0 1px 0 #8a3f24;
  transform: translateY(3px);
}

.button-ghost {
  background: rgba(12, 10, 24, 0.55);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
  color: var(--text);
}

.button-ghost:active {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.button-small {
  min-height: 36px;
  padding: 6px 16px;
  font-size: 14px;
}

.button-big {
  min-height: 52px;
  padding: 13px 34px;
  font-size: 17px;
}

.button[aria-disabled='true'] {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  cursor: default;
  filter: none;
  transform: none;
}

/* ---------- Topo ---------- */
.top {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) calc(18px + env(safe-area-inset-right, 0px)) 10px calc(18px + env(safe-area-inset-left, 0px));
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.top.solid,
.top.open {
  background: rgba(11, 10, 22, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(10px);
}

.brand img {
  width: 90px;
  image-rendering: pixelated;
}

.menu {
  display: flex;
  gap: 22px;
  margin: 0 auto;
}

.menu a {
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  opacity: 0.82;
}

.menu a:hover {
  color: var(--gold);
  opacity: 1;
}

.lang {
  min-width: 40px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: 700 13px var(--pixel);
  cursor: pointer;
}

.menu-button {
  display: none;
}

/* ---------- Abertura: a cor só existe onde a luz chega ---------- */
.hero {
  --x: 72%;
  --y: 40%;
  --reach: clamp(190px, 30vw, 420px);
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Aproximação: deixa o HUD da captura fora do quadro. */
  transform: scale(1.22);
  image-rendering: pixelated;
}

.hero-grey {
  filter: grayscale(1) brightness(0.55) sepia(0.35) hue-rotate(175deg) saturate(1.2);
}

.hero-color {
  filter: saturate(1.25) brightness(1.12);
  -webkit-mask-image: radial-gradient(circle var(--reach) at var(--x) var(--y), #000 38%, rgba(0, 0, 0, 0.55) 66%, transparent 100%);
  mask-image: radial-gradient(circle var(--reach) at var(--x) var(--y), #000 38%, rgba(0, 0, 0, 0.55) 66%, transparent 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle calc(var(--reach) * 0.7) at var(--x) var(--y), rgba(255, 190, 90, 0.2), transparent),
    radial-gradient(ellipse 66% 52% at 50% 52%, rgba(8, 6, 18, 0.72), transparent),
    linear-gradient(180deg, rgba(11, 10, 22, 0.6), transparent 22%, transparent 70%, var(--night));
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  padding: 90px 22px 70px;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

/* Aviso de jogo em desenvolvimento: logo abaixo da abertura e na janela de jogar. */
.devnote {
  padding: 22px 0;
  border-block: 1px solid rgba(127, 240, 208, 0.35);
  background: linear-gradient(90deg, rgba(127, 240, 208, 0.08), rgba(176, 132, 255, 0.12), rgba(127, 240, 208, 0.08));
  text-align: center;
}

.devnote strong {
  color: var(--teal);
  font: 700 17px/1.3 var(--pixel);
}

.devnote p {
  margin: 6px 0 0;
}

.devnote-inline {
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid rgba(127, 240, 208, 0.35);
  border-radius: 12px;
  background: rgba(127, 240, 208, 0.07);
  font-size: 14px;
  line-height: 1.45;
}

.devnote-inline strong {
  display: block;
  color: var(--teal);
}

.badge {
  margin-bottom: 18px;
  padding: 3px 14px;
  border: 1px solid rgba(127, 240, 208, 0.5);
  border-radius: 999px;
  background: rgba(8, 20, 24, 0.7);
  color: var(--teal);
  font: 700 12px/1.8 var(--pixel);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-logo {
  width: min(560px, 82vw);
  margin-bottom: 22px;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 0 28px rgba(255, 170, 80, 0.35));
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(20px, 3.4vw, 31px);
}

.hero p:not(.badge) {
  max-width: 34em;
  color: #ddd5ee;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.down {
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border: solid var(--gold);
  border-width: 0 3px 3px 0;
  rotate: 45deg;
  animation: bob 1.8s ease-in-out infinite;
}

/* ---------- Seções ---------- */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--deep), #0e0c1c);
  border-block: 1px solid var(--line);
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

.narrow {
  width: min(720px, 100% - 40px);
}

.kicker {
  margin-bottom: 8px;
  color: var(--ember);
  font: 700 13px/1.4 var(--pixel);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split p {
  color: var(--muted);
}

/* Antes e depois */
.compare {
  margin: 0;
}

.compare-frame {
  --cut: 55%;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.compare-frame img {
  width: 100%;
  image-rendering: pixelated;
}

.compare-light {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--cut)) 0 0);
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cut);
  width: 3px;
  margin-left: -1px;
  background: var(--gold);
  box-shadow: 0 0 18px 4px rgba(255, 200, 100, 0.6);
}

.compare-line::after {
  content: '‹ ›';
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--gold);
  color: #2a1420;
  font: 700 17px var(--pixel);
  white-space: nowrap;
}

.compare input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}

.compare-frame:focus-within {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Lumen: tira com 10 quadros de 16×22 */
.lumen-sprite {
  --k: 4;
  width: calc(16px * var(--k));
  height: calc(22px * var(--k));
  margin-inline: auto;
  background: url('/site/media/lumen.png') 0 0 / calc(160px * var(--k)) calc(22px * var(--k)) no-repeat;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 16px rgba(255, 180, 80, 0.7));
  animation: lumen 1.5s steps(10) infinite;
}

.lumen-stage {
  display: grid;
  place-items: center;
  min-height: 340px;
  background: radial-gradient(closest-side, rgba(255, 190, 90, 0.34), rgba(255, 120, 70, 0.1) 55%, transparent);
}

.lumen-stage .lumen-sprite {
  --k: 11;
}

.split-lumen {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 5px 14px;
  border: 1px solid rgba(255, 224, 138, 0.35);
  border-radius: 999px;
  color: var(--gold);
  font: 700 13px var(--pixel);
}

/* Como se joga */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--panel), #12101f);
}

.card svg {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  shape-rendering: crispEdges;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Eras */
.eras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.era {
  --era: var(--ember);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--era);
  border-radius: 10px;
  background: var(--panel);
}

.era-assembly {
  --era: #d8b45a;
}

.era-circuit {
  --era: var(--teal);
}

.era-unknown {
  --era: var(--violet);
}

.era img,
.unknown {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.era > div:last-child {
  padding: 18px 22px 6px;
}

.era h3 {
  color: var(--era);
}

.era p {
  color: var(--muted);
  font-size: 15px;
}

.unknown {
  display: grid;
  place-items: center;
  flex: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(176, 132, 255, 0.3), transparent 55%),
    repeating-linear-gradient(45deg, #0d0b1a 0 12px, #110e22 12px 24px);
  color: var(--violet);
  font: 700 clamp(52px, 9vw, 96px) var(--pixel);
  text-shadow: 0 0 30px var(--violet);
}

/* Galeria */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: zoom-in;
}

.gallery img {
  width: 100%;
  transition: transform 0.35s ease, filter 0.35s ease;
}

@media (hover: hover) {
  .gallery img {
    filter: saturate(0.55) brightness(0.9);
  }

  .gallery button:hover img,
  .gallery button:focus-visible img {
    filter: saturate(1.15) brightness(1.08);
    transform: scale(1.05);
  }
}

/* Trilha */
.tracks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.track {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.track:hover,
.track.playing {
  border-color: rgba(255, 224, 138, 0.55);
}

.track-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
}

.track-icon::after {
  content: '';
  margin-left: 4px;
  border: solid transparent;
  border-width: 7px 0 7px 12px;
  border-left-color: #2a1420;
}

.playing .track-icon::after {
  width: 12px;
  height: 14px;
  margin: 0;
  border-width: 0 4px;
  border-color: #2a1420;
}

.track-bar {
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
  background: var(--line);
}

.track-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--spectrum);
}

/* Fecho */
.closing {
  text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(255, 160, 80, 0.16), transparent);
}

.closing h2::after {
  margin-inline: auto;
}

.closing .lumen-sprite {
  margin-bottom: 22px;
}

.closing p {
  color: var(--muted);
  margin-bottom: 26px;
}

.foot {
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.foot p {
  margin: 2px 0;
}

/* ---------- Janelas ---------- */
.modal {
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 28px 24px 22px;
  overflow-y: auto;
  border: 1px solid rgba(255, 224, 138, 0.35);
  border-radius: 16px;
  background: linear-gradient(180deg, #211a38, #121022);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(255, 166, 66, 0.14);
}

.modal[open] {
  animation: rise 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}

.modal::backdrop {
  background: rgba(5, 4, 12, 0.82);
  backdrop-filter: blur(4px);
}

.modal h2 {
  margin-right: 36px;
  font-size: 25px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.platforms {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.platform {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

/* Quem visita vê primeiro a opção do próprio aparelho. */
.platform.yours {
  order: -1;
  border-color: var(--gold);
  background: rgba(255, 224, 138, 0.08);
}

.yours-badge {
  position: absolute;
  top: -9px;
  left: 14px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: #2a1420;
  font: 700 11px/1.6 var(--pixel);
}

.platform svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
  shape-rendering: crispEdges;
}

.platform h3 {
  margin: 0;
  font-size: 17px;
}

.platform p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.platform p.hint {
  margin-top: 4px;
}

.platform .button {
  min-width: 156px;
}

.platform-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hint {
  color: var(--muted);
  font-size: 13px;
}

.modal-webapp {
  width: min(480px, calc(100vw - 24px));
  text-align: center;
}

.modal-webapp h2 {
  margin: 12px 0 12px;
}

.modal-webapp h2::after {
  margin-inline: auto;
}

.modal-webapp .button-big {
  width: 100%;
  margin-bottom: 16px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px;
  border-radius: 12px;
  background: #0b0a16;
}

.tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: 700 14px var(--pixel);
  cursor: pointer;
}

.tabs button[aria-selected='true'] {
  background: var(--panel);
  color: var(--gold);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: step;
  text-align: left;
}

.steps li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 15px;
  line-height: 1.4;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gold);
  color: #2a1420;
  font: 700 14px var(--pixel);
}

.note {
  padding: 9px 12px;
  border-left: 3px solid var(--ember);
  border-radius: 4px 10px 10px 4px;
  background: rgba(255, 159, 90, 0.12);
  font-size: 13px;
  text-align: left;
}

.lightbox {
  width: min(1180px, calc(100vw - 16px));
  padding: 0;
  overflow: hidden;
  background: #000;
}

.lightbox img {
  width: 100%;
  max-height: calc(100dvh - 24px);
  object-fit: contain;
}

.turn {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 64px;
  margin-top: -32px;
  border: 0;
  background: rgba(8, 6, 18, 0.6);
  color: var(--text);
  font-size: 34px;
  cursor: pointer;
}

.turn-prev {
  left: 0;
  border-radius: 0 10px 10px 0;
}

.turn-next {
  right: 0;
  border-radius: 10px 0 0 10px;
}

/* ---------- Entrada suave (só com script) ---------- */
.animated .reveal {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.6s ease, translate 0.6s ease;
}

.animated .reveal.seen {
  opacity: 1;
  translate: 0 0;
}

@keyframes lumen {
  to {
    background-position-x: calc(-160px * var(--k));
  }
}

@keyframes bob {
  50% {
    translate: 0 8px;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 26px;
    scale: 0.96;
  }
}

/* ---------- Telas menores ---------- */
@media (max-width: 960px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    order: 4;
    width: 40px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    height: 2px;
    background: var(--text);
  }

  .brand {
    margin-right: auto;
  }

  .menu {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 6px 18px 14px;
    background: rgba(11, 10, 22, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .open .menu {
    display: flex;
  }

  .menu a {
    padding: 11px 0;
    font-size: 17px;
  }

  .split,
  .split-lumen {
    grid-template-columns: minmax(0, 1fr);
  }

  .lumen-stage {
    min-height: 260px;
  }

  .lumen-stage .lumen-sprite {
    --k: 8;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .top {
    gap: 8px;
  }

  .brand img {
    width: 74px;
  }

  .cards,
  .eras,
  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    --reach: 230px;
  }

  .modal-webapp .lumen-sprite {
    --k: 3;
  }

  .modal-webapp {
    font-size: 15px;
  }

  .steps li {
    padding: 7px 10px;
    font-size: 14px;
  }

  .actions {
    flex-direction: column;
    align-self: stretch;
  }

  .platform {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .platform > .button,
  .platform-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .modal {
    padding-inline: 16px;
  }
}

/* Em pé, aproximar menos: os pixels do jogo já saem grandes. */
@media (orientation: portrait) {
  .hero-art img {
    transform: scale(1.02);
  }
}

/* Celular deitado: a abertura cabe inteira. */
@media (orientation: landscape) and (max-height: 520px) {
  .hero-text {
    padding: 64px 22px 24px;
  }

  .hero-logo {
    width: 250px;
    margin-bottom: 10px;
  }

  .hero .badge,
  .down {
    display: none;
  }

  .hero h1 {
    font-size: 19px;
  }

  .hero p:not(.badge) {
    font-size: 14px;
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .animated .reveal {
    opacity: 1;
    translate: 0 0;
  }
}
