:root {
  --ink: #16141b;
  --ink-soft: #332f3a;
  --deep: #103632;
  --deep-2: #0b2826;
  --paper: #f2f0e8;
  --surface: #fffdf7;
  --surface-2: #e9e6dc;
  --violet: #6847f5;
  --violet-dark: #4b2bd7;
  --lime: #d8ff52;
  --coral: #ff665c;
  --line: #211e27;
  --muted: #6e6875;
  --shell: 1220px;
  --radius: 18px;
  --shadow: 8px 8px 0 var(--line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 2%, rgba(216, 255, 82, .26), transparent 24rem),
    radial-gradient(circle at 94% 10%, rgba(104, 71, 245, .14), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
}

a { color: inherit; }
img { max-width: 100%; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
.wrapper { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 10px; top: 8px; z-index: 1000; padding: 10px 15px; color: #fff; background: var(--violet); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #fff;
  border-bottom: 3px solid var(--ink);
  background: rgba(16, 54, 50, .96);
  backdrop-filter: blur(14px);
}
.header-row { display: flex; align-items: center; gap: 18px; min-height: 78px; }
.site-logo { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; text-decoration: none; }
.site-logo img { display: block; width: 102px; height: 72px; object-fit: contain; }
.geo-tag { padding: 5px 9px; color: var(--ink); border: 2px solid var(--ink); border-radius: 4px; background: var(--lime); font-size: 10px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-2deg); }
.desktop-nav { flex: 1 1 auto; }
.desktop-nav ul, .mobile-menu ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.desktop-nav a, .mobile-menu a { display: block; padding: 10px 9px; color: #d8e5e1; border-radius: 8px; font-size: 13px; font-weight: 780; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--ink); background: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.language-switch { display: inline-grid; place-items: center; min-width: 39px; min-height: 39px; border: 2px solid rgba(255,255,255,.45); border-radius: 50%; font-size: 11px; font-weight: 950; text-decoration: none; }
.language-switch:hover { border-color: var(--lime); color: var(--lime); }
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { cursor: pointer; list-style: none; padding: 9px 13px; color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; background: var(--lime); font-size: 13px; font-weight: 900; }
.mobile-menu summary::-webkit-details-marker { display: none; }

.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 19px;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 950;
  line-height: 1.15;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: #e5ff86; }
.btn-secondary, a.btn-secondary { color: #fff; background: var(--violet); }
.btn-secondary:hover { background: var(--violet-dark); }
.header-actions .btn { min-height: 39px; padding: 8px 12px; font-size: 12px; box-shadow: 3px 3px 0 #050505; }

.breadcrumbs { margin: 23px 0 10px; color: var(--muted); font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #aaa3ae; }
.breadcrumbs a { color: var(--violet-dark); font-weight: 800; text-decoration: none; }
main [id] { scroll-margin-top: 98px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
  margin: 10px 0 31px;
  padding: clamp(28px, 5vw, 62px);
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero::before { content: ""; position: absolute; right: -80px; top: -130px; width: 360px; height: 360px; border: 60px solid rgba(104,71,245,.09); border-radius: 50%; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-block; margin: 0 0 15px; padding: 6px 10px; color: #fff; border: 2px solid var(--ink); border-radius: 4px; background: var(--deep); font-size: 11px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-1deg); }
.hero h1 { max-width: 840px; margin: 0 0 18px; font-family: "Arial Black", Impact, Inter, sans-serif; font-size: clamp(38px, 5.5vw, 69px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.hero-lead { max-width: 760px; margin: 0; color: var(--ink-soft); font-size: clamp(17px, 1.8vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

.tower-art { position: relative; min-height: 360px; display: grid; place-items: center; }
.tower-art-inner { position: relative; width: min(100%, 310px); padding-top: 68px; }
.tower-art-logo { position: absolute; right: 0; top: 0; z-index: 3; width: 122px; filter: drop-shadow(4px 5px 0 rgba(22,20,27,.18)); transform: rotate(3deg); }
.floor { height: 40px; margin: 8px auto 0; border: 3px solid var(--ink); border-radius: 6px; box-shadow: 5px 5px 0 var(--ink); transform: translateX(var(--shift)); }
.floor:nth-child(2) { width: 58%; --shift: -3px; background: var(--lime); }
.floor:nth-child(3) { width: 68%; --shift: 10px; background: var(--coral); }
.floor:nth-child(4) { width: 77%; --shift: -8px; background: #fff; }
.floor:nth-child(5) { width: 86%; --shift: 6px; background: var(--violet); }
.floor:nth-child(6) { width: 96%; --shift: -3px; background: var(--deep); }
.tower-art::after { content: ""; position: absolute; bottom: 10px; width: 95%; height: 16px; border: 3px solid var(--ink); border-radius: 50%; background: rgba(22,20,27,.09); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 25px; align-items: start; margin-bottom: 35px; }
.content-column { min-width: 0; }
.article-shell, .toc-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
}
.article-shell { padding: clamp(25px, 5vw, 56px); box-shadow: 5px 5px 0 rgba(22,20,27,.16); }
.article-shell h2 { margin: 44px 0 15px; font-family: "Arial Black", Impact, Inter, sans-serif; font-size: clamp(25px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.025em; }
.article-shell h2:first-child { margin-top: 0; }
.article-shell h2::before { content: ""; display: block; width: 56px; height: 7px; margin-bottom: 13px; border: 2px solid var(--ink); border-radius: 99px; background: var(--lime); }
.article-shell h3 { margin: 29px 0 9px; color: var(--deep); font-size: 21px; line-height: 1.3; }
.article-shell p { max-width: 76ch; margin: 0 0 17px; }
.article-shell a:not(.btn) { color: var(--violet-dark); text-underline-offset: 3px; }
.article-shell ul, .article-shell ol { max-width: 76ch; padding-left: 24px; }
.article-shell li { margin: 8px 0; }
.article-shell li::marker { color: var(--violet); font-weight: 950; }
.question-line { padding: 12px 15px; border-left: 5px solid var(--violet); background: rgba(104,71,245,.07); }
.source-button-row { display: flex; flex-wrap: wrap; gap: 11px; margin: 20px 0 28px; }

.toc-card { position: sticky; top: 101px; padding: 18px; box-shadow: 4px 4px 0 rgba(22,20,27,.18); }
.toc-title { margin: 0 0 11px; color: var(--deep); font-size: 13px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.toc-card ol { max-height: calc(100vh - 175px); overflow: auto; margin: 0; padding-left: 21px; }
.toc-card li { margin: 6px 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.toc-card a { color: var(--ink); font-weight: 720; text-decoration: none; }
.toc-card a:hover { color: var(--violet-dark); }
.floating-index { display: none; }

.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 38px 0; padding: clamp(22px, 4vw, 36px); color: #fff; border: 3px solid var(--ink); border-radius: 13px; background: var(--deep); box-shadow: 7px 7px 0 var(--violet); }
.cta-brand { display: flex; align-items: center; gap: 15px; }
.cta-brand img { width: 82px; height: 62px; object-fit: contain; }
.cta-brand strong { display: block; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(24px, 3vw, 34px); line-height: 1; }
.cta-brand span { color: #c7d8d3; font-size: 13px; }
.cta-actions { display: flex; flex: 0 0 auto; gap: 10px; }

.casino-grid { display: grid; gap: 15px; margin: 24px 0 32px; }
.casino-card { display: grid; grid-template-columns: 64px minmax(150px, .75fr) minmax(210px, 1.25fr) auto; gap: 18px; align-items: center; padding: 19px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; box-shadow: 4px 4px 0 rgba(22,20,27,.14); }
.casino-rank { display: grid; place-items: center; width: 48px; height: 48px; color: #fff; border: 2px solid var(--ink); border-radius: 50%; background: var(--violet); font-size: 18px; font-weight: 950; }
.casino-name { margin: 0; font-size: 20px; font-weight: 950; }
.casino-bonus { margin: 4px 0 0; color: var(--violet-dark); font-size: 13px; font-weight: 850; }
.casino-description { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.casino-actions { display: flex; flex-direction: column; gap: 8px; }
.casino-actions .btn { min-width: 148px; font-size: 13px; }

.table-wrap { overflow-x: auto; margin: 23px 0 30px; border: 2px solid var(--ink); border-radius: 10px; }
table { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; }
th, td { padding: 13px 15px; border-right: 1px solid #dad6cb; border-bottom: 1px solid #dad6cb; text-align: left; vertical-align: top; }
th { color: #fff; background: var(--deep); }
tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { border-right: 0; }

.steps { display: grid; gap: 9px; margin: 18px 0 26px; }
.step { display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: start; padding: 12px 14px; border: 1px solid #cbc6b9; border-radius: 9px; background: #f8f6ef; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; border: 2px solid var(--ink); border-radius: 5px; background: var(--coral); font-weight: 950; }
.step p { margin: 3px 0 0; }

.faq-list { display: grid; gap: 11px; }
.faq-group-title { margin-top: 42px; }
.faq-list details { border: 2px solid var(--ink); border-radius: 10px; background: #fff; box-shadow: 3px 3px 0 rgba(22,20,27,.11); }
.faq-list summary { cursor: pointer; list-style: none; padding: 17px 49px 17px 18px; font-weight: 900; line-height: 1.35; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 16px; top: 50%; display: grid; place-items: center; width: 25px; height: 25px; color: #fff; border-radius: 50%; background: var(--violet); transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "–"; }
.faq-answer { padding: 0 18px 18px; color: var(--ink-soft); }
.faq-answer p:last-child { margin-bottom: 0; }

.site-footer { margin-top: 45px; color: #d9e4e1; border-top: 3px solid var(--ink); background: var(--deep-2); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 45px; padding: 44px 0 28px; }
.footer-brand img { width: 120px; }
.footer-brand p { max-width: 34ch; margin: 10px 0 0; color: #9db3ae; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.footer-links h2 { margin: 0 0 11px; color: var(--lime); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 7px 0; }
.footer-links a { color: #d9e4e1; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0 23px; border-top: 1px solid rgba(255,255,255,.14); color: #8fa6a1; font-size: 12px; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu[open] ul { position: absolute; left: 20px; right: 20px; top: 72px; display: grid; padding: 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--deep); box-shadow: 5px 5px 0 var(--ink); }
  .mobile-menu a { padding: 11px 12px; }
  .mobile-menu a[aria-current="page"] { color: var(--ink); background: var(--lime); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .tower-art { min-height: 290px; }
  .layout { display: block; }
  .toc-card { display: none; }
  .floating-index { position: fixed; right: 14px; bottom: 14px; z-index: 70; display: block; }
  .floating-index summary { cursor: pointer; list-style: none; padding: 11px 14px; color: #fff; border: 2px solid var(--ink); border-radius: 8px; background: var(--violet); box-shadow: 4px 4px 0 var(--ink); font-size: 13px; font-weight: 900; }
  .floating-index summary::-webkit-details-marker { display: none; }
  .floating-index[open] ol { position: absolute; right: 0; bottom: 49px; width: min(330px, calc(100vw - 28px)); max-height: 60vh; overflow: auto; margin: 0; padding: 17px 17px 17px 38px; border: 2px solid var(--ink); border-radius: 10px; background: var(--surface); box-shadow: 5px 5px 0 var(--ink); }
  .floating-index li { margin: 8px 0; color: var(--muted); font-size: 13px; }
  .floating-index a { color: var(--ink); text-decoration: none; }
  .casino-card { grid-template-columns: 55px 1fr; }
  .casino-description, .casino-actions { grid-column: 1 / -1; }
  .casino-actions { flex-direction: row; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrapper { width: min(100% - 26px, var(--shell)); }
  .header-row { min-height: 70px; gap: 9px; }
  .site-logo img { width: 78px; height: 58px; }
  .geo-tag { display: none; }
  .header-actions .btn { display: none; }
  .language-switch { min-width: 36px; min-height: 36px; }
  .hero { margin-top: 8px; padding: 25px 20px 31px; border-radius: 16px; box-shadow: 5px 5px 0 var(--line); }
  .hero h1 { font-size: clamp(34px, 11vw, 50px); }
  .tower-art { min-height: 245px; }
  .tower-art-inner { width: 250px; }
  .floor { height: 34px; margin-top: 6px; }
  .hero-actions .btn { flex: 1 1 130px; }
  .article-shell { padding: 25px 18px; }
  .article-shell h2 { margin-top: 37px; }
  .cta-panel { align-items: stretch; flex-direction: column; box-shadow: 5px 5px 0 var(--violet); }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .cta-brand img { width: 65px; }
  .casino-actions { flex-direction: column; }
  .casino-actions .btn { width: 100%; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
