

:root {
  --primary: #0891b2;
  --primary-rgb: 8, 145, 178;
  --accent: #dc2626;
  --bg: #040b12;
  --surface: #0a1520;
  --surface-2: #0f1e2e;
  --border: rgba(8, 145, 178, 0.18);
  --text: #e8edf2;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --max-w: 1160px;
  --col-article: minmax(0, 1fr);
  --col-sidebar: 320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 3px; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; }

h1 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); line-height: 1.2; font-weight: 800; }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); line-height: 1.3; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--text); }
h3 { font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--text); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--text); }

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

.site-header {
  background: rgba(4, 11, 18, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-logo img, .site-logo svg { height: 38px; width: auto; }
.site-logo { display: flex; align-items: center; }
.header-right { display: flex; align-items: center; gap: 1rem; }

.lang-switcher { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.35rem 0.75rem;
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  cursor: pointer; user-select: none;
}
.lang-current img { width: 18px; height: 12px; border-radius: 2px; }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 160px; z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  max-height: 70vh; overflow-y: auto; overscroll-behavior: contain;
}
@media (max-width: 600px) { .lang-dropdown { left: 0; right: auto; } }
.lang-switcher:focus-within .lang-dropdown,
.lang-switcher:hover .lang-dropdown { display: block; }
.lang-dropdown a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.85rem; font-size: 0.85rem; color: var(--text);
}
.lang-dropdown a img { width: 18px; height: 12px; border-radius: 2px; }
.lang-dropdown a:hover { background: rgba(var(--primary-rgb), 0.1); text-decoration: none; }

.btn-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--primary); color: #fff;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.5rem 1.2rem; border-radius: var(--radius);
  transition: background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-cta:hover { background: #0ea5c9; box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.45); text-decoration: none; }

.nav-play {
  display: none; align-items: center;
  background: var(--accent); color: #fff;
  font-size: 0.8rem; font-weight: 700;
  padding: 0.4rem 0.9rem; border-radius: var(--radius);
  text-decoration: none; white-space: nowrap;
}
.nav-play:hover { background: #b91c1c; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 0.75rem; }

@media (max-width: 600px) {
  .site-nav { display: none; }
  .nav-play { display: inline-flex; }
  .header-inner { flex-wrap: wrap; }
  .header-right { width: 100%; justify-content: space-between; }
}

.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(4,11,18,0.88) 0%,
    rgba(4,11,18,0.82) 30%,
    rgba(4,11,18,0.35) 62%,
    rgba(4,11,18,0.00) 85%);
}
.hero-body {
  position: relative; z-index: 2;
  padding: 2.5rem 1.5rem;
  width: 100%; max-width: var(--max-w); margin: 0 auto;
}
.hero-lead {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary);
  text-shadow: 0 2px 6px rgba(0,0,0,0.95), 0 0 12px rgba(0,0,0,0.8);
  margin-bottom: 0.5rem;
}
.hero h1 {
  color: #fff; max-width: 640px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.95), 0 0 16px rgba(0,0,0,0.85), 0 0 4px rgba(0,0,0,0.9);
  margin-bottom: 0.75rem;
}
.hero h1 em { color: var(--primary); font-style: normal; text-shadow: inherit; }
.hero-sub {
  color: #f0f4f8; max-width: 500px; font-size: 1.05rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.95), 0 0 10px rgba(0,0,0,0.8);
  margin-bottom: 1.25rem;
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 0.65rem 1.4rem; border-radius: var(--radius);
  transition: all 0.15s;
}
.btn-hero-primary { background: var(--primary); color: #fff; }
.btn-hero-primary:hover { background: #0ea5c9; box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5); text-decoration: none; }
.btn-hero-ghost {
  background: rgba(255,255,255,0.1); color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.18); text-decoration: none; }

@media (max-width: 768px) {
  .hero { min-height: 360px; }
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(4,11,18,0.4) 0%,
      rgba(4,11,18,0.8) 60%,
      rgba(4,11,18,0.95) 100%);
  }
}

