/*!
 * Theme Name: UFA432
 * Description: UFA432 - UFABET บาคาร่าออนไลน์ เว็บตรงครบวงจร
 * Version: 2.4.8
 * Requires at least: 6.0
 * Requires PHP: 8.0
 * Text Domain: ufa432
 */

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════ */
:root {
  --bg:        #060d1e;
  --surface-1: #091528;
  --surface-2: #0d1e38;
  --surface-3: #122348;
  --border-1:  rgba(99,168,255,.08);
  --border-2:  rgba(99,168,255,.16);

  --blue:       #3B82F6;
  --blue-light: #60A5FA;
  --blue-dark:  #1D4ED8;
  --blue-deep:  #1E3A8A;
  --blue-glow:  rgba(59,130,246,.22);

  --cyan:      #22D3EE;
  --cyan-dark: #0891B2;

  --g-blue:     linear-gradient(135deg, #1D4ED8 0%, #3B82F6 55%, #60A5FA 100%);
  --g-blue-h:   linear-gradient(90deg, #3B82F6 0%, #60A5FA 100%);
  --g-blue-135: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 50%, #22D3EE 100%);
  --g-card:     linear-gradient(145deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.005) 100%);
  --g-mesh:     radial-gradient(ellipse 70% 50% at 15% 10%, rgba(59,130,246,.1) 0%, transparent 65%),
                radial-gradient(ellipse 55% 70% at 85% 90%, rgba(34,211,238,.07) 0%, transparent 60%);

  --text:       #EFF6FF;
  --text-muted: #94A3B8;
  --text-dim:   #3D5A80;

  --green: #10B981;
  --red:   #F43F5E;

  --f-display: 'Kanit','Sarabun',sans-serif;
  --f-heading: 'Kanit','Sarabun',sans-serif;
  --f-body:    'Sarabun','Kanit',sans-serif;
  --f-mono:    'JetBrains Mono','Courier New',monospace;

  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill:999px;

  --shadow-blue: 0 0 0 1px rgba(59,130,246,.18), 0 8px 32px rgba(59,130,246,.2), 0 2px 8px rgba(0,0,0,.5);
  --shadow-card: 0 1px 0 rgba(255,255,255,.05), 0 8px 32px rgba(0,0,0,.5);
  --shadow-glow: 0 0 50px rgba(59,130,246,.2);

  --ease:      all .22s cubic-bezier(.4,0,.2,1);
  --ease-spring: all .35s cubic-bezier(0,.55,.45,1);
  --header-h:  64px;

  /* Aliases */
  --color-blue:       var(--blue);
  --color-blue-light: var(--blue-light);
  --color-blue-dark:  var(--blue-dark);
  --color-blue-pale:  var(--blue-light);
  --color-text:       var(--text);
  --color-text-muted: var(--text-muted);
  --color-text-dim:   var(--text-dim);
  --color-surface2:   var(--surface-2);
  --color-border:     var(--border-1);
  --color-green:      var(--green);
  --color-red:        var(--red);
  --font-heading:     var(--f-heading);
  --font-display:     var(--f-display);
  --font-mono:        var(--f-mono);
  --radius-sm:        var(--r-sm);
  --radius-md:        var(--r-md);
  --radius-lg:        var(--r-lg);
  --transition:       var(--ease);
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  background-image: var(--g-mesh);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--f-body);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--blue-light); text-decoration: none; transition: var(--ease); }
a:hover { color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--f-body); border: none; background: none; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; overflow: visible; max-width: none !important; }

.skip-link { position: absolute; top: -100px; left: 0; background: var(--blue); color: #fff; padding: 8px 16px; z-index: 9999; font-weight: 700; }
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════ */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── Section Title ── */
.section-title {
  font-family: var(--f-heading);
  font-size: clamp(.95rem, 1.6vw, 1.25rem);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.section-title span {
  background: var(--g-blue-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--g-blue-135);
  border-radius: var(--r-pill);
  box-shadow: 0 0 10px rgba(59,130,246,.7);
  flex-shrink: 0;
  -webkit-text-fill-color: initial;
}
.section-title::after { display: none; }

.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59,130,246,.2) 30%, rgba(34,211,238,.3) 50%, rgba(59,130,246,.2) 70%, transparent);
  margin: 24px 0;
  position: relative;
}
.gold-divider::after {
  content: '◈';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: var(--bg);
  color: rgba(59,130,246,.4);
  padding: 0 12px;
  font-size: .5rem;
}

.btn-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 26px;
  background: rgba(59,130,246,.07);
  border: 1px solid rgba(59,130,246,.22);
  color: var(--blue-light);
  border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: var(--ease); text-decoration: none;
}
.btn-more:hover {
  background: rgba(59,130,246,.14);
  border-color: rgba(59,130,246,.45);
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(59,130,246,.14);
}
.btn-more svg { display: block; flex-shrink: 0; }
.section-more { text-align: center; margin-top: 36px; }

.fade-in-section { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade-in-section.is-visible { opacity: 1; transform: none; }
.ud-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(6,13,30,.88);
  backdrop-filter: blur(20px) saturate(2);
  -webkit-backdrop-filter: blur(20px) saturate(2);
  border-bottom: 1px solid rgba(59,130,246,.1);
  transition: top .2s ease, background .3s, border-color .3s;
}
#site-header.scrolled {
  background: rgba(6,13,30,.97);
  border-bottom-color: rgba(59,130,246,.2);
  box-shadow: 0 4px 30px rgba(0,0,0,.5);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 12px; }

