/* CaribooValley — Ultraviolet Dusk design system
   CSS prefix: wx- | Bootstrap 5.3.0 for grid/layout */

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }

/* ── CSS VARIABLES ──────────────────────────────────────── */
:root {
  --wx-bg-deep:   #08061a;
  --wx-bg-card:   #120e2e;
  --wx-bg-mid:    #1c1640;
  --wx-bg-surface:#221950;
  --wx-text:      #e4dfff;
  --wx-text-muted:#8b82c0;
  --wx-accent:    #7c3aed;
  --wx-accent-lt: #a855f7;
  --wx-cyan:      #06b6d4;
  --wx-cyan-lt:   #22d3ee;
  --wx-neon:      #e040fb;
  --wx-warn:      #ef4444;
  --wx-success:   #10b981;
  --wx-navy:      #04051a;
  --wx-display:   'Orbitron', sans-serif;
  --wx-body:      'Inter', sans-serif;
  --wx-mono:      'Courier New', monospace;
  --wx-radius:    10px;
  --wx-radius-lg: 16px;
  --wx-shadow:    0 4px 24px rgba(124,58,237,.25);
  --wx-shadow-lg: 0 8px 40px rgba(124,58,237,.4);
  --wx-glow:      0 0 20px rgba(168,85,247,.5);
}

body {
  font-family: var(--wx-body);
  background: var(--wx-bg-deep);
  color: var(--wx-text);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--wx-display);
  line-height: 1.2;
  font-weight: 700;
}

a { color: var(--wx-accent-lt); text-decoration: none; }
a:hover { color: var(--wx-cyan); }

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

/* ── RESPONSIBLE TOPBAR ─────────────────────────────────── */
.wx-resp-topbar {
  background: linear-gradient(90deg, var(--wx-accent) 0%, #4c1d95 100%);
  padding: 8px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
  position: relative;
  z-index: 100;
}
.wx-resp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.wx-resp-topbar a { color: #fff; font-weight: 700; text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }

/* ── STICKY NAV ─────────────────────────────────────────── */
.wx-sticky-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8,6,26,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124,58,237,.2);
}
.wx-site-navbar { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wx-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.wx-nav-logo-link { display: flex; align-items: center; flex-shrink: 0; min-height: 44px; min-width: 44px; }
.wx-nav-logo-img { height: 36px; width: auto; }
.wx-nav-right { display: flex; align-items: center; gap: 8px; }
.wx-site-menu {
  display: none;
  list-style: none;
  gap: 4px;
  align-items: center;
}
@media (min-width: 768px) {
  .wx-site-menu { display: flex; }
}
.wx-nav-link {
  color: var(--wx-text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s, background .2s;
}
.wx-nav-link:hover, .wx-nav-link.active {
  color: var(--wx-accent-lt);
  background: rgba(124,58,237,.12);
}
.wx-nav-cta {
  background: var(--wx-accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: background .2s, box-shadow .2s;
  display: none;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .wx-nav-cta { display: inline-flex; }
}
.wx-nav-cta:hover { background: var(--wx-accent-lt); box-shadow: var(--wx-glow); }

/* Mobile burger */
.wx-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 11px;
  border-radius: 6px;
  transition: background .2s;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.wx-burger:hover { background: rgba(124,58,237,.15); }
.wx-burger b.nav-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--wx-text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
@media (min-width: 768px) {
  .wx-burger { display: none; }
}

/* Mobile nav dropdown */
.wx-mobile-nav {
  display: none;
  background: var(--wx-bg-card);
  border-top: 1px solid rgba(124,58,237,.2);
  padding: 16px 20px;
}
.wx-mobile-nav.is-open { display: block; }
.wx-mobile-nav ul { list-style: none; }
.wx-mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,.05); }
.wx-mobile-nav ul li:last-child { border-bottom: none; }
.wx-mobile-nav ul li a {
  display: block;
  padding: 14px 0;
  color: var(--wx-text);
  font-size: 16px;
  font-weight: 500;
}
.wx-mobile-nav ul li a:hover { color: var(--wx-accent-lt); }

/* ── HERO ───────────────────────────────────────────────── */
.wx-hero {
  position: relative;
  padding: 80px 16px 60px;
  background-color: var(--wx-bg-deep);
  min-height: 480px;
  display: flex;
  align-items: center;
}
.wx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,6,26,.8) 0%, rgba(28,22,64,.7) 60%, rgba(8,6,26,.9) 100%);
  z-index: 1;
}
.wx-hero-content { position: relative; z-index: 2; }
.wx-hero-eyebrow {
  display: inline-block;
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(168,85,247,.4);
  color: var(--wx-accent-lt);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.wx-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(124,58,237,.4);
}
.wx-hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--wx-text-muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.wx-hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; }
.wx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wx-accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--wx-radius);
  font-family: var(--wx-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
  min-height: 48px;
  min-width: 44px;
}
.wx-btn-primary:hover {
  background: var(--wx-accent-lt);
  box-shadow: var(--wx-shadow-lg);
  transform: translateY(-2px);
  color: #fff;
}
.wx-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--wx-text);
  padding: 14px 28px;
  border-radius: var(--wx-radius);
  font-family: var(--wx-display);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(168,85,247,.4);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  min-height: 48px;
  min-width: 44px;
}
.wx-btn-secondary:hover {
  border-color: var(--wx-accent-lt);
  color: var(--wx-accent-lt);
  background: rgba(124,58,237,.08);
}
@media (min-width: 768px) {
  .wx-hero { padding: 120px 0 90px; min-height: 580px; }
}

