/* ============================================================
   Bibliq — Design System do site
   Identidade: azul profundo, dourado, marfim · Lora + Inter
   ============================================================ */
:root {
  --navy: #232f4d;
  --navy-deep: #1b2440;
  --navy-darker: #161f38;
  --navy-soft: #35446b;
  --gold: #d4a24e;
  --gold-soft: #e2bc7a;
  --gold-dim: rgba(212, 162, 78, 0.35);
  --ivory: #f7f2e7;
  --ivory-card: #fffdf8;
  --ink: #2a2620;
  --muted: #6e6455;
  --muted-2: #93897a;
  --line: rgba(35, 47, 77, 0.12);
  --ok: #3d7a53;
  --err: #b3542e;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(27, 36, 64, 0.08);
  --shadow-md: 0 6px 24px rgba(27, 36, 64, 0.1);
  --shadow-lg: 0 18px 48px rgba(27, 36, 64, 0.18);
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
.serif { font-family: var(--font-serif); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Skip link (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--ivory);
  padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

::selection { background: var(--gold-dim); }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 242, 231, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-family: var(--font-serif); font-weight: 600; font-size: 23px; color: var(--navy); letter-spacing: 0.2px; }
.header-actions { display: flex; align-items: center; gap: 14px; }

/* Language switch */
.lang-switch {
  display: flex; align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 99px; overflow: hidden;
  background: #fff;
}
.lang-switch a, .lang-switch span {
  padding: 6px 13px; font-size: 13px; font-weight: 600;
  text-decoration: none; color: var(--muted); letter-spacing: 0.5px;
}
.lang-switch .active { background: var(--navy); color: var(--ivory); }
.lang-switch a:hover:not(.active) { color: var(--navy); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 13px; border: none; cursor: pointer;
  text-decoration: none; transition: transform 0.15s ease, box-shadow 0.2s, background 0.2s;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--navy); color: var(--ivory); box-shadow: 0 4px 14px rgba(27, 36, 64, 0.25); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(27, 36, 64, 0.3); }
.btn-gold { background: linear-gradient(160deg, var(--gold-soft), var(--gold)); color: #3a2c12; box-shadow: 0 4px 14px rgba(212, 162, 78, 0.4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(212, 162, 78, 0.5); }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 10px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(212, 162, 78, 0.1), transparent 60%),
    linear-gradient(180deg, #f9f5ec 0%, var(--ivory) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
  padding: 64px 0 84px; position: relative;
}
.hero-copy { max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--gold-dim);
  color: var(--navy); font-size: 12.5px; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase;
  padding: 7px 15px; border-radius: 99px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.82); } }

.hero h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.14; color: var(--navy);
  letter-spacing: -0.5px; margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: 0; right: 0; bottom: -7px; width: 100%; height: 8px; }
.hero .sub {
  font-family: var(--font-serif); font-size: clamp(17px, 1.7vw, 20px);
  color: var(--muted); margin-bottom: 32px; line-height: 1.6;
}

/* Waitlist form */
.waitlist { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.hero .waitlist { margin-bottom: 10px; }
.waitlist input[type='email'] {
  flex: 1 1 240px;
  padding: 14px 18px; font-size: 16px; font-family: var(--font-sans);
  border: 1.5px solid rgba(35, 47, 77, 0.22); border-radius: 13px;
  background: #fff; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist input[type='email']::placeholder { color: var(--muted-2); }
.waitlist input[type='email']:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 162, 78, 0.16); }
.form-msg { font-size: 14.5px; min-height: 22px; margin-top: 10px; }
.form-msg.ok { color: var(--ok); font-weight: 600; }
.form-msg.err { color: var(--err); font-weight: 600; }
.form-note { font-size: 13px; color: var(--muted-2); margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; pointer-events: none; }