.site-logo a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo img { height: 38px; width: auto; object-fit: contain; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-text {
  font-family: var(--f-display);
  font-size: 1.5rem; font-weight: 900;
  background: var(--g-blue-135);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .08em;
}
.logo-sub {
  font-size: .48rem;
  color: rgba(96,165,250,.45);
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-top: 3px; font-weight: 600;
}

.header-nav { display: flex; align-items: center; gap: 6px; }

.btn-social {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 14px; height: 34px;
  border-radius: var(--r-sm);
  font-size: .76rem; font-weight: 700;
  text-decoration: none; white-space: nowrap; transition: var(--ease);
}
.btn-social svg { display: block; flex-shrink: 0; }
.btn-telegram { background: #229ED9; color: #fff; }
.btn-telegram:hover { opacity: .88; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(34,158,217,.35); color: #fff; }
.btn-line { background: #06C755; color: #fff; }
.btn-line:hover { opacity: .88; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(6,199,85,.35); color: #fff; }
.btn-football {
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.18);
  color: var(--blue-light);
}
.btn-football:hover { background: rgba(59,130,246,.15); border-color: rgba(59,130,246,.38); color: var(--cyan); }
.btn-football-label { display: inline; }
.btn-football span[aria-hidden],
.mobile-football span[aria-hidden] { filter: grayscale(1); -webkit-text-fill-color: initial; }

.btn-login {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 16px;
  background: transparent;
  color: var(--blue-light);
  border: 1px solid rgba(59,130,246,.28);
  border-radius: var(--r-sm);
  font-size: .76rem; font-weight: 700;
  text-decoration: none; transition: var(--ease);
}
.btn-login svg { display: block; flex-shrink: 0; }
.btn-login:hover {
  background: rgba(59,130,246,.1);
  border-color: rgba(59,130,246,.5);
  color: var(--cyan);
}

.btn-register {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 20px;
  background: var(--g-blue-135);
  color: #fff; border: none;
  border-radius: var(--r-sm);
  font-size: .76rem; font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 2px 16px rgba(59,130,246,.35), inset 0 1px 0 rgba(255,255,255,.12);
  transition: var(--ease); text-decoration: none;
}
.btn-register svg { display: block; flex-shrink: 0; }
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(59,130,246,.5), inset 0 1px 0 rgba(255,255,255,.2);
  color: #fff;
}

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  border: 1px solid rgba(59,130,246,.16);
  border-radius: var(--r-sm); padding: 8px 10px;
  cursor: pointer; background: rgba(59,130,246,.05);
}
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--blue-light); border-radius: 2px; transition: var(--ease); }

#main-content { padding-top: var(--header-h); }

/* ═══════════════════════════════════════════════════════════
   SLIDER
═══════════════════════════════════════════════════════════ */
.slideshow-section { background: var(--surface-1); padding: 16px 0 20px; }

.slider-box {
  overflow: hidden;
  border: 1px solid rgba(59,130,246,.14);
  box-shadow: var(--shadow-glow), 0 24px 64px rgba(0,0,0,.6);
  position: relative;
}
.slider-box::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.04) 0%, transparent 50%);
  pointer-events: none; z-index: 2;
}

.slider-track {
  position: relative; width: 100%;
  aspect-ratio: 16 / 7; min-height: 220px;
  overflow: hidden; cursor: grab;
  user-select: none; -webkit-user-select: none;
  background: var(--surface-2);
}
.slider-track:active { cursor: grabbing; }

.slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform .7s ease; }
.slide.active { opacity: 1; transform: scale(1); z-index: 1; }

.slide-bg-1 { background: radial-gradient(ellipse at 68% 50%, #071428 0%, #03080f 70%); }
.slide-bg-2 { background: radial-gradient(ellipse at 68% 50%, #061830 0%, #030c1a 70%); }
.slide-bg-3 { background: radial-gradient(ellipse at 68% 50%, #04102c 0%, #020614 70%); }
.slide-bg-4 { background: radial-gradient(ellipse at 68% 50%, #051020 0%, #020810 70%); }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.slider-dots-bar { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 10; }
.slider-dots { display: flex; gap: 6px; align-items: center; }
.slider-dot {
  width: 6px; height: 6px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.2); border: none; cursor: pointer; transition: var(--ease); padding: 0;
}
.slider-dot.active { background: var(--cyan); width: 20px; box-shadow: 0 0 10px rgba(34,211,238,.6); }

.slider-progress { height: 2px; background: rgba(255,255,255,.03); }
.slider-progress-fill {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width .4s linear;
}

/* ═══════════════════════════════════════════════════════════
   QUICK BUTTONS
═══════════════════════════════════════════════════════════ */
.quick-btns-section { background: var(--surface-1); padding: 36px 0 40px; }
.quick-btns-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }

.quick-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 18px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  color: var(--text-muted);
  font-size: .74rem; font-weight: 600;
  cursor: pointer; transition: var(--ease);
  text-decoration: none; text-align: center;
  position: relative; overflow: hidden;
}
.quick-btn::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--blue), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s ease;
}
.quick-btn:hover {
  border-color: rgba(59,130,246,.25);
  color: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
  background: rgba(59,130,246,.07);
}
.quick-btn:hover::before { transform: scaleX(1); }
.quick-btn-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: rgba(59,130,246,.07);
  border: 1px solid rgba(59,130,246,.12);
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease); flex-shrink: 0;
}
.quick-btn-icon svg { display: block; color: var(--blue-light); }
.quick-btn:hover .quick-btn-icon {
  background: rgba(59,130,246,.15);
  border-color: rgba(59,130,246,.3);
  box-shadow: 0 0 14px rgba(59,130,246,.2);
}
.quick-btn-label { font-size: .71rem; line-height: 1.25; }

/* ═══════════════════════════════════════════════════════════
   WITHDRAW FEED  —  horizontal card design
═══════════════════════════════════════════════════════════ */
.withdraw-section { background: var(--surface-1); padding: 16px 0 28px; }
.withdraw-header-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,.05);
  border: 1px solid rgba(16,185,129,.18);
  color: var(--green);
  padding: 4px 12px; border-radius: var(--r-pill);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  margin-bottom: 16px;
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  animation: pulse-live 1.5s infinite; flex-shrink: 0;
  box-shadow: 0 0 6px var(--green);
}
@keyframes pulse-live { 0%,100%{opacity:1} 50%{opacity:.25} }

/* ── Grid: 2 cols desktop, carousel mobile/tablet ── */
.withdraw-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  transition: opacity .25s ease;
}
.wd-loading { grid-column: 1/-1; text-align: center; color: var(--text-muted); padding: 32px; font-size: .84rem; }

/* ── Card: horizontal layout ── */
.wd-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
  animation: wd-card-in .4s ease both;
  position: relative;
  min-width: 0;           /* ป้องกันบีบใน flex */
}
.wd-card:hover {
  border-color: rgba(59,130,246,.22);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.4), 0 0 0 1px rgba(59,130,246,.07);
}
@keyframes wd-card-in { from{opacity:0;transform:translateX(-10px)} to{opacity:1;transform:none} }

/* ── Bank icon block: พื้นหลัง surface ปกติ, ขอบสีธนาคาร ── */
.wd-bank-icon {
  flex-shrink: 0;
  width: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px 10px;
  background: var(--surface-3);          /* พื้นหลัง surface ปกติ */
  border-right: 2px solid;               /* color set inline (สีธนาคาร) */
  position: relative;
}
.wd-bank-icon img {
  width: 32px; height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0,0,0,.4));
}

