:root {
  --bg: #0a0d0b;
  --line: rgba(241, 245, 241, .1);
  --text: #f1f5f1;
  --muted: #a9b4ac;
  --faint: #74807a;
  --lime: #d7df21;
  --white: #f4f6f4;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-align: center;
}

img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

h1, h2 { font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(32px, 9vw, 52px); line-height: 1.1; }
h2 { font-size: clamp(25px, 6.6vw, 36px); line-height: 1.15; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  max-width: 320px;
  min-height: 50px;
  margin-inline: auto;
  border-radius: 999px;
  background: var(--white);
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease), opacity .2s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* Abertura */
.hero { padding: 26px 24px 28px; animation: up .8s var(--ease) both; }
.logo { width: 78px; margin: 0 auto 38px; }
.over { color: var(--lime); font-size: 13px; font-weight: 500; letter-spacing: .02em; margin-bottom: 12px; }
.sub { color: var(--muted); max-width: 300px; margin: 12px auto 22px; }
.note { color: var(--faint); font-size: 13px; margin-top: 10px; }

/* Capas */
.games { padding-bottom: 8px; animation: up .8s var(--ease) .12s both; }
.shelf {
  display: flex;
  gap: 10px;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf li { flex: 0 0 132px; scroll-snap-align: start; }
.shelf li { overflow: hidden; border-radius: 8px; }
.shelf img { aspect-ratio: 3 / 4; object-fit: cover; background: #161b17; }
/* Recorta a faixa PS5 e o selo de envio da capa da loja. */
.shelf li:nth-child(4) img { transform: scale(1.36) translateY(4.5%); }
.platform { color: var(--muted); font-size: 13px; max-width: 300px; margin: 16px auto 0; padding-inline: 24px; box-sizing: content-box; }

/* Fora x grupo */
.compare { padding: 64px 24px 16px; }
table { width: 100%; max-width: 440px; margin: 26px auto 0; border-collapse: collapse; font-size: 15px; }
thead th { color: var(--faint); font-size: 13px; font-weight: 500; padding-bottom: 10px; }
thead th:last-child { color: var(--text); }
tbody th, tbody td { border-top: 1px solid var(--line); padding: 13px 0; }
tbody th { font-weight: 400; text-align: left; }
th[scope="col"], td.no, td.yes { width: 68px; text-align: center; }
.no { color: var(--faint); }
.yes { color: var(--lime); font-weight: 600; }

/* Final */
.final { padding: 64px 24px 44px; }
.final .btn { margin-top: 22px; }
.trust { color: var(--faint); font-size: 13px; max-width: 320px; margin: 22px auto 0; }

.foot { padding: 0 24px 96px; color: var(--faint); font-size: 12px; }
.foot a { color: inherit; }

.sticky {
  position: fixed;
  inset: auto 0 0;
  z-index: 5;
  padding: 10px 24px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 13, 11, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.sticky.on { transform: none; }

/* Movimento discreto */
@keyframes up { from { transform: translateY(12px); } }
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }

@media (min-width: 768px) {
  .hero { padding: 40px 24px 48px; }
  .logo { width: 92px; margin-bottom: 72px; }
  .sub { max-width: none; }
  .shelf { justify-content: center; overflow: visible; }
  .shelf li { flex-basis: 168px; transition: transform .35s var(--ease); }
  .shelf li:hover { transform: translateY(-4px); }
  .compare { padding-top: 96px; }
  .final { padding-top: 96px; }
  .trust { max-width: none; }
  .sticky { display: none; }
  .foot { padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise { opacity: 1; transform: none; }
}
