:root {
  --bg-dark: #380000;
  --bg-dark-2: #2b0000;
  --red-deep: #500001;
  --red-nav: #6a0203;
  --red-nav-2: #560102;
  --red-bright: #8b0000;
  --red-card: #4a0707;
  --gold: #c8a05a;
  --gold-2: #b48c46;
  --gold-light: #e8c878;
  --gold-dark: #9a7430;
  --white: #ffffff;
  --ink: #2b2526;
  --ink-soft: #5d5556;
  --cream: #ece0e0;
  --cream-soft: #c9aeae;
  --line: #e7e1e1;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
  --radius: 10px;
  --gold-grad: linear-gradient(180deg, #efce86 0%, #d4ac63 42%, #b78a3e 100%);
  --gold-grad-hover: linear-gradient(180deg, #f6da99 0%, #ddb76e 42%, #c4974a 100%);
  --shadow-card: 0 8px 22px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 18px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease, background 0.15s ease;
  line-height: 1;
}
.btn-gold {
  background: var(--gold-grad);
  color: #3a2a05;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-gold:hover { background: var(--gold-grad-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: rgba(200, 160, 90, 0.16); }
.btn-lg { padding: 15px 40px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: 0.78rem; }

/* ============ TOP UTILITY BAR ============ */
.topbar { display: none; background: var(--red-deep); color: var(--cream-soft); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 42px; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { font-size: 0.82rem; color: var(--cream-soft); transition: color 0.15s; }
.topbar-links a:hover { color: var(--gold-light); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.lang-select {
  background: var(--bg-dark-2);
  color: var(--cream);
  border: 1px solid rgba(200, 160, 90, 0.35);
  border-radius: 4px;
  font-size: 0.8rem;
  padding: 5px 8px;
  font-family: var(--font-body);
}

/* ============ MAIN HEADER / NAV ============ */
.site-header { position: sticky; top: 0; z-index: 60; }
.navbar {
  background: linear-gradient(180deg, var(--red-nav) 0%, var(--red-nav-2) 100%);
  border-bottom: 2px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 12px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.nav-group { display: none; }
.nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 8px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:first-child { border-left: 0; }
.nav-link svg { width: 20px; height: 20px; fill: var(--gold); opacity: 0.95; }
.nav-link:hover, .nav-link.active { color: var(--gold-light); background: rgba(0, 0, 0, 0.18); }
.nav-link.active svg, .nav-link:hover svg { fill: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 40px;
  background: transparent;
  border: 1px solid rgba(232, 200, 120, 0.4);
  border-radius: 6px;
  cursor: pointer;
  padding: 0 9px;
}
.burger span {
  height: 2px; width: 100%;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 86vw);
  background: linear-gradient(180deg, var(--red-nav) 0%, var(--bg-dark) 100%);
  border-left: 2px solid var(--gold-dark);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 200;
  padding: 22px 20px;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-menu-head img { height: 42px; }
.mobile-close {
  background: transparent; border: 0; color: var(--gold-light);
  font-size: 1.9rem; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 600;
  padding: 13px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; gap: 12px;
}
.mobile-menu nav a svg { width: 19px; height: 19px; fill: var(--gold); }
.mobile-menu nav a:hover { color: var(--gold-light); }
.mobile-menu .mm-actions { display: flex; gap: 10px; margin-top: 20px; }
.mobile-menu .mm-actions .btn { flex: 1; }
.menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
  z-index: 150;
}
.menu-backdrop.open { opacity: 1; visibility: visible; }

/* ============ JACKPOT TICKER ============ */
.jackpot-bar {
  background: linear-gradient(180deg, #9a0202 0%, #6e0101 100%);
  border-top: 1px solid rgba(232, 200, 120, 0.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  color: var(--white);
}
.jackpot-bar .container {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 40px; font-size: 0.9rem; text-align: center;
}
.jackpot-bar .diamond { color: var(--gold-light); font-size: 1.1rem; }
.jackpot-bar .amount { color: var(--gold-light); font-weight: 700; font-family: var(--font-head); }

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(139, 0, 0, 0.55) 0%, rgba(56, 0, 0, 0) 60%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-block: 34px 40px;
  text-align: center;
}
.hero-art { flex-shrink: 0; max-width: 360px; width: 100%; }
.hero-art img { border-radius: 12px; box-shadow: var(--shadow-card); }
.hero-copy { max-width: 560px; }
.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.hero-title .accent { color: var(--gold-light); }
.hero-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.hero-points li {
  display: flex; align-items: flex-start; gap: 10px;
  text-align: left; color: var(--cream); font-size: 0.98rem;
}
.hero-points li::before {
  content: ""; flex-shrink: 0; margin-top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: inset 0 0 0 3px rgba(56, 0, 0, 0.55);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ============ GAMES SHOWCASE ============ */
.showcase { background: var(--white); padding-block: 44px; }
.showcase-intro { max-width: 880px; }
.showcase-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--bg-dark);
  margin: 0 0 14px;
}
.showcase-intro p { margin: 0 0 14px; color: var(--ink-soft); }
.showcase-intro strong { color: var(--red-bright); }

.section-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--gold-grad);
  color: #3a2a05;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1.05rem;
  padding: 13px 20px;
  border-radius: 6px;
  margin: 30px 0 18px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}
.section-bar::after {
  content: "›"; font-size: 1.4rem; line-height: 1; margin-left: 2px;
}
.showcase .section-bar:first-child { margin-top: 0; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.tile {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
  box-shadow: var(--shadow-card);
  position: relative;
  aspect-ratio: 3 / 4;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after {
  content: "PLAY";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; letter-spacing: 1px;
  color: #3a2a05; background: rgba(232, 200, 120, 0.9);
  opacity: 0; transition: opacity 0.18s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); }
.tile:hover::after { opacity: 1; }

.showcase-more { text-align: center; margin-top: 26px; }

/* ============ SEO CONTENT (PROSE) ============ */
.seo-content { background: var(--white); padding-block: 30px 56px; }
.prose { max-width: 900px; margin-inline: auto; }
.prose h1, .prose h2, .prose h3 {
  font-family: var(--font-head);
  color: var(--bg-dark);
  line-height: 1.25;
  scroll-margin-top: 120px;
}
.prose h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 800; margin: 6px 0 22px; }
.prose h2 {
  font-size: clamp(1.4rem, 3.4vw, 1.85rem);
  font-weight: 700;
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.prose h3 { font-size: clamp(1.1rem, 2.6vw, 1.3rem); font-weight: 700; margin: 26px 0 10px; color: var(--red-bright); }
.prose p { margin: 0 0 16px; color: var(--ink); }
.prose strong { color: var(--bg-dark); font-weight: 700; }
.prose a { color: var(--red-bright); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 4px; }
.prose ul { list-style: none; }
.prose ul li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
}
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold-grad);
}
.prose ol { padding-left: 22px; }
.prose ol li { margin-bottom: 9px; padding-left: 4px; }
.prose ol li::marker { color: var(--gold-dark); font-weight: 700; }

/* Tables with horizontal scroll */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  font-size: 0.92rem;
}
.prose thead th {
  background: linear-gradient(180deg, var(--red-nav) 0%, var(--red-nav-2) 100%);
  color: var(--gold-light);
  font-family: var(--font-head);
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}
.prose tbody td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) { background: #faf6f6; }
.prose td.num, .prose th.num { text-align: right; }

.seo-cta { text-align: center; margin-top: 30px; }

/* ============ FOOTER ============ */
.site-footer {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--cream-soft);
  padding-block: 40px 28px;
  border-top: 3px solid var(--gold-dark);
}
.footer-social { display: flex; justify-content: center; gap: 20px; margin-bottom: 28px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(232, 200, 120, 0.35);
  transition: background 0.15s, border-color 0.15s;
}
.footer-social a:hover { background: rgba(232, 200, 120, 0.15); border-color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; fill: var(--gold-light); }

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}
.footer-col h2 {
  font-family: var(--font-head);
  color: var(--gold-light);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { font-size: 0.9rem; color: var(--cream-soft); transition: color 0.15s; }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom { text-align: center; margin-top: 30px; }
.footer-bottom p { font-size: 0.82rem; color: var(--cream-soft); margin: 0 0 16px; }
.footer-badges {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px; margin-top: 10px;
}
.footer-badges .badge {
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.5px; color: var(--cream-soft);
  border: 1px solid rgba(201, 174, 174, 0.3);
  border-radius: 5px; padding: 6px 11px;
}
.footer-badges .badge.age {
  color: var(--bg-dark); background: var(--cream-soft);
  border-radius: 50%; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  padding: 0; font-size: 0.8rem;
}

/* Payment row */
.pay-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 16px 0 20px;
}
.pay-badge {
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 12px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  letter-spacing: 0.3px;
}