/* ── Bank name pill: สีพื้นหลังธนาคาร ── */
.wd-bank-name {
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  /* background + color set inline */
}

/* ── Card body ── */
.wd-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 12px;
  min-width: 0;
  overflow: hidden;
}

.wd-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}
.wd-card-phone {
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wd-card-time {
  font-size: .6rem;
  color: var(--text-muted);
  font-family: var(--f-mono);
  white-space: nowrap;
  flex-shrink: 0;
}

.wd-card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 5px;
  border-top: 1px solid var(--border-1);
  min-width: 0;
}
.wd-card-amount {
  color: var(--green);
  font-weight: 800;
  font-family: var(--f-mono);
  font-size: .92rem;
  text-shadow: 0 0 10px rgba(16,185,129,.25);
  white-space: nowrap;
}
.wd-card-status {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: .6rem; font-weight: 700;
  color: var(--green);
  background: rgba(16,185,129,.07);
  padding: 2px 7px; border-radius: var(--r-pill);
  border: 1px solid rgba(16,185,129,.14);
  white-space: nowrap;
  flex-shrink: 0;
}
.wd-card-status svg { display: block; flex-shrink: 0; }

/* ── Mobile/Tablet: carousel wrapper ── */
.wd-carousel-wrap {
  position: relative;
  overflow: hidden;        /* ซ่อน card ที่อยู่นอก viewport */
}

/* ── Responsive: ≤991px → carousel ── */
@media (max-width: 991px) {
  .withdraw-cards-grid {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 10px;
    transition: transform .55s cubic-bezier(.4,0,.2,1), opacity .25s ease;
    /* ไม่ใช้ overflow-x:auto อีกต่อไป — JS จัดการ transform */
    will-change: transform;
  }
  .wd-card {
    /* แต่ละ card กว้างพอดี ~90% ของ wrap */
    flex: 0 0 calc(100% - 24px);
    min-width: 0;
    max-width: 420px;
  }
}
@media (max-width: 480px) {
  .wd-card {
    flex: 0 0 calc(100% - 16px);
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   GAMES
═══════════════════════════════════════════════════════════ */
.games-section { background: var(--bg); padding: 20px 0 32px; }

.games-filter {
  display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px;
}
.filter-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  color: var(--text-muted);
  font-size: .76rem; font-weight: 700;
  cursor: pointer; transition: var(--ease);
}
.filter-btn svg { display: block; flex-shrink: 0; }
.filter-btn:hover { background: rgba(59,130,246,.08); color: var(--blue-light); border-color: rgba(59,130,246,.22); }
.filter-btn.active {
  background: var(--g-blue-135);
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 18px rgba(59,130,246,.38);
}

.games-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 10px; overflow: hidden; }

.game-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 509/730;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  cursor: pointer; transition: var(--ease);
  min-width: 0; width: 100%;
}
.game-card:hover {
  border-color: rgba(59,130,246,.4);
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(59,130,246,.18);
  z-index: 1;
}

.game-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.game-card:hover .game-thumb-img { transform: scale(1.07); }
.game-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, rgba(59,130,246,.05) 0%, rgba(34,211,238,.03) 100%);
}
.game-placeholder-name { font-size: .6rem; color: var(--text-muted); text-align: center; padding: 0 6px; line-height: 1.3; }

.game-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(6,13,30,.85) 0%, rgba(6,13,30,.6) 60%, rgba(6,13,30,.3) 100%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease;
}
.game-card:hover .game-overlay { opacity: 1; }

.btn-play {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: var(--g-blue-135);
  color: #fff; font-weight: 800; font-size: .76rem;
  border-radius: var(--r-pill); border: none; cursor: pointer;
  transform: translateY(8px);
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 18px rgba(59,130,246,.5);
  text-decoration: none; letter-spacing: .03em;
}
.btn-play svg { display: block; flex-shrink: 0; }
.game-card:hover .btn-play { transform: none; }

.game-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 5px 6px;
  background: linear-gradient(transparent, rgba(6,13,30,.9));
  font-size: .62rem; color: rgba(239,246,255,.72); text-align: center; line-height: 1.25;
}

/* ═══════════════════════════════════════════════════════════
   REVIEWS  —  testimonial card grid
═══════════════════════════════════════════════════════════ */
.reviews-section { background: var(--surface-1); padding: 24px 0 40px; }

/* ── Social Proof Banner ── */
.spb-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface-2);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--r-xl);
  margin-bottom: 36px;
  overflow: hidden;
  position: relative;
}
.spb-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,transparent 5%,rgba(245,158,11,.25) 30%,#F59E0B 50%,rgba(245,158,11,.25) 70%,transparent 95%);
}

.spb-score {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 28px;
  border-right: 1px solid rgba(245,158,11,.15);
}
.spb-num {
  font-family: var(--f-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: #F59E0B;
  text-shadow: 0 0 30px rgba(245,158,11,.4);
}
.spb-stars {
  display: flex; gap: 3px;
  color: #F59E0B;
  filter: drop-shadow(0 0 4px rgba(245,158,11,.5));
}
.spb-stars svg { display: block; }
.spb-score-label {
  font-size: .62rem;
  color: rgba(245,158,11,.7);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: .05em;
}

/* เส้นขวาง */
.spb-sep {
  width: 1px;
  align-self: stretch;
  background: rgba(245,158,11,.1);
  flex-shrink: 0;
}

/* ข้อความตรงกลาง */
.spb-center {
  flex: 1;
  padding: 22px 28px;
  min-width: 0;
}
.spb-headline {
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: .01em;
}
.spb-tagline {
  font-size: .72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* pill badges ขวา */
.spb-badges {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 24px;
  border-left: 1px solid rgba(245,158,11,.1);
}
.spb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.2);
  color: #F59E0B;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  letter-spacing: .03em;
}
.spb-badge svg { display: block; flex-shrink: 0; }

/* hide legacy */
.reviews-trust-bar, .reviews-stats, .review-stat-item,
.review-stat-num, .review-stars-row, .review-stat-label,
.rst-icon, .rst-value, .rst-stars, .rst-label,
.rtb-item, .rtb-left, .rtb-right, .rtb-divider { display: none !important; }

/* responsive */
@media (max-width: 767px) {
  .spb-wrap { flex-direction: column; }
  .spb-score { width: 100%; border-right: none; border-bottom: 1px solid rgba(245,158,11,.15); padding: 20px; }
  .spb-sep   { display: none; }
  .spb-center { padding: 16px 20px; }
  .spb-badges { border-left: none; border-top: 1px solid rgba(245,158,11,.1); width: 100%; flex-direction: row; flex-wrap: wrap; padding: 14px 20px; }
}