.page-main {
  padding: 2.5rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.layout-with-sidebar {
  display: grid;
  grid-template-columns: var(--col-article) var(--col-sidebar);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .content-main { order: 2; }
  .sidebar { order: 1; }
}

article { min-width: 0; }
article h2 { border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
article section { margin-bottom: 3rem; }
article section:last-child { margin-bottom: 0; }
article figure {
  margin: 1.5rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
article figure img {
  border-radius: 8px;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
article figcaption {
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.sidebar { position: static; }
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.sidebar-card:last-child { margin-bottom: 0; }

.collapse-card > summary {
  font-family: var(--font); font-size: 0.85rem; font-weight: 700;
  color: var(--primary); letter-spacing: 0.08em; text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  margin-bottom: 0;
}
.collapse-card > summary::-webkit-details-marker { display: none; }
.collapse-card > summary::after {
  content: "\25BC";
  color: var(--primary); font-size: 0.65rem;
  transition: transform 0.2s; flex-shrink: 0;
}
.collapse-card[open] > summary::after { transform: rotate(180deg); }
.collapse-card[open] > summary { margin-bottom: 1rem; }

@media (min-width: 1025px) {
  details.collapse-card > summary { cursor: default; pointer-events: none; margin-bottom: 1rem; }
  details.collapse-card > summary::after { display: none; }
}

.facts-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.facts-table tr { border-bottom: 1px solid rgba(var(--primary-rgb), 0.1); }
.facts-table tr:last-child { border-bottom: none; }
.facts-table th {
  text-align: left; padding: 0.4rem 0.25rem;
  font-weight: 600; color: var(--text-muted);
}
.facts-table tbody th { width: 36%; }
.facts-table thead th { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-dim); font-weight: 700; }
.facts-table td { padding: 0.4rem 0.25rem; font-weight: 600; color: var(--text); }
.facts-table tbody td:last-child { width: 26%; font-size: 0.7rem; font-weight: 400; color: var(--text-dim); line-height: 1.3; }
.fact-note { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.75rem; line-height: 1.5; }

.toc-card nav { display: flex; flex-direction: column; gap: 0.25rem; }
.toc-card nav a {
  font-size: 0.875rem; color: var(--text-muted); padding: 0.25rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  transition: color 0.15s, border-color 0.15s;
}
.toc-card nav a:hover { color: var(--primary); border-color: var(--primary); text-decoration: none; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros, .cons {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
}
.pros { border-top: 3px solid #16a34a; }
.cons { border-top: 3px solid var(--accent); }
.pros h3, .cons h3 { margin-top: 0; margin-bottom: 0.75rem; }
.pros h3 { color: #4ade80; }
.cons h3 { color: var(--accent); }
.pros ul, .cons ul { list-style: none; padding: 0; }
.pros ul li, .cons ul li { padding: 0.35rem 0; font-size: 0.9rem; padding-left: 1.5rem; position: relative; }
.pros ul li::before { content: "+"; position: absolute; left: 0; color: #4ade80; font-weight: 700; }
.cons ul li::before { content: "-"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.faq-list { list-style: none; padding: 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.faq-a { font-size: 0.925rem; color: var(--text-muted); }
.faq-a p { margin-bottom: 0; }

.session-progression { margin: 1.5rem 0; }
.checkpoint-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (max-width: 600px) { .checkpoint-grid { grid-template-columns: 1fr; } }
.checkpoint-grid figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.checkpoint-grid figure img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  cursor: zoom-in;
}
.checkpoint-grid figcaption { font-size: 0.75rem; padding: 0.4rem 0.75rem; color: var(--text-muted); }

.demo-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0;
}
.demo-header {
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.demo-header h2 { margin: 0; font-size: 1.1rem; border: none; padding: 0; }

.demo-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
}
.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(0.35); z-index: 1;
}
.demo-play-btn,
.demo-poster-content {
  background: rgba(0,0,0,0.65); backdrop-filter: blur(6px);
  padding: 1.25rem 1.75rem; border-radius: var(--radius);
  position: relative; z-index: 2; text-align: center;
  pointer-events: none;
}
.demo-play-btn svg {
  width: 72px; height: 72px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.6));
}
.demo-iframe {
  width: 100%; aspect-ratio: 16/9; border: none;
  display: none; background: #000; z-index: 3; position: relative;
}
.demo-disclaimer {
  padding: 0.75rem 1.25rem;
  font-size: 0.78rem; color: var(--text-dim);
  border-top: 1px solid var(--border);
}

.eeat-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  margin: 2rem 0;
}
.eeat-card img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--border);
}
.eeat-card p { font-size: 0.875rem; color: var(--text-muted); }
.eeat-card p:first-of-type { color: var(--text); }
@media (max-width: 600px) { .eeat-card { flex-direction: column; gap: 0.5rem; } .eeat-label { font-weight: 700; } }

.casino-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.casino-card img { height: 40px; width: auto; border-radius: 4px; }
.casino-card-info { flex: 1; }
.casino-card-name { font-weight: 700; }
.casino-card-meta { font-size: 0.8rem; color: var(--text-muted); }
.btn-casino {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.875rem; padding: 0.5rem 1rem;
  border-radius: var(--radius); white-space: nowrap; flex-shrink: 0;
}
.btn-casino:hover { background: #b91c1c; text-decoration: none; }

.review-meta {
  background: var(--surface); border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem; margin: 2rem 0;
  font-size: 0.875rem; color: var(--text-muted);
}
.review-meta p { margin-bottom: 0.4rem; }

.how-we-built {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  margin: 2rem 0;
}
.how-we-built h3 { margin-top: 0; }
.how-we-built ol { font-size: 0.875rem; color: var(--text-muted); }
.how-we-built ol li { margin-bottom: 0.5rem; }

.infographic-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 1.5rem 0;
}
@media (max-width: 767px) { .infographic-row { grid-template-columns: 1fr; } }
.infographic-row img, .infographic-row object { width: 100%; border-radius: var(--radius-lg); }

.breadcrumb {
  padding: 0.75rem 1.25rem;
  background: rgba(var(--primary-rgb), 0.04);
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0 auto; max-width: var(--max-w); }
.breadcrumb li { font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.35rem; color: var(--text-dim); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

.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;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; } }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.75rem; }
.footer-nav h2, .footer-legal h2 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 0.75rem;
}
.footer-nav ul, .footer-legal ul { list-style: none; padding: 0; }
.footer-nav li, .footer-legal li { margin-bottom: 0.4rem; }
.footer-nav a, .footer-legal a { font-size: 0.875rem; color: var(--text-muted); }
.footer-nav a:hover, .footer-legal a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.78rem; color: var(--text-dim);
}
.footer-disclaimer {
  max-width: var(--max-w); margin: 0 auto;
  padding: 1.25rem;
  font-size: 0.78rem; color: var(--text-dim); line-height: 1.6;
  border-top: 1px solid var(--border);
}

