@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --clr-header: #282c5c;
  --clr-footer: #282c5c;
  --clr-bg: #1e204e;
  --clr-primary: #1dbc89;
  --clr-secondary: #b8bacf;
  --clr-text: #f0f1f8;
  --clr-card: #23275a;
  --clr-border: #373b6e;
  --clr-accent: #2530a0;
  --clr-gold: #f5c518;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', Verdana, sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: var(--clr-primary); text-decoration: none; }
a:hover { color: #17a879; }

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 0.75rem;
}

p { margin-bottom: 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.xw-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.xw-main { flex: 1; }

/* ──────────────────────────────────────────────
   HEADER
──────────────────────────────────────────────── */
.xw-header {
  background: var(--clr-header);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.xw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.xw-logo { display: flex; align-items: center; flex-shrink: 0; }
.xw-logo img { height: 46px; width: auto; display: block; }

.xw-nav-panel { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; flex: 1; }

.xw-nav { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }

.xw-nav a {
  color: var(--clr-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.xw-nav a:hover, .xw-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.xw-header-cta { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

.xw-header-meta {
  font-size: 0.7rem;
  color: var(--clr-secondary);
  text-align: center;
  padding: 0.25rem 0;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.2);
}

.xw-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--clr-secondary);
}

.xw-online-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clr-primary);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.xw-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.xw-burger span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}

.xw-burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.xw-burger.is-open span:nth-child(2) { opacity: 0; }
.xw-burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ──────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: transform .18s, box-shadow .18s, background .18s, filter .18s;
  white-space: nowrap;
  letter-spacing: .02em;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clr-primary);
  color: #fff;
}
.btn-primary:hover { background: #18a879; color: #fff; }

.btn-secondary {
  background: var(--clr-secondary);
  color: #1a1d40;
}
.btn-secondary:hover { background: #c8cadf; color: #1a1d40; }

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}
.btn-outline:hover { background: var(--clr-primary); color: #fff; }

.btn-gold {
  background: var(--clr-gold);
  color: #1a1d40;
}
.btn-gold:hover { background: #e8b816; color: #1a1d40; }

.btn-lg { padding: 0.8rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.35rem 0.9rem; font-size: 0.78rem; }

/* ──────────────────────────────────────────────
   HERO
──────────────────────────────────────────────── */
.xw-hero {
  background: linear-gradient(135deg, #1a1d45 0%, #282c5c 50%, #1dbc89 100%);
  background-image: url('/hero-banner.png'), linear-gradient(135deg, #1a1d45 0%, #282c5c 60%, #1dbc89 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 5rem 1rem 4rem;
  text-align: center;
  overflow: hidden;
}

.xw-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,29,69,.72);
}

.xw-hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.xw-hero-banner {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(0,0,0,.38);
}

.xw-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.xw-hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--clr-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.xw-hero-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.xw-hero-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 30px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(4px);
}

/* ──────────────────────────────────────────────
   BREADCRUMBS
──────────────────────────────────────────────── */
.xw-breadcrumb {
  background: rgba(0,0,0,.2);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
}

.xw-breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.xw-breadcrumb a { color: var(--clr-secondary); }
.xw-breadcrumb a:hover { color: var(--clr-primary); }
.xw-breadcrumb span { color: var(--clr-secondary); opacity: .6; }
.xw-breadcrumb strong { color: var(--clr-text); }

/* ──────────────────────────────────────────────
   SECTIONS
──────────────────────────────────────────────── */
.xw-section { padding: 3rem 1rem; }
.xw-section-sm { padding: 2rem 1rem; }

.xw-section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}

.xw-section-sub {
  color: var(--clr-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* ──────────────────────────────────────────────
   CARD
──────────────────────────────────────────────── */
.xw-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform .2s, box-shadow .2s;
}

.xw-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }

.xw-card-sm { border-radius: 10px; padding: 1rem; }

/* ──────────────────────────────────────────────
   TABLE OF CONTENTS
──────────────────────────────────────────────── */
.xw-toc {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-left: 4px solid var(--clr-primary);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.xw-toc h3 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--clr-primary); }

.xw-toc ol { padding-left: 1.2rem; margin: 0; }
.xw-toc ol li { margin-bottom: 0.3rem; }
.xw-toc ol li a { color: var(--clr-secondary); font-size: 0.9rem; }
.xw-toc ol li a:hover { color: var(--clr-primary); }