/* ── Testimonial card grid: 3 คอล desktop ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  padding: 0px 20px;
}

/* ── Card ── */
.review-card {
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: var(--ease);
  animation: rv-in .45s ease both;
}
.review-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,.3), var(--cyan), rgba(59,130,246,.3), transparent);
  opacity: 0; transition: opacity .3s;
}
.review-card:hover {
  border-color: rgba(59,130,246,.18);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.4), 0 0 0 1px rgba(59,130,246,.07);
}
.review-card:hover::before { opacity: 1; }
@keyframes rv-in { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:none} }

/* ── Quote icon ── */
.rv-quote-icon {
  color: rgba(59,130,246,.18);
  line-height: 1;
  flex-shrink: 0;
}
.rv-quote-icon svg { display: block; }

/* ── Stars ── */
.rv-stars {
  display: flex; gap: 3px;
  color: #F59E0B;
  filter: drop-shadow(0 0 4px rgba(245,158,11,.4));
}
.rv-stars svg { display: block; }

/* ── Text ── */
.rv-text {
  font-size: .85rem;
  color: rgba(239,246,255,.8);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Footer row: avatar + info + amount ── */
.rv-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-1);
  margin-top: auto;
}

/* Avatar circle with gradient */
.rv-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #D97706, #FBBF24);
  border: 1.5px solid rgba(245,158,11,.5);
  box-shadow: 0 2px 14px rgba(245,158,11,.3);
  color: #fff;
}
.rv-avatar svg { display: block; }

.rv-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.rv-phone {
  font-family: var(--f-mono);
  font-size: .76rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rv-time {
  font-size: .62rem;
  color: var(--text-muted);
  font-family: var(--f-mono);
  white-space: nowrap;
}

/* Amount badge */
.rv-amount-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  flex-shrink: 0;
}
.rv-amount-label {
  font-size: .58rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rv-amount {
  font-family: var(--f-mono);
  font-size: .88rem;
  font-weight: 800;
  color: var(--green);
  text-shadow: 0 0 10px rgba(16,185,129,.25);
  white-space: nowrap;
}

.reviews-more { text-align: center; margin-top: 32px; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .reviews-stats   { grid-template-columns: repeat(2,1fr); }
  .review-stat-item:nth-child(2) { border-right: none; }
  .review-stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.04); }
  .reviews-grid    { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 767px) {
  .reviews-stats   { grid-template-columns: repeat(2,1fr); }
  .review-stat-item { border-right: 1px solid rgba(255,255,255,.04) !important; border-top: 0 !important; }
  .review-stat-item:nth-child(2),
  .review-stat-item:nth-child(4) { border-right: none !important; }
  .review-stat-item:nth-child(3),
  .review-stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.04) !important; }
  .reviews-grid    { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   ARTICLES
═══════════════════════════════════════════════════════════ */
.articles-section { background: var(--bg); padding: 20px 0 32px; }
.articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.article-card {
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  overflow: hidden; transition: var(--ease);
  display: flex; flex-direction: column;
}
.article-card:hover {
  border-color: rgba(59,130,246,.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(59,130,246,.08);
}
.article-thumb-wrap {
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0; background: var(--surface-3);
}
.article-thumb-wrap svg { display: block; opacity: .18; color: var(--blue); }
.article-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-card:hover .article-thumb-wrap img { transform: scale(1.05); }
.article-body { padding: 16px 18px; display: flex; flex-direction: column; flex: 1; }
.article-cat {
  display: inline-block;
  background: rgba(59,130,246,.08); color: var(--blue-light);
  font-size: .6rem; font-weight: 800;
  padding: 2px 11px; border-radius: var(--r-pill);
  margin-bottom: 10px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgba(59,130,246,.16);
}
.article-title {
  font-family: var(--f-heading);
  font-size: .93rem; font-weight: 700;
  color: var(--text); line-height: 1.45; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-title a { color: inherit; }
.article-title a:hover { color: var(--blue-light); }
.article-excerpt {
  font-size: .79rem; color: var(--text-muted); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 14px; flex: 1;
}
.article-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border-1);
}
.article-date { display: inline-flex; align-items: center; gap: 4px; font-size: .69rem; color: var(--text-dim); }
.article-date svg { display: block; flex-shrink: 0; }
.article-read {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .73rem; font-weight: 700; color: var(--blue-light); transition: var(--ease);
}
.article-read svg { display: block; flex-shrink: 0; transition: transform .2s; }
.article-card:hover .article-read svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════════ */
.features-section { background: var(--surface-1); padding: 52px 0 68px; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 26px 22px; transition: var(--ease);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(59,130,246,.07) 0%, transparent 65%);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover { border-color: rgba(59,130,246,.18); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(0,0,0,.45); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 18px rgba(59,130,246,.1);
}
.feature-icon svg { display: block; color: var(--blue-light); }
.feature-title {
  font-family: var(--f-heading);
  font-size: .92rem; font-weight: 800;
  background: var(--g-blue-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px; letter-spacing: .02em;
}
.feature-desc { font-size: .77rem; color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════
   FOOTER — redesigned
══════════════════════════════════════════════════════════ */

/* ── CTA Strip ── */
.footer-cta-strip {
  background: linear-gradient(135deg, rgba(59,130,246,.12) 0%, rgba(99,102,241,.08) 100%);
  border-top: 1px solid rgba(59,130,246,.18);
  border-bottom: 1px solid rgba(59,130,246,.1);
  padding: 22px 0;
}
.footer-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-cta-text { display: flex; flex-direction: column; gap: 4px; }
.footer-cta-title {
  font-family: var(--f-heading);
  font-size: 1rem; font-weight: 800;
  color: var(--text);
}
.footer-cta-sub { font-size: .72rem; color: var(--text-muted); }
.footer-cta-actions { display: flex; gap: 10px; flex-shrink: 0; }
.footer-cta-btn {
  display: inline-flex; align-items: center;
  padding: 9px 22px; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 700;
  text-decoration: none; transition: var(--ease);
  white-space: nowrap;
}
.footer-cta-btn--primary {
  background: var(--g-blue-135); color: #fff;
  box-shadow: 0 4px 16px rgba(59,130,246,.25);
}
.footer-cta-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(59,130,246,.35); }
.footer-cta-btn--ghost {
  background: transparent; color: var(--blue-light);
  border: 1.5px solid rgba(59,130,246,.35);
}
.footer-cta-btn--ghost:hover { border-color: var(--blue-light); background: rgba(59,130,246,.06); }

/* ── Main footer body ── */
#site-footer { background: var(--surface-1); }
.footer-main {
  padding-top: 48px;
  position: relative;
}
.footer-main::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--blue) 30%, var(--cyan) 50%, var(--blue) 70%, transparent 95%);
}