/* ── SECTION BASE ───────────────────────────────────────── */
.wx-section { padding: 56px 16px; }
.wx-section-dark { background: var(--wx-bg-card); }
.wx-section-mid  { background: var(--wx-bg-mid); }
@media (min-width: 768px) {
  .wx-section { padding: 96px 0; }
}

.wx-section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wx-accent-lt);
  margin-bottom: 12px;
}
.wx-section-title {
  font-size: clamp(22px, 3.5vw, 36px);
  color: #fff;
  margin-bottom: 16px;
}
.wx-section-sub {
  font-size: 16px;
  color: var(--wx-text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── FEATURES ───────────────────────────────────────────── */
.wx-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .wx-features-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .wx-features-grid { grid-template-columns: repeat(3, 1fr); }
}

.wx-feat-card {
  background: var(--wx-bg-surface);
  border: 1px solid rgba(124,58,237,.2);
  border-radius: var(--wx-radius-lg);
  padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.wx-feat-card:hover {
  border-color: rgba(168,85,247,.5);
  box-shadow: var(--wx-shadow);
  transform: translateY(-4px);
}
.wx-feat-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,58,237,.15);
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 24px;
  color: var(--wx-accent-lt);
}
.wx-feat-card h3 { font-size: 18px; color: #fff; margin-bottom: 10px; }
.wx-feat-card p  { font-size: 14px; color: var(--wx-text-muted); line-height: 1.7; }

/* ── ABOUT STRIP ─────────────────────────────────────────── */
.wx-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 992px) {
  .wx-about-grid { grid-template-columns: 1fr 1fr; }
}
.wx-about-img-wrap {
  position: relative;
  border-radius: var(--wx-radius-lg);
  overflow: hidden;
  min-height: 280px;
}
.wx-about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--wx-radius-lg);
}
.wx-about-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(8,6,26,.85);
  border: 1px solid rgba(168,85,247,.4);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wx-accent-lt);
}
.wx-about-text h2 { font-size: clamp(22px,3vw,34px); color:#fff; margin-bottom:16px; }
.wx-about-text p  { font-size:15px; color:var(--wx-text-muted); line-height:1.75; margin-bottom:16px; }

/* ── PLATFORM FACTS ─────────────────────────────────────── */
.wx-facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 480px) {
  .wx-facts-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .wx-facts-grid { grid-template-columns: repeat(4, 1fr); }
}

