/* ==========================================================================
   Megablock - fan-site (pt-PT). Monochrome typographic monolith + electric yellow.
   Theme reference: AREA 17. Hand-written CSS. Mobile-first, full-bleed.
   ========================================================================== */

:root {
  /* Palette */
  --white: #ffffff;
  --graphite: #1a1a1a;
  --black: #000000;
  --hairline: #e6e6e6;
  --fog: #f2f2f2;
  --cream: #f2ede9;
  --muted: #949494;
  --dim: #757575;
  --yellow: #fdf313;

  /* Semantic */
  --bg: var(--white);
  --ink: var(--graphite);
  --line: var(--hairline);

  /* Type */
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Fluid scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.34rem + 0.8vw, 2.1rem);
  --step-3:  clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --step-4:  clamp(2.6rem, 2rem + 3vw, 4.6rem);
  --step-5:  clamp(3.1rem, 2.1rem + 5vw, 6.4rem);

  /* Rhythm */
  --pad-x: clamp(20px, 5vw, 96px);
  --section-y: clamp(64px, 9vw, 150px);
  --measure: 66ch;

  --radius: 8px;
  --radius-sm: 4px;

  /* Soft depth — flat design with a whisper of elevation */
  --shadow-sm: 0 1px 2px rgba(26,26,26,.05), 0 3px 10px rgba(26,26,26,.05);
  --shadow-md: 0 6px 16px rgba(26,26,26,.07), 0 16px 40px rgba(26,26,26,.09);
  --shadow-lg: 0 12px 30px rgba(26,26,26,.10), 0 34px 70px rgba(26,26,26,.12);
  --sky: #d4ecec; /* the game's own sky tone — for image mats */

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

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

/* ---------- Layout helpers ---------- */
.bleed { padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
.measure { max-width: var(--measure); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; flex: none;
  background: var(--yellow); border-radius: 2px;
}

/* Anchor targets clear the sticky header */
section[id] { scroll-margin-top: 88px; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--graphite); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Announcement strip - the single flash of yellow, top of page
   ========================================================================== */
.strip {
  background: var(--yellow);
  color: var(--graphite);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 9px var(--pad-x);
}
.strip span { opacity: 0.72; font-weight: 600; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: var(--step-1);
  letter-spacing: -0.02em;
}
.brand .mark { width: 26px; height: 26px; flex: none; }
.brand b { font-weight: 800; }
.brand i { color: var(--yellow); font-style: normal; -webkit-text-stroke: 0.4px var(--graphite); }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a {
  font-weight: 600; font-size: var(--step-0);
  color: var(--graphite); position: relative; padding-block: 4px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--yellow); transition: right 220ms var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--white); cursor: pointer;
  padding: 0; align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--graphite);
  transition: transform 200ms var(--ease-out), opacity 160ms;
}
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(4px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 820px) {
  .burger { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; gap: 6px;
    background: var(--white); border-left: 1px solid var(--line);
    padding: 88px 28px 28px; transform: translateX(100%);
    transition: transform 260ms var(--ease-out); z-index: 39;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: var(--step-2); font-weight: 700; padding-block: 8px; }
  .nav-links a::after { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: var(--step-0); line-height: 1;
  padding: 15px 26px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 150ms var(--ease-out), background 200ms, color 200ms, border-color 200ms;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.btn--primary { background: var(--yellow); color: var(--graphite); box-shadow: 0 3px 0 color-mix(in srgb, var(--yellow) 60%, #1a1a1a), var(--shadow-sm); }
.btn--primary:hover { background: var(--graphite); color: var(--yellow); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--graphite); border-color: var(--graphite); }
.btn--ghost:hover { background: var(--graphite); color: var(--white); }

.btn--block { background: var(--graphite); color: var(--white); }
.btn--block:hover { background: var(--yellow); color: var(--graphite); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 110px) var(--section-y); }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 64px);
  align-items: end;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
}
.hero h1 {
  font-size: var(--step-5); font-weight: 800; line-height: 1.0;
  letter-spacing: -0.035em; max-width: 15ch;
}
.hero h1 em { font-style: normal; background: var(--yellow); padding: 0 0.12em; box-decoration-break: clone; }
.hero-lead { font-size: var(--step-1); color: var(--graphite); margin-top: clamp(20px, 3vw, 32px); max-width: 44ch; font-weight: 500; }
.hero-note {
  margin-top: 16px; font-size: var(--step--1); color: var(--dim);
  border-left: 3px solid var(--yellow); padding-left: 14px; max-width: 46ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 3vw, 36px); }