.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px; padding-bottom: 36px;
  border-bottom: 1px solid var(--border-1);
}

/* Brand */
.footer-brand { display: flex; flex-direction: column; gap: 0; }
.footer-logo { margin-bottom: 12px; }
.footer-logo-link { display: inline-block; text-decoration: none; }
.footer-logo-link img { max-height: 38px; width: auto; display: block; }
.footer-logo-text-wrap { display: flex; flex-direction: column; gap: 2px; }
.footer-logo-text {
  font-family: var(--f-display);
  font-size: 1.5rem; font-weight: 900;
  background: var(--g-blue-135);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .06em; display: block;
}
.footer-logo-sub {
  font-size: .48rem; color: var(--text-dim);
  letter-spacing: .15em; text-transform: uppercase;
}

.footer-desc { font-size: .74rem; color: var(--text-muted); line-height: 1.78; margin-bottom: 14px; }

/* Contact Stack */
.footer-contact-stack { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--border-1); background: rgba(255,255,255,.015);
  text-decoration: none; transition: var(--ease);
}
.footer-contact-row:hover { border-color: rgba(59,130,246,.2); background: rgba(59,130,246,.04); }
.footer-contact-row svg { flex-shrink: 0; color: var(--text-muted); }
.footer-contact-row--line svg { color: #06C755; }
.footer-contact-row strong { display: block; font-size: .77rem; color: var(--text); -webkit-text-fill-color: var(--text); font-weight: 700; }
.footer-contact-row small { display: block; font-size: .65rem; color: var(--text-muted); margin-top: 1px; }

/* 2-col footer links */
.footer-links--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; }

/* Social */
.footer-social { display: flex; gap: 8px; margin-bottom: 16px; }
.footer-social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  font-size: .75rem; font-weight: 700;
  text-decoration: none; transition: var(--ease);
  border: 1.5px solid;
}
.footer-social-btn--line {
  background: rgba(6,211,0,.06);
  border-color: rgba(6,211,0,.25);
  color: #06C755;
}
.footer-social-btn--line:hover {
  background: rgba(6,199,85,.12);
  border-color: #06C755;
  box-shadow: 0 4px 14px rgba(6,199,85,.2);
}

/* Trust pills */
.footer-trust-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-trust-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: .64rem; font-weight: 700; letter-spacing: .04em;
}
.footer-trust-pill--age {
  background: rgba(244,63,94,.07);
  border: 1.5px solid rgba(244,63,94,.25);
  color: var(--red);
}
.footer-trust-pill--ssl {
  background: rgba(74,222,128,.06);
  border: 1.5px solid rgba(74,222,128,.2);
  color: #4ade80;
}
.footer-trust-pill--auto {
  background: rgba(59,130,246,.07);
  border: 1.5px solid rgba(59,130,246,.22);
  color: var(--blue-light);
}

/* Nav cols */
.footer-col-title {
  font-family: var(--f-heading);
  font-size: .73rem; font-weight: 900;
  color: var(--blue-light);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border-1);
  letter-spacing: .09em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.footer-col-title svg { display: block; flex-shrink: 0; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--text-muted); transition: var(--ease);
}
.footer-links a svg { display: block; color: rgba(59,130,246,.35); flex-shrink: 0; }
.footer-links a:hover { color: var(--blue-light); padding-left: 4px; }

/* Bank Bar */
.footer-bank-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; justify-content: center;
  border-bottom: 1px solid var(--border-1);
  flex-wrap: wrap;
}
.footer-bank-label {
  font-size: .68rem; font-weight: 700;
  color: var(--text-dim); letter-spacing: .08em;
  text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}
.footer-bank-logos { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-bank-icon {
  width: 28px; height: 28px; border-radius: 6px;
  object-fit: contain; opacity: .7;
  transition: opacity .2s; filter: grayscale(.2);
}
.footer-bank-icon:hover { opacity: 1; filter: none; }

/* Bottom bar */
.footer-bottom {
  padding: 18px 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: .7rem; color: var(--text-dim); }
.footer-copy a { color: var(--text-dim); }
.footer-copy a:hover { color: var(--blue-light); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { font-size: .7rem; color: var(--text-dim); transition: var(--ease); }
.footer-legal a:hover { color: var(--blue-light); }

/* keep old age badge for any legacy usage */
.footer-age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(244,63,94,.06);
  border: 1.5px solid rgba(244,63,94,.22);
  color: var(--red); font-size: .6rem; font-weight: 900;
}

/* ═══════════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════════ */
.toast-container { position: fixed; bottom: 82px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  background: rgba(9,21,40,.97);
  border: 1px solid rgba(59,130,246,.18);
  border-radius: var(--r-lg);
  padding: 11px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: .77rem; max-width: 270px;
  box-shadow: 0 8px 30px rgba(0,0,0,.6);
  animation: toast-in .28s cubic-bezier(0,.55,.45,1) both;
  backdrop-filter: blur(16px);
}
.toast-icon { color: var(--blue-light); display: flex; flex-shrink: 0; }
.toast-icon svg { display: block; }
.toast-amount { color: var(--green); font-weight: 700; font-family: var(--f-mono); }
@keyframes toast-in { from{opacity:0;transform:translateX(20px) scale(.96)} to{opacity:1;transform:none} }

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════════ */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ═══════════════════════════════════════════════════════════
   POST CONTENT
═══════════════════════════════════════════════════════════ */
.post-content { font-size: .92rem; line-height: 1.85; color: var(--text); }
.post-content h2 { font-family: var(--f-heading); color: var(--blue-light); margin: 28px 0 12px; font-size: 1.18rem; font-weight: 800; }
.post-content h3 { font-family: var(--f-heading); color: var(--blue); margin: 20px 0 10px; font-size: 1rem; font-weight: 700; }
.post-content p  { margin-bottom: 16px; }
.post-content ul, .post-content ol { margin: 0 0 16px 22px; }
.post-content a  { color: var(--blue-light); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--cyan); }
.post-content img { border-radius: var(--r-lg); }

