/* =========================================================
   Glorion theme — стили на основе референсов login/bonus/review/app.
   Используется когда Domain.theme = "glorion".
   Дизайн-токены: тёмный фон + золото + teal/red акценты.
   ========================================================= */

:root {
  --g-bg-deep: #0a0c12;
  --g-bg-card: #111520;
  --g-bg-card2: #161b28;
  --g-border: #1e2535;
  --g-gold: #d4a843;
  --g-gold-light: #f0c060;
  --g-gold-glow: rgba(212, 168, 67, 0.18);
  --g-teal: #29c8b0;
  --g-teal-dim: rgba(41, 200, 176, 0.12);
  --g-text: #c8d0e0;
  --g-text-muted: #7a8499;
  --g-text-bright: #edf0f8;
  --g-red: #e05050;
  --g-red-dim: rgba(224, 80, 80, 0.08);
  --g-blue: #5b9bd5;
  --g-blue-dim: rgba(91, 155, 213, 0.12);
  --g-purple: #9b6fd4;
  --g-purple-dim: rgba(155, 111, 212, 0.12);
  --g-green: #4caf82;
  --g-green-dim: rgba(76, 175, 130, 0.12);
}

/* ── PERFORMANCE & RENDERING ─────────────────────── */
html { text-rendering: optimizeSpeed; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }

/* below-fold секции рендерятся только когда подъезжают в viewport.
   Драматическое ускорение first paint на длинных страницах с FAQ/таблицами. */
.g-content > h2:not(:first-of-type) ~ *,
.faq-item,
.cta-banner,
.disclaimer,
.g-footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* ── BASE ──────────────────────────────────────────── */
body.g-body {
  background: var(--g-bg-deep);
  color: var(--g-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* min-width: 0 чтобы flex-children могли сжиматься ниже content size,
     иначе widе rich-text раздувает body шире viewport. */
  min-width: 0;
}
body.g-body > * { min-width: 0; }

/* ── NAV ──────────────────────────────────────────── */
.g-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 18, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--g-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
}
.g-logo {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--g-gold);
  letter-spacing: 2px;
  text-decoration: none;
}
.g-nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.g-nav-links a {
  color: var(--g-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.g-nav-links a:hover { color: var(--g-gold); }
.g-nav-cta {
  background: linear-gradient(135deg, #d4a843, #f0c060);
  color: #0a0c12;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.g-nav-cta:hover { opacity: 0.85; }

/* ── HERO ─────────────────────────────────────────── */
.g-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0e1320 0%, #0a0c12 60%);
  padding: 70px 40px 60px;
  border-bottom: 1px solid var(--g-border);
}
.g-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.g-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-width: 0;
}
.g-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--g-gold-glow);
  border: 1px solid rgba(212, 168, 67, 0.35);
  color: var(--g-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.g-hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g-gold);
  display: inline-block;
  animation: g-pulse 1.6s ease-in-out infinite;
}
@keyframes g-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.g-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  color: var(--g-text-bright);
  line-height: 1.15;
  max-width: 740px;
  margin: 0 0 18px;
}
.g-hero h1 em {
  font-style: normal;
  color: var(--g-gold);
}
.g-hero-sub {
  color: var(--g-text-muted);
  max-width: 600px;
  margin: 0 0 36px;
  font-size: 15px;
}
.g-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── BUTTONS ──────────────────────────────────────── */
.g-btn-primary {
  background: linear-gradient(135deg, #d4a843, #f0c060);
  color: #0a0c12;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.g-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 168, 67, 0.45);
}
.g-btn-secondary {
  background: transparent;
  border: 1px solid rgba(212, 168, 67, 0.4);
  color: var(--g-gold);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, border-color 0.15s;
}
.g-btn-secondary:hover {
  background: var(--g-gold-glow);
  border-color: var(--g-gold);
}

/* ── PAGE BODY ────────────────────────────────────── */
.g-page-body {
  flex: 1 1 auto;
  /* min-width:0 — критично! без этого flex-item не сожмётся ниже
     min-content, и широкий rich-text (game-grids, картинки) раздувает
     контейнер за пределы max-width. */
  min-width: 0;
  padding: 56px 40px 80px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* ── BODY TYPOGRAPHY (под rich-text из админки) ──── */
.g-content {
  min-width: 0;
  /* На случай если админ положил блок шире контейнера — горизонтальный
     скролл вместо ломки макета. */
  overflow-x: clip;
}
.g-content > * { min-width: 0; max-width: 100%; }
.g-content img,
.g-content video,
.g-content iframe,
.g-content picture > img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* Любые grid'ы внутри rich-text — горизонтальный скролл если узкий
   viewport вместо обрезанного / съехавшего макета. */
.g-content [class*="grid"]:not(.score-card):not(.steps-grid) {
  max-width: 100%;
  overflow-x: auto;
}

.g-content h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--g-text-bright);
  margin: 44px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--g-border);
}
.g-content h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--g-gold);
  margin: 28px 0 10px;
}
.g-content p {
  margin: 0 0 16px;
  color: var(--g-text);
}
.g-content strong { color: var(--g-text-bright); }
.g-content a { color: var(--g-gold); text-decoration: underline; }
.g-content a:hover { color: var(--g-gold-light); }
.g-content hr { border: none; border-top: 1px solid var(--g-border); margin: 32px 0; }