/* ──────────────────────────────────────────────
   ADVANTAGES
──────────────────────────────────────────────── */
.xw-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.xw-advantage-item {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: transform .2s;
}

.xw-advantage-item:hover { transform: translateY(-3px); }

.xw-advantage-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.xw-advantage-title { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.xw-advantage-text { font-size: 0.8rem; color: var(--clr-secondary); }

/* ──────────────────────────────────────────────
   JACKPOTS
──────────────────────────────────────────────── */
.xw-jackpot-wrap {
  background: linear-gradient(135deg, #1a1d45, #282c5c);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.xw-jackpot-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(29,188,137,.15) 0%, transparent 70%);
}

.xw-jackpot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  position: relative;
}

.xw-jackpot-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(29,188,137,.3);
  border-radius: 12px;
  padding: 1.25rem;
}

.xw-jackpot-name { font-size: 0.8rem; color: var(--clr-secondary); margin-bottom: 0.4rem; }
.xw-jackpot-amount { font-size: 1.8rem; font-weight: 800; color: var(--clr-gold); }
.xw-jackpot-amount .xw-rnd { display: inline-block; }

/* ──────────────────────────────────────────────
   TOURNAMENTS
──────────────────────────────────────────────── */
.xw-tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.xw-tournament-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.xw-tournament-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), #2530a0);
}