/* -------- Phone mockup (CSS puro) -------- */
.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-visual::before {
  content: ''; position: absolute; inset: 8% -4% -2% -4%;
  background: radial-gradient(closest-side, rgba(35, 47, 77, 0.09), transparent 72%);
  z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 18.6;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 78%);
  border-radius: 42px;
  border: 9px solid #10182c;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
  padding: 20px 16px;
  transform: rotate(2.2deg);
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.phone::before { /* notch */
  content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.14);
}
.phone-top { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.phone-greet { font-family: var(--font-serif); color: var(--ivory); font-size: 15.5px; }
.phone-greet small { display: block; font-family: var(--font-sans); font-size: 10.5px; color: rgba(247, 242, 231, 0.55); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.streak {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(212, 162, 78, 0.14); border: 1px solid rgba(212, 162, 78, 0.4);
  color: var(--gold-soft); font-weight: 700; font-size: 13px;
  border-radius: 99px; padding: 5px 11px;
}
.episode-card {
  background: linear-gradient(155deg, #2d3a5f, #222d4c);
  border: 1px solid rgba(212, 162, 78, 0.28);
  border-radius: 18px; padding: 15px 14px;
  position: relative;
}
.episode-card .corner-tl, .episode-card .corner-br { position: absolute; width: 13px; height: 13px; border: 1.5px solid var(--gold); opacity: 0.85; }
.episode-card .corner-tl { top: 7px; left: 7px; border-width: 1.5px 0 0 1.5px; border-top-left-radius: 5px; }
.episode-card .corner-br { bottom: 7px; right: 7px; border-width: 0 1.5px 1.5px 0; border-bottom-right-radius: 5px; }
.episode-card .ep-tag { font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 5px; }
.episode-card h4 { font-family: var(--font-serif); color: var(--ivory); font-size: 16.5px; font-weight: 600; margin-bottom: 3px; }
.episode-card p { font-size: 11px; color: rgba(247, 242, 231, 0.6); margin-bottom: 12px; }
.progress { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.progress i { display: block; height: 100%; width: 64%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.progress-label { display: flex; justify-content: space-between; font-size: 10px; color: rgba(247, 242, 231, 0.55); margin-top: 6px; }

.phone-tiles { display: flex; gap: 7px; justify-content: center; padding: 4px 0 2px; }
.tile {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; font-family: var(--font-sans);
  color: #fff;
}
.tile.gold { background: linear-gradient(160deg, var(--gold-soft), var(--gold)); color: #3a2c12; }
.tile.blue { background: #5b7ba6; }
.tile.dark { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.75); }
.phone-tiles-label { text-align: center; font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(247, 242, 231, 0.5); }

.phone-verse {
  margin-top: auto; text-align: center;
  font-family: var(--font-serif); font-style: italic;
  font-size: 11.5px; color: rgba(247, 242, 231, 0.72); line-height: 1.5;
  padding: 0 6px 6px;
}
.phone-verse cite { display: block; font-style: normal; color: var(--gold); font-size: 9.5px; letter-spacing: 1.2px; margin-top: 4px; }

/* ============ Value bar ============ */
.value-bar { background: var(--navy); color: var(--ivory); }
.value-bar-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px;
  padding: 18px 0; font-size: 14.5px; letter-spacing: 0.4px;
}
.value-bar-inner span { display: inline-flex; align-items: center; gap: 9px; opacity: 0.92; }
.value-bar-inner svg { flex-shrink: 0; }

/* ============ Sections ============ */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
h2.section-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2;
  color: var(--navy); letter-spacing: -0.3px;
}
.section-sub { color: var(--muted); font-size: 17px; margin-top: 14px; }

/* Quill divider */
.divider { display: flex; justify-content: center; padding: 10px 0 0; }

/* ============ How it works ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative; text-align: center; padding: 36px 26px 30px;
  background: var(--ivory-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.step-num {
  width: 52px; height: 52px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1.5px solid var(--gold);
  font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--gold);
  background: rgba(212, 162, 78, 0.07);
}
.step h3 { font-family: var(--font-serif); font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step-arrow {
  position: absolute; top: 50%; right: -22px; transform: translateY(-50%);
  color: var(--gold); z-index: 2; opacity: 0.7;
}
.step:last-child .step-arrow { display: none; }

/* ============ Feature cards ============ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-dim); }
.card .icon-wrap {
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(155deg, var(--navy), var(--navy-deep));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--gold-soft);
}
.card h3 { font-family: var(--font-serif); color: var(--navy); font-size: 21px; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* corner ornaments (iluminuras) */
.corners::before, .corners::after {
  content: ''; position: absolute; width: 17px; height: 17px;
  border-color: var(--gold); border-style: solid; opacity: 0.85;
  transition: width 0.25s, height 0.25s;
}
.corners::before { top: 11px; left: 11px; border-width: 1.5px 0 0 1.5px; border-top-left-radius: 6px; }
.corners::after { bottom: 11px; right: 11px; border-width: 0 1.5px 1.5px 0; border-bottom-right-radius: 6px; }
.card.corners:hover::before, .card.corners:hover::after { width: 24px; height: 24px; }

/* ============ Covers ============ */
.covers-section { background: linear-gradient(180deg, var(--ivory) 0%, #f2ecdd 100%); }
.covers {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.covers figure { margin: 0; }
.covers .cover-frame {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 2px solid rgba(212, 162, 78, 0.5);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.covers figure:hover .cover-frame { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.covers img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform 0.45s ease;
}
.covers figure:hover img { transform: scale(1.045); }
.covers figcaption {
  text-align: center; font-family: var(--font-serif);
  font-size: 15.5px; color: var(--navy); margin-top: 12px; font-weight: 600;
}
.covers figcaption small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 12.5px; color: var(--muted-2); margin-top: 1px; }

/* ============ Game teaser ============ */
.game-teaser { background: var(--navy-deep); color: var(--ivory); position: relative; overflow: hidden; }
.game-teaser::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(760px 380px at 15% 20%, rgba(212, 162, 78, 0.09), transparent 60%);
  pointer-events: none;
}
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.game-copy .section-eyebrow { color: var(--gold-soft); }
.game-copy h2 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.22; margin-bottom: 16px; color: var(--ivory); }
.game-copy p { color: rgba(247, 242, 231, 0.75); font-size: 16.5px; margin-bottom: 14px; }
.game-copy .mini-list { list-style: none; margin: 20px 0 0; display: grid; gap: 12px; padding: 0; }
.game-copy .mini-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: rgba(247, 242, 231, 0.85); }
.game-copy .mini-list svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }

.wordle-demo {
  justify-self: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 162, 78, 0.25);
  border-radius: var(--radius-lg);
  padding: 34px 38px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.wordle-demo .wd-title { font-family: var(--font-serif); font-size: 17px; color: var(--gold-soft); margin-bottom: 6px; }
.wordle-demo .wd-verse { font-family: var(--font-serif); font-style: italic; font-size: 13.5px; color: rgba(247, 242, 231, 0.65); margin: 0 auto 20px; max-width: 240px; }
.wd-rows { display: grid; gap: 8px; justify-content: center; }
.wd-row { display: flex; gap: 8px; justify-content: center; }
.wd-tile {
  width: 44px; height: 44px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px; color: #fff;
  background: rgba(255, 255, 255, 0.1);
  animation: tileIn 0.5s ease backwards;
}
.wd-row:nth-child(1) .wd-tile { animation-delay: calc(var(--i) * 0.12s); }
.wd-row:nth-child(2) .wd-tile { animation-delay: calc(0.8s + var(--i) * 0.12s); }
@keyframes tileIn { from { transform: rotateX(90deg); opacity: 0; } to { transform: rotateX(0); opacity: 1; } }
.wd-tile.gold { background: linear-gradient(160deg, var(--gold-soft), var(--gold)); color: #3a2c12; }
.wd-tile.blue { background: #5b7ba6; }
.wd-tile.dark { background: rgba(255, 255, 255, 0.13); color: rgba(255, 255, 255, 0.65); }

/* ============ Verse band ============ */
.verse-band {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-darker) 100%);
  color: var(--ivory); text-align: center; padding: 88px 24px; position: relative;
}
.verse-band .vb-corner { position: absolute; width: 34px; height: 34px; border-color: var(--gold); border-style: solid; opacity: 0.55; }
.verse-band .vb-tl { top: 26px; left: 26px; border-width: 2px 0 0 2px; border-top-left-radius: 9px; }
.verse-band .vb-br { bottom: 26px; right: 26px; border-width: 0 2px 2px 0; border-bottom-right-radius: 9px; }
.verse-band blockquote {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(21px, 3vw, 30px); line-height: 1.45;
  max-width: 680px; margin: 0 auto 16px;
}
.verse-band cite { color: var(--gold); font-style: normal; font-size: 14.5px; letter-spacing: 2px; text-transform: uppercase; }

/* ============ Final CTA ============ */
.final-cta { text-align: center; }
.final-cta .waitlist { justify-content: center; margin: 30px auto 0; max-width: 520px; }
.final-cta .form-msg { text-align: center; }

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-darker); color: rgba(247, 242, 231, 0.72);
  padding: 64px 0 34px; font-size: 14.5px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(247, 242, 231, 0.1);
}
.footer-brand .brand span { color: var(--ivory); }
.footer-brand p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: rgba(247, 242, 231, 0.55); max-width: 260px; }
.store-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; flex-direction: column;
  border: 1px solid rgba(247, 242, 231, 0.22); border-radius: 10px;
  padding: 7px 14px; line-height: 1.25; text-decoration: none; cursor: default;
}
.store-badge small { font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: rgba(247, 242, 231, 0.5); }
.store-badge strong { font-size: 13.5px; color: var(--ivory); font-weight: 600; }
.footer-col h4 {
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; padding: 0; }
.footer-col a { color: rgba(247, 242, 231, 0.72); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding-top: 26px; font-size: 13px; color: rgba(247, 242, 231, 0.45);
}
.footer-bottom .verse-mini { font-family: var(--font-serif); font-style: italic; }

/* ============ Legal pages ============ */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 88px; }
.legal h1 { font-family: var(--font-serif); color: var(--navy); font-size: clamp(30px, 4vw, 38px); margin-bottom: 8px; }
.legal .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-family: var(--font-serif); color: var(--navy); font-size: 22px; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--ink); font-size: 16px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; padding: 48px 0 64px; text-align: center; }
  .hero-copy { max-width: 620px; margin: 0 auto; }
  .hero .waitlist { margin-left: auto; margin-right: auto; justify-content: center; }
  .phone { transform: rotate(0deg); }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .step-arrow { display: none; }
  .features { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .game-grid { grid-template-columns: 1fr; gap: 42px; text-align: center; }
  .game-copy .mini-list li { justify-content: center; text-align: left; }
  .covers { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  section { padding: 60px 0; }
  .covers {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 12px; margin: 0 -24px; padding-left: 24px; padding-right: 24px;
    -webkit-overflow-scrolling: touch;
  }
  .covers figure { flex: 0 0 46%; scroll-snap-align: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .header-actions .btn { display: none; }
  .wordle-demo { padding: 26px 22px; }
  .wd-tile { width: 38px; height: 38px; font-size: 16px; }
}
