/* Massarente Games — estilo compartilhado por todas as páginas.
   Cada jogo troca só as cores de destaque com --accent/--accent-ink no <body style>. */

:root {
  --bg: #111c27;
  --bg-2: #0c151e;
  --card: #1a2734;
  --card-2: #223142;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f5fa;
  --text-2: #d3dbe8;
  --text-3: #a3b2c7;
  --accent: #5ec4f7;
  --accent-ink: #0b1a26;
  --radius: 22px;
  --max: 1040px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a { color: var(--accent); text-underline-offset: 3px; }

h1, h2, h3 { color: var(--text); line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -0.01em; }

main { flex: 1 0 auto; width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Topo */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--text); color: var(--bg); font-size: 15px;
}
.top nav a { color: var(--text-3); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--text); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px;
  border-radius: 999px; font-weight: 800; font-size: 17px; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-size: 12px; font-weight: 700; opacity: 0.75; line-height: 1; }
.btn span { line-height: 1.15; }
.btn-ghost { background: var(--card-2); color: var(--text); }

/* Página inicial */
.intro { padding: 72px 0 40px; }
.intro h1 { font-size: clamp(36px, 7vw, 60px); }
.intro p { font-size: 19px; max-width: 560px; margin: 14px 0 0; color: var(--text-2); }

.games { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); padding-bottom: 72px; }
.game-card {
  display: block; text-decoration: none; color: inherit; background: var(--card);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.game-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.18); }
.game-card img.cover { aspect-ratio: 1024 / 500; object-fit: cover; width: 100%; }
.game-card .body { display: flex; gap: 14px; align-items: center; padding: 18px 20px 20px; }
.game-card .body img { width: 56px; height: 56px; border-radius: 14px; }
.game-card h2 { font-size: 21px; }
.game-card p { margin: 2px 0 0; font-size: 15px; color: var(--text-3); line-height: 1.45; }
.game-card.soon { display: grid; place-items: center; min-height: 220px; border-style: dashed; color: var(--text-3); font-weight: 700; }
.game-card.soon:hover { transform: none; }

/* Página do jogo */
.hero { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.15fr 0.85fr; padding: 64px 0 56px; }
.hero .icon { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.hero h1 { font-size: clamp(44px, 8vw, 76px); color: var(--accent); }
.hero .tagline { font-size: 21px; color: var(--text); font-weight: 700; margin: 12px 0 6px; }
.hero .sub { color: var(--text-3); margin: 0 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { font-size: 14px; color: var(--text-3); margin-top: 14px; }
.phone {
  justify-self: center; width: min(300px, 100%); border-radius: 36px; padding: 10px;
  background: #05090d; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line);
}
.phone img { border-radius: 27px; aspect-ratio: 9 / 16; width: 100%; }

.section { padding: 48px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: 30px; margin-bottom: 24px; }

.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.feature { background: var(--card); border-radius: 18px; padding: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 15px; color: var(--text-3); line-height: 1.5; }

.shots {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; margin: 0 -20px; padding-left: 20px; padding-right: 20px;
  scrollbar-width: thin;
}
.shots img { width: 220px; flex: none; border-radius: 22px; scroll-snap-align: start; aspect-ratio: 9 / 16; background: var(--card); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; max-width: 640px; }
.steps li { counter-increment: step; display: flex; gap: 16px; align-items: baseline; font-size: 18px; color: var(--text-2); }
.steps li::before {
  content: counter(step); flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card-2); color: var(--accent); font-weight: 800; font-size: 16px; transform: translateY(6px);
}

.help { display: grid; gap: 12px; max-width: 720px; }
.help details { background: var(--card); border-radius: 16px; padding: 4px 20px; }
.help summary { cursor: pointer; font-weight: 700; color: var(--text); padding: 14px 0; }
.help details p { margin: 0 0 16px; color: var(--text-3); }

/* Texto longo (políticas) */
.doc { max-width: 720px; padding: 48px 0 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc .meta { color: var(--text-3); margin: 8px 0 28px; }
.doc li { margin: 4px 0; }
.doc code { background: var(--card-2); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.back { display: inline-block; margin-bottom: 28px; font-weight: 700; text-decoration: none; }

/* Rodapé */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 28px 0 36px; font-size: 15px; color: var(--text-3); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 36px; }
  .phone { width: min(260px, 80%); }
  .intro { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