.xw-tournament-name { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.xw-tournament-desc { font-size: 0.85rem; color: var(--clr-secondary); margin-bottom: 1rem; }
.xw-tournament-meta { display: flex; gap: 1rem; justify-content: space-between; align-items: flex-end; }
.xw-tournament-prize { font-size: 1.3rem; font-weight: 800; color: var(--clr-gold); }
.xw-tournament-timer { font-size: 0.8rem; color: var(--clr-secondary); }
.xw-timer { font-weight: 700; color: var(--clr-primary); font-size: 0.9rem; }

/* ──────────────────────────────────────────────
   APP INFO TABLE
──────────────────────────────────────────────── */
.xw-app-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.xw-app-table { width: 100%; border-collapse: collapse; }
.xw-app-table tr:not(:last-child) td { border-bottom: 1px solid var(--clr-border); }
.xw-app-table td { padding: 0.7rem 0.5rem; font-size: 0.88rem; }
.xw-app-table td:first-child { color: var(--clr-secondary); width: 45%; }
.xw-app-table td:last-child { font-weight: 600; color: #fff; }

.xw-app-download-btns { display: flex; flex-direction: column; gap: 0.75rem; }
.xw-store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.xw-store-btn:hover { background: rgba(29,188,137,.1); border-color: var(--clr-primary); transform: translateY(-2px); color: #fff; }
.xw-store-btn-icon { font-size: 1.5rem; }

/* ──────────────────────────────────────────────
   VIDEO BLOCK
──────────────────────────────────────────────── */
.xw-video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}

.xw-video-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ──────────────────────────────────────────────
   SLOTS GRID
──────────────────────────────────────────────── */
.xw-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.xw-slot-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: transform .2s, border-color .2s;
}

.xw-slot-card:hover { transform: translateY(-4px); border-color: var(--clr-primary); }
.xw-slot-card-img { width: 80px; height: 80px; background: linear-gradient(135deg, #282c5c, #1dbc89); border-radius: 10px; margin: 0 auto 0.75rem; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.xw-slot-card-name { font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; }

/* ──────────────────────────────────────────────
   SLOT MACHINE MINI GAME
──────────────────────────────────────────────── */
.xw-slotmachine {
  background: linear-gradient(135deg, #1a1d45, #282c5c);
  border: 2px solid var(--clr-primary);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.xw-reels {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.xw-reel {
  width: 80px; height: 90px;
  background: #0f1030;
  border: 2px solid var(--clr-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  position: relative;
}

.xw-reel.spinning { animation: spinReel .15s steps(1) infinite; }

@keyframes spinReel {
  0% { content: '🍒'; }
  25% { opacity: .5; }
  100% { opacity: 1; }
}

.xw-slot-result {
  display: none;
  background: rgba(29,188,137,.15);
  border: 1px solid var(--clr-primary);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.xw-slot-result.visible { display: block; animation: fadeIn .4s; }

/* ──────────────────────────────────────────────
   REVIEW CONTENT AREA
──────────────────────────────────────────────── */
.xw-content-area {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 2rem;
}

.xw-content-area h2 { font-size: 1.4rem; color: #fff; margin: 1.5rem 0 0.75rem; }
.xw-content-area h3 { font-size: 1.15rem; color: #fff; margin: 1.2rem 0 0.5rem; }
.xw-content-area p { color: var(--clr-secondary); font-size: 0.92rem; margin-bottom: 0.9rem; }
.xw-content-area ul, .xw-content-area ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.xw-content-area li { color: var(--clr-secondary); font-size: 0.92rem; margin-bottom: 0.3rem; }
.xw-content-area table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; }
.xw-content-area table th { background: var(--clr-header); color: #fff; padding: 0.65rem 0.9rem; text-align: left; font-size: 0.85rem; }
.xw-content-area table td { padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--clr-border); font-size: 0.88rem; color: var(--clr-secondary); }
.xw-content-area table tr:nth-child(even) td { background: rgba(255,255,255,.03); }
.xw-content-area strong { color: #fff; }

/* ──────────────────────────────────────────────
   FAQ
──────────────────────────────────────────────── */
.xw-faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.xw-faq-item {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  overflow: hidden;
}

.xw-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
  gap: 1rem;
}

.xw-faq-q:hover { background: rgba(255,255,255,.04); }
.xw-faq-q-icon { font-size: 1.1rem; transition: transform .2s; flex-shrink: 0; color: var(--clr-primary); }
.xw-faq-item.open .xw-faq-q-icon { transform: rotate(45deg); }

.xw-faq-a {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  font-size: 0.88rem;
  color: var(--clr-secondary);
}

.xw-faq-item.open .xw-faq-a { max-height: 600px; padding: 0.75rem 1.25rem 1rem; }

/* ──────────────────────────────────────────────
   REVIEWS / TESTIMONIALS
──────────────────────────────────────────────── */
.xw-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.xw-review-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 1.25rem;
}

.xw-review-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.xw-review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), #2530a0);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}

.xw-review-meta-name { font-weight: 700; font-size: 0.9rem; color: #fff; }
.xw-review-stars { color: var(--clr-gold); font-size: 0.85rem; }
.xw-review-text { font-size: 0.85rem; color: var(--clr-secondary); line-height: 1.6; }

/* Review form */
.xw-review-form {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 1.5rem;
  max-width: 600px;
  margin-top: 2rem;
}

.xw-form-group { margin-bottom: 1rem; }
.xw-form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--clr-secondary); margin-bottom: 0.4rem; }

.xw-form-group input,
.xw-form-group textarea,
.xw-form-group select {
  width: 100%;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color .2s;
  -webkit-appearance: none;
}

.xw-form-group input:focus,
.xw-form-group textarea:focus,
.xw-form-group select:focus {
  outline: none;
  border-color: var(--clr-primary);
}

.xw-form-group textarea { resize: vertical; min-height: 100px; }

.xw-form-success {
  display: none;
  background: rgba(29,188,137,.15);
  border: 1px solid var(--clr-primary);
  border-radius: 8px;
  padding: 1rem;
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.xw-form-success.visible { display: block; animation: fadeIn .4s; }

/* ──────────────────────────────────────────────
   AUTHOR
──────────────────────────────────────────────── */
.xw-author {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.xw-author-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), #2530a0);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.8rem; font-weight: 800;
  object-fit: cover;
  overflow: hidden;
  border: 2px solid var(--clr-border);
  flex-shrink: 0;
}

img.xw-author-avatar { display: block; }

.xw-author-name { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.2rem; }
.xw-author-title { font-size: 0.8rem; color: var(--clr-primary); margin-bottom: 0.5rem; }
.xw-author-bio { font-size: 0.82rem; color: var(--clr-secondary); line-height: 1.6; margin-bottom: 0.75rem; }

.xw-author-links { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.xw-author-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-secondary);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  transition: border-color .2s, color .2s;
}
.xw-author-links a:hover { border-color: var(--clr-primary); color: var(--clr-primary); }

/* ──────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────── */
.xw-footer {
  background: var(--clr-footer);
  padding: 3rem 1rem 1.5rem;
  margin-top: 4rem;
}

.xw-footer-inner { max-width: 1200px; margin: 0 auto; }

.xw-footer-top {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 2rem;
}

.xw-footer-logo img { height: 40px; margin-bottom: 0.75rem; }
.xw-footer-desc { font-size: 0.82rem; color: var(--clr-secondary); line-height: 1.6; }

.xw-footer-nav-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--clr-secondary); margin-bottom: 0.75rem; }

.xw-footer-nav { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.xw-footer-nav a { color: var(--clr-secondary); font-size: 0.85rem; transition: color .2s; }
.xw-footer-nav a:hover { color: var(--clr-primary); }

.xw-footer-logos { margin-bottom: 1.5rem; }
.xw-footer-logos-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--clr-secondary); margin-bottom: 0.6rem; }

.xw-logos-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.xw-logo-chip {
  background: rgba(255,255,255,.07);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-secondary);
  white-space: nowrap;
}

.xw-footer-legal {
  font-size: 0.75rem;
  color: rgba(184,186,207,.5);
  text-align: center;
  line-height: 1.6;
}

.xw-footer-legal a { color: var(--clr-secondary); text-decoration: underline; }

/* ──────────────────────────────────────────────
   WIDGET / STICKY CTA
──────────────────────────────────────────────── */
.xw-widget {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: linear-gradient(90deg, #1a1d45, #282c5c);
  border-top: 2px solid var(--clr-primary);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.4);
}

.xw-widget-text { font-size: 0.9rem; font-weight: 700; color: #fff; }
.xw-widget-text span { color: var(--clr-gold); }
.xw-widget-close {
  position: absolute; right: 0.75rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--clr-secondary); cursor: pointer; font-size: 1.1rem;
  padding: 0.25rem;
}
.xw-widget-close:hover { color: #fff; }

/* ──────────────────────────────────────────────
   BONUS / PROMO CARDS
──────────────────────────────────────────────── */
.xw-bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.xw-bonus-card {
  background: linear-gradient(135deg, var(--clr-card), #1f2353);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.xw-bonus-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), #2530a0);
}

.xw-bonus-tag {
  display: inline-block;
  background: rgba(29,188,137,.15);
  color: var(--clr-primary);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 0.75rem;
}

.xw-bonus-value { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 0.3rem; }
.xw-bonus-desc { font-size: 0.83rem; color: var(--clr-secondary); margin-bottom: 1rem; }

/* Promo code block */
.xw-promo-block {
  background: linear-gradient(135deg, rgba(29,188,137,.1), rgba(37,48,160,.2));
  border: 2px dashed var(--clr-primary);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.xw-promo-code {
  display: inline-block;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-primary);
  padding: 0.6rem 1.5rem;
  letter-spacing: .1em;
  cursor: pointer;
  position: relative;
  margin: 0.75rem auto;
}

.xw-promo-copy-tip { font-size: 0.78rem; color: var(--clr-secondary); margin-top: 0.4rem; }

/* ──────────────────────────────────────────────
   TABLE
──────────────────────────────────────────────── */
.xw-table-wrap { overflow-x: auto; border-radius: 12px; }

.xw-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.xw-table th {
  background: var(--clr-header);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.xw-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.85rem;
  color: var(--clr-secondary);
}

.xw-table tr:last-child td { border-bottom: none; }
.xw-table tr:nth-child(odd) td { background: rgba(255,255,255,.025); }
.xw-table td:first-child { color: #fff; font-weight: 600; }

.xw-table .xw-check { color: var(--clr-primary); font-weight: 700; }
.xw-table .xw-minus { color: var(--clr-secondary); }

/* ──────────────────────────────────────────────
   PROVIDERS
──────────────────────────────────────────────── */
.xw-providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.xw-provider-chip {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-secondary);
  transition: border-color .2s, color .2s;
}

.xw-provider-chip:hover { border-color: var(--clr-primary); color: #fff; }

/* Categories */
.xw-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.xw-category-chip {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-secondary);
  transition: all .2s;
}

.xw-category-chip:hover { border-color: var(--clr-primary); background: rgba(29,188,137,.08); color: #fff; }
.xw-category-chip-icon { font-size: 1.5rem; margin-bottom: 0.4rem; display: block; }

/* Features */
.xw-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.xw-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  color: var(--clr-secondary);
  font-weight: 600;
}

.xw-feature-item .xw-check { color: var(--clr-primary); font-size: 1rem; }

/* RTP table */
.xw-rtp-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.88rem;
}

.xw-rtp-item:last-child { border-bottom: none; }
.xw-rtp-name { flex: 1; color: #fff; font-weight: 600; }
.xw-rtp-bar-wrap { flex: 2; background: rgba(255,255,255,.08); border-radius: 20px; height: 8px; overflow: hidden; }
.xw-rtp-bar { height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--clr-primary), #2530a0); }
.xw-rtp-pct { color: var(--clr-primary); font-weight: 700; width: 48px; text-align: right; font-size: 0.82rem; }

/* ──────────────────────────────────────────────
   DEMO GAME
──────────────────────────────────────────────── */
.xw-demo-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid var(--clr-border);
}

.xw-demo-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ──────────────────────────────────────────────
   WITHDRAWAL BLOCKS
──────────────────────────────────────────────── */
.xw-param-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.xw-param-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 1.1rem;
  text-align: center;
}

.xw-param-value { font-size: 1.4rem; font-weight: 800; color: var(--clr-primary); }
.xw-param-label { font-size: 0.75rem; color: var(--clr-secondary); margin-top: 0.2rem; }

.xw-steps { display: flex; flex-direction: column; gap: 0; counter-reset: step; }

.xw-step {
  display: flex;
  gap: 1.25rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.xw-step:last-child { padding-bottom: 0; }

.xw-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 18px; top: 44px; bottom: 0;
  width: 2px;
  background: var(--clr-border);
}

.xw-step-num {
  counter-increment: step;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.xw-step-title { font-weight: 700; color: #fff; margin-bottom: 0.25rem; font-size: 0.92rem; }
.xw-step-desc { font-size: 0.84rem; color: var(--clr-secondary); }

/* Rating stars */
.xw-rating-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.xw-rating-item {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 1rem;
}

.xw-rating-label { font-size: 0.82rem; color: var(--clr-secondary); margin-bottom: 0.4rem; }
.xw-rating-bar-wrap { background: rgba(255,255,255,.08); border-radius: 20px; height: 8px; overflow: hidden; margin-bottom: 0.4rem; }
.xw-rating-bar { height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--clr-gold), var(--clr-primary)); }
.xw-rating-val { font-size: 0.82rem; font-weight: 700; color: var(--clr-gold); }

/* ──────────────────────────────────────────────
   REVIEW STARS & DISTRIBUTION
──────────────────────────────────────────────── */
.xw-star-dist { display: flex; flex-direction: column; gap: 0.5rem; }
.xw-star-row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.83rem; }
.xw-star-label { color: var(--clr-secondary); width: 40px; }
.xw-star-bar-wrap { flex: 1; background: rgba(255,255,255,.08); border-radius: 20px; height: 8px; overflow: hidden; }
.xw-star-bar { height: 100%; border-radius: 20px; background: var(--clr-gold); }
.xw-star-count { color: var(--clr-secondary); width: 30px; text-align: right; }