/* Списки внутри rich-text */
.g-content ul,
.g-content ol { margin: 16px 0 16px 24px; }
.g-content li { margin-bottom: 6px; }

/* Таблица из админки тоже стилится */
.g-content .table-wrap,
.g-content table {
  margin: 24px 0;
  border-radius: 10px;
  border: 1px solid var(--g-border);
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  overflow: hidden;
}
.g-content thead tr { background: var(--g-bg-card2); }
.g-content thead th {
  padding: 13px 18px;
  text-align: left;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  color: var(--g-gold);
  letter-spacing: 0.5px;
  font-size: 13px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--g-border);
}
.g-content tbody tr { border-bottom: 1px solid var(--g-border); }
.g-content tbody tr:last-child { border-bottom: none; }
.g-content tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.g-content td {
  padding: 12px 18px;
  color: var(--g-text);
}
.g-content td:first-child {
  color: var(--g-text-bright);
  font-weight: 500;
}

/* ── COMPONENTS (для админа в CKEditor source-mode) ── */

/* Feature list — золотая полоса слева */
.feature-list {
  list-style: none;
  margin: 16px 0 24px;
  display: grid;
  gap: 10px;
  padding: 0;
}
.feature-list li {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-left: 3px solid var(--g-gold);
  border-radius: 8px;
  padding: 13px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}
.feature-list li::before {
  content: '◆';
  color: var(--g-gold);
  font-size: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}
.feature-list.teal li { border-left-color: var(--g-teal); }
.feature-list.teal li::before { color: var(--g-teal); }

/* Steps — пронумерованные карточки */
.steps-grid { display: grid; gap: 16px; margin: 24px 0; }
.step-card {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: rgba(212, 168, 67, 0.3); }
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, #d4a843, #f0c060);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #0a0c12;
}
.step-content h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--g-text-bright);
  margin: 0 0 6px;
}
.step-content p { margin: 0; font-size: 14px; color: var(--g-text-muted); }

