:root {
  --bg: #fdf9f5;
  --surface: #ffffff;
  --surface-2: #f5f0ea;
  --primary: #5c0f0f;
  --accent: #c45221;
  --accent-hover: #a33c1a;
  --text: #1a1a1a;
  --text-2: #3a3030;
  --text-3: #6b5c5c;
  --border: rgba(92, 15, 15, 0.15);
  --radius: 6px;
  --r-sm: 4px;
  --r-md: 8px;
  --max-w: 1280px;
  --sidebar-w: 300px;
  --hdr-h: 64px;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--border); height: var(--hdr-h); display: flex; align-items: center; }
.header-inner { display: flex; align-items: center; gap: 1.25rem; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.site-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo svg { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: 2rem; }
.site-nav a { font-size: .9rem; font-weight: 600; color: var(--text-2); letter-spacing: .03em; }
.site-nav a:hover { color: var(--primary); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.btn-hdr-cta { background: var(--primary); color: #fff; border: none; padding: .45rem 1.1rem; border-radius: var(--radius); font-size: .85rem; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-hdr-cta:hover { background: var(--accent); color: #fff; text-decoration: none; }
.nav-play { display: none; align-items: center; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700; padding: .4rem .9rem; border-radius: var(--r-sm); text-decoration: none; white-space: nowrap; }
.nav-play:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.lang-wrap { position: relative; }
.lang-btn { display: flex; align-items: center; gap: .4rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: .35rem .7rem; cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--text); }
.lang-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.lang-dropdown { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: 0 4px 24px rgba(0,0,0,.12); display: none; min-width: 280px; max-height: min(70vh,440px); overflow-y: auto; max-width: min(92vw,420px); z-index: 200; padding: .5rem; gap: .25rem; }
.lang-dropdown.open { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); }
.lang-dropdown a { display: flex; align-items: center; gap: .5rem; padding: .4rem .6rem; border-radius: var(--r-sm); color: var(--text); font-size: .82rem; text-decoration: none; }
.lang-dropdown a:hover { background: var(--surface-2); }
@media(min-width:700px) { .lang-dropdown.open { grid-template-columns: repeat(3, minmax(140px, 1fr)); } }

.hero { position: relative; min-height: 480px; display: flex; align-items: center; overflow: hidden; }
.hero-img-wrap { position: absolute; inset: 0; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,4,4,0.88) 0%, rgba(12,4,4,0.82) 35%, rgba(12,4,4,0.35) 65%, rgba(12,4,4,0.0) 88%); }
.hero-body { position: relative; z-index: 2; padding: 2.5rem 1.5rem; width: 100%; max-width: var(--max-w); margin: 0 auto; }
.hero-lead { color: #f5e8e8; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .5rem; text-shadow: 0 2px 6px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.7); }
.hero h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem); color: #fff; max-width: 640px; margin-bottom: .75rem; text-shadow: 0 2px 8px rgba(0,0,0,.95), 0 0 16px rgba(0,0,0,.85), 0 0 4px rgba(0,0,0,.9); line-height: 1.25; }
.hero h1 em { color: #e8a07a; font-style: normal; text-shadow: 0 2px 8px rgba(0,0,0,.95), 0 0 16px rgba(0,0,0,.85); }
.hero-sub { color: #f5e8e8; max-width: 480px; font-size: .95rem; margin-bottom: 1.25rem; text-shadow: 0 2px 6px rgba(0,0,0,.9), 0 0 10px rgba(0,0,0,.7); }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-primary { display: inline-block; background: var(--accent); color: #fff; padding: .7rem 1.5rem; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.btn-outline { display: inline-block; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.65); padding: .65rem 1.4rem; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.badge-18 { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .5rem; border-radius: 4px; letter-spacing: .05em; }

.page-body { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem 1.25rem; display: grid; grid-template-columns: 1fr var(--sidebar-w); gap: 2.5rem; align-items: start; }
.content-col { min-width: 0; }
.sidebar-col { display: flex; flex-direction: column; gap: 1.25rem; }

article.content-main { }
article.content-main h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); margin: 2rem 0 .75rem; padding-bottom: .4rem; border-bottom: 2px solid var(--border); }
article.content-main h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); margin: 1.5rem 0 .5rem; }
article.content-main p { margin-bottom: 1rem; }
article.content-main ul, article.content-main ol { margin: 0 0 1rem 1.5rem; }
article.content-main li { margin-bottom: .35rem; }