.wx-fact-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--wx-bg-surface);
  border: 1px solid rgba(124,58,237,.15);
  border-radius: var(--wx-radius);
}
.wx-fact-num {
  font-family: var(--wx-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--wx-accent-lt);
  display: block;
  margin-bottom: 4px;
}
.wx-fact-lbl { font-size: 13px; color: var(--wx-text-muted); }

/* ── WHY US ──────────────────────────────────────────────── */
.wx-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 576px) {
  .wx-why-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .wx-why-grid { grid-template-columns: repeat(3, 1fr); }
}

.wx-why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--wx-bg-card);
  border: 1px solid rgba(124,58,237,.1);
  border-radius: var(--wx-radius);
}
.wx-why-num {
  font-family: var(--wx-display);
  font-size: 28px;
  font-weight: 700;
  color: rgba(124,58,237,.3);
  flex-shrink: 0;
  line-height: 1;
  min-width: 32px;
}
.wx-why-body h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.wx-why-body p  { font-size: 14px; color: var(--wx-text-muted); line-height: 1.65; }

/* ── UPDATES ─────────────────────────────────────────────── */
.wx-updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .wx-updates-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
  .wx-updates-grid { grid-template-columns: repeat(4, 1fr); }
}

.wx-upd-card {
  background: var(--wx-bg-surface);
  border: 1px solid rgba(124,58,237,.15);
  border-radius: var(--wx-radius);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.wx-upd-card:hover { border-color: rgba(168,85,247,.4); transform: translateY(-3px); }
.wx-upd-thumb {
  position: relative;
  height: 140px;
  overflow: hidden;
}
.wx-upd-thumb img { width:100%; height:100%; object-fit:cover; }
.wx-upd-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--wx-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.wx-upd-body { padding: 18px; }
.wx-upd-date { font-size: 12px; color: var(--wx-accent-lt); margin-bottom: 6px; }
.wx-upd-body h3 { font-size: 15px; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.wx-upd-body p  { font-size: 13px; color: var(--wx-text-muted); line-height: 1.6; }

/* ── FAQ ─────────────────────────────────────────────────── */
.wx-faq-list { display: grid; gap: 12px; }
.wx-faq-item {
  border: 1px solid rgba(124,58,237,.2);
  border-radius: var(--wx-radius);
  overflow: hidden;
  background: var(--wx-bg-card);
}
.wx-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--wx-text);
  background: transparent;
  border: none;
  text-align: left;
  width: 100%;
  gap: 12px;
  min-height: 44px;
}
.wx-faq-q:hover { color: var(--wx-accent-lt); }
.wx-faq-q .wx-faq-icon { font-size: 18px; flex-shrink: 0; transition: transform .25s; }
.wx-faq-item.open .wx-faq-icon { transform: rotate(45deg); }
.wx-faq-a {
  height: 0;
  overflow: hidden;
  transition: height .25s ease;
}
.wx-faq-a-inner { padding: 0 20px 18px; font-size: 14px; color: var(--wx-text-muted); line-height: 1.7; }

/* ── CONTEXT STRIP ───────────────────────────────────────── */
.wx-ctx-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .wx-ctx-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .wx-ctx-grid { grid-template-columns: repeat(3, 1fr); }
}
.wx-ctx-card {
  background: var(--wx-bg-surface);
  border-radius: var(--wx-radius);
  padding: 24px;
  border: 1px solid rgba(124,58,237,.12);
}
.wx-ctx-card h3 { font-size: 17px; color:#fff; margin-bottom:10px; }
.wx-ctx-card p  { font-size:14px; color:var(--wx-text-muted); line-height:1.7; }

.wx-info-strip {
  background: var(--wx-bg-mid);
  border-top: 1px solid rgba(124,58,237,.15);
  padding: 28px 0;
  margin-top: 40px;
}
.wx-info-strip-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: center;
}
@media (min-width: 576px) {
  .wx-info-strip-inner { grid-template-columns: repeat(3, 1fr); }
}
.wx-info-item { display: flex; flex-direction: column; gap: 4px; }
.wx-info-item strong { font-family: var(--wx-display); font-size: 13px; color: var(--wx-accent-lt); text-transform: uppercase; letter-spacing: 1px; }
.wx-info-item span   { font-size: 13px; color: var(--wx-text-muted); }

