/* Bonus888 Slots – mobile-first stylesheet */
:root {
  --bg: #0a0e1c;
  --bg2: #0f1530;
  --surface: #151c3a;
  --surface2: #1c2550;
  --line: #2a3566;
  --text: #eef1fb;
  --muted: #b6bede;
  --gold: #f7c948;
  --gold-hi: #ffe08a;
  --pink: #ff4d94;
  --cyan: #35e3d4;
  --ok: #4be08f;
  --radius: 14px;
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--gold); color: #1a1200; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 5.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: #fff; }

section { padding: 40px 0; }
.alt { background: var(--bg2); border-block: 1px solid rgba(42, 53, 102, .55); }
.prose { max-width: 800px; }
.prose h2 { margin-top: .2em; }
.prose h3 { margin-top: 1.6em; }
.muted { color: var(--muted); }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 20px; height: 20px; }
.icon-xs { width: 16px; height: 16px; vertical-align: -3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 28, .94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(10, 14, 28, .82); backdrop-filter: blur(10px); } }
.hdr { display: flex; align-items: center; gap: 10px; min-height: 64px; position: relative; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.brand:hover { color: var(--text); }
.brand b { color: var(--gold); }
.brand-sub { font-weight: 600; color: var(--muted); }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
/* Menu is always visible: a swipeable tab row under the logo on small screens, inline on wide screens. */
.nav { display: block; width: calc(100% + 32px); margin: 0 -16px; order: 3; border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 8px 16px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav ul::-webkit-scrollbar { display: none; }
.nav li { margin: 0; flex: none; }
.nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.nav a:hover { color: var(--gold); border-color: var(--gold); }
.nav a[aria-current="page"], .nav a.active { color: #1a1200; background: var(--gold); border-color: var(--gold); }
.hdr .d-login { display: none; }
@media (min-width: 520px) { .hdr .d-login { display: inline-flex; } .m-only { display: none; } }
@media (min-width: 1080px) {
  .hdr { flex-wrap: nowrap; }
  .nav { width: auto; order: 0; margin: 0 0 0 12px; border: 0; }
  .nav ul { gap: 2px; padding: 0; overflow: visible; }
  .nav a { background: none; border: 0; padding: 8px 10px; border-radius: 8px; font-size: .94rem; }
  .nav a:hover { background: var(--surface); }
  .nav a[aria-current="page"], .nav a.active { color: var(--gold); background: none; }
  .lang-li a { color: var(--muted); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; font-size: .98rem; line-height: 1.2; }
.btn-gold { background: linear-gradient(180deg, #ffd965, #eaa912); color: #1a1200; box-shadow: 0 6px 22px rgba(247, 201, 72, .22); }
.btn-gold:hover { color: #1a1200; filter: brightness(1.07); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { color: var(--text); border-color: var(--gold); }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: .9rem; }

/* Heroes */
.hero {
  padding: 36px 0 28px;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(255, 77, 148, .18), transparent 70%),
    radial-gradient(50% 60% at 10% 0%, rgba(53, 227, 212, .12), transparent 70%),
    linear-gradient(180deg, #0d1330, var(--bg));
}
.hero-grid { display: grid; gap: 24px; align-items: center; }
.hero-art { max-width: 420px; margin: 0 auto; width: 100%; }
.hero-img { display: block; max-width: 480px; height: auto; aspect-ratio: 1; border-radius: 20px; border: 1px solid rgba(247, 201, 72, .45); box-shadow: 0 20px 60px rgba(255, 77, 148, .18), 0 0 0 6px rgba(247, 201, 72, .06); }
.eyebrow { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); font-weight: 800; margin-bottom: 12px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 720px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.note { font-size: .86rem; color: var(--muted); }
.page-hero {
  padding: 18px 0 30px;
  background: radial-gradient(70% 90% at 90% 0%, rgba(255, 77, 148, .12), transparent 70%), linear-gradient(180deg, #0d1330, var(--bg));
  border-bottom: 1px solid var(--line);
}
.byline { font-size: .88rem; color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  section { padding: 60px 0; }
  .hero { padding: 64px 0 48px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .page-hero { padding: 24px 0 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .reel-glow { animation: glow 3.2s ease-in-out infinite alternate; }
  @keyframes glow { from { opacity: .35; } to { opacity: .9; } }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; padding: 14px 0 0; margin: 0; font-size: .86rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.page-hero + section, .crumbs + .page-hero { margin-top: 0; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.fact dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); font-weight: 700; }
.fact dd { margin: 4px 0 0; font-weight: 600; font-size: .95rem; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Cards */
.cards { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { position: relative; margin: 0; background: linear-gradient(180deg, var(--surface), var(--bg2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(247, 201, 72, .7); }
.card > .icon { width: 44px; height: 44px; padding: 9px; color: var(--gold); background: rgba(247, 201, 72, .1); border-radius: 12px; margin-bottom: 12px; }
.card h3 { margin-bottom: .4em; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--gold); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps > li { counter-increment: s; position: relative; margin: 0; padding: 16px 16px 16px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #1a1200; background: linear-gradient(180deg, #ffd965, #eaa912); }
.steps > li strong { display: block; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted); }

/* Callouts */
.callout { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 12px; }
.callout > .icon { color: var(--cyan); margin-top: 2px; }
.callout.warn { border-left-color: var(--pink); }
.callout.warn > .icon { color: var(--pink); }
.callout.tip { border-left-color: var(--gold); }
.callout.tip > .icon { color: var(--gold); }
.callout-t { font-weight: 800; margin-bottom: .3em; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

/* Tables */
.tbl-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .94rem; }
caption { text-align: left; padding: 12px 14px; font-weight: 700; color: var(--muted); background: var(--bg2); }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: var(--surface2); font-size: .86rem; text-transform: uppercase; letter-spacing: .05em; }
tbody th { font-weight: 700; color: #fff; }
td { color: var(--muted); }

/* Lists with icons */
.ticks { list-style: none; padding: 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li .icon { margin-top: 5px; }
.ticks.check .icon { color: var(--ok); }
.ticks.x .icon { color: var(--pink); }
.split { display: grid; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h3 { margin-top: 0; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; } }

/* Glossary */
.gloss { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin: 18px 0; padding: 0; }
.gloss div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.gloss dt { font-weight: 800; color: var(--gold); }
.gloss dd { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--gold); }
.faq details[open] summary::after { content: "−"; }
.faq-a { padding: 0 18px 16px; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* Responsible gambling banner */
.rg-box { display: grid; gap: 14px; background: linear-gradient(135deg, rgba(255, 77, 148, .12), rgba(53, 227, 212, .08)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.rg-box h2 { margin: 0; }
.rg-box p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .rg-box { grid-template-columns: auto 1fr auto; align-items: center; } }

/* Footer */
.site-footer { background: #070a16; border-top: 1px solid var(--line); padding: 44px 0 24px; font-size: .93rem; }
.ft-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ft-brand { grid-column: 1 / -1; }
.ft-brand p { color: var(--muted); max-width: 420px; margin-top: 12px; }
.ft-h { font-weight: 800; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li a { color: var(--muted); text-decoration: none; display: inline-block; padding: 3px 0; }
.site-footer li a:hover { color: var(--gold); }
.rg-line { display: flex; gap: 10px; align-items: center; }
.badge18 { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--pink); color: var(--pink); font-weight: 800; font-size: .85rem; }
.ft-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (min-width: 900px) { .ft-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .ft-brand { grid-column: auto; } }
.brand .logo { display: block; height: 64px; width: auto; margin: 4px 0; }
@media (min-width: 760px) { .brand .logo { height: 76px; } }
.site-footer .brand .logo { height: 80px; }
.card .cat { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); font-weight: 800; margin-bottom: 6px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 8px; }
.blog-cats a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.blog-cats a:hover { border-color: var(--gold); color: var(--gold); }
table.t2 { min-width: 0; }