/* ═══════════════════════════════════════════════════════════
   MAINPOST — SEO ARTICLE
═══════════════════════════════════════════════════════════ */
.mainpost-section { background: var(--bg); padding: 20px 0 24px; }
.mainpost-hero { margin-bottom: 30px; }
.mainpost-h1 {
  font-family: var(--f-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 800; line-height: 1.4;
  background: var(--g-blue-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.mainpost-lead { font-size: .9rem; color: var(--text-muted); line-height: 1.85; max-width: 860px; }
.mainpost-lead strong { color: var(--blue-light); -webkit-text-fill-color: var(--blue-light); }

.mainpost-toc {
  background: rgba(59,130,246,.04);
  border: 1px solid rgba(59,130,246,.12);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-lg);
  padding: 18px 22px; margin-bottom: 36px;
}
.mainpost-toc-title { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; color: var(--blue-light); margin-bottom: 12px; letter-spacing: .05em; text-transform: uppercase; }
.mainpost-toc-title svg { display: block; flex-shrink: 0; }
.mainpost-toc-list { padding-left: 18px; display: flex; flex-direction: column; gap: 7px; }
.mainpost-toc-list li { font-size: .8rem; }
.mainpost-toc-list a { color: var(--text-muted); transition: var(--ease); }
.mainpost-toc-list a:hover { color: var(--blue-light); }

.mainpost-body h2 {
  font-family: var(--f-heading);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  font-weight: 800;
  background: var(--g-blue-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 44px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(59,130,246,.08);
  scroll-margin-top: 88px;
}
.mainpost-body h2:first-child { margin-top: 0; }
.mainpost-body h3 {
  font-family: var(--f-heading);
  font-size: 1.02rem; font-weight: 700;
  color: var(--blue-light);
  margin: 26px 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.mainpost-body h3::before { content: '▸'; color: rgba(59,130,246,.45); font-size: .78rem; }
.mainpost-body p { font-size: .94rem; color: rgba(239,246,255,.75); line-height: 1.9; margin-bottom: 16px; }
.mainpost-body strong { color: var(--blue-light); -webkit-text-fill-color: var(--blue-light); }

.mainpost-keypoints {
  background: rgba(59,130,246,.04);
  border: 1px solid rgba(59,130,246,.1);
  border-radius: var(--r-lg);
  padding: 16px 20px; margin: 18px 0;
}
.mainpost-keypoints-title { font-size: .7rem; font-weight: 900; color: var(--blue-light); margin-bottom: 10px; letter-spacing: .1em; text-transform: uppercase; }
.mainpost-keypoints ul { padding-left: 0; display: flex; flex-direction: column; gap: 7px; }
.mainpost-keypoints li { font-size: .82rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: 8px; }
.mainpost-keypoints li::before { content: '◆'; color: rgba(59,130,246,.45); font-size: .52rem; margin-top: 5px; flex-shrink: 0; }

.mainpost-checklist { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
.mainpost-checklist-title { font-size: .7rem; font-weight: 900; color: var(--blue-light); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.mainpost-check-item {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(59,130,246,.04);
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-size: .82rem; color: rgba(239,246,255,.73); line-height: 1.6;
  transition: var(--ease);
}
.mainpost-check-item:hover { border-color: rgba(59,130,246,.16); background: rgba(59,130,246,.06); }
.mainpost-check-icon { flex-shrink: 0; font-size: .9rem; margin-top: 1px; }
.mainpost-check-item strong { color: var(--blue-light); -webkit-text-fill-color: var(--blue-light); display: block; margin-bottom: 2px; }

.mainpost-table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--r-lg); border: 1px solid var(--border-1); }
.mainpost-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.mainpost-table th {
  background: rgba(59,130,246,.07);
  color: var(--blue-light); font-size: .67rem; font-weight: 900;
  padding: 11px 16px; text-align: left;
  border-bottom: 1px solid rgba(59,130,246,.1);
  letter-spacing: .07em; text-transform: uppercase;
}
.mainpost-table td { padding: 11px 16px; font-size: .8rem; color: rgba(239,246,255,.7); border-bottom: 1px solid var(--border-1); }
.mainpost-table tr:last-child td { border-bottom: none; }
.mainpost-table tr:hover td { background: rgba(59,130,246,.025); }
.mainpost-table .highlight-col { background: rgba(59,130,246,.06); border-left: 2px solid rgba(59,130,246,.22); border-right: 2px solid rgba(59,130,246,.22); }
.mainpost-table .highlight-col strong { color: var(--blue-light); -webkit-text-fill-color: var(--blue-light); }

.mainpost-steps { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.mainpost-step { display: flex; align-items: flex-start; gap: 13px; }
.step-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--g-blue-135); color: #fff;
  font-size: .7rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px; box-shadow: 0 0 12px rgba(59,130,246,.35);
}
.mainpost-step > div { font-size: .83rem; color: rgba(239,246,255,.73); line-height: 1.68; }
.mainpost-step strong { color: var(--text); -webkit-text-fill-color: var(--text); }

.mainpost-tips-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 18px 0; }
.mainpost-tip {
  background: var(--surface-2); border: 1px solid var(--border-1);
  border-radius: var(--r-lg); padding: 16px 14px; transition: var(--ease);
}
.mainpost-tip:hover { border-color: rgba(59,130,246,.18); background: rgba(59,130,246,.04); }
.mainpost-tip strong { display: block; font-size: .8rem; color: var(--blue-light); -webkit-text-fill-color: var(--blue-light); margin-bottom: 6px; font-weight: 800; }
.mainpost-tip p { font-size: .75rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

.mainpost-security-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 18px 0; }
.mainpost-security-item {
  background: var(--surface-2); border: 1px solid rgba(59,130,246,.08);
  border-radius: var(--r-lg); padding: 16px 14px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 5px;
  transition: var(--ease);
}
.mainpost-security-item:hover { border-color: rgba(59,130,246,.22); background: rgba(59,130,246,.04); }
.mainpost-security-item strong { display: block; font-size: .75rem; color: var(--blue-light); -webkit-text-fill-color: var(--blue-light); font-weight: 800; }
.mainpost-security-item p { font-size: .7rem; color: var(--text-muted); margin: 0; }

.mainpost-contact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 18px 0; }
.mainpost-contact-item {
  background: var(--surface-2); border: 1px solid var(--border-1);
  border-radius: var(--r-lg); padding: 16px 14px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 1.3rem; transition: var(--ease);
}
.mainpost-contact-item:hover { border-color: rgba(59,130,246,.18); }
.mainpost-contact-item strong { display: block; font-size: .77rem; color: var(--text); -webkit-text-fill-color: var(--text); }
.mainpost-contact-item small { font-size: .67rem; color: var(--text-muted); }

.mainpost-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.mainpost-cta-btns .btn-register { padding: 12px 30px; height: auto; font-size: .85rem; border-radius: var(--r-md); }
.mainpost-cta-btns .btn-login    { padding: 12px 30px; height: auto; font-size: .85rem; border-radius: var(--r-md); }

.mainpost-faq { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.mainpost-faq-item {
  background: var(--surface-2); border: 1px solid var(--border-1);
  border-radius: var(--r-lg); overflow: hidden; transition: var(--ease);
}
.mainpost-faq-item:hover { border-color: rgba(59,130,246,.16); }
.mainpost-faq-q {
  padding: 14px 18px; font-size: .86rem; font-weight: 700;
  color: var(--blue-light); cursor: pointer;
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.mainpost-faq-q::before {
  content: 'Q'; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2);
  color: var(--blue-light); font-size: .66rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.mainpost-faq-a {
  padding: 0 18px 14px calc(18px + 32px);
  font-size: .82rem; color: rgba(239,246,255,.68); line-height: 1.78;
}

.mainpost-gold-check {
  flex-shrink: 0; font-size: 1rem; font-weight: 900;
  color: var(--blue-light); line-height: 1; margin-top: 2px;
  text-shadow: 0 0 10px rgba(59,130,246,.4);
}
.mainpost-article-img {
  display: block; width: 100%; height: auto;
  border-radius: var(--r-xl); margin: 24px 0;
  box-shadow: 0 8px 28px rgba(0,0,0,.4), 0 0 0 1px rgba(59,130,246,.07);
}
.mainpost-table-note {
  font-size: .71rem; color: var(--text-muted);
  padding: 10px 16px; border-top: 1px solid var(--border-1);
  font-style: italic; line-height: 1.6; margin: 0;
}
.td-good { color: var(--green) !important; font-weight: 700; }
.mainpost-blockquote {
  border-left: 3px solid var(--blue);
  background: rgba(59,130,246,.04);
  padding: 14px 18px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic; color: var(--text-muted);
  margin: 18px 0; font-size: .9rem; line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .games-grid    { grid-template-columns: repeat(5,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 991px) {
  .quick-btns-grid { grid-template-columns: repeat(3,1fr); }
  .games-grid      { grid-template-columns: repeat(4,1fr); }
  .articles-grid   { grid-template-columns: repeat(2,1fr); }
  .reviews-stats   { grid-template-columns: repeat(2,1fr); }
  .review-stat-item:nth-child(2) { border-right: none; }
  .review-stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.04); }
  .mainpost-security-grid,
  .mainpost-contact-grid { grid-template-columns: repeat(2,1fr); }
  .mainpost-tips-grid    { grid-template-columns: repeat(2,1fr); }
}

/* Desktop header */
@media (min-width: 1025px) {
  #site-header { height: var(--header-h); overflow: visible; }
  .header-inner { flex-wrap: nowrap; align-content: normal; padding: 0; }
  .site-logo { flex: none; height: auto; order: 0; }
  .header-nav {
    display: flex !important; position: static !important;
    width: auto; height: auto;
    background: none !important; backdrop-filter: none !important;
    flex-direction: row; border: none; padding: 0; gap: 6px; order: 0;
  }
  .header-nav .btn-social { display: inline-flex !important; }
  .mobile-header-social { display: none !important; }
  .menu-toggle { display: none !important; }
}

/* Mobile/Tablet header */
.mobile-header-social { display: none; }
.mobile-social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: var(--r-md);
  text-decoration: none; transition: var(--ease); flex-shrink: 0;
}
.mobile-social-btn svg { display: block; }
.mobile-line     { background: #06C755; color: #fff; }
.mobile-football {
  background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.18);
  color: var(--blue-light);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 13px; font-size: .77rem; font-weight: 700;
  width: auto; height: 34px; white-space: nowrap; border-radius: var(--r-sm);
}
.mobile-football:hover { background: rgba(59,130,246,.15); }
.mobile-football span[aria-hidden] { font-size: 1.05rem; line-height: 1; }
.mobile-telegram { background: #229ED9; color: #fff; }
.mobile-line:hover     { background: #05b54c; }
.mobile-telegram:hover { background: #1a8fc4; }

@media (max-width: 1024px) {
  :root { --header-h: 108px; }
  #site-header { height: var(--header-h); }
  .header-inner {
    display: flex; flex-wrap: wrap; align-items: center;
    align-content: flex-start; height: var(--header-h); gap: 0; padding: 10px 0 8px;
  }
  .site-logo { order: 1; flex: 1; display: flex; align-items: center; height: 48px; }
  .mobile-header-social { order: 2; display: flex; align-items: center; gap: 8px; height: 48px; flex-shrink: 0; }
  .header-nav {
    order: 3;
    display: flex !important; position: static !important;
    background: none !important; backdrop-filter: none !important;
    border: none; padding: 0; flex-direction: row;
    width: 100%; height: 40px; gap: 8px;
  }
  .header-nav .btn-social    { display: none !important; }
  .header-nav .btn-football  { display: none !important; }
  .btn-football-label        { display: none !important; }
  .header-nav .btn-login,
  .header-nav .btn-register  { flex: 1; justify-content: center; height: 38px; font-size: .81rem; padding: 0 10px; min-width: 0; }
  .menu-toggle { display: none !important; }
  #main-content { padding-top: var(--header-h); }
}

@media (max-width: 767px) {
  .slider-track    { min-height: 140px; }
  .games-grid      { grid-template-columns: repeat(3,1fr); gap: 7px; }
  .articles-grid   { grid-template-columns: 1fr; }
  .features-grid   { grid-template-columns: 1fr; }
  .footer-top      { grid-template-columns: 1fr; }
  .footer-bottom   { flex-direction: column; text-align: center; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-btn  { flex: 1; justify-content: center; }
  .footer-bank-bar { justify-content: center; }
  .footer-legal    { justify-content: center; }
  .reviews-stats   { grid-template-columns: repeat(2,1fr); }
  .mainpost-tips-grid { grid-template-columns: 1fr; }
  .mainpost-cta-btns  { flex-direction: column; }
}

@media (max-width: 480px) {
  .logo-sub        { display: none; }
  .review-stat-num { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════════════════════
   STICKY BOTTOM NAVBAR
═══════════════════════════════════════════════════════════ */
.sticky-bottom-nav {
  display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100;
  background: rgba(6,13,30,.97);
  backdrop-filter: blur(20px) saturate(2);
  -webkit-backdrop-filter: blur(20px) saturate(2);
  border-top: 1px solid rgba(59,130,246,.12);
  box-shadow: 0 -6px 30px rgba(0,0,0,.6);
  height: 58px; align-items: stretch; padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-sizing: content-box;
}
body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }

.sbn-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; text-decoration: none; color: var(--text-muted);
  font-size: .56rem; font-weight: 700; letter-spacing: .04em;
  padding: 6px 4px; transition: color .2s ease, background .2s ease;
  position: relative; overflow: hidden; min-width: 0;
}
.sbn-item::after {
  content: '';
  position: absolute; top: 0; left: 15%; right: 15%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 0 0 var(--r-pill) var(--r-pill);
  transform: scaleX(0); transform-origin: center;
  transition: transform .2s ease;
}
.sbn-item:hover, .sbn-item.active { color: var(--blue-light); background: rgba(59,130,246,.05); }
.sbn-item:hover::after, .sbn-item.active::after { transform: scaleX(1); }

.sbn-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sbn-icon svg { width: 19px; height: 19px; display: block; }
.sbn-label { line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.sbn-register {
  flex: 1.2; color: #fff;
  position: relative; overflow: visible; padding-top: 0;
}
.sbn-register::after { display: none; }

.sbn-center-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--g-blue-135);
  box-shadow: 0 -4px 18px rgba(59,130,246,.55), 0 2px 10px rgba(0,0,0,.5);
  margin-top: -16px; border: 2px solid rgba(255,255,255,.14);
  transition: transform .22s ease, box-shadow .22s ease; flex-shrink: 0;
}
.sbn-center-icon svg { width: 20px; height: 20px; color: #fff; }
.sbn-register:hover .sbn-center-icon {
  transform: translateY(-3px);
  box-shadow: 0 -8px 26px rgba(59,130,246,.7), 0 4px 14px rgba(0,0,0,.6);
}
.sbn-register .sbn-label { color: var(--blue-light); font-size: .56rem; margin-top: 2px; }
.sbn-home.active { color: var(--blue-light); }

/* ═══════════════════════════════════════════════════════════
   PROMOTIONS  —  template-promotions.php
═══════════════════════════════════════════════════════════ */
.ud-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:5px; font-size:.73rem; color:var(--text-muted); margin-bottom:10px; }
.ud-breadcrumb a { color:var(--text-muted); }
.ud-breadcrumb a:hover { color:var(--gold-light); }

.promo-hero {
  background: linear-gradient(180deg, var(--surface-1) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border-1);
  padding: 16px 0 14px;
}
.promo-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(234,197,95,.08); border: 1px solid rgba(234,197,95,.18);
  border-radius: 20px; padding: 4px 12px;
  font-size: .66rem; font-weight: 700; color: var(--gold);
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px;
}
.promo-hero-badge svg { display: block; flex-shrink: 0; }
.promo-hero-title {
  font-family: var(--f-heading);
  font-size: clamp(1.15rem, 2.6vw, 1.7rem); font-weight: 700;
  background: var(--g-gold-h);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.35; margin-bottom: 6px;
}
.promo-hero-sub { font-size: .82rem; color: var(--text-muted); }

.promo-body { padding: 28px 0 52px; }
.promo-content-wrap { max-width: 900px; margin: 0 auto; }
.promo-cover-img { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow-card); }
.promo-cover-img img { width: 100%; height: auto; display: block; }

.promo-entry { font-size: .93rem; line-height: 1.9; color: rgba(255,255,255,.82); margin-bottom: 36px; }
.promo-entry h2 { font-family: var(--f-heading); font-size: clamp(1.05rem,1.8vw,1.3rem); font-weight: 700; background: var(--g-gold-h); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border-1); }
.promo-entry h3 { font-family: var(--f-heading); font-size: 1rem; font-weight: 700; color: var(--gold-light); margin: 22px 0 8px; }
.promo-entry h4 { font-size: .93rem; font-weight: 700; color: var(--text); margin: 16px 0 6px; }
.promo-entry p { margin-bottom: 14px; }
.promo-entry a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.promo-entry a:hover { color: var(--gold-light); }
.promo-entry strong { color: var(--gold-light); -webkit-text-fill-color: var(--gold-light); }
.promo-entry ul, .promo-entry ol { padding-left: 20px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 5px; }
.promo-entry li { font-size: .9rem; color: rgba(255,255,255,.78); line-height: 1.72; }
.promo-entry ul li::marker, .promo-entry ol li::marker { color: var(--gold-dark); font-weight: 700; }
.promo-entry blockquote { border-left: 3px solid var(--gold-dark); background: rgba(234,197,95,.04); padding: 13px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 18px 0; font-style: italic; color: var(--text-muted); }
.promo-entry img { border-radius: var(--r-lg); width: 100%; height: auto; margin: 18px 0; box-shadow: 0 4px 20px rgba(0,0,0,.5); }
.promo-entry table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .83rem; border: 1px solid var(--border-1); border-radius: var(--r-md); overflow: hidden; }
.promo-entry th { background: rgba(234,197,95,.07); color: var(--gold); font-weight: 700; padding: 8px 13px; text-align: left; border-bottom: 1px solid var(--border-1); font-size: .72rem; text-transform: uppercase; }
.promo-entry td { padding: 8px 13px; border-bottom: 1px solid var(--border-1); color: rgba(255,255,255,.75); }
.promo-entry tr:last-child td { border-bottom: none; }
.promo-entry tr:hover td { background: rgba(234,197,95,.015); }
.promo-entry hr { border: none; border-top: 1px solid var(--border-1); margin: 28px 0; }

.promo-cta {
  background: linear-gradient(135deg, rgba(234,197,95,.06), rgba(163,137,66,.03));
  border: 1px solid rgba(234,197,95,.2); border-radius: var(--r-xl); padding: 26px 30px;
}
.promo-cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.promo-cta-title { font-family: var(--f-heading); font-size: 1.1rem; font-weight: 700; background: var(--g-gold-h); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 5px; }
.promo-cta-desc { font-size: .82rem; color: var(--text-muted); }
.promo-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

@media (max-width: 680px) {
  .promo-hero { padding: 12px 0 10px; }
  .promo-cta-inner { flex-direction: column; text-align: center; }
  .promo-cta-btns { width: 100%; justify-content: center; }
}

/* ── Page template padding resets ── */
.page-template-template-promotions #main-content,
.page-template-template-blog #main-content,
.page-template-template-score-football #main-content { padding-top: 0 !important; }