/* ──────────────────────────────────────────────
   USEFUL VOTE
──────────────────────────────────────────────── */
.xw-useful {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--clr-secondary);
  margin-top: 0.75rem;
}

.xw-useful button {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
  color: var(--clr-secondary);
  cursor: pointer;
  font-size: 0.8rem;
  transition: border-color .2s, color .2s;
}

.xw-useful button:hover { border-color: var(--clr-primary); color: var(--clr-primary); }

/* ──────────────────────────────────────────────
   TECHNICAL PAGES
──────────────────────────────────────────────── */
.xw-tech-content {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.xw-tech-content h2 { font-size: 1.3rem; margin: 1.5rem 0 0.75rem; color: #fff; }
.xw-tech-content h3 { font-size: 1.05rem; margin: 1.2rem 0 0.5rem; color: #fff; }
.xw-tech-content p { font-size: 0.9rem; color: var(--clr-secondary); margin-bottom: 0.9rem; }
.xw-tech-content ul, .xw-tech-content ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.xw-tech-content li { font-size: 0.9rem; color: var(--clr-secondary); margin-bottom: 0.3rem; }
.xw-tech-content strong { color: #fff; }

/* ──────────────────────────────────────────────
   UTILITY
──────────────────────────────────────────────── */
.xw-divider {
  height: 1px;
  background: var(--clr-border);
  margin: 2rem 0;
}

.xw-badge {
  display: inline-block;
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.xw-badge-primary { background: rgba(29,188,137,.15); color: var(--clr-primary); }
.xw-badge-gold { background: rgba(245,197,24,.15); color: var(--clr-gold); }
.xw-badge-secondary { background: rgba(184,186,207,.12); color: var(--clr-secondary); }

.xw-text-primary { color: var(--clr-primary); }
.xw-text-gold { color: var(--clr-gold); }
.xw-text-secondary { color: var(--clr-secondary); }

.mb0 { margin-bottom: 0; }
.mb1 { margin-bottom: 1rem; }
.mb2 { margin-bottom: 2rem; }
.mt1 { margin-top: 1rem; }
.mt2 { margin-top: 2rem; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn .5s ease both; }

/* ──────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────── */
@media (max-width: 991px) {
  .xw-footer-top { grid-template-columns: 1fr 1fr; }
  .xw-app-block { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .xw-header-inner { justify-content: flex-end; gap: 0.5rem; padding: 0.6rem 0.75rem; }
  .xw-logo { margin-right: auto; }
  .xw-burger { display: flex; order: 3; margin-left: auto; }
  .xw-nav-panel {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    background: var(--clr-header);
    z-index: 9999;
    overflow-y: auto;
    padding: 4.5rem 1.25rem 2rem;
  }
  .xw-nav-panel.is-open { display: flex; }
  .xw-nav { flex-direction: column; align-items: center; gap: 0.5rem; width: 100%; }
  .xw-nav a { font-size: 1rem; padding: 0.6rem 1.5rem; }
  .xw-header-cta { flex-direction: column; align-items: stretch; gap: 0.75rem; width: 100%; max-width: 280px; }
  .xw-header-cta .xw-online-badge { justify-content: center; }
  .xw-header-cta .btn { width: 100%; text-align: center; font-size: 0.95rem; padding: 0.7rem 1rem; }
  .xw-footer-top { grid-template-columns: 1fr; }
  .xw-hero { padding: 3.5rem 1rem 2.5rem; }
  .xw-author { flex-direction: column; }
  .xw-slots-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}

@media (max-width: 576px) {
  .xw-tournaments-grid { grid-template-columns: 1fr; }
  .xw-advantages-grid { grid-template-columns: 1fr 1fr; }
  .xw-widget { padding: 0.6rem 2.5rem 0.6rem 1rem; }
}

/* ── WordPress Lookalike elements (non-functional) ── */
.wp-block-separator { border: none; border-top: 1px solid var(--clr-border); margin: 1.5rem 0; }
.wp-block-quote { border-left: 4px solid var(--clr-primary); padding-left: 1rem; font-style: italic; color: var(--clr-secondary); }
.wp-caption-text { font-size: 0.78rem; color: var(--clr-secondary); text-align: center; }
.entry-meta { display: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.alignnone { float: none; }
.aligncenter { display: block; margin: 0 auto; }
.wp-post-image { max-width: 100%; height: auto; }

/* ──────────────────────────────────────────────
   THEME GUARD
   Bootstrap / WP stylesheets may load after this
   file and reset body to a light theme, which left
   white headings on a white background. These rules
   re-assert the dark theme with higher specificity.
──────────────────────────────────────────────── */
html body {
  background: var(--clr-bg);
  color: var(--clr-text);
}

html body h1, html body h2, html body h3,
html body h4, html body h5, html body h6 { color: #fff; }

html body p, html body li, html body td, html body dd { color: var(--clr-text); }

html body a { color: var(--clr-primary); }
html body a:hover { color: #17a879; }

/* tables coming from raw page content */
html body table,
html body .table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  background: var(--clr-card);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  overflow: hidden;
  --bs-table-bg: transparent;
  --bs-table-color: var(--clr-text);
  --bs-table-striped-bg: rgba(255,255,255,.04);
  --bs-table-striped-color: var(--clr-text);
  --bs-table-border-color: var(--clr-border);
}

html body th,
html body td {
  border: 1px solid var(--clr-border);
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

html body th {
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 700;
}

html body blockquote { color: var(--clr-secondary); }

/* keep light-on-light out of the technical pages too */
html body .xw-tech-content { background: var(--clr-card); color: var(--clr-text); }
html body .xw-tech-content p,
html body .xw-tech-content li { color: var(--clr-secondary); }

/* ── tables from raw content: never wider than their card ── */
html body .xw-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.5rem;
  border: 1px solid var(--clr-border);
  border-radius: 10px;
}

html body .xw-table-wrap > table {
  margin: 0;
  border: none;
  border-radius: 0;
  min-width: 380px;
}

html body th,
html body td {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* CSS-only fallback: an unwrapped table scrolls on its own
   (applies when the JS wrapper has not run, e.g. for crawlers) */
html body table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

html body .xw-table-wrap > table {
  display: table;
  width: 100%;
  overflow-x: visible;
}
