/* Hallmark stamp: TigerPaga (Fortune Tiger guide, pt-BR).
   Shape: single-game guide. Genre: reference. Theme: red-gold on cream.
   Tokens: every color and font literal lives in :root below; no color or
   font-family literal outside :root. Pure white is not used; the lightest
   surface is --paper (#fffdf7). Global :focus-visible and overflow-x:clip
   are set. No external dependencies. */
:root {
  --ink: #1f2937;
  --bg: #fffaf0;
  --link: #b91c1c;
  --red-dark: #7f1d1d;
  --red: #991b1b;
  --gold-light: #fde68a;
  --rose-light: #fecaca;
  --muted: #6b7280;
  --gold-bg: #fef3c7;
  --amber: #f59e0b;
  --amber-dark: #92400e;
  --border: #e5d5b8;
  --paper: #fffdf7;
  --cream: #fffbeb;
  --ink-soft: #57534e;
  --callout-bg: #fef2f2;
  --text-light: #d1d5db;
  --text-faint: #9ca3af;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 0.6em 0 0.5em; color: var(--red-dark); }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 1.4em 0 0.5em; color: var(--red-dark); }
h3 { font-size: 1.1rem; margin: 1.2em 0 0.4em; }
p { margin: 0.6em 0; }
ul, ol { margin: 0.6em 0; padding-left: 1.3em; }
li { margin: 0.3em 0; }
table { border-collapse: collapse; width: 100%; margin: 0.8em 0; font-size: 0.95rem; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
th { background: var(--gold-bg); color: var(--red-dark); }
.table-scroll { overflow-x: auto; }
img { max-width: 100%; height: auto; }

/* Header */
.site-header { background: var(--red-dark); color: var(--paper); }
.header-inner { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 12px; }
.brand { font-size: 1.5rem; font-weight: 800; color: var(--gold-light); letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand-sub { font-size: 0.85rem; color: var(--rose-light); }

/* Top nav: 6 demo entries + core links, horizontal scroll on mobile */
.topnav { background: var(--red); position: sticky; top: 0; z-index: 10; }
.topnav-inner {
  display: flex; gap: 4px; overflow-x: auto; white-space: nowrap;
  padding: 0 8px; scrollbar-width: none;
}
.topnav-inner::-webkit-scrollbar { display: none; }
.topnav a {
  display: inline-block; color: var(--paper); font-size: 0.92rem; font-weight: 600;
  padding: 11px 10px; flex: 0 0 auto;
}
.topnav a:hover { background: var(--red-dark); text-decoration: none; }

/* Main */
main { padding-top: 8px; padding-bottom: 32px; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin: 12px 0 4px; }
.breadcrumb a { color: var(--muted); }
.intro { font-size: 1.06rem; }
.byline { font-size: 0.88rem; color: var(--muted); margin: 2px 0 0; }
.byline a { color: var(--link); }
.review-badge {
  display: inline-block; background: var(--gold-bg); border: 1px solid var(--amber);
  color: var(--amber-dark); font-size: 0.85rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; margin: 4px 0 2px;
}
.faq-item { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin: 10px 0; background: var(--paper); }
.faq-item h3 { margin: 0 0 4px; color: var(--red-dark); }
.faq-item p { margin: 4px 0 0; }
.sources {
  margin-top: 28px; padding: 14px 16px; background: var(--cream);
  border: 1px solid var(--gold-light); border-radius: 8px; font-size: 0.9rem; color: var(--ink-soft);
}
.sources h2 { margin-top: 0; font-size: 1rem; }
.callout {
  border-left: 4px solid var(--link); background: var(--callout-bg);
  padding: 12px 14px; margin: 14px 0; border-radius: 0 8px 8px 0;
}
.callout strong { color: var(--red); }

/* Demo simulator (illustrative only) */
.simulator {
  border: 2px solid var(--amber); border-radius: 12px; background: var(--paper);
  padding: 16px; margin: 18px 0; text-align: center;
}
.simulator h2 { margin-top: 0; }
.simulator .sim-note { font-size: 0.85rem; color: var(--muted); }
.sim-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  max-width: 300px; margin: 12px auto;
}
.sim-cell {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; background: var(--gold-bg); border: 1px solid var(--amber); border-radius: 8px;
}
.sim-controls { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.sim-btn {
  background: var(--link); color: var(--paper); border: 0; border-radius: 999px;
  padding: 12px 26px; font-size: 1rem; font-weight: 700; cursor: pointer;
}
.sim-btn:hover { background: var(--red); }
.sim-credits { font-weight: 700; color: var(--red-dark); }
.sim-result { min-height: 1.5em; font-weight: 600; margin-top: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--text-light); padding: 28px 0 20px; }
.footer-nav { display: grid; grid-template-columns: 1fr; gap: 18px; }
.footer-col h3 { color: var(--gold-light); margin: 0 0 6px; font-size: 0.95rem; }
.footer-col a { display: block; color: var(--text-light); font-size: 0.92rem; padding: 3px 0; }
.footer-note { font-size: 0.85rem; line-height: 1.55; color: var(--text-faint); margin-top: 22px; }
.footer-copy { font-size: 0.85rem; color: var(--text-faint); }

@media (min-width: 640px) {
  body { font-size: 18px; }
  h1 { font-size: 2.1rem; }
  .header-inner { flex-direction: row; align-items: baseline; gap: 12px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-nav { grid-template-columns: repeat(4, 1fr); }
}
