@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Syne:wght@700;800&display=swap');

:root {
  --bg: #0b0c10;
  --bg-2: #12141c;
  --panel: #171922;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f2f3f7;
  --muted: #9aa0b4;
  --red: #dc1838;
  --red-2: #ff3355;
  --gold: #e8c25a;
  --radius: 12px;
  --font: 'Outfit', sans-serif;
  --display: 'Syne', sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(220, 24, 56, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 10%, rgba(40, 60, 120, 0.22), transparent 50%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

.wrap {
  width: min(1140px, calc(100% - 36px));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 12, 16, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.logo img { height: 28px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav a.is-active { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 28px rgba(220, 24, 56, 0.35);
}

.btn-red:hover { background: var(--red-2); }

.btn-line {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-line:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  place-items: center;
}

.menu-btn i,
.menu-btn i::before,
.menu-btn i::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.menu-btn i::before,
.menu-btn i::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-btn i::before { top: -6px; }
.menu-btn i::after { top: 6px; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 10px 0 16px;
}

.mobile-nav.open { display: grid; gap: 4px; }

.mobile-nav a {
  padding: 12px 8px;
  color: var(--muted);
  border-radius: 8px;
}

.mobile-nav a.is-active,
.mobile-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(420px, 72vh, 620px);
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 14, 0.92) 0%, rgba(8, 9, 14, 0.62) 42%, rgba(8, 9, 14, 0.25) 70%, rgba(8, 9, 14, 0.45) 100%),
    linear-gradient(0deg, rgba(11, 12, 16, 0.95) 0%, transparent 42%),
    url('../images/banner-casino.jpg') center / cover no-repeat;
  animation: bgDrift 18s ease-in-out infinite alternate;
}

@keyframes bgDrift {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 72px 0 64px;
  max-width: 640px;
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.brand-mark {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 18px;
}

.brand-mark span {
  display: block;
  color: var(--gold);
  font-size: 0.42em;
  letter-spacing: 0.18em;
  margin-top: 10px;
  font-weight: 700;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  max-width: 16ch;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-head p { color: var(--muted); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  display: block;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  animation: rise 0.6s ease both;
}

.tile:nth-child(2) { animation-delay: 0.08s; }
.tile:nth-child(3) { animation-delay: 0.16s; }

.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 24, 56, 0.45);
  box-shadow: var(--shadow);
}

.tile .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.tile h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.tile p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.tile .more {
  color: var(--red-2);
  font-weight: 600;
  font-size: 14px;
}

/* Banner break */
.break-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  min-height: 220px;
  display: grid;
  align-items: center;
  box-shadow: var(--shadow);
}

.break-banner-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 11, 16, 0.9) 0%, rgba(10, 11, 16, 0.55) 55%, rgba(10, 11, 16, 0.35) 100%),
    url('../images/banner-casino.jpg') center / cover no-repeat;
}

.break-banner-copy {
  position: relative;
  z-index: 1;
  padding: 42px;
  max-width: 560px;
}

.break-banner h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.break-banner h2 em {
  font-style: normal;
  color: var(--gold);
}

.break-banner p {
  color: var(--muted);
  margin-bottom: 18px;
}

/* Content pages */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 280px;
  display: grid;
  align-items: end;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 14, 0.92) 0%, rgba(8, 9, 14, 0.55) 55%, rgba(8, 9, 14, 0.3) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 50%),
    url('../images/banner-casino.jpg') center / cover no-repeat;
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  padding: 56px 0 36px;
  max-width: 680px;
  animation: rise 0.6s ease both;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.crumbs a:hover { color: var(--gold); }

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero p { color: var(--muted); max-width: 52ch; }

.prose {
  width: min(760px, 100%);
  padding: 20px 0 10px;
}

.prose h2 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 28px 0 12px;
}

.prose p {
  color: var(--muted);
  margin-bottom: 14px;
}

.prose ul {
  margin: 0 0 16px 1.1rem;
  color: var(--muted);
}

.prose li {
  list-style: disc;
  margin-bottom: 8px;
}

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.related h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.related-links a:hover {
  color: var(--text);
  border-color: rgba(232, 194, 90, 0.5);
}

.list-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.list-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.list-row:last-child { border-bottom: 0; }
.list-row.head {
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.list-row strong { color: var(--gold); }

/* Footer */
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: #08090d;
  padding: 42px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 28ch;
}

.footer h4 {
  font-size: 13px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.age {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-weight: 800;
  font-size: 11px;
  margin-right: 8px;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header .btn {
    display: inline-flex;
    padding: 9px 14px;
    font-size: 13px;
    white-space: nowrap;
  }
  .header-row {
    gap: 10px;
  }
  .logo img { height: 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .list-row { grid-template-columns: 1fr; gap: 4px; }

  /* Tables: fit viewport, no left/right swipe */
  .table-scroll {
    overflow-x: hidden;
    overscroll-behavior-x: none;
    max-width: 100%;
  }

  .table-scroll table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
    font-size: 12px;
  }

  .table-scroll th,
  .table-scroll td {
    padding: 8px 6px;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .table-scroll caption {
    padding: 10px 10px 4px;
    font-size: 12px;
  }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .break-banner-copy { padding: 28px; }
  .hero-copy { padding: 56px 0 48px; }
  .header .btn {
    padding: 8px 11px;
    font-size: 12px;
  }
}

/* Article layout */
.article-wrap {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.article h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.article .lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.article h2 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin: 36px 0 12px;
  scroll-margin-top: 90px;
}

.article h3 {
  font-size: 1.08rem;
  margin: 22px 0 10px;
  color: #fff;
}

.article p {
  color: var(--muted);
  margin-bottom: 14px;
}

.article a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article ul,
.article ol {
  margin: 0 0 16px 1.2rem;
  color: var(--muted);
}

.article li {
  margin-bottom: 8px;
  list-style: inherit;
}

.toc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0 28px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.toc ol {
  margin: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 14px;
}

.toc a {
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover { color: var(--gold); }

.note {
  border-left: 3px solid var(--gold);
  background: rgba(232, 194, 90, 0.08);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  margin: 16px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 10px;
}

.table-scroll {
  overflow-x: auto;
  margin: 14px 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 0;
}

.table-scroll caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px 4px;
  color: var(--muted);
  font-size: 13px;
}

.table-scroll th,
.table-scroll td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-scroll th {
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.table-scroll tr:last-child td { border-bottom: 0; }

.article figure {
  margin: 18px 0 24px;
}

.article figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.article figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 12px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq details p {
  margin: 10px 0 4px;
}

.rg-box {
  margin-top: 36px;
  padding: 22px;
  border: 1px solid rgba(220, 24, 56, 0.35);
  border-radius: var(--radius);
  background: rgba(220, 24, 56, 0.06);
}

.rg-box h2 { margin-top: 0; }

.author-box {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
}

.break-mid {
  margin: 32px 0;
}

.header .btn { flex-shrink: 0; }