.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1rem 1.1rem; }
.collapse-card > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: .75rem; font-family: var(--font-body); font-size: .85rem; font-weight: 700; color: var(--primary); letter-spacing: .08em; text-transform: uppercase; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.collapse-card > summary::-webkit-details-marker { display: none; }
.collapse-card > summary::after { content: "\25BC"; color: var(--primary); font-size: .65rem; transition: transform .2s; flex-shrink: 0; }
.collapse-card[open] > summary::after { transform: rotate(180deg); }
.collapse-card[open] > summary { margin-bottom: .75rem; }

.quick-facts-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: .5rem; }
.quick-facts-table th { text-align: left; font-weight: 700; color: var(--primary); font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; padding: .35rem .4rem; border-bottom: 2px solid var(--border); }
.quick-facts-table td { padding: .35rem .4rem; border-bottom: 1px solid rgba(92,15,15,.08); vertical-align: top; }
.quick-facts-table tr:last-child td { border-bottom: none; }
.quick-facts-table td:first-child { color: var(--text-3); font-size: .8rem; white-space: nowrap; }
.quick-facts-table td:last-child { font-size: .75rem; color: var(--text-3); }
.source-link { font-size: .72rem; }
.source-official { color: #166534; }
.source-verified { color: #1d4ed8; font-size: .72rem; }
.source-estimated { color: #92400e; font-size: .72rem; cursor: help; border-bottom: 1px dashed currentColor; }
.source-unavailable { color: #6b7280; font-size: .72rem; }
.fact-note { font-size: .78rem; color: var(--text-3); margin-top: .5rem; font-style: italic; }

.toc-card nav { display: flex; flex-direction: column; gap: .3rem; margin-top: .25rem; }
.toc-card nav a { font-size: .85rem; color: var(--text-2); padding: .2rem 0; border-left: 2px solid transparent; padding-left: .5rem; }
.toc-card nav a:hover { color: var(--primary); border-left-color: var(--accent); text-decoration: none; }

.demo-section { margin: 2rem 0; }
.demo-wrap { position: relative; max-width: 720px; aspect-ratio: 4/3; margin: 1.5rem auto; overflow: hidden; background: #000; border-radius: var(--radius); border: 1px solid var(--border); scroll-margin-top: calc(var(--hdr-h) + 1rem); }
.demo-poster { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.demo-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.35); z-index: 1; }
.demo-poster-content { background: rgba(0,0,0,.65); backdrop-filter: blur(6px); padding: 1.25rem 1.75rem; border-radius: var(--radius); max-width: 280px; position: relative; z-index: 2; text-align: center; }
.btn-play-demo { background: var(--accent); color: #fff; border: none; padding: .7rem 1.6rem; border-radius: var(--radius); font-weight: 700; font-size: 1rem; cursor: pointer; transition: background .2s; width: 100%; }
.btn-play-demo:hover { background: var(--accent-hover); }
.demo-poster-title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }
.demo-note { font-size: .8rem; color: #fff; opacity: .7; margin-top: .5rem; }
.demo-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: none; }
.demo-fs-btn { margin: .5rem auto 0; display: block; background: transparent; border: 1px solid var(--border); color: var(--text-3); font-size: .8rem; padding: .35rem .75rem; border-radius: var(--r-sm); cursor: pointer; }
.demo-fs-btn:hover { background: var(--surface-2); }

article figure { margin: 1.5rem 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
article figure img { border-radius: 0; width: auto; max-width: 100%; height: auto; margin: 0 auto; display: block; }
article figcaption { font-size: .82rem; color: var(--text-3); padding: .6rem .9rem; border-top: 1px solid var(--border); line-height: 1.5; }

.checkpoint-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; margin: 1.25rem 0; }
.cp-figure { margin: 0; border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.checkpoint-gallery .cp-figure img { aspect-ratio: 16/9; object-fit: cover; cursor: zoom-in; width: 100%; }
.checkpoint-gallery figcaption { font-size: .75rem; color: var(--text-3); padding: .4rem .6rem; border-top: 1px solid var(--border); }

.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1rem 0; }
.pros-block, .cons-block { background: var(--surface); border-radius: var(--r-md); padding: 1rem 1.1rem; border: 1px solid var(--border); }
.pros-block h3 { color: #166534; font-size: .9rem; margin-bottom: .5rem; }
.cons-block h3 { color: #92400e; font-size: .9rem; margin-bottom: .5rem; }
.pros-block ul, .cons-block ul { list-style: none; margin: 0; padding: 0; }
.pros-block li { padding: .3rem 0 .3rem 1.2rem; font-size: .9rem; position: relative; }
.pros-block li::before { content: "+"; position: absolute; left: 0; color: #166534; font-weight: 700; }
.cons-block li { padding: .3rem 0 .3rem 1.2rem; font-size: .9rem; position: relative; }
.cons-block li::before { content: "!"; position: absolute; left: 0; color: #92400e; font-weight: 700; }

.comparison-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .88rem; }
.comparison-table th { background: var(--primary); color: #fff; padding: .6rem .75rem; text-align: left; font-size: .8rem; }
.comparison-table td { padding: .55rem .75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.comparison-table tr:nth-child(even) td { background: var(--surface-2); }
.comparison-table tr:last-child td { border-bottom: none; }

.faq-item { border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: .6rem; background: var(--surface); }
.faq-item summary.faq-q { list-style: none; cursor: pointer; padding: .9rem 1rem; font-weight: 600; font-size: .95rem; display: flex; justify-content: space-between; align-items: center; color: var(--text); }
.faq-item summary.faq-q::-webkit-details-marker { display: none; }
.faq-item summary.faq-q::after { content: "\25BC"; font-size: .65rem; color: var(--primary); transition: transform .2s; flex-shrink: 0; margin-left: .5rem; }
.faq-item[open] summary.faq-q::after { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 1rem 1rem; font-size: .9rem; color: var(--text-2); }
.faq-item .faq-a p { margin-bottom: .5rem; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

.eeat-card { background: var(--surface); border-radius: var(--r-md); padding: 1.5rem; margin: 1.5rem 0; border: 1px solid var(--border); }
.eeat-label, .how-built-label { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .75rem; color: var(--primary); }
.eeat-list { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; }
.eeat-item { font-size: .9rem; color: var(--text-2); padding-left: 1rem; border-left: 2px solid var(--accent); }
.eeat-block { background: var(--surface-2); border-radius: var(--r-md); padding: 1.25rem; margin: 1.5rem 0; border: 1px solid var(--border); display: flex; gap: 1rem; align-items: flex-start; }
.eeat-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.eeat-by { text-align: right; font-size: .83rem; color: var(--text-3); margin-top: 1rem; border-top: 1px solid var(--border); padding-top: .75rem; }

.where-to-play-section { margin: 2rem 0; padding: 1.5rem; background: var(--surface); border-radius: var(--r-md); border: 1px solid var(--border); }

.infographic-volatility, .infographic-rtp, .infographic-session { width: 100%; max-width: min(400px, 70%); margin: 1.25rem 0; }
.infographic-card img { width: 100%; height: auto; }

.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 2rem; cursor: zoom-out; }
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { width: auto; height: auto; max-width: 92vw; max-height: 88vh; object-fit: contain; cursor: default; box-shadow: 0 8px 40px rgba(0,0,0,.6); border-radius: 6px; }
.lightbox-close { position: fixed; top: 1.2rem; right: 1.5rem; background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 1.8rem; line-height: 1; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.lightbox-close:hover { background: rgba(255,255,255,.32); }
.lightbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.contact-form { max-width: 560px; margin: 1.5rem 0; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--r-sm); padding: .55rem .8rem; font-size: .95rem; font-family: var(--font-body); background: var(--surface); color: var(--text); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.btn-submit { background: var(--primary); color: #fff; border: none; padding: .7rem 1.6rem; border-radius: var(--radius); font-size: 1rem; font-weight: 700; cursor: pointer; }
.btn-submit:hover { background: var(--accent); }
#contact-result { margin-top: 1rem; padding: .75rem 1rem; border-radius: var(--r-sm); font-size: .9rem; }
#contact-result.success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
#contact-result.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.scroll-top { position: fixed; bottom: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; border: none; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); z-index: 500; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.scroll-top.visible { display: flex; opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--accent); }
.scroll-top svg { width: 22px; height: 22px; fill: currentColor; }

.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 4rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem 1.25rem 1.5rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
.footer-nav a { font-size: .85rem; color: var(--text-3); }
.footer-nav a:hover { color: var(--primary); }
.footer-disclosures { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.footer-disclosures p { font-size: .8rem; color: var(--text-3); line-height: 1.6; }
.footer-responsible-gaming { background: var(--surface-2); border-radius: var(--r-sm); padding: 1rem 1.1rem; margin-bottom: 1.5rem; }
.footer-responsible-gaming p { font-size: .82rem; color: var(--text-2); margin-bottom: .4rem; }
.footer-responsible-gaming p:last-child { margin-bottom: 0; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: .78rem; color: var(--text-3); }

.casino-list { display: flex; flex-direction: column; gap: 1.25rem; margin: 1.5rem 0; }
.casino-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.25rem; }
.casino-item h2 { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); margin-bottom: .5rem; }
.casino-item p { font-size: .9rem; color: var(--text-2); margin-bottom: .75rem; }
.btn-casino { display: inline-block; background: var(--accent); color: #fff; padding: .65rem 1.4rem; border-radius: var(--radius); font-weight: 700; font-size: .95rem; text-decoration: none; }
.btn-casino:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.disclaimer { font-size: .75rem; color: var(--text-3); margin-top: .5rem; }

.about-page, .legal-page { max-width: 760px; margin: 2.5rem auto; padding: 0 1.25rem; }
.about-page h1, .legal-page h1 { font-family: var(--font-display); font-size: 2rem; color: var(--primary); margin-bottom: 1.5rem; }
.about-page h2, .legal-page h2 { font-family: var(--font-display); font-size: 1.25rem; color: var(--primary); margin: 1.5rem 0 .5rem; }
.about-page p, .legal-page p { margin-bottom: 1rem; }
.about-page ul, .legal-page ul { margin: 0 0 1rem 1.5rem; }
.about-page li, .legal-page li { margin-bottom: .35rem; }

.not-found { text-align: center; padding: 5rem 1.5rem; max-width: 520px; margin: 0 auto; }
.not-found h1 { font-family: var(--font-display); font-size: 3rem; color: var(--primary); }

@media(max-width:1024px) {
  .page-body { grid-template-columns: 1fr; }
  .content-col { order: 2; }
  .sidebar-col { order: 1; }
  .pros-cons-grid { grid-template-columns: 1fr; }
}
@media(max-width:768px) {
  .hero { min-height: 360px; }
  .hero h1 { font-size: 1.55rem; }
  .page-body { padding: 1.5rem 1rem; }
  article.content-main h2 { font-size: 1.25rem; }
}
@media(max-width:600px) {
  .site-nav { display: none; }
  .nav-play { display: inline-flex; }
  .btn-hdr-cta { display: none; }
  .hero-cta { flex-direction: column; }
  .checkpoint-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width:769px) { .scroll-top { display: none !important; } }
@media(min-width:1025px) {
  .collapse-card > summary { cursor: default; pointer-events: none; margin-bottom: .75rem; }
  .collapse-card > summary::after { display: none; }
}
/* mobile clip fix: let 1fr grid track shrink + wrap sidebar facts + scroll wide content tables */
@media(max-width:768px) {
  .content-main, .sidebar, .sidebar-col { min-width: 0; }
  .quick-facts-table td:first-child { white-space: normal; }
  .comparison-table { font-size: .72rem; table-layout: fixed; width: 100%; }
  .comparison-table th, .comparison-table td { padding: .3rem .35rem; white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
}
/* footer column headings: semantic h2 kept visually small (fixes h2->h4 outline skip) */
.footer-h { font-size: .95rem; font-weight: 700; line-height: 1.25; margin-bottom: .6rem; color: var(--text); }
