/* ============================================================
   TEMPLATE v3 — comprehensive review format
   Based on fire-joker-pl.pl structure
   ============================================================ */

:root {
  --bg:        #1F0D0A;
  --bg-alt:    #2A130E;
  --card:      #33170F;
  --line:      #4C2818;
  --ink:       #F5EDE0;
  --muted:     #B39B85;
  --accent:    #D6382A;
  --accent-deep: #8F2711;
  --gold:      #E8B44F;
  --gold-hi:   #F5CE58;
  --radius:    12px;
  --shadow:    0 6px 24px rgba(0,0,0,.35);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; background:var(--bg); color:var(--ink); line-height:1.65; font-size:17px; }
img { max-width:100%; display:block; }
a { color:var(--gold-hi); text-decoration:none; }
a:hover { text-decoration:underline; }
.container { max-width:1140px; margin:0 auto; padding:0 20px; }
.container.narrow { max-width:860px; }
section { scroll-margin-top:84px; }
h1,h2,h3,h4 { line-height:1.25; font-weight:800; }
h2 { font-size:28px; margin-bottom:16px; }
h3 { font-size:20px; margin:24px 0 10px; }
p { margin-bottom:14px; }
.fine-note { font-size:13px; color:var(--muted); margin:14px 0 0; }
.section { padding:48px 0; }
.section-alt { background:var(--bg-alt); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-intro { color:var(--muted); margin-bottom:24px; }

/* Buttons */
.btn { display:inline-block; padding:13px 28px; border-radius:8px; font-weight:800; font-size:16px; text-align:center; border:2px solid transparent; cursor:pointer; transition:transform .15s, box-shadow .15s; }
.btn:hover { text-decoration:none; transform:translateY(-2px); }
.btn-cta { background:linear-gradient(135deg,var(--accent),var(--accent-deep)); color:#fff; box-shadow:0 4px 0 #6E1B0E, 0 8px 22px rgba(214,56,42,.3); }
.btn-cta:hover { box-shadow:0 6px 0 #6E1B0E, 0 12px 26px rgba(214,56,42,.4); }
.btn-primary { background:var(--gold); color:#1A0E1E; box-shadow:0 4px 0 #8F6A0A; }
.btn-ghost { border-color:var(--accent); color:var(--accent); background:transparent; }
.btn-block { display:block; width:100%; }
.btn-lg { padding:16px 40px; font-size:18px; }

/* Header */
.site-header { position:sticky; top:0; z-index:50; background:rgba(18,10,22,.95); backdrop-filter:blur(6px); border-bottom:1px solid var(--line); }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; height:60px; }
.logo { font-size:20px; font-weight:900; color:var(--ink); }
.logo span { color:var(--accent); }
.logo:hover { text-decoration:none; }
.site-nav { display:flex; gap:22px; }
.site-nav a { color:var(--ink); font-weight:600; font-size:14.5px; padding:4px 2px; border-bottom:2px solid transparent; }
.site-nav a:hover { color:var(--gold-hi); border-bottom-color:var(--accent); text-decoration:none; }
.nav-toggle { display:none; }
.nav-burger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; }
.nav-burger span { width:24px; height:3px; background:var(--ink); border-radius:2px; }

/* Hero */
.hero { padding:36px 0 48px; background:radial-gradient(720px 320px at 12% 0%,rgba(214,56,42,.14),transparent 65%),radial-gradient(680px 340px at 95% 15%,rgba(232,180,79,.08),transparent 60%),var(--bg); border-bottom:1px solid var(--line); }
.gen-shot { border-radius:16px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); margin-bottom:28px; }
.gen-shot img { width:100%; height:auto; }
.hero-grid { display:grid; grid-template-columns:1.55fr 1fr; gap:32px; align-items:start; }
.hero-copy h1 { font-size:36px; letter-spacing:-.4px; margin-bottom:14px; }
.hero-copy p { color:#D0C4D8; }
.hero-actions { display:flex; gap:12px; margin-top:18px; flex-wrap:wrap; }
.bonus-card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); position:relative; overflow:hidden; }
.bonus-card::before { content:""; position:absolute; inset:0 0 auto 0; height:4px; background:linear-gradient(90deg,var(--accent),var(--gold)); }
.bonus-head { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.bonus-head img { width:48px; height:48px; border-radius:10px; }
.bonus-head-text { display:flex; flex-direction:column; }
.bonus-head-text strong { font-size:18px; }
.stars { color:var(--gold); font-size:14px; letter-spacing:1px; }
.stars em { color:var(--muted); font-style:normal; font-weight:600; }
.bonus-label { font-size:12px; text-transform:uppercase; letter-spacing:1px; color:var(--muted); font-weight:700; }
.bonus-value { font-size:20px; margin:4px 0 12px; }
.bonus-value strong { color:var(--gold-hi); }
.bonus-fine { font-size:12px; color:var(--muted); margin:10px 0 0; text-align:center; }

/* Promo row */
.promo-row { display:flex; align-items:center; gap:8px; margin:4px 0 14px; padding:8px 10px; border:1px dashed rgba(232,180,79,.5); border-radius:8px; background:rgba(232,180,79,.06); }
.promo-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--muted); }
.promo-code { font-family:Consolas,Menlo,monospace; font-weight:800; font-size:14px; color:var(--gold-hi); flex:1; text-align:center; user-select:all; }
.promo-copy { border:none; background:linear-gradient(180deg,#F5CE58,#E8A200); color:#1A0E1E; font-weight:800; font-size:12px; padding:6px 14px; border-radius:6px; cursor:pointer; }
.promo-copy:active { transform:translateY(1px); }

/* Table of Contents */
.toc { background:var(--bg-alt); border-bottom:1px solid var(--line); padding:20px 0; }
.toc h2 { font-size:16px; text-transform:uppercase; letter-spacing:1px; color:var(--muted); margin-bottom:12px; }
.toc-list { list-style:none; display:flex; flex-wrap:wrap; gap:6px 16px; }
.toc-list li a { font-size:14px; font-weight:600; color:var(--ink); padding:4px 0; border-bottom:1px dashed var(--line); }
.toc-list li a:hover { color:var(--gold-hi); border-bottom-color:var(--gold); text-decoration:none; }

/* Author Bar */
.author-bar { padding:14px 0; border-bottom:1px solid var(--line); }
.author-bar .container { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.avatar { border-radius:50%; object-fit:cover; border:3px solid rgba(232,180,79,.3); }
.author-meta { display:flex; flex-direction:column; gap:2px; font-size:14px; color:var(--muted); }
.verified { margin-left:auto; font-size:13px; font-weight:700; color:#6FCB93; background:rgba(111,203,147,.1); padding:4px 12px; border-radius:6px; }

/* Nutshell */
.nutshell { list-style:none; display:grid; grid-template-columns:repeat(2,1fr); gap:8px 24px; }
.nutshell li { position:relative; padding:8px 12px; background:var(--card); border:1px solid var(--line); border-radius:8px; font-size:15px; }
.nutshell li::before { content:"▸"; color:var(--accent); margin-right:8px; font-weight:800; }

/* Vertical Casino List */
.casino-list { display:flex; flex-direction:column; gap:14px; margin-top:24px; }
.casino-row { display:flex; gap:0; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; position:relative; transition:transform .15s, box-shadow .15s; }
.casino-row:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.3); }
.row-num { flex:0 0 48px; display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:900; background:var(--accent); color:#fff; }
.casino-row:nth-child(2) .row-num { background:var(--gold); color:#1A0E1E; }
.casino-row:nth-child(3) .row-num { background:#4E8ED0; }
.casino-row:nth-child(4) .row-num { background:#8B5CF6; }
.casino-row:nth-child(5) .row-num { background:#6E7E8E; }
.row-badge { position:absolute; top:10px; right:10px; font-size:11px; font-weight:800; letter-spacing:.5px; padding:3px 10px; border-radius:6px; background:var(--accent); color:#fff; }
.badge-gold { background:var(--gold); color:#1A0E1E; }
.badge-teal { background:#4CC98A; color:#06270F; }
.badge-purple { background:#8B5CF6; }
.badge-blue { background:#4E8ED0; }
.row-body { flex:1; padding:16px 20px 16px 16px; display:flex; flex-direction:column; gap:10px; }
.row-head { display:flex; align-items:center; gap:12px; padding-right:100px; }
.row-head img { border-radius:10px; }
.row-head strong { font-size:17px; }
.row-bonus { font-size:15px; color:var(--gold-hi); font-weight:700; }
.row-pros { list-style:none; display:flex; flex-wrap:wrap; gap:6px 16px; }
.row-pros li { font-size:13px; color:var(--muted); }
.row-pros li::before { content:"✓"; color:#6FCB93; font-weight:800; margin-right:4px; }
.row-body .btn { align-self:flex-start; padding:10px 24px; font-size:14px; }

/* Spec Table */
.spec { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); margin:6px 0 24px; }
.spec-row { display:flex; justify-content:space-between; gap:16px; padding:12px 18px; }
.spec-row:nth-child(odd) { background:rgba(255,255,255,.03); }
.spec-row dt { color:var(--muted); font-weight:600; }
.spec-row dd { font-weight:800; color:var(--gold-hi); text-align:right; }
.game-ico { float:left; width:88px; height:88px; margin:4px 16px 10px 0; border-radius:18px; border:1px solid var(--line); box-shadow:var(--shadow); }

/* RTP Bar */
.rtp-bar { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px; margin:20px 0; }
.rtp-row { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.rtp-row span { flex:0 0 140px; font-size:14px; color:var(--muted); font-weight:600; }
.rtp-row strong { flex:0 0 100px; font-size:16px; text-align:right; }
.rtp-fill { flex:1; height:8px; border-radius:4px; background:var(--line); overflow:hidden; }
.rtp-fill::after { content:""; display:block; height:100%; background:linear-gradient(90deg,var(--accent),var(--gold)); border-radius:4px; }
.rtp-fill { height:8px; }
.rtp-fill > div { height:100%; background:var(--accent); border-radius:4px; }
.rtp-orange { background:linear-gradient(90deg,#E8A200,#F5CE58); }
.rtp-red { background:linear-gradient(90deg,#C4451E,#E85A30); }

/* Large Steps */
.steps-lg { list-style:none; counter-reset:step; margin-top:24px; }
.steps-lg li { display:flex; gap:18px; margin-bottom:20px; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px; }
.step-num { flex:0 0 40px; height:40px; border-radius:10px; background:linear-gradient(135deg,var(--accent),var(--accent-deep)); color:#fff; font-weight:900; font-size:18px; display:flex; align-items:center; justify-content:center; }
.steps-lg h3 { margin:0 0 6px; font-size:17px; }
.steps-lg p { margin:0; font-size:15px; color:#D0C4D8; }

/* Mid CTA */
.mid-cta { text-align:center; padding:28px; margin-top:28px; background:var(--card); border:2px dashed var(--accent); border-radius:var(--radius); }
.mid-cta p { font-size:18px; font-weight:700; margin-bottom:14px; }

/* Strategy Cards */
.strategy-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:24px; }
.strategy-card { background:var(--card); border:1px solid var(--line); border-top:4px solid var(--accent); border-radius:var(--radius); padding:22px 20px; }
.strategy-num { font-size:36px; font-weight:900; color:rgba(214,56,42,.3); display:block; margin-bottom:8px; }
.strategy-card h3 { margin:0 0 8px; font-size:16px; }
.strategy-card p { margin:0; font-size:14px; color:#D0C4D8; }

/* Comparison Table */
.table-wrap { overflow-x:auto; margin-top:20px; border-radius:var(--radius); border:1px solid var(--line); }
.compare-table { width:100%; border-collapse:collapse; background:var(--card); font-size:15px; }
.compare-table th { background:var(--accent); color:#fff; padding:12px 16px; text-align:left; font-weight:800; white-space:nowrap; }
.compare-table td { padding:10px 16px; border-bottom:1px solid var(--line); }
.compare-table td:first-child { font-weight:600; color:var(--muted); }
.compare-table td strong { color:var(--gold-hi); }
.compare-table tr:last-child td { border-bottom:none; }

/* Pros & Cons */
.pc-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:20px; }
.pc { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px; }
.pc.pros { border-top:4px solid #6FCB93; }
.pc.cons { border-top:4px solid #C4451E; }
.pc h3 { margin:0 0 12px; }
.pc ul { list-style:none; }
.pc li { padding:6px 0; font-size:15px; border-bottom:1px solid rgba(255,255,255,.05); }
.pc li:last-child { border-bottom:none; }

/* Rating */
.rating-box { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:24px; margin-top:20px; }
.rating-overall { text-align:center; margin-bottom:20px; }
.rating-big { font-size:52px; font-weight:900; color:var(--gold-hi); }
.rating-max { font-size:20px; color:var(--muted); }
.rating-subs { display:grid; gap:10px; margin-bottom:20px; }
.rating-sub { display:flex; align-items:center; gap:12px; }
.rating-sub span { flex:0 0 140px; font-size:14px; color:var(--muted); font-weight:600; }
.sub-bar { flex:1; height:6px; border-radius:3px; background:var(--line); overflow:hidden; }
.sub-bar div { height:100%; background:var(--gold); border-radius:3px; }
.rating-sub em { flex:0 0 36px; font-style:normal; font-weight:800; font-size:15px; color:var(--gold-hi); text-align:right; }
.rating-notes { display:grid; gap:8px; }
.rating-note { padding:10px 14px; border-radius:8px; font-size:14px; }
.rating-note.good { background:rgba(111,203,147,.08); border:1px solid rgba(111,203,147,.3); }
.rating-note.bad { background:rgba(196,69,30,.08); border:1px solid rgba(196,69,30,.3); }
.rating-note.info { background:rgba(78,142,208,.08); border:1px solid rgba(78,142,208,.3); }

/* Safety */
.safety-box { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px; }
.safety-list { list-style:none; }
.safety-list li { padding:8px 0; font-size:15px; border-bottom:1px solid rgba(255,255,255,.05); }
.safety-list li:last-child { border-bottom:none; }

/* FAQ */
.faq-item { background:var(--card); border:1px solid var(--line); border-radius:10px; margin-bottom:10px; overflow:hidden; }
.faq-item summary { list-style:none; cursor:pointer; padding:16px 48px 16px 18px; font-weight:700; font-size:16px; position:relative; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; position:absolute; right:16px; top:50%; transform:translateY(-50%); width:26px; height:26px; border-radius:50%; background:var(--accent); color:#fff; font-weight:900; display:flex; align-items:center; justify-content:center; font-size:18px; transition:transform .2s; }
.faq-item[open] summary::after { transform:translateY(-50%) rotate(45deg); }
.faq-body { padding:0 18px 16px; }
.faq-body p { margin:0; font-size:15px; }

/* Final CTA */
.final-cta { text-align:center; padding:48px 0; background:linear-gradient(135deg,var(--accent-deep),var(--accent)); }
.final-cta h2 { color:#fff; font-size:28px; }
.final-cta p { color:rgba(255,255,255,.85); margin-bottom:20px; }
.final-cta .btn { background:#fff; color:var(--accent-deep); box-shadow:0 4px 0 rgba(0,0,0,.3); }
.cta-fine { font-size:12px; color:rgba(255,255,255,.6); margin-top:12px; }

/* Games Grid */
.games-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:24px; }
.game-card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; transition:transform .15s, box-shadow .15s; }
.game-card:hover { transform:translateY(-3px); box-shadow:0 10px 28px rgba(0,0,0,.35); }
.game-link { display:flex; flex-direction:column; height:100%; color:inherit; text-decoration:none; }
.game-thumb { position:relative; aspect-ratio:16/9; overflow:hidden; }
.game-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .25s; }
.game-card:hover .game-thumb img { transform:scale(1.05); }
.game-rtp { position:absolute; right:8px; bottom:8px; background:rgba(0,0,0,.7); color:var(--gold); font-size:12px; font-weight:800; padding:3px 8px; border-radius:6px; }
.game-play { position:absolute; left:50%; top:50%; transform:translate(-50%,-40%); opacity:0; transition:.2s; background:linear-gradient(180deg,#F5CE58,#E8A200); color:#1A0E1E; font-weight:900; font-size:14px; padding:10px 24px; border-radius:10px; pointer-events:none; }
.game-card:hover .game-play { opacity:1; transform:translate(-50%,-50%); }
.game-body { padding:12px 14px; }
.game-body strong { font-size:16px; }
.game-body span { font-size:13px; color:var(--muted); display:block; }

/* Footer */
.site-footer { background:#0E0812; padding:28px 0; font-size:14px; border-top:1px solid var(--line); }
.footer-badges { display:flex; gap:16px; align-items:center; justify-content:center; margin-bottom:14px; flex-wrap:wrap; }
.badge-18 { background:#C4451E; color:#fff; font-weight:900; font-size:14px; padding:4px 10px; border-radius:6px; }
.footer-badges span { font-size:12px; color:var(--muted); }
.site-footer p { text-align:center; margin-bottom:8px; }
.footer-copy { color:#6E6278; }

/* Responsive */
@media (max-width:900px) {
  .hero-grid { grid-template-columns:1fr; }
  .hero-copy h1 { font-size:28px; }
  .nutshell { grid-template-columns:1fr; }
  .casino-row { flex-direction:column; }
  .row-num { flex:none; height:40px; }
  .strategy-grid { grid-template-columns:1fr; }
  .pc-grid { grid-template-columns:1fr; }
  .games-grid { grid-template-columns:1fr; }
  .nav-burger { display:flex; }
  .site-nav { display:none; position:absolute; top:60px; left:0; right:0; background:#1A0E1E; border-bottom:1px solid var(--line); flex-direction:column; padding:8px 20px 14px; }
  .nav-toggle:checked ~ .site-nav { display:flex; }
  .site-nav a { padding:10px 2px; border-bottom:1px solid #2A1838; }
  .toc-list { flex-direction:column; }
  .author-bar .container { flex-direction:column; align-items:flex-start; }
  .verified { margin-left:0; }
}
@media (max-width:640px) {
  body { font-size:16px; }
  h2 { font-size:22px; }
  .games-grid { grid-template-columns:1fr; }
  .steps-lg li { flex-direction:column; }
  .game-ico { float:none; width:72px; height:72px; margin:0 0 12px; }
  .row-head { padding-right:0; }
  .row-badge { position:static; align-self:flex-start; }
}