/* ============ SPLIT CONTENT (image + text used inside showcase) ============ */
.split {
  display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center;
  margin-top: 34px;
}
.split img { border-radius: 12px; box-shadow: var(--shadow-card); margin-inline: auto; }

/* ============ 404 ============ */
.notfound {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--white);
  min-height: 64vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 18px;
}
.notfound-inner { max-width: 560px; }
.notfound h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(4rem, 18vw, 8rem); margin: 0; color: var(--gold-light);
  line-height: 1; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}
.notfound h2 { font-family: var(--font-head); font-size: 1.5rem; margin: 6px 0 14px; }
.notfound p { color: var(--cream); margin: 0 0 26px; }
.notfound .btn + .btn { margin-left: 10px; }

/* ============ RESPONSIVE ============ */
@media (min-width: 720px) {
  .hero .container { flex-direction: row; text-align: left; gap: 36px; padding-block: 50px 56px; }
  .hero-copy { flex: 1; }
  .hero-cta { justify-content: flex-start; }
  .tile-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); text-align: left; gap: 40px; }
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 34px; }
  .split.reverse > :first-child { order: 2; }
}

@media (min-width: 960px) {
  .topbar { display: block; }
  .navbar .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 84px;
  }
  .nav-group { display: flex; align-items: center; justify-content: center; }
  .nav-group.left { justify-content: flex-start; }
  .nav-group.right { justify-content: flex-end; }
  .brand { justify-self: center; }
  .brand img { height: 72px; }
  .header-actions { display: none; }
  .tile-grid { grid-template-columns: repeat(6, 1fr); }
  .jackpot-bar .container { font-size: 0.98rem; }
}

@media (max-width: 959px) {
  .nav-group, .nav-desktop-only { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