.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,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 {
  max-width: 100%; max-height: 90vh; width: auto; height: auto;
  object-fit: contain; cursor: default;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6); border-radius: 6px;
}
.lightbox-close {
  position: fixed; top: 1.2rem; right: 1.5rem;
  background: rgba(255,255,255,0.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 0.15s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.32); }
.lightbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.sidebar-infographics { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.sidebar-infographics img { width: 100%; border-radius: var(--radius-lg); }

.sidebar-cta { text-align: center; }
.sidebar-cta h3 { margin-top: 0; color: var(--primary); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.sidebar-cta .btn-cta { width: 100%; justify-content: center; margin-bottom: 0.5rem; display: flex; }
.sidebar-cta .btn-secondary { display: block; text-align: center; font-size: 0.82rem; color: var(--text-muted); padding: 0.4rem; }
.sidebar-cta .btn-secondary:hover { color: var(--primary); }

.scroll-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s; z-index: 50;
}
.scroll-top.visible { opacity: 1; }

.lang-dropdown.open { display: block; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.badge {
  display: inline-block; padding: 0.2rem 0.55rem;
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary); border-radius: 4px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em;
}
.badge-accent {
  background: rgba(220, 38, 38, 0.15);
  color: var(--accent);
}

.page-content {
  max-width: 720px; margin: 0 auto;
  padding: 2.5rem 1.25rem;
}
.page-content h1 { margin-bottom: 1.5rem; }
.page-content h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
.page-content p, .page-content li { font-size: 0.95rem; color: var(--text-muted); }
.page-content ul, .page-content ol { margin-bottom: 1rem; }

.contact-form { max-width: 560px; }
.contact-form label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.3rem; }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-family: var(--font); font-size: 0.95rem;
  padding: 0.6rem 0.85rem; margin-bottom: 1rem;
  transition: border-color 0.15s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  background: var(--primary); color: #fff;
  font-weight: 700; font-size: 0.95rem; padding: 0.65rem 1.4rem;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background 0.15s;
}
.contact-form button:hover { background: #0ea5c9; }

.page-404 { text-align: center; padding: 6rem 1.25rem; }
.page-404 h1 { font-size: 5rem; color: var(--primary); margin-bottom: 0.5rem; }
.page-404 p { color: var(--text-muted); margin-bottom: 1.5rem; }

@media (hover: hover) {
  .sidebar-card:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.08);
    transition: all 0.2s;
  }
  .facts-table tr:hover td { color: var(--primary); }
}