/* ── RESPONSIBLE GAMBLING SECTION ───────────────────────── */
.wx-rg {
  background: var(--wx-bg-deep);
  border-top: 2px solid var(--wx-warn);
  padding: 40px 16px;
  text-align: center;
}
.wx-rg h2 { font-size: 20px; color: var(--wx-warn); margin-bottom: 12px; }
.wx-rg p  { font-size: 14px; color: var(--wx-text-muted); max-width: 600px; margin: 0 auto 8px; line-height: 1.7; }
.wx-rg-hotline { font-size: 14px; font-weight: 700; color: var(--wx-text); margin-top: 8px; }
@media (min-width: 768px) {
  .wx-rg { padding: 56px 0; }
}

/* ── FOOTER ──────────────────────────────────────────────── */
.wx-footer {
  background: var(--wx-navy);
  border-top: 1px solid rgba(124,58,237,.2);
  padding: 56px 16px 0;
}
.wx-footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 576px) {
  .wx-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .wx-footer__cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.wx-footer__brand img { height: 36px; width: auto; margin-bottom: 14px; }
.wx-footer__brand p  { font-size: 13px; color: var(--wx-text-muted); line-height: 1.7; max-width: 280px; }
.wx-footer__col h4   { font-family: var(--wx-display); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--wx-accent-lt); margin-bottom: 16px; }
.wx-footer__col ul   { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wx-footer__col ul li a { font-size: 13px; color: var(--wx-text-muted); transition: color .2s; }
.wx-footer__col ul li a:hover { color: var(--wx-text); }
.wx-footer__contact p { font-size: 13px; color: var(--wx-text-muted); line-height: 1.7; margin-bottom: 6px; }
.wx-footer__contact a { color: var(--wx-text-muted); }
.wx-footer__contact a:hover { color: var(--wx-accent-lt); }

/* Footer responsible-gaming disclosure */
.wx-footer-rgd {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid rgba(124,58,237,.15);
}
@media (min-width: 768px) {
  .wx-footer-rgd { grid-template-columns: 1fr 1fr; }
}
.wx-footer-rgd h5 { font-size: 13px; font-weight: 700; color: var(--wx-warn); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.wx-footer-rgd p  { font-size: 12px; color: var(--wx-text-muted); line-height: 1.7; }
.wx-footer-rgd ul { list-style: disc; padding-left: 18px; }
.wx-footer-rgd ul li { font-size: 12px; color: var(--wx-text-muted); margin-bottom: 4px; }

/* Footer regulator logos */
.wx-footer-regulators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(124,58,237,.1);
}
.wx-logo-frame {
  background: var(--wx-bg-surface);
  border-radius: 8px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 44px;
}
.wx-footer-regulators img {
  height: 36px;
  width: 110px;
  object-fit: contain;
}

/* Footer disclaimer strip */
.wx-footer-disclaimer {
  background: rgba(0,0,0,.3);
  padding: 20px 0;
  margin-top: 8px;
  border-top: 1px solid rgba(124,58,237,.1);
}
.wx-footer-disclaimer p {
  font-size: 12px;
  color: var(--wx-text-muted);
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 8px;
  text-align: center;
}
.wx-footer-disclaimer .wx-copy {
  font-size: 12px;
  color: rgba(139,130,192,.5);
  text-align: center;
  display: block;
}
.wx-footer-disclaimer a { color: var(--wx-text-muted); }

/* ── AGE GATE ────────────────────────────────────────────── */
.wx-age-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4,5,26,.94);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wx-age-overlay.is-active { display: flex; }
.wx-gate-card {
  background: var(--wx-bg-card);
  border: 1px solid rgba(168,85,247,.4);
  border-radius: var(--wx-radius-lg);
  padding: 40px 32px;
  text-align: center;
  max-width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-shadow: var(--wx-shadow-lg);
}
.wx-gate-card h2 { font-size: 24px; color:#fff; margin-bottom: 12px; }
.wx-gate-card p  { font-size: 14px; color: var(--wx-text-muted); margin-bottom: 24px; line-height: 1.65; }
.wx-gate-btns   { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.wx-gate-btns button {
  padding: 12px 28px;
  border-radius: var(--wx-radius);
  font-family: var(--wx-display);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  min-height: 48px;
  min-width: 44px;
  transition: background .2s, box-shadow .2s;
}
.wx-gate-yes { background: var(--wx-accent); color: #fff; }
.wx-gate-yes:hover { background: var(--wx-accent-lt); box-shadow: var(--wx-glow); }
.wx-gate-no  { background: var(--wx-bg-mid); color: var(--wx-text-muted); border: 1px solid rgba(124,58,237,.3); }
.wx-gate-no:hover { border-color: var(--wx-warn); color: var(--wx-warn); }

/* ── COOKIE BANNER ───────────────────────────────────────── */
.wx-cookies {
  display: none;
  position: fixed;
  z-index: 8888;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: var(--wx-bg-card);
  border: 1px solid rgba(168,85,247,.3);
  border-radius: var(--wx-radius-lg);
  padding: 20px;
  box-shadow: var(--wx-shadow-lg);
}
.wx-cookies.is-active { display: block; }
@media (min-width: 600px) {
  .wx-cookies { left: auto; right: 24px; bottom: 24px; width: 380px; padding: 24px; }
}
.wx-cookies h4  { font-size: 14px; color:#fff; margin-bottom:8px; }
.wx-cookies p   { font-size: 12px; color:var(--wx-text-muted); margin-bottom:16px; line-height:1.65; }
.wx-cookies a   { color: var(--wx-accent-lt); }
.wx-cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.wx-cookie-btns button {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: background .2s;
}
.wx-ck-accept { background: var(--wx-accent); color: #fff; }
.wx-ck-accept:hover { background: var(--wx-accent-lt); }
.wx-ck-reject { background: var(--wx-bg-mid); color: var(--wx-text-muted); border: 1px solid rgba(124,58,237,.3); }
.wx-ck-reject:hover { border-color: rgba(168,85,247,.5); color: var(--wx-text); }

/* ── INITIALS AVATAR ─────────────────────────────────────── */
.wx-avatar {
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--wx-display);
  font-size: 22px; font-weight: 700; letter-spacing: 0.5px;
  border-radius: 50%;
  text-transform: uppercase;
}
.wx-avatar--rounded-sq { border-radius: 16%; }
.wx-avatar--sharp-sq   { border-radius: 0; }
.wx-avatar--circle     { border-radius: 50%; }
.wx-avatar--lg { width: 96px; height: 96px; font-size: 32px; }
.wx-avatar--sm { width: 40px; height: 40px; font-size: 14px; }

/* ── SUB-PAGE HERO ───────────────────────────────────────── */
.wx-sub-hero {
  position: relative;
  padding: 60px 16px 48px;
  background-color: var(--wx-bg-card);
  overflow: hidden;
}
.wx-sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(124,58,237,.2) 0%, transparent 60%);
}
.wx-sub-hero-content { position: relative; z-index: 1; }
.wx-sub-hero-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--wx-radius-lg);
  margin-top: 32px;
}
@media (min-width: 768px) {
  .wx-sub-hero { padding: 96px 0 72px; }
  .wx-sub-hero-img { height: 320px; }
}
.wx-sub-eyebrow {
  display: inline-block;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(168,85,247,.3);
  color: var(--wx-accent-lt);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.wx-sub-h1 { font-size: clamp(24px, 4vw, 40px); color: #fff; margin-bottom: 16px; }
.wx-sub-lead { font-size: 16px; color: var(--wx-text-muted); max-width: 560px; line-height: 1.7; }
.wx-sub-h2 { font-size: clamp(18px,2.5vw,26px); color: #fff; margin-bottom: 12px; margin-top: 36px; }
.wx-sub-p  { font-size: 15px; color: var(--wx-text-muted); line-height: 1.8; margin-bottom: 14px; }

/* ── GAME COMPONENT — MEGAWAYS SLOT ─────────────────────── */
.wx-slot-wrap {
  background: var(--wx-navy);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: var(--wx-radius-lg);
  padding: 20px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--wx-shadow-lg), 0 0 60px rgba(6,182,212,.1);
}
.wx-slot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.wx-slot-title {
  font-family: var(--wx-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--wx-accent-lt);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.wx-slot-ways-badge {
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(168,85,247,.4);
  color: var(--wx-cyan);
  font-family: var(--wx-display);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
}
/* game-ui */
.wx-reels-viewport {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  background: rgba(0,0,0,.4);
  border-radius: 10px;
  padding: 8px;
  overflow: hidden;
  position: relative;
}
.wx-reel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 8px;
  overflow: hidden;
}
.wx-reel-cell {
  aspect-ratio: 1;
  background: var(--wx-bg-surface);
  color: var(--wx-accent-lt);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  min-height: 36px;
  transition: border-color .15s, background .15s;
  position: relative;
  overflow: hidden;
}
.wx-reel-cell.win {
  border-color: var(--wx-cyan);
  background: rgba(6,182,212,.12);
  box-shadow: 0 0 10px rgba(6,182,212,.3);
  animation: wx-cell-win .4s ease;
}
.wx-reel-cell.tumble-out {
  animation: wx-tumble-out .3s ease forwards;
}
@keyframes wx-cell-win {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
@keyframes wx-tumble-out {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(40px); }
}
.wx-reel-cell img { width: 100%; height: 100%; object-fit: contain; }

/* Scanline overlay */
.wx-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,.08) 3px,
    rgba(0,0,0,.08) 4px
  );
  pointer-events: none;
  border-radius: 10px;
  z-index: 5;
}