/* Score card (3 числа) */
.score-card {
  background: var(--g-bg-card);
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.score-item { text-align: center; }
.score-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--g-gold);
  line-height: 1;
}
.score-label {
  font-size: 12px;
  color: var(--g-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* Verdict (зелёный блок-вывод) */
.verdict {
  background: var(--g-green-dim);
  border: 1px solid rgba(76, 175, 130, 0.3);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.verdict-icon { font-size: 28px; flex-shrink: 0; }
.verdict-text h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--g-green);
  margin: 0 0 6px;
}
.verdict-text p { margin: 0; font-size: 14px; color: var(--g-text); }

/* Pros / Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}
.pros, .cons {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 24px;
}
.pros { border-top: 3px solid var(--g-teal); }
.cons { border-top: 3px solid var(--g-red); }
.pros-title, .cons-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 16px;
}
.pros-title { color: var(--g-teal); }
.cons-title { color: var(--g-red); }
.pros-list, .cons-list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.pros-list li, .cons-list li {
  font-size: 13px;
  color: var(--g-text);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pros-list li::before { content: '✔'; color: var(--g-teal); font-size: 12px; flex-shrink: 0; margin-top: 2px; }
.cons-list li::before { content: '✗'; color: var(--g-red); font-size: 12px; flex-shrink: 0; margin-top: 2px; }

/* Trustpilot tiles */
.tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.tp-card {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 22px;
}
.tp-card.positive { border-top: 2px solid var(--g-teal); }
.tp-card.negative { border-top: 2px solid var(--g-red); }
.tp-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tp-card.positive .tp-label { color: var(--g-teal); }
.tp-card.negative .tp-label { color: var(--g-red); }
.tp-pct {
  font-family: 'Rajdhani', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--g-text-bright);
  margin-bottom: 8px;
}
.tp-desc { font-size: 13px; color: var(--g-text-muted); }

/* Game grid */
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.game-card {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 22px;
  transition: border-color 0.2s;
}
.game-card:hover { border-color: rgba(212, 168, 67, 0.35); }
.game-icon { font-size: 28px; margin-bottom: 10px; }
.game-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--g-text-bright);
  margin-bottom: 6px;
}
.game-count { font-size: 12px; color: var(--g-teal); font-weight: 600; margin-bottom: 8px; }
.game-desc { font-size: 12px; color: var(--g-text-muted); }

