/* Jogo do Tigrinho: warm red and gold, rounded type (Baloo 2 headings, Nunito text).
   Loaded after the catalogue stylesheet and overrides its colours, type and rules. */

@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/baloo-2-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/baloo-2-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/nunito-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/nunito-latin-800-normal.woff2") format("woff2"); }

:root {
  --paper: #FFF6E9;
  --stock: #FFFFFF;
  --ink: #2B140A;
  --ink-2: #6E4B37;
  --hair: #EBCFAF;
  --red: #D62718;
  --red-deep: #A8180C;
  --gold: #FFB703;
  --gold-hi: #FFC93C;
  --gold-deep: #B97D00;
  --serif: "Baloo 2", "Trebuchet MS", Arial, sans-serif;
  --sans: "Nunito", "Segoe UI", Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 6px 18px rgba(120, 40, 10, .10);
}
body { font-family: var(--sans); }
h1, h2, h3, .entry-name, .faq summary, .review-title { letter-spacing: 0; }
a { color: var(--red-deep); }
a:hover { color: var(--red); }

/* ---------- Header ---------- */
.jt-mast { background: linear-gradient(180deg, #D62718 0%, #A8180C 100%); color: #fff; position: relative; z-index: 20;
  box-shadow: 0 3px 0 var(--gold); }
.jt-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 24px; padding-top: 8px; padding-bottom: 8px; }
.jt-logo { display: block; line-height: 0; }
.jt-logo img { width: 105px; height: auto; display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.jt-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.jt-nav a { color: #fff; text-decoration: none; font: 800 1rem/1 var(--sans); padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
.jt-nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
.jt-nav a[aria-current="page"] { background: var(--gold); color: var(--ink); }
.jt-mast .site-search { width: 280px; max-width: none; align-self: center; }
.jt-mast .site-search input { width: 100%; border: 0; border-radius: 999px; padding: 11px 16px; font: 400 1rem var(--sans);
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(0,0,0,.05); }
.jt-mast .site-search input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.site-results { border: 0; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.18); color: var(--ink); overflow: hidden auto; }
.site-results a { color: var(--ink); }
.site-results a:hover, .site-results [aria-selected="true"] a { background: var(--red); color: #fff; }

/* ---------- Page openers ---------- */
.crumbs a { color: var(--ink-2); }
.front h1, .game-head h1, .prov-head h1, .jt-page h1 { font-weight: 800; line-height: 1.05; color: var(--ink); }
.front h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 22ch; }
.lead { font-family: var(--sans); }
.index { border: 0; background: var(--stock); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 8px; }
.index a[aria-current="page"] { background: var(--red); color: #fff; border-radius: 999px; }

/* ---------- Game cards ---------- */
.sheet { gap: 16px; border: 0; }
.entry { border: 0; background: var(--stock); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s ease; }
.entry:hover { transform: translateY(-3px); }
.entry-art { outline: 0; border-radius: 12px; background: #1b0b05; }
.entry-name { font-weight: 800; }
.entry-link:hover .entry-name { text-decoration-color: var(--gold); }
.entry-figs { border-top-color: var(--hair); }
.shelf-head h2, .studios > h2, .related > h2, .sheet-h { border-top: 0; }
.studio-list a, .ledger a { color: var(--ink); }

/* ---------- Game page ---------- */
.stage-band { background: radial-gradient(ellipse at top, #5a1208 0%, #250803 70%); padding: 18px 0; }
.stage { border-radius: var(--radius); }
.btn { border-radius: 999px; }
.btn-real { color: #2B140A; }
.btn-ink { border-radius: 999px; }
.card-line { background: var(--stock); border: 0; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 16px; margin-top: 16px; }
.card-line > div:first-child { padding-left: 4px; }
.contents { border: 0; background: var(--stock); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.side { background: var(--stock); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.faq details { border-bottom-color: var(--hair); }
.faq summary::after { color: var(--red); }
.age { border-color: var(--gold); color: var(--gold); }
.part > h2, .prose h2 { color: var(--ink); }

/* ---------- Footer ---------- */
.jt-foot { margin-top: 70px; background: #2B140A; color: #F7E6D2; padding: 36px 0 18px; }
.jt-foot::before { content: none; }
.jt-foot a { color: #FFD58A; }
.jt-foot a:hover { color: #fff; }
.jt-foot .foot-grid { padding-top: 0; }
.jt-foot .foot-h { color: #fff; font-family: var(--serif); font-size: 1.1rem; }
.jt-foot .quiet, .jt-foot .foot-list span { color: #CDB49C; }
.jt-foot .logo-img { width: 110px; height: auto; }
.jt-foot .foot-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 20px; padding-top: 14px; color: #CDB49C; font-size: .875rem; }
.jt-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 14px 0 0; padding: 0; font-weight: 700; }

/* ---------- Guide pages (home, Tigrinho 777, Tigrinho Bet) ---------- */
.jt-page { padding-top: 24px; }
.jt-page h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 26ch; margin: 6px 0 10px; }
.jt-byline { color: var(--ink-2); font-size: .9375rem; margin: 0 0 18px; }
.jt-article { max-width: 820px; }
.jt-article h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; margin: 38px 0 12px; }
.jt-article h3 { font-size: 1.3rem; line-height: 1.2; margin: 26px 0 8px; }
.jt-article p, .jt-article li { line-height: 1.68; }
.jt-article hr { border: 0; border-top: 2px dashed var(--hair); margin: 30px 0; }
.jt-article img { border-radius: 12px; }
.jt-article table { width: 100%; border-collapse: collapse; background: var(--stock); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.jt-article th, .jt-article td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.jt-article thead th { background: var(--red); color: #fff; }
.jt-article tbody tr:last-child td { border-bottom: 0; }
.jt-article td:first-child { font-weight: 700; }
.jt-article .table-scroll { overflow-x: auto; margin: 18px 0; }
.jt-note, .jt-tip, .jt-box, .jt-meta { border-radius: 14px; padding: 14px 18px; margin: 16px 0 20px; }
.jt-note { background: #FFF1C9; border: 1px solid #F3D27A; }
.jt-tip { background: #FFE9E1; border: 1px solid #F6C1AE; }
.jt-box { background: var(--stock); box-shadow: var(--shadow); }
.jt-meta { background: var(--stock); box-shadow: var(--shadow); font-size: .9375rem; }
.jt-meta a { font-weight: 700; }
.jt-banner { background: linear-gradient(135deg, #A8180C, #D62718 60%, #F05A1A); color: #fff; border-radius: 20px; padding: 24px 26px; margin: 22px 0; box-shadow: var(--shadow); }
.jt-banner h2, .jt-banner h3 { color: #fff; margin-top: 6px; }
.jt-banner a:not(.btn) { color: #FFE08A; }
.jt-banner p { margin: 6px 0; }
.jt-banner .jt-kicker { font: 800 1.6rem/1.1 var(--serif); }
.jt-banner small, .jt-banner .jt-small { font-size: .8125rem; opacity: .9; }
.jt-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.jt-stat { flex: 1 1 150px; background: var(--stock); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.jt-stat strong { display: block; font: 800 1.7rem/1.1 var(--serif); color: var(--red); }
.jt-cta { text-align: center; margin: 22px 0; }
.jt-cta .btn { font-size: 1.125rem; padding: 16px 28px; }
.jt-readmore { background: var(--stock); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.jt-readmore p { margin: 6px 0; }

/* Home: hero with the demo */
.jt-hero { background: radial-gradient(ellipse at top, #6a170a 0%, #2a0904 75%); color: #fff; padding: 26px 0 30px; }
.jt-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 30ch; }
.jt-hero .jt-byline { color: #F0CDB4; }
.jt-hero .stage { max-width: 980px; }
.jt-hero .stage-art { border-radius: 14px; }
.jt-hero-note { text-align: center; color: #F0CDB4; font-size: .8125rem; margin: 10px 0 0; }
.jt-top { margin: 34px 0 10px; }
.jt-top h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 6px; }
.jt-top > p { max-width: 70ch; color: var(--ink-2); }
.jt-top .sheet { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-top: 16px; }
.jt-rank { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--gold); color: var(--ink); font: 800 .95rem/1 var(--sans);
  border-radius: 999px; padding: 6px 10px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.jt-top .entry { position: relative; }
.jt-catalog { margin: 30px 0; background: linear-gradient(135deg, #FFE7C2, #FFD39A); border-radius: 20px; padding: 22px 24px; }
.jt-catalog h2 { margin: 0 0 6px; }
.jt-catalog ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.jt-catalog li a { display: inline-block; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 800; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.jt-catalog li a:hover { background: var(--red); color: #fff; }
.jt-faq { margin-top: 10px; }
.jt-faq details { background: var(--stock); border-radius: 12px; padding: 0 16px; margin: 8px 0; box-shadow: var(--shadow); border: 0; }

@media (max-width: 860px) {
  .jt-row { grid-template-columns: auto 1fr; }
  .jt-mast .site-search { grid-column: 1 / -1; width: 100%; }
  .jt-nav { justify-content: flex-end; }
}
@media (max-width: 640px) {
  .jt-row { grid-template-columns: 1fr; justify-items: start; gap: 6px; }
  .jt-logo img { width: 84px; }
  .jt-nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; justify-content: flex-start; scrollbar-width: none; padding-bottom: 2px; }
  .jt-nav a { font-size: .9375rem; padding: 9px 11px; background: rgba(255,255,255,.1); }
  .jt-top .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .jt-banner { padding: 18px; }
  .card-line { padding: 0 10px; }
}
.jt-hero h1 { line-height: 1.12; margin: 0 0 12px; }
.jt-hero .jt-byline a { color: #FFD58A; }
.jt-page h1, .front h1, .game-head h1, .prov-head h1 { line-height: 1.1; }
.jt-article { margin-left: auto; margin-right: auto; }
.jt-article .crumbs ol { margin-top: 0; }