.hero-trust { margin-top: 22px; font-size: var(--step--1); color: var(--dim); display: flex; align-items: center; gap: 10px; }
.hero-trust svg { width: 18px; height: 18px; flex: none; }

/* Block/stack decor (SVG) */
.hero-stack { align-self: center; justify-self: center; width: 100%; max-width: 360px; }
.hero-stack svg { width: 100%; height: auto; }

/* ==========================================================================
   Game frame - click to play
   ========================================================================== */
.game { background: var(--graphite); color: var(--white); }
.game .section-head h2 { color: var(--white); }
.game .eyebrow { color: var(--yellow); }
.game-lead { color: #d8d8d8; max-width: 52ch; margin-top: 12px; }

.frame {
  margin-top: clamp(28px, 4vw, 44px);
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  background: #111; border-radius: var(--radius);
  overflow: hidden; border: 1px solid #2a2a2a;
}
@media (min-width: 760px) { .frame { aspect-ratio: 16 / 9; } }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.poster {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 22px; text-align: center;
  padding: 24px; cursor: pointer;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(253,243,19,0.10), transparent 60%),
    repeating-linear-gradient(90deg, #171717 0 46px, #131313 46px 92px);
}
.poster-mark { width: clamp(88px, 16vw, 132px); height: auto; }
.poster h3 { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.poster p { color: #b6b6b6; font-size: var(--step--1); max-width: 40ch; }
.poster .btn { pointer-events: none; }
.poster:hover .btn--primary { background: var(--graphite); color: var(--yellow); }
.frame.is-live .poster { display: none; }
.frame-meta { margin-top: 14px; font-size: var(--step--1); color: #9a9a9a; display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* ==========================================================================
   Generic section head
   ========================================================================== */
.section-head { max-width: 60ch; }
.section-head h2 {
  font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.04; margin-top: 14px;
}
.section-head p { margin-top: 16px; color: var(--dim); font-size: var(--step-1); font-weight: 500; }

/* ==========================================================================
   O que é - feature cards (fog + cream, no shadow)
   ========================================================================== */
.features {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .features { grid-template-columns: 1.4fr 1fr 1fr; }
  .features .card:first-child { grid-row: span 2; }
}
.card {
  background: var(--fog); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px);
  display: flex; flex-direction: column; gap: 12px;
}
.card--cream { background: var(--cream); }
.card--ink { background: var(--graphite); color: var(--white); }
.card--ink p, .card--ink .card-k { color: #cfcfcf; }
.card-k { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.card h3 { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; }
.card p { color: var(--dim); }
.card .blockicon { width: 40px; height: 40px; margin-bottom: 4px; }

/* ==========================================================================
   Como se joga - steps
   ========================================================================== */
.steps { margin-top: clamp(32px, 4vw, 52px); display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 40px);
  align-items: baseline; padding-block: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n {
  font-size: var(--step-4); font-weight: 800; line-height: 0.9;
  letter-spacing: -0.04em; color: var(--graphite);
  -webkit-text-stroke: 1px var(--graphite); color: transparent;
}
.step-b h3 { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; }
.step-b p { margin-top: 8px; color: var(--dim); max-width: 54ch; }

/* ==========================================================================
   FAQ - accordion
   ========================================================================== */
.faq { margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 2.6vw, 30px) 0; cursor: pointer; list-style: none;
  font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 26px; height: 26px; position: relative; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--graphite);
  transition: transform 220ms var(--ease-out), background 200ms;
}
.faq summary .plus::before { width: 16px; height: 2px; }
.faq summary .plus::after { width: 2px; height: 16px; }
.faq details[open] summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::before { background: var(--yellow); }
.faq p { padding: 0 0 clamp(22px, 3vw, 30px); color: var(--dim); max-width: var(--measure); }

/* ==========================================================================
   Split / band CTA
   ========================================================================== */
.band { background: var(--cream); }
.band-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .band-inner { grid-template-columns: 1.4fr auto; } }
.band h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.02em; max-width: 20ch; }
.band p { margin-top: 12px; color: var(--dim); max-width: 48ch; }

/* ==========================================================================
   Prose (legal + sobre)
   ========================================================================== */
.page-head { padding-block: clamp(56px, 8vw, 120px) clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; max-width: 20ch; }
.page-head p { margin-top: 18px; color: var(--dim); font-size: var(--step-1); max-width: 54ch; }

.prose { max-width: 74ch; }
.prose h2 { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; margin-top: clamp(38px, 5vw, 56px); }
.prose h3 { font-size: var(--step-1); font-weight: 700; margin-top: 28px; }
.prose p { margin-top: 14px; color: #3a3a3a; }
.prose ul { margin-top: 14px; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 22px; color: #3a3a3a; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; background: var(--yellow); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--dim); }
.prose .meta { color: var(--muted); font-size: var(--step--1); }

/* Sobre highlight blocks */
.about-grid { display: grid; gap: 16px; margin-top: clamp(32px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .about-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--fog); border-radius: var(--radius); padding: 26px; }
.stat b { display: block; font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; }
.stat span { color: var(--dim); font-size: var(--step--1); }

/* ==========================================================================
   Form
   ========================================================================== */
.form { display: grid; gap: 20px; max-width: 560px; margin-top: clamp(28px, 4vw, 40px); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: var(--step--1); }
.field input, .field textarea {
  font-family: inherit; font-size: var(--step-0); color: var(--graphite);
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 13px 15px; transition: border-color 180ms;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--graphite); }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--graphite); flex: none; }
.check label { font-weight: 500; font-size: var(--step--1); color: var(--dim); }
.form .btn { justify-self: start; }
.form-help { font-size: var(--step--1); color: var(--muted); }
#successMsg { justify-self: start; margin: 4px 0 0; padding: 12px 18px; border-radius: var(--radius); background: var(--yellow); color: var(--graphite); font-weight: 700; border-left: 4px solid var(--graphite); box-shadow: var(--shadow-sm); }