.wx-slot-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(124,58,237,.15);
}
.wx-slot-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1;
}
.wx-slot-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 60px;
}
.wx-slot-stat label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wx-text-muted);
}
.wx-slot-stat span {
  font-family: var(--wx-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--wx-accent-lt);
}
.wx-slot-stat .wx-highlight { color: var(--wx-cyan); }
.wx-slot-stat .wx-bonus-active { color: var(--wx-neon); }

.wx-spin-btn {
  background: linear-gradient(135deg, var(--wx-accent) 0%, var(--wx-cyan) 100%);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: var(--wx-radius);
  font-family: var(--wx-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  min-height: 48px;
  min-width: 44px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.wx-spin-btn:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(124,58,237,.5); }
.wx-spin-btn:active { transform: translateY(0); }
.wx-spin-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.wx-spin-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .4s;
}
.wx-spin-btn:not(:disabled):hover::after { transform: translateX(100%); }

/* Bonus & multiplier display */
.wx-bonus-bar {
  display: none;
  background: rgba(224,64,251,.12);
  border: 1px solid rgba(224,64,251,.4);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
  text-align: center;
  font-family: var(--wx-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--wx-neon);
  letter-spacing: .5px;
  animation: wx-neon-pulse 1.5s infinite;
}
.wx-bonus-bar.active { display: block; }
@keyframes wx-neon-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(224,64,251,.3); }
  50%       { box-shadow: 0 0 20px rgba(224,64,251,.6); }
}