/* Bonus cards (login/bonus) */
.bonus-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.bonus-card {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.bonus-card.featured { border-color: rgba(212, 168, 67, 0.5); }
.bonus-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.bonus-card.casino::before { background: linear-gradient(90deg, #d4a843, #f0c060); }
.bonus-card.sports::before { background: linear-gradient(90deg, #29c8b0, #5de0d0); }
.bonus-card-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.bonus-card.casino .bonus-card-label { color: var(--g-gold); }
.bonus-card.sports .bonus-card-label { color: var(--g-teal); }
.bonus-amount {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--g-text-bright);
  margin-bottom: 6px;
}
.bonus-amount span { font-size: 18px; color: var(--g-text-muted); }
.bonus-desc { font-size: 13px; color: var(--g-text-muted); margin-bottom: 16px; }
.bonus-tag {
  display: inline-block;
  background: var(--g-gold-glow);
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: var(--g-gold);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin: 2px;
}
.bonus-tag.teal { background: var(--g-teal-dim); border-color: rgba(41, 200, 176, 0.3); color: var(--g-teal); }

/* Math box (вычисление wagering) */
.math-box {
  background: var(--g-bg-card2);
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.math-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--g-border);
  font-size: 14px;
}
.math-row:last-child { border-bottom: none; font-weight: 700; }
.math-row .label { color: var(--g-text-muted); }
.math-row .value { color: var(--g-text-bright); font-family: 'Rajdhani', sans-serif; font-size: 18px; }
.math-row.total .value { color: var(--g-gold); font-size: 22px; }

/* Crab box (промо-блок с акцентом) */
.crab-box {
  background: linear-gradient(135deg, #151c2c, #0f1520);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 14px;
  padding: 32px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}
.crab-prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.prize-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--g-border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.prize-icon { font-size: 28px; margin-bottom: 8px; }
.prize-label { font-size: 12px; color: var(--g-text-muted); margin-bottom: 6px; }
.prize-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--g-gold);
}

/* VIP grid */
.vip-grid { display: grid; gap: 12px; margin: 24px 0; }
.vip-row {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: 10px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s;
}
.vip-row:hover { border-color: rgba(212, 168, 67, 0.3); }
.vip-level { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15px; color: var(--g-text-bright); }
.vip-desc { font-size: 13px; color: var(--g-text-muted); }
.vip-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.vip-badge.bronze { background: rgba(180, 120, 60, 0.15); color: #c87840; border: 1px solid rgba(180, 120, 60, 0.3); }
.vip-badge.silver { background: rgba(160, 170, 180, 0.12); color: #a0aab8; border: 1px solid rgba(160, 170, 180, 0.3); }
.vip-badge.gold { background: var(--g-gold-glow); color: var(--g-gold); border: 1px solid rgba(212, 168, 67, 0.3); }
.vip-badge.platinum { background: var(--g-purple-dim); color: var(--g-purple); border: 1px solid rgba(155, 111, 212, 0.3); }
.vip-badge.legend { background: rgba(224, 80, 80, 0.1); color: #e08080; border: 1px solid rgba(224, 80, 80, 0.3); }

/* KYC grid */
.kyc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.kyc-card {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  transition: border-color 0.2s;
}
.kyc-card:hover { border-color: rgba(212, 168, 67, 0.35); }
.kyc-icon { font-size: 32px; margin-bottom: 12px; }
.kyc-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--g-text-bright);
  margin-bottom: 8px;
}
.kyc-desc { font-size: 12px; color: var(--g-text-muted); }

/* Payment timing */
.payment-grid { display: grid; gap: 12px; margin: 24px 0; }
.payment-row {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: 10px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 16px;
}
.pay-method { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15px; color: var(--g-text-bright); }
.pay-desc { font-size: 13px; color: var(--g-text-muted); }
.pay-time { font-size: 13px; font-weight: 600; }
.pay-time.fast { color: var(--g-teal); }
.pay-time.medium { color: #f0a040; }

/* Withdrawal timeline */
.withdrawal-timeline { display: grid; gap: 12px; margin: 24px 0; }
.wt-row {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.wt-vip { font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 600; color: var(--g-text-muted); min-width: 130px; }
.wt-time { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; color: var(--g-text-bright); flex: 1; }
.wt-bar { height: 4px; background: var(--g-border); border-radius: 2px; flex: 1; overflow: hidden; }
.wt-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, #d4a843, #f0c060); }

/* Platform grid (iOS / Android) */
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.platform-card {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 24px;
}
.platform-card.ios { border-top: 2px solid #7eb0f5; }
.platform-card.android { border-top: 2px solid #7ed99c; }
.platform-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.platform-card.ios .platform-label { color: #7eb0f5; }
.platform-card.android .platform-label { color: #7ed99c; }
.platform-card h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--g-text-bright);
  margin: 0 0 14px;
}

/* Alerts / Info boxes */
.alert {
  background: var(--g-red-dim);
  border: 1px solid rgba(224, 80, 80, 0.3);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
}
.alert-icon { font-size: 20px; flex-shrink: 0; }
.alert p { margin: 0; font-size: 14px; }
.alert strong { color: var(--g-red); }
.info-box {
  background: var(--g-teal-dim);
  border: 1px solid rgba(41, 200, 176, 0.25);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
}
.info-box p { margin: 0; font-size: 14px; }
.info-blue {
  background: var(--g-blue-dim);
  border: 1px solid rgba(91, 155, 213, 0.25);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
}
.info-blue p { margin: 0; font-size: 14px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--g-border); padding: 20px 0; }
.faq-q {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--g-text-bright);
  margin-bottom: 10px;
}
.faq-q::before { content: 'Q: '; color: var(--g-gold); }
.faq-a { font-size: 14px; color: var(--g-text-muted); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #151c2c, #0f1520);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
  margin: 50px 0 30px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--g-text-bright);
  margin: 0 0 10px;
}
.cta-banner p {
  color: var(--g-text-muted);
  margin-bottom: 26px;
  font-size: 14px;
}

/* Disclaimer */
.disclaimer {
  font-size: 12px;
  color: var(--g-text-muted);
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 40px;
  line-height: 1.6;
}
.disclaimer em { font-style: italic; }

/* ── FOOTER ───────────────────────────────────────── */
.g-footer {
  background: var(--g-bg-card);
  border-top: 1px solid var(--g-border);
  padding: 32px 40px 28px;
  margin-top: auto;
}
.g-footer__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.g-footer__logo {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--g-gold);
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.g-footer__links {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
}
.g-footer__links a {
  color: var(--g-text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.g-footer__links a:hover { color: var(--g-gold); }
.g-footer__icons {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.g-footer__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--g-bg-card2);
  border: 1px solid var(--g-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--g-text);
}
.g-footer__notice {
  font-size: 12px;
  color: var(--g-text-muted);
  margin: 0 0 8px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.g-footer__copy {
  font-size: 12px;
  color: var(--g-text-muted);
  margin: 0;
}

/* ── MOBILE ──────────────────────────────────────── */
@media (max-width: 720px) {
  .g-nav { padding: 0 16px; }
  .g-nav-links { display: none; }
  .g-hero { padding: 50px 20px 40px; }
  .g-page-body { padding: 32px 16px 60px; }
  .g-hero-btns { flex-direction: column; }
  .score-card,
  .game-grid,
  .tp-grid,
  .pros-cons,
  .kyc-grid,
  .platform-grid,
  .bonus-cards,
  .crab-prizes { grid-template-columns: 1fr !important; }
  .payment-row,
  .vip-row { grid-template-columns: 1fr !important; }
  .wt-row { flex-direction: column; align-items: flex-start; }
  .g-footer { padding: 24px 20px; }
  .g-footer__links { gap: 6px 16px; }
}

/* ── MEDIA LIBRARY (figures из [img:slug] шорткодов) ── */
.media-image {
  margin: 24px auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--g-border);
  background: var(--g-bg-card);
  max-width: 100%;
}
.media-image__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.media-image__caption {
  font-size: 13px;
  color: var(--g-text-muted);
  text-align: center;
  padding: 10px 14px;
  border-top: 1px solid var(--g-border);
  font-style: italic;
}
.media-image--center { max-width: 700px; }
.media-image--full { max-width: 100%; width: 100%; }
.media-image--missing {
  display: inline-block;
  padding: 8px 12px;
  background: var(--g-red-dim);
  border: 1px dashed var(--g-red);
  border-radius: 6px;
}

/* ── FAQ section ───────────────────────────────────── */
.g-faq-section {
  margin: 40px 0 24px;
}
.g-faq-section__title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--g-text-bright);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--g-border);
}
.g-faq-list { display: grid; gap: 0; }
.g-faq-list .faq-item {
  border-bottom: 1px solid var(--g-border);
  padding: 0;
  list-style: none;
}
.g-faq-list .faq-item[open] { background: rgba(255, 255, 255, 0.015); }
.g-faq-list .faq-item summary.faq-q {
  cursor: pointer;
  list-style: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--g-text-bright);
  padding: 18px 32px 18px 0;
  position: relative;
  margin: 0;
  transition: color 0.2s;
}
.g-faq-list .faq-item summary.faq-q::-webkit-details-marker { display: none; }
.g-faq-list .faq-item summary.faq-q::before {
  content: 'Q:';
  color: var(--g-gold);
  margin-right: 8px;
  font-weight: 700;
}
.g-faq-list .faq-item summary.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--g-gold);
  font-weight: 300;
  transition: transform 0.2s;
}
.g-faq-list .faq-item[open] summary.faq-q::after { content: '−'; }
.g-faq-list .faq-item summary.faq-q:hover { color: var(--g-gold-light); }
.g-faq-list .faq-item .faq-a {
  font-size: 14px;
  color: var(--g-text-muted);
  padding: 0 0 18px 0;
  line-height: 1.7;
}
.g-faq-list .faq-item .faq-a p { margin: 0 0 10px; }
.g-faq-list .faq-item .faq-a p:last-child { margin: 0; }

/* ── FAQ flat (H2 + H3 + p) — Glorion ─────────────── */
.g-faq { margin: 44px 0 24px; }
.g-faq__title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--g-text-bright);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--g-border);
}
.g-faq__q {
  font-family: 'Rajdhani', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--g-gold);
  margin: 28px 0 10px;
}
.g-faq__a {
  margin: 0 0 16px;
  color: var(--g-text);
  font-size: 15px;
  line-height: 1.75;
}