.contact-info { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 14px; }
.contact-info a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot { background: var(--fog); border-top: 1px solid var(--line); }
.foot-top {
  display: grid; gap: clamp(30px, 5vw, 56px); padding-block: clamp(56px, 8vw, 110px);
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .foot-top { grid-template-columns: 1.6fr 1fr 1fr; } }
.foot-brand .brand { font-size: var(--step-2); }
.foot-brand p { margin-top: 16px; color: var(--dim); max-width: 40ch; font-size: var(--step--1); }
.foot-col h4 { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); font-weight: 700; }
.foot-col ul { margin-top: 16px; display: grid; gap: 10px; }
.foot-col a { color: var(--graphite); font-weight: 500; }
.foot-col a:hover { color: var(--dim); }
.disclaimer {
  border-top: 1px solid var(--line); padding-block: 26px;
  font-size: var(--step--1); color: var(--muted); line-height: 1.6;
}
.foot-legal {
  border-top: 1px solid var(--line); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: var(--step--1); color: var(--muted);
}

/* ==========================================================================
   404
   ========================================================================== */
.notfound { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: var(--section-y); }
.notfound .big { font-size: clamp(4rem, 18vw, 12rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.notfound .big em { font-style: normal; color: var(--yellow); -webkit-text-stroke: 1px var(--graphite); }
.notfound p { margin-top: 20px; color: var(--dim); font-size: var(--step-1); max-width: 44ch; }
.notfound .btn { margin-top: 30px; align-self: flex-start; }

/* ==========================================================================
   Reveal on scroll (progressive; visible without JS)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* Success message */
.notice { background: var(--cream); border-radius: var(--radius); padding: 18px 20px; font-weight: 600; display: none; }
.notice.show { display: block; }

/* ==========================================================================
   Real game imagery — captures from megablock.inout.games (attributed in footer)
   ========================================================================== */
.imgwrap { position: relative; overflow: hidden; border-radius: var(--radius); background: #d9eceb; }
.imgwrap img { display: block; width: 100%; height: auto; transition: transform 620ms var(--ease-out); }
.imgwrap:hover img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .imgwrap:hover img { transform: none; } }

.shot-cap {
  margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between;
  font-size: var(--step--1); color: var(--dim);
}
.shot-cap .real { color: var(--graphite); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.shot-cap .real::before { content: ""; width: 9px; height: 9px; background: var(--yellow); flex: none; }

/* Hero: real block close-up with offset yellow block behind (area-17 accent) */
.hero-media { position: relative; width: 100%; max-width: 440px; justify-self: center; }
.hero-media::before {
  content: ""; position: absolute; right: -16px; top: -16px; width: clamp(56px, 9vw, 88px);
  aspect-ratio: 1; background: var(--yellow); z-index: 0;
}
.hero-media .imgwrap { position: relative; z-index: 1; border: 1px solid var(--line); }
.hero-media figcaption { margin-top: 12px; font-size: var(--step--1); color: var(--dim); position: relative; z-index: 1; }

/* Showcase — big framed capture inside a graphite passe-partout */
.showcase { background: var(--fog); }
.showcase-mat {
  background: var(--graphite); border-radius: var(--radius);
  padding: clamp(12px, 1.6vw, 22px); margin-top: clamp(26px, 3vw, 40px);
}
.showcase-mat .imgwrap { border-radius: var(--radius-sm); }
.showcase-mat img { border-radius: var(--radius-sm); }
.showcase .shot-cap { margin-top: 16px; }

/* Sobre o jogo — split text + builder image */
.about {
  margin-top: clamp(32px, 4vw, 52px); display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.about-copy p { color: #3a3a3a; margin-top: 16px; max-width: 58ch; }
.about-copy p:first-child { margin-top: 0; }
.about-copy .lead { font-size: var(--step-1); font-weight: 500; color: var(--graphite); }
.about-copy .caveat {
  margin-top: 22px; border-left: 3px solid var(--yellow); padding-left: 16px;
  color: var(--dim); font-size: var(--step--1);
}
.about-media { position: relative; }
.about-media .imgwrap { border: 1px solid var(--line); }
.about-media figcaption { margin-top: 12px; font-size: var(--step--1); color: var(--dim); }
@media (min-width: 900px) { .about-media { position: sticky; top: 96px; } }

/* Características — feature line-items with block glyphs (denser than the card grid) */
.spec { margin-top: clamp(32px, 4vw, 52px); display: grid; gap: 0; }
.spec-row {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 3vw, 36px);
  align-items: start; padding-block: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line);
}
.spec-row:last-child { border-bottom: 1px solid var(--line); }
.spec-row .glyph { width: 46px; height: 46px; flex: none; }
.spec-row h3 { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; }
.spec-row p { margin-top: 8px; color: var(--dim); max-width: 62ch; }
@media (min-width: 760px) {
  .spec { grid-template-columns: repeat(2, 1fr); column-gap: clamp(28px, 4vw, 64px); }
  .spec-row:nth-child(2) { border-top: 1px solid var(--line); }
}

/* Dicas — numbered advice tiles */
.tips { margin-top: clamp(32px, 4vw, 52px); display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .tips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tips { grid-template-columns: repeat(3, 1fr); } }
.tip {
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px);
  display: flex; flex-direction: column; gap: 10px; background: var(--white);
  transition: transform 200ms var(--ease-out), border-color 200ms;
}
.tip:hover { transform: translateY(-3px); border-color: var(--graphite); }
@media (prefers-reduced-motion: reduce) { .tip:hover { transform: none; } }
.tip .n {
  font-size: var(--step-3); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.4px var(--graphite);
}
.tip h3 { font-size: var(--step-1); font-weight: 800; letter-spacing: -0.01em; }
.tip p { color: var(--dim); font-size: var(--step-0); }
.tip:nth-child(4) .n { -webkit-text-stroke-color: var(--yellow); color: var(--yellow); }

/* Curiosidades — graphite band with full-bleed strip capture + facts */
.facts { background: var(--graphite); color: var(--white); }
.facts .section-head h2 { color: var(--white); }
.facts .section-head p { color: #cfcfcf; }
.facts .eyebrow { color: var(--yellow); }
.facts-grid {
  margin-top: clamp(30px, 4vw, 48px); display: grid; gap: clamp(26px, 4vw, 48px);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 940px) { .facts-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); } }
.facts-list { display: grid; gap: 0; }
.facts-list li { padding-block: 18px; border-top: 1px solid #2e2e2e; display: grid; gap: 6px; }
.facts-list li:last-child { border-bottom: 1px solid #2e2e2e; }
.facts-list b { font-weight: 800; font-size: var(--step-1); letter-spacing: -0.01em; }
.facts-list span { color: #b6b6b6; font-size: var(--step-0); }
.facts-media .imgwrap { border: 1px solid #2e2e2e; background: var(--sky); }
.facts-media figcaption { margin-top: 12px; font-size: var(--step--1); color: #9a9a9a; }

/* ==========================================================================
   QUALITY REFINEMENTS — depth, hero atmosphere, richer imagery framing
   ========================================================================== */

/* --- Hero: blueprint grid + soft yellow light, content lifted above --- */
.hero-grid { position: relative; z-index: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
  -webkit-mask-image: radial-gradient(115% 90% at 82% 4%, #000 0%, transparent 60%);
          mask-image: radial-gradient(115% 90% at 82% 4%, #000 0%, transparent 60%);
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -8%; top: -18%; width: min(600px, 62vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(253,243,19,.30), transparent 70%);
}

/* --- Real imagery: unified sky mat, hairline ring, elevation --- */
.imgwrap { background: var(--sky); box-shadow: inset 0 0 0 1px rgba(26,26,26,.05); }

.hero-media .imgwrap { box-shadow: inset 0 0 0 1px rgba(26,26,26,.06), var(--shadow-lg); }
.hero-media::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -22px; height: 30px; z-index: 0;
  background: radial-gradient(58% 100% at 50% 0%, rgba(26,26,26,.20), transparent 72%);
  filter: blur(3px);
}

.showcase-mat { box-shadow: var(--shadow-lg); }
.about-media .imgwrap { box-shadow: var(--shadow-md); }
.facts-media .imgwrap { box-shadow: 0 18px 44px rgba(0,0,0,.34); }

/* --- Game frame: real elevation on the dark band + hover glow on poster --- */
.frame { box-shadow: 0 0 0 1px #2a2a2a, 0 26px 60px rgba(0,0,0,.45); }
.poster { transition: background 300ms var(--ease-out); }
.poster::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--yellow); transition: box-shadow 260ms var(--ease-out);
}
.poster:hover::after { box-shadow: inset 0 0 0 3px rgba(253,243,19,.55); }

/* Play triangle badge over the poster mark */
.poster-play {
  position: relative; display: grid; place-items: center;
  width: clamp(64px, 11vw, 84px); aspect-ratio: 1; border-radius: 50%;
  background: var(--yellow); color: var(--graphite);
  box-shadow: 0 10px 30px rgba(253,243,19,.28);
}
.poster-play svg { width: 38%; height: auto; margin-left: 8%; }
.poster-play::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--yellow); animation: playPulse 2.4s var(--ease-out) infinite;
}
@keyframes playPulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .poster-play::before { animation: none; } }

/* --- Cards & tiles: subtle lift so the flat grid gains hierarchy --- */
.card { box-shadow: var(--shadow-sm); }
.tip { box-shadow: var(--shadow-sm); }
.tip:hover { box-shadow: var(--shadow-md); }
.stat { box-shadow: var(--shadow-sm); }

/* --- Staggered reveals inside grids/lists --- */
.js .steps .reveal:nth-child(2), .js .spec .reveal:nth-child(2),
.js .tips .reveal:nth-child(2), .js .facts-list li:nth-child(2) { transition-delay: .06s; }
.js .steps .reveal:nth-child(3), .js .spec .reveal:nth-child(3),
.js .tips .reveal:nth-child(3), .js .facts-list li:nth-child(3) { transition-delay: .12s; }
.js .steps .reveal:nth-child(4), .js .spec .reveal:nth-child(4),
.js .tips .reveal:nth-child(4), .js .facts-list li:nth-child(4) { transition-delay: .18s; }
.js .tips .reveal:nth-child(5), .js .facts-list li:nth-child(5) { transition-delay: .24s; }
.js .tips .reveal:nth-child(6) { transition-delay: .30s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { transition-delay: 0s !important; } }

/* --- Sobre: portrait image beside the story --- */
.story { display: grid; gap: clamp(28px, 4vw, 52px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .story { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); } }
.story-media { position: relative; }
.story-media .imgwrap { border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.story-media::before {
  content: ""; position: absolute; left: -16px; top: -16px; width: clamp(52px, 8vw, 80px);
  aspect-ratio: 1; background: var(--yellow); z-index: 0;
}
.story-media .imgwrap { position: relative; z-index: 1; }
.story-media figcaption { margin-top: 12px; font-size: var(--step--1); color: var(--dim); }
@media (min-width: 900px) { .story-media { position: sticky; top: 96px; } }

/* ==========================================================================
   EXPANSION — real-image game poster, stat band, gallery, comparison, devices
   ========================================================================== */

/* --- Game poster: a real capture with a readable overlay --- */
.poster { background: #0e0e0e; padding: 0; }
.poster-shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; filter: saturate(1.05) contrast(1.02);
  transition: transform 8s var(--ease-out);
}
.poster:hover .poster-shot { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .poster:hover .poster-shot { transform: none; } }
.poster::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 42%, rgba(10,10,12,.24), rgba(10,10,12,.74) 80%),
    linear-gradient(to top, rgba(10,10,12,.85), transparent 58%);
}
.poster-body {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  align-items: center; gap: 15px; text-align: center; padding: clamp(24px, 4vw, 44px);
}
.poster-body h3 { font-size: var(--step-3); font-weight: 800; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.55); }
.poster-body p { color: #e8e8e8; font-size: var(--step-0); max-width: 42ch; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.poster-body .btn { pointer-events: none; margin-top: 4px; }
.poster:hover .btn--primary { background: #fff; color: var(--graphite); box-shadow: var(--shadow-md); }
.poster-tag {
  margin-top: 2px; font-size: var(--step--1); font-weight: 600; letter-spacing: .04em;
  color: #d2d2d2; display: inline-flex; align-items: center; gap: 8px;
}
.poster-tag::before { content: ""; width: 8px; height: 8px; background: var(--yellow); flex: none; }

/* --- Stat band: big figures on graphite --- */
.statband { background: var(--graphite); color: #fff; padding-block: clamp(44px, 5vw, 76px); }
.statband-grid { display: grid; gap: clamp(26px, 3vw, 40px) clamp(22px, 4vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 560px) { .statband-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .statband-grid { grid-template-columns: repeat(4, 1fr); } }
.statfig { display: grid; gap: 10px; padding-left: 20px; border-left: 3px solid var(--yellow); }
.statfig b { font-size: clamp(2.7rem, 2rem + 3.2vw, 4.1rem); font-weight: 800; letter-spacing: -.045em; line-height: .88; }
.statfig b i { font-style: normal; font-size: .34em; font-weight: 700; color: var(--yellow); margin-left: 4px; letter-spacing: 0; }
.statfig span { font-weight: 700; font-size: var(--step-0); color: #fff; display: grid; gap: 4px; }
.statfig span em { font-style: normal; font-weight: 500; font-size: var(--step--1); color: #a6a6a6; }

/* --- Gallery: real captures in an asymmetric grid --- */
.gallery-grid { margin-top: clamp(32px, 4vw, 52px); display: grid; gap: clamp(14px, 1.8vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ga--wide { grid-column: span 2; }
}
.ga { margin: 0; }
.ga .imgwrap { box-shadow: var(--shadow-md); }
.ga:not(.ga--wide) .imgwrap { aspect-ratio: 4 / 3; }
.ga:not(.ga--wide) img { width: 100%; height: 100%; object-fit: cover; }
.ga figcaption { margin-top: 12px; font-size: var(--step--1); color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.ga .real { color: var(--graphite); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.ga .real::before { content: ""; width: 9px; height: 9px; background: var(--yellow); flex: none; }
.gallery-src { margin-top: clamp(22px, 3vw, 34px); font-size: var(--step--1); color: var(--muted); }
.gallery-src b { color: var(--dim); font-weight: 700; }

/* --- Às claras: honest two-column comparison --- */
.cmp { margin-top: clamp(32px, 4vw, 52px); display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 800px) { .cmp { grid-template-columns: repeat(2, 1fr); } }
.cmp-col { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); }
.cmp-col--yes { background: var(--graphite); color: #fff; border-color: var(--graphite); box-shadow: var(--shadow-md); }
.cmp-col--no { background: var(--fog); }
.cmp-col h3 { display: flex; align-items: center; gap: 12px; font-size: var(--step-1); font-weight: 800; letter-spacing: -.01em; }
.cmp-col--yes h3 { color: #fff; }
.cmp-ic { width: 26px; height: 26px; flex: none; }
.cmp-col ul { margin-top: 18px; display: grid; gap: 0; }
.cmp-col li { padding: 14px 0 14px 26px; position: relative; border-top: 1px solid; }
.cmp-col--yes li { border-color: #2e2e2e; color: #dcdcdc; }
.cmp-col--no li { border-color: var(--line); color: #3a3a3a; }
.cmp-col li:first-child { border-top: none; }
.cmp-col li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 12px; height: 2px; }
.cmp-col--yes li::before { background: var(--yellow); }
.cmp-col--no li::before { background: var(--muted); }

/* --- Onde jogar: device cards --- */
.devices { margin-top: clamp(32px, 4vw, 52px); display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .devices { grid-template-columns: repeat(3, 1fr); } }
.dev {
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column; gap: 12px; background: #fff; box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease-out), border-color 200ms, box-shadow 200ms;
}
.dev:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--graphite); }
@media (prefers-reduced-motion: reduce) { .dev:hover { transform: none; } }
.dev--best { border-color: var(--graphite); }
.dev-ic { width: 46px; height: 46px; margin-bottom: 2px; }
.dev h3 { font-size: var(--step-2); font-weight: 800; letter-spacing: -.02em; }
.dev p { color: var(--dim); font-size: var(--step-0); flex: 1; }
.dev-tag {
  align-self: flex-start; margin-top: 4px; font-size: var(--step--1); font-weight: 700; letter-spacing: .02em;
  background: var(--yellow); color: var(--graphite); padding: 6px 13px; border-radius: 999px;
}
.dev-tag--soft { background: var(--fog); color: var(--dim); }