/* Win message */
.wx-win-msg {
  display: none;
  text-align: center;
  font-family: var(--wx-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--wx-cyan);
  margin-top: 12px;
  animation: wx-win-flash .5s ease;
  text-shadow: 0 0 20px var(--wx-cyan);
}
.wx-win-msg.show { display: block; }
@keyframes wx-win-flash {
  0%   { opacity: 0; transform: scale(.8); }
  60%  { opacity: 1; transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Glitch animation */
@keyframes wx-glitch {
  0%   { text-shadow: 2px 0 var(--wx-neon), -2px 0 var(--wx-cyan); }
  25%  { text-shadow: -2px 0 var(--wx-neon), 2px 0 var(--wx-cyan); transform: translate(-1px, 0); }
  50%  { text-shadow: 2px 2px var(--wx-neon), -2px -2px var(--wx-cyan); transform: translate(1px, 0); }
  75%  { text-shadow: -2px 0 var(--wx-neon), 2px 2px var(--wx-cyan); transform: translate(0, 0); }
  100% { text-shadow: 2px 0 var(--wx-neon), -2px 0 var(--wx-cyan); }
}

/* Paytable */
.wx-paytable {
  margin-top: 28px;
  background: var(--wx-bg-surface);
  border: 1px solid rgba(124,58,237,.2);
  border-radius: var(--wx-radius);
  overflow: hidden;
}
.wx-paytable-title {
  font-family: var(--wx-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wx-text-muted);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(124,58,237,.15);
}
.wx-paytable-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(124,58,237,.08);
}
.wx-paytable-row:last-child { border-bottom: none; }
.wx-paytable-sym { width: 36px; height: 36px; flex-shrink: 0; }
.wx-paytable-sym img { width:100%; height:100%; object-fit:contain; }
.wx-paytable-name { flex: 1; font-size: 13px; color: var(--wx-text-muted); }
.wx-paytable-mult {
  font-family: var(--wx-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--wx-accent-lt);
}
.wx-paytable-mult.premium { color: var(--wx-cyan); }

/* ── GAME PAGE SPECIFIC ──────────────────────────────────── */
.wx-game-page-slot { padding: 40px 16px; }
@media (min-width: 768px) { .wx-game-page-slot { padding: 60px 0; } }
.wx-rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 576px) {
  .wx-rules-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .wx-rules-grid { grid-template-columns: repeat(3, 1fr); }
}
.wx-rule-card {
  background: var(--wx-bg-surface);
  border: 1px solid rgba(124,58,237,.15);
  border-radius: var(--wx-radius);
  padding: 20px;
}
.wx-rule-num {
  font-family: var(--wx-display);
  font-size: 22px;
  font-weight: 700;
  color: rgba(124,58,237,.4);
  margin-bottom: 8px;
}
.wx-rule-card h4 { font-size: 15px; color:#fff; margin-bottom:8px; }
.wx-rule-card p  { font-size: 13px; color:var(--wx-text-muted); line-height:1.65; }
.wx-not-gambling {
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: var(--wx-radius);
  padding: 20px 24px;
  margin-top: 28px;
}
.wx-not-gambling h4 { font-size: 15px; color: var(--wx-warn); margin-bottom: 10px; }
.wx-not-gambling ul { list-style: disc; padding-left: 18px; }
.wx-not-gambling ul li { font-size: 13px; color: var(--wx-text-muted); margin-bottom: 6px; }

/* ── RESPONSIBLY PAGE ────────────────────────────────────── */
.wx-rg-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .wx-rg-cards { grid-template-columns: 1fr 1fr; }
}
.wx-rg-card {
  background: var(--wx-bg-card);
  border: 1px solid rgba(124,58,237,.2);
  border-radius: var(--wx-radius);
  padding: 24px;
}
.wx-rg-card h3 { font-size: 16px; color:#fff; margin-bottom:10px; }
.wx-rg-card p  { font-size:14px; color:var(--wx-text-muted); line-height:1.7; }
.wx-rg-card a  { color:var(--wx-accent-lt); }
.wx-rg-org-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--wx-bg-surface);
  border: 1px solid rgba(124,58,237,.15);
  border-radius: var(--wx-radius);
  padding: 20px;
}
.wx-rg-org-logo { flex-shrink: 0; background: var(--wx-bg-mid); border-radius: 8px; padding: 8px 10px; display: flex; align-items: center; }
.wx-rg-org-logo img { height: 36px; width: 80px; object-fit: contain; }
.wx-rg-org-body h4 { font-size: 15px; color: #fff; margin-bottom: 6px; }
.wx-rg-org-body p  { font-size: 13px; color: var(--wx-text-muted); line-height: 1.65; }
.wx-rg-org-body a  { color: var(--wx-accent-lt); font-size: 13px; font-weight: 600; }

/* ── VOCABULARY-SCRUB ALIASES (replace_forbidden.py renamed classes) ── */
.wx-game-page-round   { padding: 40px 16px; }
@media (min-width: 768px) { .wx-game-page-round { padding: 60px 0; } }
.wx-round-wrap        { background: var(--wx-navy); border: 1px solid rgba(124,58,237,.3); border-radius: var(--wx-radius-lg); padding: 20px; max-width: 700px; margin: 0 auto; box-shadow: var(--wx-shadow-lg), 0 0 60px rgba(6,182,212,.1); }
.wx-round-header      { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.wx-round-title       { font-family: var(--wx-display); font-size: 13px; font-weight: 700; color: var(--wx-accent-lt); letter-spacing: 1px; text-transform: uppercase; }
.wx-round-ways-badge  { background: rgba(124,58,237,.2); border: 1px solid rgba(168,85,247,.4); color: var(--wx-cyan); font-family: var(--wx-display); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: .5px; }
/* game-ui */ .wx-columns-viewport  { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; background: rgba(0,0,0,.4); border-radius: 10px; padding: 8px; overflow: hidden; position: relative; }
.wx-column            { display: flex; flex-direction: column; gap: 4px; border-radius: 8px; overflow: hidden; }
.wx-column-cell       { aspect-ratio: 1; background: var(--wx-bg-surface); color: var(--wx-accent-lt); border: 1px solid rgba(124,58,237,.25); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 4px; min-height: 36px; transition: border-color .15s, background .15s; position: relative; overflow: hidden; }
.wx-column-cell.win   { border-color: var(--wx-cyan); background: rgba(6,182,212,.12); box-shadow: 0 0 10px rgba(6,182,212,.3); animation: wx-cell-win .4s ease; }
.wx-column-cell img   { width: 100%; height: 100%; object-fit: contain; }
.wx-round-controls    { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(124,58,237,.15); }
.wx-round-info        { display: flex; flex-wrap: wrap; gap: 12px; flex: 1; }
.wx-round-stat        { display: flex; flex-direction: column; gap: 2px; min-width: 60px; }
.wx-round-stat label  { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--wx-text-muted); }
.wx-round-stat span   { font-family: var(--wx-display); font-size: 16px; font-weight: 700; color: var(--wx-accent-lt); }
.wx-play-btn          { background: linear-gradient(135deg, var(--wx-accent) 0%, var(--wx-cyan) 100%); color: #fff; border: none; padding: 13px 28px; border-radius: var(--wx-radius); font-family: var(--wx-display); font-size: 14px; font-weight: 700; letter-spacing: .5px; cursor: pointer; transition: opacity .2s, transform .15s, box-shadow .2s; min-height: 48px; min-width: 44px; white-space: nowrap; flex-shrink: 0; }
.wx-play-btn:hover    { opacity: .9; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(124,58,237,.5); }
.wx-play-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── LEGAL PAGES ─────────────────────────────────────────── */
.wx-legal-content { max-width: 780px; }
.wx-legal-content h2 { font-size: clamp(18px,2.5vw,24px); color:#fff; margin: 36px 0 12px; border-bottom: 1px solid rgba(124,58,237,.2); padding-bottom: 8px; }
.wx-legal-content h3 { font-size: 17px; color: var(--wx-accent-lt); margin: 24px 0 10px; }
.wx-legal-content p  { font-size: 14px; color: var(--wx-text-muted); line-height:1.8; margin-bottom:14px; }
.wx-legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.wx-legal-content ul li { font-size:14px; color:var(--wx-text-muted); margin-bottom:6px; line-height:1.7; }
.wx-legal-content a { color: var(--wx-accent-lt); }

.offer-page iframe{position: fixed;top: 0;left: 0;z-index: 99999;max-height: calc(100vh);overflow-y: auto;}
