/* ─── TOKENS ──────────────────────────────────────────────────────────────── */
:root {
  --bg:        #0d0e16;
  --bg-2:      #12131e;
  --bg-3:      #181a28;
  --surface:   rgba(255,255,255,.05);
  --surface-2: rgba(255,255,255,.08);
  --surface-3: rgba(255,255,255,.13);
  --ink:       #eeede8;
  --muted:     #7a8199;
  --muted-2:   #525870;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);

  --gold:      #f0c14b;
  --gold-2:    #f7d068;
  --gold-dark: #c49a2e;
  --gold-soft: rgba(240,193,75,.14);
  --gold-glow: rgba(240,193,75,.30);

  --red:       #e74c3c;
  --red-soft:  rgba(231,76,60,.15);
  --green:     #27ae60;
  --green-soft:rgba(39,174,96,.15);
  --crash-c:   #3498db;
  --crash-soft:rgba(52,152,219,.15);
  --danger:    #ff5252;
  --ok:        #2ecc71;
  --lime:      #c8e62e;
  --lime-soft: rgba(200,230,46,.14);
  --lime-glow: rgba(200,230,46,.28);

  --header-h:  62px;
  --alert-h:   0px;
  --catnav-h:  52px;
  --radius:    10px;
  --radius-lg: 16px;
  --ease:      cubic-bezier(.22,1,.36,1);
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html, body { min-height: 100%; min-height: 100dvh; }
button, input, select, textarea, a { font: inherit; color: inherit; }
a { text-decoration: none; }
img, video, iframe, svg { display: block; max-width: 100%; height: auto; }
iframe { max-width: 100%; }
.hidden { display: none !important; }

/* Avoid guest/login flash while session is resolving on refresh */
body.auth-checking:not(.is-authed) #guestActions,
body.auth-checking:not(.is-authed) #userActions {
  visibility: hidden;
}
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }

/* ─── BODY ───────────────────────────────────────────────────────────────── */
body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
.top-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.top-header-inner {
  max-width: 1380px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(.5rem,2vw,1.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-width: 0;
}

.brand, .brand-mark {
  font-family: Syne, sans-serif; font-weight: 800; font-size: 1.35rem;
  letter-spacing: -.05em; color: #fff;
  display: inline-flex; align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand em, .brand-mark em {
  font-style: normal;
  color: var(--gold);
}
.brand-mark--inline,
.footer-bottom .brand-mark {
  font-size: inherit;
  letter-spacing: inherit;
  font-weight: 700;
  display: inline;
}
.header-actions, .auth-btns, .nav-user {
  display: flex; gap: .45rem; align-items: center; justify-content: flex-end;
  flex-shrink: 0;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  appearance: none; border: 0; border-radius: 8px;
  padding: .58rem 1.1rem; font-weight: 700; font-size: .85rem;
  cursor: pointer; line-height: 1; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s ease, filter .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-login {
  background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-login:hover { background: var(--surface-3); }

.btn-register {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  color: #1a1000; box-shadow: 0 3px 14px var(--gold-glow);
}
.btn-register:hover { filter: brightness(1.08); box-shadow: 0 5px 22px var(--gold-glow); }

.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--surface-2); }

.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(240,193,75,.5);
}
.btn-outline-gold:hover { background: var(--gold-soft); border-color: var(--gold); }

/* ─── HEADER USER BAR (ref: casino account header) ───────────────────────── */
.hdr-user-bar {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}

/* Account → Mesajlar */
.sb-nav-badge {
  margin-left: auto;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}
.account-card--messages { padding: 0; overflow: hidden; }
.msg-list { display: flex; flex-direction: column; }
.msg-item {
  display: block;
  width: 100%;
  text-align: left;
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 1rem 1.15rem;
  cursor: pointer;
  transition: background .14s ease;
}
.msg-item:hover { background: rgba(255,255,255,.03); }
.msg-item:last-child { border-bottom: 0; }
.msg-item--unread {
  background: rgba(240,193,75,.06);
  border-left: 3px solid var(--gold);
  padding-left: calc(1.15rem - 3px);
}
.msg-item--unread:hover { background: rgba(240,193,75,.1); }
.msg-item-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
  font-size: .72rem;
  color: var(--muted-2);
}
.msg-type {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.msg-title {
  margin: 0 0 .25rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
}
.msg-preview {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.msg-detail {
  padding: 1.25rem 1.25rem 1.5rem;
}
.msg-detail-meta {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .72rem;
  color: var(--muted-2);
}
.msg-detail-title {
  margin: 0 0 .85rem;
  font-family: Syne, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.25;
}
.msg-detail-body {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
}
.hdr-user-profile {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-right: .35rem;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  transition: background .16s ease;
}
.hdr-user-profile:hover {
  background: rgba(255,255,255,.03);
}
.hdr-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.hdr-level {
  position: absolute;
  top: -4px;
  left: -4px;
  z-index: 2;
  min-width: 18px;
  height: 18px;
  padding: 0 .25rem;
  border-radius: 4px;
  background: var(--lime);
  color: #1a1a00;
  font-size: .62rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}
.hdr-avatar {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: .78rem;
  background: linear-gradient(135deg, #2a2d3d, #1a1d28);
  border: 2px solid rgba(240,193,75,.45);
  color: var(--gold);
}
.hdr-user-info { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.hdr-username-row {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-weight: 700;
  font-size: .82rem;
  max-width: 9rem;
}
.hdr-username-row span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hdr-verified {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1000;
  font-size: .58rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hdr-balance {
  font-family: "IBM Plex Mono", monospace;
  font-size: .76rem;
  color: var(--muted);
}
.hdr-pay-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hdr-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 .95rem;
  border-radius: 8px;
  border: 1px solid rgba(240,193,75,.45);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.hdr-pay-btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-2);
}
.hdr-pay-deposit {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  border-color: transparent;
  color: #1a1000;
  box-shadow: 0 2px 12px var(--gold-glow);
  gap: .4rem;
}
.hdr-bal-beside {
  display: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
  padding-right: .4rem;
  border-right: 1px solid rgba(26, 16, 0, .22);
  line-height: 1;
}
.hdr-pay-deposit:hover {
  filter: brightness(1.06);
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  color: #1a1000;
  border-color: transparent;
}
.hdr-pay-txt {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}
.hdr-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 1rem;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-weight: 800;
  font-size: .82rem;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.hdr-account-btn:hover {
  background: var(--surface-3);
  border-color: rgba(240,193,75,.35);
  color: var(--gold-2);
}
@media (max-width: 900px) {
  .hdr-user-profile { display: none; }
  .hdr-user-bar { gap: .3rem; min-width: 0; }
  .header-actions { gap: .35rem; min-width: 0; }
  .hdr-bal-beside { display: inline-block; }
  /* Ana sayfa oyun kategori sekmeleri (Popüler / Yeni / …) */
  .section-tabs-bar { display: none !important; }
}
@media (max-width: 640px) {
  .brand { font-size: 1.15rem; }
  .hdr-pay-txt { font-size: .68rem; }
  .hdr-pay-btn { height: 34px; padding: 0 .55rem; }
  .hdr-account-btn { height: 34px; padding: 0 .55rem; font-size: .72rem; }
  .auth-btns .btn { padding: .42rem .7rem; font-size: .72rem; }
}
@media (max-width: 400px) {
  .hdr-pay-withdraw .hdr-pay-txt { display: none; }
  .hdr-pay-withdraw::before { content: "↑"; font-weight: 800; font-size: .9rem; }
  .hdr-pay-deposit .hdr-pay-txt { font-size: .65rem; }
  .hdr-account-btn { padding: 0 .5rem; }
  .hdr-account-btn span { font-size: 0; }
  .hdr-account-btn::before { content: "👤"; font-size: .95rem; }
}

/* ─── BALANCE / USER CHIP (legacy) ───────────────────────────────────────── */
.balance-chip {
  font-family: "IBM Plex Mono", monospace; font-size: .78rem;
  padding: .48rem .85rem; border-radius: 8px;
  background: var(--gold-soft); border: 1px solid rgba(240,193,75,.25);
  color: var(--gold);
}
.user-chip {
  display: flex; align-items: center; gap: .4rem;
  padding: .3rem .65rem .3rem .3rem; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line-2);
  transition: border-color .18s, background .18s;
}
.user-chip:hover { border-color: rgba(240,193,75,.3); background: var(--surface-2); }
.user-avatar {
  width: 1.65rem; height: 1.65rem; border-radius: 6px;
  display: grid; place-items: center;
  font-family: Syne, sans-serif; font-weight: 800; font-size: .7rem;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1000; flex-shrink: 0;
}
.user-name {
  font-weight: 700; font-size: .82rem;
  max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ─── CATEGORY NAV ───────────────────────────────────────────────────────── */
.category-nav {
  position: sticky; top: var(--header-h); z-index: 55;
  height: var(--catnav-h);
  background: #0f1019;
  border-bottom: 1px solid rgba(240,193,75,.2);
  overflow-x: auto; scrollbar-width: none;
  width: 100%;
  max-width: 100%;
}
.category-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  max-width: 1380px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(.5rem,1.5vw,1rem);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: .15rem;
  min-width: min-content;
}
.cat-nav-item {
  display: flex; align-items: center; justify-content: center;
  padding: 0 .9rem; min-width: 72px;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s, background .18s;
  cursor: pointer; white-space: nowrap;
  position: relative;
  flex: 0 0 auto;
}
.cat-nav-item:hover { color: var(--ink); background: var(--surface); }
.cat-nav-item.active {
  color: var(--gold); border-bottom-color: var(--gold);
  background: rgba(240,193,75,.06);
}
.cat-nav-live::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  margin-right: 6px;
  animation: live-pulse 1.2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.6); }
}
.nav-soon {
  display: inline-flex;
  align-items: center;
  margin-left: .35rem;
  padding: .12rem .38rem;
  border-radius: 999px;
  border: 1px solid rgba(240,193,75,.35);
  background: rgba(240,193,75,.12);
  color: var(--gold);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  vertical-align: middle;
}
.cat-nav-item.active .nav-soon {
  border-color: rgba(240,193,75,.55);
  background: rgba(240,193,75,.2);
}
.footer-soon {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
}
.mnav-soon {
  display: block;
  margin-top: .1rem;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Sports coming soon */
.coming-soon-page {
  min-height: calc(100dvh - var(--header-h, 64px) - var(--catnav-h, 48px) - 4rem);
  display: grid;
  place-items: center;
  padding: 2.5rem clamp(.75rem,2vw,1.5rem);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(46,204,113,.12), transparent 55%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(240,193,75,.08), transparent 50%),
    var(--bg);
}
.coming-soon-card {
  width: min(560px, 100%);
  text-align: center;
  padding: 2.2rem 1.6rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(46,204,113,.25);
  background:
    linear-gradient(160deg, rgba(46,204,113,.08), transparent 50%),
    var(--bg-3);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  padding: .28rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(240,193,75,.4);
  background: rgba(240,193,75,.12);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.coming-soon-title {
  margin: .9rem 0 .55rem;
  font-family: Syne, sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.coming-soon-lead {
  margin: 0 auto 1.35rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}
.coming-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
}
.section-soon-tag {
  display: inline-flex;
  align-items: center;
  padding: .22rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(240,193,75,.35);
  background: rgba(240,193,75,.1);
  color: var(--gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sports-soon-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(46,204,113,.22);
  background:
    linear-gradient(120deg, rgba(46,204,113,.1), transparent 55%),
    var(--bg-3);
  text-decoration: none;
  transition: border-color .18s ease, transform .16s ease;
}
.sports-soon-banner:hover {
  border-color: rgba(240,193,75,.4);
  transform: translateY(-1px);
}
.sports-soon-eyebrow {
  display: inline-block;
  margin-bottom: .35rem;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.sports-soon-banner-copy strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .3rem;
}
.sports-soon-banner-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
  max-width: 48ch;
}
.sports-soon-cta {
  flex-shrink: 0;
  color: var(--gold);
  font-weight: 800;
  font-size: .88rem;
}

/* ─── MAIN LAYOUT ────────────────────────────────────────────────────────── */
main { width: 100%; min-width: 0; max-width: 100%; overflow-x: clip; }
.container { max-width: 1380px; margin: 0 auto; padding: 0 clamp(.65rem,2vw,1.5rem); width: 100%; }

/* ─── VIEWS ──────────────────────────────────────────────────────────────── */
.view { display: none; animation: fadeUp .38s var(--ease) both; }
.view.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HERO SLIDER ────────────────────────────────────────────────────────── */
/* CMS banner oranı 1920×400 — çerçeveyi buna sabitle, görsel ezilmesin */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1920 / 400;
  height: auto;
  background: #0d0e16;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  opacity: 0;
  animation: heroFade 18s infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

@keyframes heroFade {
  0%, 5%   { opacity: 0; }
  10%, 28% { opacity: 1; }
  33%, 100%{ opacity: 0; }
}

.slide-casino {
  background:
    radial-gradient(ellipse 55% 70% at 88% 30%, rgba(240,193,75,.28) 0%, transparent 58%),
    radial-gradient(ellipse 45% 55% at 8% 90%, rgba(240,193,75,.08) 0%, transparent 50%),
    linear-gradient(115deg, #14110a 0%, #0d0e16 48%, #100e08 100%);
}
.slide-sports {
  background:
    radial-gradient(ellipse 55% 70% at 88% 30%, rgba(46,160,90,.22) 0%, transparent 58%),
    linear-gradient(115deg, #0c1410 0%, #0d0e16 48%, #0a120e 100%);
}
.slide-live {
  background:
    radial-gradient(ellipse 55% 70% at 88% 30%, rgba(200,80,70,.2) 0%, transparent 58%),
    linear-gradient(115deg, #14100f 0%, #0d0e16 48%, #120c0c 100%);
}
.slide-casino::after, .slide-sports::after, .slide-live::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,14,22,.72) 0%, rgba(13,14,22,.35) 42%, transparent 72%),
    linear-gradient(180deg, transparent 55%, rgba(13,14,22,.55) 100%);
}

.hero-slide-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: clamp(1.25rem, 3.5vw, 2.5rem) clamp(.75rem, 2vw, 1.5rem);
}
.hero-brand {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -.04em;
  color: #fff;
  margin: 0 0 .65rem;
  line-height: 1;
}
.hero-brand em { font-style: normal; color: var(--gold); }
.hero-eyebrow {
  display: none;
}
.hero-slide h1,
.hero-slide h2.hero-title {
  font-family: Syne, sans-serif; font-weight: 800;
  font-size: clamp(1.85rem, 5.2vw, 3.35rem);
  line-height: 1.02; letter-spacing: -.045em;
  margin: 0 0 .75rem; max-width: 16ch;
  color: #fff;
}
.hero-slide h1 em,
.hero-slide h2.hero-title em { font-style: normal; color: var(--gold); }
.hero-lead {
  color: rgba(238,237,232,.72); font-size: clamp(.92rem, 1.35vw, 1.05rem);
  max-width: 36ch; margin: 0 0 1.35rem; line-height: 1.55;
  font-weight: 450;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-actions .btn { padding: .72rem 1.35rem; font-size: .88rem; font-weight: 700; }

.hero-deco { display: none; }

.hero-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .4rem; z-index: 5;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 4px;
  background: rgba(255,255,255,.28);
  transition: all .3s ease;
  animation: dotFade 18s infinite;
}
.hero-dot:nth-child(1) { animation-delay: 0s; }
.hero-dot:nth-child(2) { animation-delay: 6s; }
.hero-dot:nth-child(3) { animation-delay: 12s; }
@keyframes dotFade {
  0%, 5%   { background: rgba(255,255,255,.28); width: 7px; }
  10%, 28% { background: var(--gold); width: 20px; }
  33%, 100%{ background: rgba(255,255,255,.28); width: 7px; }
}

/* Home destinations */
.home-destinations {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #12131e 0%, var(--bg) 100%);
}
.home-dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.home-dest {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.25rem;
  border-right: 1px solid var(--line);
  transition: background .18s ease;
  min-width: 0;
  text-align: center;
}
.home-dest:last-child { border-right: 0; }
.home-dest:hover { background: rgba(240,193,75,.04); }
.home-dest-label {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.home-dest:hover .home-dest-label { color: var(--gold); }
.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}
.home-section-title {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.home-section-lead {
  margin: .2rem 0 0;
  font-size: .82rem;
  color: var(--muted);
}

/* CMS-driven hero slides */
.hero-slider.is-cms .hero-slide {
  animation: none;
  opacity: 0;
  transition: opacity .85s var(--ease);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-decoration: none;
  color: inherit;
}
.hero-slider.is-cms .hero-slide.has-image {
  /* Banner görseli çerçeveye sığsın; oranı bozma */
  background-size: cover;
  background-position: center center;
}
.hero-slider.is-cms .hero-slide.active { opacity: 1; z-index: 2; }
.hero-slider.is-cms .hero-slide:not(.active) { z-index: 1; }
/* Image slides: no dark scrim — banner artwork stays bright */
.hero-slide-cms.has-image::before,
.hero-slide-cms.has-image::after {
  content: none;
}
/* Text-only CMS slides (no image): light gradient for readability */
.hero-slide-cms:not(.has-image)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(13,14,22,.55) 0%, rgba(13,14,22,.2) 50%, transparent 100%);
  pointer-events: none;
}
.hero-slide-cms:not(.has-image)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(13,14,22,.55) 100%);
}
.hero-slider.is-cms .hero-dot {
  animation: none;
  cursor: pointer;
}
.hero-slider.is-cms .hero-dot.active {
  background: var(--gold);
  width: 22px;
}

/* ─── JACKPOT BAR ────────────────────────────────────────────────────────── */
.jackpot-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.jackpot-inner {
  display: flex; align-items: stretch; min-height: 58px;
}
.jackpot-brand {
  display: flex; align-items: center; gap: .55rem;
  padding: 0 1.15rem; border-right: 1px solid var(--line);
  font-family: Syne, sans-serif;
  font-size: .78rem; font-weight: 800; letter-spacing: -.01em;
  color: var(--gold); flex-shrink: 0; white-space: nowrap;
}
.jackpot-brand-ico { display: none; }
.jackpot-amounts {
  flex: 1; display: flex; align-items: stretch;
}
.jackpot-item {
  flex: 1; display: flex; flex-direction: row; align-items: center;
  justify-content: center; gap: .55rem;
  padding: .65rem .75rem;
  border-right: 1px solid var(--line);
  transition: background .18s ease;
}
.jackpot-item:hover { background: rgba(255,255,255,.02); }
.jackpot-item:last-child { border-right: 0; }
.jackpot-tier {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.jackpot-mega .jackpot-tier { color: var(--gold); }
.jackpot-major .jackpot-tier { color: #b8b8b8; }
.jackpot-minor .jackpot-tier { color: #b08968; }
.jackpot-value {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(.85rem,1.5vw,1.05rem);
  font-weight: 500; letter-spacing: -.01em;
  color: var(--ink);
}
.jackpot-mega .jackpot-value { color: var(--gold); font-size: clamp(.9rem,1.7vw,1.15rem); }

/* ─── LIVE TICKER ────────────────────────────────────────────────────────── */
.live-ticker {
  display: flex; align-items: center;
  background: var(--bg); border-bottom: 1px solid var(--line);
  height: 36px; overflow: hidden;
}
.live-ticker-label {
  display: flex; align-items: center; gap: .4rem;
  padding: 0 .9rem; flex-shrink: 0;
  border-right: 1px solid var(--line);
  font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); height: 100%;
}
.live-ticker-label .live-dot { background: var(--ok); }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  animation: live-pulse 1.4s ease-in-out infinite;
}
.ticker-track { flex: 1; overflow: hidden; }
.ticker-inner {
  display: flex; animation: ticker 35s linear infinite; white-space: nowrap;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: .4rem;
  padding: 0 1.35rem; font-size: .8rem; font-weight: 600;
  border-right: 1px solid var(--line); height: 40px;
  color: var(--muted); flex-shrink: 0;
}
.ticker-item span:first-child { color: var(--ink); }
.ticker-amt { color: var(--ok); font-family: "IBM Plex Mono", monospace; font-size: .76rem; }

/* ─── FEATURED EVENTS ────────────────────────────────────────────────────── */
.events-section { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.section-header-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 0 .6rem;
}
.section-bar-title {
  font-family: Syne, sans-serif; font-size: .8rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: .5rem;
}
.section-bar-title::before {
  content: ""; width: 3px; height: 14px; background: var(--gold);
  border-radius: 2px; display: inline-block;
}
.events-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .75rem; padding-bottom: 1rem;
}
.event-card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .85rem; overflow: hidden;
  transition: border-color .18s ease, transform .18s var(--ease);
}
.event-card:hover { border-color: rgba(240,193,75,.25); transform: translateY(-2px); }
.event-league {
  display: flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .65rem;
}
.event-match {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: .5rem; align-items: center; margin-bottom: .7rem;
}
.event-team { font-size: .84rem; font-weight: 700; }
.event-team:last-child { text-align: right; }
.event-center { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.event-time { font-size: .68rem; color: var(--muted); text-align: center; line-height: 1.3; }
.event-vs {
  font-family: Syne, sans-serif; font-size: .68rem; font-weight: 800;
  color: var(--gold); letter-spacing: .08em;
}
.event-odds { display: grid; grid-template-columns: repeat(3,1fr); gap: .4rem; }
.odds-btn {
  appearance: none; border: 1px solid var(--line-2); background: var(--surface);
  border-radius: 8px; padding: .45rem .3rem; cursor: pointer; text-align: center;
  font-size: .72rem; color: var(--muted); line-height: 1.4;
  transition: all .18s ease;
}
.odds-btn strong { display: block; color: var(--ink); font-size: .86rem; }
.odds-btn:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }
.odds-btn:hover strong { color: var(--gold); }

/* ─── GAME SECTIONS (HOME) ───────────────────────────────────────────────── */
.games-section {
  padding: 1.75rem 0 2.25rem;
  background: var(--bg);
}
.section-tabs-bar {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 1rem; margin-bottom: 1.1rem;
}
.section-tabs {
  display: flex; gap: .2rem; overflow-x: auto;
  background: transparent; border: 0;
  border-radius: 0; padding: 0; scrollbar-width: none; flex-shrink: 1;
  width: 100%;
  border-bottom: 1px solid var(--line);
}
.section-tabs::-webkit-scrollbar { display: none; }
.sec-tab {
  appearance: none; border: 0; background: transparent;
  color: var(--muted); font-weight: 600; font-size: .8rem;
  letter-spacing: .01em; text-transform: none;
  padding: .65rem .85rem; border-radius: 0; cursor: pointer; white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .18s, border-color .18s;
}
.sec-tab:hover { color: var(--ink); background: transparent; }
.sec-tab.active {
  background: transparent;
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 700;
}

.text-link {
  color: var(--gold); font-weight: 700; font-size: .84rem;
  display: flex; align-items: center; gap: .25rem;
  transition: gap .18s ease; flex-shrink: 0;
}
.text-link:hover { gap: .45rem; }

/* ─── GAME GRID ──────────────────────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr));
  gap: .75rem;
}
.game-tile {
  position: relative; aspect-ratio: 3/4;
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: var(--bg-3);
  cursor: pointer; padding: 0; color: var(--ink); text-align: left;
  content-visibility: auto;
  contain-intrinsic-size: auto 200px;
  transition: transform .22s var(--ease), border-color .22s ease, box-shadow .22s ease;
}
.game-tile:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(240,193,75,.4);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.game-tile .thumb {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(145deg, #1c2035, var(--bg-3));
  font-family: Syne, sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--gold);
}
.game-tile .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity .28s ease, transform .42s var(--ease);
}
.game-tile .thumb img.is-loaded { opacity: 1; }
.game-tile:hover .thumb img { transform: scale(1.08); }
.games-more-wrap {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding: 1.25rem 0 1.75rem;
}
.games-more-btn {
  appearance: none;
  border: 1px solid rgba(240, 193, 75, .35);
  background: linear-gradient(180deg, rgba(240, 193, 75, .14), rgba(240, 193, 75, .06));
  color: var(--gold);
  font-family: inherit;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .75rem 1.6rem;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.games-more-btn:hover {
  border-color: rgba(240, 193, 75, .55);
  background: linear-gradient(180deg, rgba(240, 193, 75, .22), rgba(240, 193, 75, .1));
  transform: translateY(-1px);
}
.games-more-btn:active { transform: translateY(0); }
.games-more-hint {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .02em;
}
.game-tile .meta {
  position: absolute; inset: auto 0 0;
  padding: 2.5rem .7rem .75rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.94));
}
.game-tile .name {
  font-weight: 700; font-size: .82rem; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.game-tile .sub {
  margin-top: .18rem; font-size: .64rem; color: var(--gold);
  letter-spacing: .04em; text-transform: uppercase;
}
.game-tile-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.55); opacity: 0; transition: opacity .2s ease;
}
.game-tile:hover .game-tile-play { opacity: 1; }
.game-tile-play-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  display: grid; place-items: center;
  box-shadow: 0 4px 18px var(--gold-glow);
  color: #1a1000; font-size: 1rem;
  transform: scale(.8); transition: transform .2s var(--ease);
}
.game-tile:hover .game-tile-play-btn { transform: scale(1); }

.empty {
  grid-column: 1/-1; padding: 2.5rem 1rem; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--muted); font-size: .88rem;
}
.status-line { color: var(--muted); font-size: .86rem; }
.status-line.err { color: var(--danger); }
.status-line.ok { color: var(--ok); }

.app-toast-host {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(4, 6, 12, 0);
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s ease, background-color .22s ease;
}
.app-toast-host.visible {
  opacity: 1;
  background: rgba(4, 6, 12, .6);
  pointer-events: auto;
}
.app-toast {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  width: min(420px, 100%);
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 82, 82, .45);
  background: linear-gradient(180deg, rgba(48, 12, 18, .98), rgba(28, 10, 14, .98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 82, 82, .08);
  transform: scale(.94) translateY(6px);
  transition: transform .22s ease;
}
.app-toast--wide {
  width: min(520px, 100%);
}
.app-toast-details {
  margin: .65rem 0 0;
  padding: .55rem .75rem;
  list-style: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .06);
}
.app-toast-details li {
  position: relative;
  padding: .2rem 0 .2rem .9rem;
  font-size: .8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .78);
}
.app-toast-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .35rem;
  height: .35rem;
  border-radius: 999px;
  background: var(--gold);
  opacity: .85;
}
.app-toast--err .app-toast-details li::before { background: #ff6b6b; }
.app-toast--ok .app-toast-details li::before { background: var(--ok); }
.app-toast-host.visible .app-toast {
  transform: scale(1) translateY(0);
}
.app-toast--ok {
  border-color: rgba(46, 204, 113, .45);
  background: linear-gradient(180deg, rgba(12, 36, 24, .98), rgba(10, 24, 18, .98));
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(46, 204, 113, .08);
}
.app-toast--warn {
  border-color: rgba(240, 193, 75, .45);
  background: linear-gradient(180deg, rgba(40, 32, 10, .98), rgba(28, 22, 8, .98));
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(240, 193, 75, .08);
}
.app-toast-icon {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  background: var(--danger);
}
.app-toast--ok .app-toast-icon { background: var(--ok); }
.app-toast--warn .app-toast-icon { background: var(--gold); color: #1a1200; }
.app-toast-body { flex: 1 1 auto; min-width: 0; }
.app-toast-title {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .2rem;
}
.app-toast-msg {
  margin: 0;
  font-size: .86rem;
  line-height: 1.45;
  color: #f3c6c6;
}
.app-toast--ok .app-toast-msg { color: #b9f0cf; }
.app-toast--warn .app-toast-msg { color: #f5e3a8; }
.app-toast-close {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.app-toast-close:hover { color: var(--ink); background: rgba(255, 255, 255, .12); }

/* ─── LOBBY ──────────────────────────────────────────────────────────────── */
.lobby-view-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1.35rem clamp(.75rem, 2vw, 1.5rem) 3rem;
}
.lobby-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.lobby-head-text { min-width: 0; }
.lobby-title {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
  line-height: 1.15;
}
.lobby-count {
  display: none;
}
.lobby-search-wrap {
  flex: 1 1 220px;
  max-width: 320px;
}
.lobby-search-wrap input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--ink);
  padding: .7rem 1rem;
  outline: none;
  transition: border-color .18s, background .18s;
}
.lobby-search-wrap input:focus {
  border-color: rgba(240,193,75,.4);
  background: rgba(255,255,255,.04);
}
.lobby-search-wrap input::placeholder { color: var(--muted-2); }

.lobby-providers-bar {
  margin: 0 0 1.15rem;
  border-bottom: 1px solid var(--line);
}
.providers {
  display: flex;
  gap: .15rem;
  overflow-x: auto;
  padding: 0;
  margin: 0;
  scrollbar-width: none;
}
.providers::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: .7rem .85rem;
  margin-bottom: -1px;
  font-weight: 600;
  font-size: .8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s, border-color .18s;
}
.chip:hover { color: var(--ink); }
.chip.active {
  background: transparent;
  border-bottom-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}
.lobby-theme-live .chip.active { border-bottom-color: var(--red); color: var(--red); }
.lobby-theme-crash .chip.active { border-bottom-color: var(--crash-c); color: var(--crash-c); }
.lobby-theme-sports .chip.active,
.lobby-theme-virtual .chip.active { border-bottom-color: var(--green); color: var(--green); }

.lobby-games-grid {
  gap: .85rem;
}
.lobby-games-grid .game-tile {
  border-radius: 10px;
  border-color: rgba(255,255,255,.06);
}
.lobby-games-grid .game-tile:hover {
  border-color: rgba(240,193,75,.35);
  box-shadow: 0 12px 28px rgba(0,0,0,.4);
}

/* legacy category banner (unused on lobby; keep for safety) */
.category-banner {
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 1.5rem 1.5rem 1.3rem; margin-bottom: 1.25rem; min-height: 130px;
}
.category-banner h2 {
  margin: .4rem 0 .3rem; font-family: Syne, sans-serif;
  font-size: clamp(1.4rem,2.8vw,2rem); letter-spacing: -.03em;
}
.category-banner p { margin: 0; color: var(--muted); font-size: .86rem; }
.cat-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 6px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1);
}
.lobby-toolbar { margin-bottom: 1rem; }
.providers-wrap { margin-bottom: .85rem; }
.toolbar-row { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center; }
.toolbar-row input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.03); color: var(--ink);
  padding: .72rem 1rem; outline: none;
}

/* ─── PLAY VIEW ──────────────────────────────────────────────────────────── */
.view[data-view="play"] { padding: 0; }
.view[data-view="play"].active {
  display: flex;
  flex-direction: column;
  min-height: 80vh;
}
.play-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: .65rem; padding: .55rem clamp(.5rem, 2vw, 1rem);
  background: rgba(5,6,10,.96); border-bottom: 1px solid var(--line);
  min-width: 0;
  flex: 0 0 auto;
}
.play-title {
  font-family: Syne, sans-serif; font-size: .92rem; font-weight: 700; color: var(--gold);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex: 1 1 auto; min-width: 0;
}
.play-stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 60vh;
  min-height: 60dvh;
  min-width: 0;
  background: #05060a;
}
.play-frame {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-height: 60vh;
  min-height: 60dvh;
  border: 0;
  background: #000;
  display: block;
}
.play-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 35%, rgba(240, 193, 75, 0.08), transparent 60%),
    rgba(5, 6, 10, 0.92);
}
.play-loading.hidden {
  display: none;
}
.play-loading-card {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.play-loading-spinner {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2.5px solid rgba(240, 193, 75, 0.2);
  border-top-color: var(--gold, #f0c14b);
  animation: play-spin 0.7s linear infinite;
}
.play-loading-text {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--text, #f2f2f4);
  letter-spacing: -0.02em;
}
@keyframes play-spin {
  to { transform: rotate(360deg); }
}

/* ─── ACCOUNT ────────────────────────────────────────────────────────────── */
.account-hero {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1rem;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 1.5rem; margin-bottom: 1.25rem;
  background: linear-gradient(145deg, rgba(240,193,75,.08), transparent 55%), var(--bg-3);
}
.account-hero-main h2 { margin: 0; font-family: Syne,sans-serif; font-size:1.6rem; letter-spacing:-.04em; }
.account-hero-row { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; }
.account-avatar {
  width: 3.5rem; height: 3.5rem; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: Syne, sans-serif; font-weight: 800; font-size: 1.2rem;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1000;
  box-shadow: 0 4px 18px var(--gold-glow);
}
.account-hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.account-stat { display: flex; flex-direction: column; gap: .15rem; }
.account-stat-label {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); font-weight: 700;
}
.account-stat-value { font-family: "IBM Plex Mono",monospace; font-size: 1.25rem; color: var(--gold); }
.account-stat-value.bonus { color: var(--ok); }

/* ─── ACCOUNT SHELL (sidebar + main) ─────────────────────────────────────── */
.account-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.view[data-view="account"] { padding: 1.35rem clamp(.75rem,2vw,1.5rem) 3rem; }
.account-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--catnav-h) + 1rem);
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 1rem .9rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sb-profile {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.sb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: .8rem;
  background: var(--gold);
  color: #1a1000;
  flex-shrink: 0;
}
.sb-profile-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.sb-profile-text strong {
  font-size: .86rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sb-profile-text span {
  font-size: .72rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sb-quick-pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}
.sb-pay-btn {
  padding: .55rem .4rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: .78rem;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.sb-pay-btn:hover {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--ink);
}
.sb-pay-btn--deposit {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1000;
  box-shadow: none;
}
.sb-pay-btn--deposit:hover {
  filter: brightness(1.05);
  background: var(--gold);
  color: #1a1000;
}
.sb-promo-btns {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding-top: .65rem;
  border-top: 1px solid var(--line);
}
.sb-promo-btn {
  display: block;
  width: 100%;
  padding: .5rem .65rem;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .74rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.sb-promo-btn:hover {
  background: var(--surface);
  border-color: rgba(240,193,75,.35);
  color: var(--gold);
}
button.sb-promo-btn {
  appearance: none;
  font: inherit;
}
.sb-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .5rem .65rem;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  font-size: .76rem;
  color: var(--muted);
}
.sb-balance strong {
  font-family: "IBM Plex Mono", monospace;
  color: var(--gold);
  font-size: .86rem;
  font-weight: 700;
}
.sb-nav {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin-top: .1rem;
}
.sb-nav-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  padding: .55rem .7rem;
  border-radius: 8px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.sb-nav-item:hover { background: rgba(255,255,255,.03); color: var(--ink); }
.sb-nav-item.active,
.sb-nav-item.account-tab.active {
  background: rgba(240,193,75,.08);
  color: var(--gold);
  border-left-color: var(--gold);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: none;
}
.sb-nav-ico {
  width: 1.25rem;
  text-align: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.sb-nav-logout {
  margin-top: .45rem;
  color: #ff8a8a !important;
  border-left-color: transparent !important;
  background: transparent !important;
}
.sb-nav-logout:hover {
  color: #ffb0b0 !important;
  background: rgba(255, 80, 80, .1) !important;
}
.account-main { min-width: 0; }
.account-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}
.account-page-head--row { flex-wrap: wrap; }
.account-page-title {
  font-family: Syne, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0;
  line-height: 1.15;
  color: var(--ink);
}
.account-page-sub {
  margin: .3rem 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

.account-tabs {
  display: flex; gap: .3rem; overflow-x: auto; padding-bottom: .4rem;
  margin-bottom: 1rem; scrollbar-width: none;
}
.account-tabs::-webkit-scrollbar { display: none; }
.account-tab {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); border-radius: 8px; padding: .5rem 1rem;
  font-weight: 700; font-size: .82rem; cursor: pointer; transition: all .18s var(--ease);
}
.account-tabs .account-tab:hover { color: var(--ink); border-color: var(--line-2); }
.account-tabs .account-tab.active { background: var(--gold); border-color: var(--gold); color: #1a1000; }
.account-panel { display: none; }
.account-panel.active { display: block; animation: fadeUp .3s var(--ease) both; }
.account-global-status { margin-bottom: .75rem; }
.account-global-status:empty { display: none; margin: 0; }
.account-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
}

.account-card {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: none;
}
.account-card--profile { max-width: 720px; }
.account-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.account-card-head--row { flex-wrap: wrap; }
.account-card-head h3 {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.account-card-note {
  margin: 1rem 0 0;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}
.account-divider {
  height: 1px;
  margin: 1.15rem 0;
  background: linear-gradient(90deg, transparent, rgba(240,193,75,.28), transparent);
  border: 0;
}
.account-form label {
  display: block;
  margin: .8rem 0 .3rem;
  font-size: .67rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.account-form label:first-of-type { margin-top: 0; }
.account-form input,
.account-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,.32);
  color: var(--ink);
  padding: .72rem .9rem;
  margin-bottom: .55rem;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
  font: inherit;
}
.account-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
  cursor: pointer;
}
.account-form input:focus,
.account-form select:focus {
  border-color: rgba(240,193,75,.45);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.account-form input[type="file"] {
  padding: .55rem .7rem;
  color: var(--muted);
  cursor: pointer;
}
.account-form input[type="file"]::file-selector-button {
  margin-right: .75rem;
  border: 1px solid rgba(240,193,75,.35);
  border-radius: 6px;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 700;
  font-size: .75rem;
  padding: .4rem .7rem;
  cursor: pointer;
}
.account-form .btn { margin-top: .35rem; width: auto; min-width: 140px; }
.account-meta-list {
  margin-top: .85rem;
  display: grid;
  gap: .45rem;
}
.account-meta-list:empty { display: none; }
.account-meta-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .65rem;
  padding: .65rem .75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.2);
  font-size: .82rem;
  color: var(--ink);
}
.account-meta-item span { color: var(--muted); }
.account-meta-empty {
  margin-top: .85rem;
  padding: .7rem .8rem;
  border-radius: 8px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.panel {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.25rem;
}
.panel-wide { grid-column: 1/-1; }
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin-bottom: .85rem;
}
.panel-head h3 { margin: 0; }
.panel h3 { margin: 0 0 .55rem; font-family: Syne,sans-serif; font-size: 1rem; letter-spacing: -.02em; }
.panel label {
  display: block; margin: .75rem 0 .3rem;
  font-size: .67rem; color: var(--gold); text-transform: uppercase;
  letter-spacing: .08em; font-weight: 700;
}
.panel label:first-of-type { margin-top: 0; }
.panel input {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  background: rgba(0,0,0,.3); color: var(--ink);
  padding: .72rem .9rem; margin-bottom: .7rem; outline: none;
  transition: border-color .18s ease;
}
.panel input:focus { border-color: rgba(240,193,75,.4); }
.panel .btn { margin-top: .2rem; }

.info-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.info-list > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  padding: .75rem 1rem;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.info-list > div:last-child { border-bottom: 0; }
.info-list > div:nth-child(even) { background: rgba(255,255,255,.02); }
.info-list dt {
  margin: 0;
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.info-list dd {
  margin: 0;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  word-break: break-word;
  text-align: right;
}
.quick-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.quick-stat {
  border-radius: 10px; border: 1px solid var(--line);
  background: rgba(0,0,0,.2); padding: 1rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.quick-stat span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.quick-stat strong { font-family: Syne,sans-serif; font-size: 1.3rem; color: var(--gold); }
.deposit-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.deposit-row input {
  flex: 1; min-width: 130px; border: 1px solid var(--line); border-radius: 8px;
  background: rgba(0,0,0,.3); color: var(--ink); padding: .72rem .9rem;
  margin-bottom: 0; outline: none; transition: border-color .18s ease;
}
.deposit-row input:focus { border-color: rgba(240,193,75,.4); }

/* ─── DATA TABLES ────────────────────────────────────────────────────────── */
.account-card .data-table-wrap,
.account-panel .data-table-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,.18);
}
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.data-table th, .data-table td {
  padding: .72rem .9rem; text-align: left; border-bottom: 1px solid var(--line);
}
.data-table th {
  font-size: .65rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted-2); font-weight: 700;
  background: linear-gradient(180deg, rgba(240,193,75,.08), rgba(0,0,0,.2));
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background .14s ease; }
.data-table tbody tr:hover { background: rgba(240,193,75,.04); }
.data-table .amount-pos,
.hx-item-amt.amount-pos,
.hx-bet-col .amount-pos,
.hx-summary-value.amount-pos { color: var(--ok); font-family: "IBM Plex Mono",monospace; }
.data-table .amount-neg,
.hx-item-amt.amount-neg,
.hx-bet-col .amount-neg,
.hx-summary-value.amount-neg { color: var(--danger); font-family: "IBM Plex Mono",monospace; }

/* ─── ACCOUNT HISTORY ────────────────────────────────────────────────────── */
.account-card--history {
  padding: 0;
  overflow: hidden;
}
.hx-toolbar {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem 1.1rem .9rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}
.hx-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: .2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hx-filters::-webkit-scrollbar { display: none; }
.hx-filters--types {
  border-bottom: 1px solid var(--line);
  padding-bottom: .15rem;
  margin: 0 -.15rem;
  padding-left: .15rem;
  padding-right: .15rem;
}
.hx-filter {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: .55rem .7rem;
  margin-bottom: -1px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s, border-color .18s;
}
.hx-filter:hover { color: var(--ink); }
.hx-filter.active {
  border-bottom-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}
.hx-filter-count {
  display: inline-flex;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 .3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  font-family: "IBM Plex Mono", monospace;
  background: rgba(255,255,255,.08);
  color: inherit;
}
.hx-filter.active .hx-filter-count {
  background: rgba(240,193,75,.2);
  color: var(--gold);
}
.hx-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.hx-filters--range { gap: .35rem; flex-wrap: wrap; }
.hx-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  border-radius: 999px;
  padding: .32rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .16s, color .16s, background .16s;
}
.hx-chip:hover {
  color: var(--ink);
  border-color: rgba(255,255,255,.18);
}
.hx-chip.active {
  color: #1a1000;
  background: var(--gold);
  border-color: var(--gold);
}
.hx-toolbar-meta {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.hx-result-count {
  font-size: .76rem;
  color: var(--muted);
  font-weight: 600;
}
.hx-toolbar-hint {
  font-size: .72rem;
  color: var(--gold);
  font-weight: 600;
}
.hx-filter-reset {
  border: 1px solid rgba(240,193,75,.35);
  background: transparent;
  color: var(--gold);
  border-radius: 999px;
  padding: .3rem .65rem;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}
.hx-filter-reset:hover { background: var(--gold-soft); }
.hx-list-wrap { min-height: 12rem; }
.hx-empty { padding: 2.5rem 1rem; }
.hx-list { display: flex; flex-direction: column; }
.hx-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .85rem 1rem;
  align-items: start;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  transition: background .14s ease;
}
.hx-item:last-child { border-bottom: 0; }
.hx-item:hover { background: rgba(255,255,255,.025); }
.hx-item-rail { padding-top: .12rem; }
.hx-item-main { min-width: 0; }
.hx-item-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .55rem;
}
.hx-item-title {
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
}
.hx-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .15rem;
  margin-top: .3rem;
  font-size: .74rem;
  color: var(--muted-2);
  line-height: 1.4;
}
.hx-item-meta span { min-width: 0; }
.hx-dot {
  margin: 0 .35rem;
  opacity: .55;
}
.hx-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .28rem;
  min-width: 6.5rem;
}
.hx-item-amt {
  font-family: "IBM Plex Mono", monospace;
  font-size: .95rem;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
  letter-spacing: -.02em;
}
.hx-item-time {
  font-size: .7rem;
  color: var(--muted-2);
  white-space: nowrap;
  text-align: right;
}
.hx-item--denied { opacity: .82; }
.hx-item--denied .hx-item-title { color: var(--muted); }
.hx-item-amt.amount-muted {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: .85;
}
.hx-pager-bar {
  display: flex;
  justify-content: flex-end;
  padding: .75rem 1.1rem;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.12);
}
.hx-pager-bar:empty,
.hx-pager-bar:has(.pager:empty) { display: none; }
.hx-pill {
  display: inline-flex;
  align-items: center;
  padding: .22rem .55rem;
  border-radius: 6px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}
.hx-pill--ok {
  background: rgba(46,204,113,.12);
  color: var(--ok);
  border-color: rgba(46,204,113,.28);
}
.hx-pill--danger {
  background: rgba(255,82,82,.12);
  color: var(--danger);
  border-color: rgba(255,82,82,.28);
}
.hx-pill--gold {
  background: var(--gold-soft);
  color: var(--gold);
  border-color: rgba(240,193,75,.3);
}
.hx-pill--warn {
  background: rgba(247,208,104,.12);
  color: var(--gold-2);
  border-color: rgba(247,208,104,.28);
}
.hx-pill--info {
  background: rgba(52,152,219,.12);
  color: var(--crash-c);
  border-color: rgba(52,152,219,.28);
}
.hx-pill--sports {
  background: rgba(56, 189, 248, .14);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, .35);
}
.hx-item--sports { cursor: default; }
.hx-sports-detail-btn {
  margin-top: .35rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
.hx-sports-detail-btn:hover { text-decoration: underline; }
.sports-bet-body { margin: .2rem 0 1rem; }
.sports-bet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem .85rem;
  margin-bottom: .9rem;
}
.sports-bet-grid span {
  display: block;
  font-size: .68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .15rem;
}
.sports-bet-grid strong {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}
.sports-bet-desc {
  margin: 0 0 .85rem;
  padding: .65rem .75rem;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  font-size: .82rem;
  color: var(--muted);
}
.sports-bet-sels {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.sports-bet-sels li {
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--line);
}
.sports-bet-sels li:last-child { border-bottom: 0; }
.sports-bet-sel-title { font-size: .86rem; font-weight: 600; }
.sports-bet-sel-sub { margin-top: .2rem; font-size: .72rem; color: var(--muted); }
.sports-bet-empty { margin: 0; font-size: .82rem; color: var(--muted); }
.hx-pill--muted {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
}

@media (max-width: 640px) {
  .hx-item {
    grid-template-columns: auto minmax(0, 1fr);
    gap: .55rem .75rem;
  }
  .hx-item-side {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    width: 100%;
  }
  .hx-item-amt { text-align: left; font-size: .9rem; }
  .hx-item-time { text-align: right; }
  .hx-toolbar { padding: .85rem .85rem .75rem; }
  .hx-item { padding: .85rem; }
  .hx-filter { padding: .45rem .55rem; font-size: .72rem; }
}

.badge {
  display: inline-flex; align-items: center;
  padding: .18rem .5rem; border-radius: 6px;
  font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.badge-ok { background: rgba(46,204,113,.12); color: var(--ok); border: 1px solid rgba(46,204,113,.25); }
.badge-warn { background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(240,193,75,.25); }
.badge-err { background: rgba(255,82,82,.12); color: var(--danger); border: 1px solid rgba(255,82,82,.25); }
.badge-muted { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }

.pager { display: flex; gap: .35rem; align-items: center; }
.pager-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 7px; padding: .35rem .65rem; font-size: .76rem; font-weight: 600; cursor: pointer;
  transition: all .18s ease;
}
.pager-btn:hover:not(:disabled) {
  color: var(--gold);
  border-color: rgba(240,193,75,.4);
  background: var(--gold-soft);
}
.pager-btn:disabled { opacity: .4; cursor: not-allowed; }
.pager-info { font-size: .78rem; color: var(--muted); }
.security-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.security-tips li {
  position: relative;
  padding: .55rem 0 .55rem 1.1rem;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
}
.security-tips li:last-child { border-bottom: 0; }
.security-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .95rem;
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: none;
}

/* ─── PROMOTIONS PAGE ────────────────────────────────────────────────────── */
.view[data-view="lobby"],
.view[data-view="promotions"] { padding: 0; }
.lobby-page-slider {
  /* inherits .promo-page-slider */
  margin-bottom: 0;
}
.lobby-inline-status {
  min-height: 0;
  margin: 0 0 .75rem;
  font-size: .82rem;
}
.lobby-inline-status:empty { display: none; margin: 0; }

.promo-page-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1920 / 400;
  height: auto;
  background:
    radial-gradient(ellipse 60% 80% at 90% 30%, rgba(240,193,75,.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 10% 70%, rgba(231,76,60,.1) 0%, transparent 50%),
    linear-gradient(145deg, #1a1408, #0d0e16 60%, #12100e);
  border-bottom: 1px solid rgba(240,193,75,.15);
}
.promo-page-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .85s var(--ease);
  background-color: #0d0e16;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: inherit;
  z-index: 1;
  pointer-events: none;
}
.promo-page-slide.has-image {
  background-size: cover;
  background-position: center center;
}
.promo-page-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.promo-page-slide.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(13,14,22,.55) 0%, rgba(13,14,22,.18) 45%, transparent 72%);
  pointer-events: none;
}
.promo-page-slide.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,14,22,.65) 100%);
  pointer-events: none;
}
.promo-page-slide.is-fallback::before {
  content: none;
}
.promo-page-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(1.4rem, 3.5vw, 2.6rem) clamp(.75rem, 2vw, 1.5rem);
  min-width: 0;
}
.promo-page-slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .55rem;
}
.promo-page-slide-title {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 0 0 .5rem;
  max-width: 16ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-page-slide-title span { color: var(--gold); }
.promo-page-slide-sub {
  color: rgba(255,255,255,.7);
  font-size: clamp(.88rem, 1.5vw, 1.05rem);
  max-width: 42ch;
  margin: 0 0 1.1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-page-slider .hero-dots {
  bottom: 1rem;
}
.promo-page-slider .hero-dot {
  cursor: pointer;
  animation: none;
}
.promo-page-slider .hero-dot.active {
  background: var(--gold);
  width: 22px;
}

.promo-page-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1.35rem clamp(.75rem, 2vw, 1.5rem) 3rem;
}
.promo-page-head {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.promo-page-title {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
  line-height: 1.15;
}

.promo-filter-bar {
  display: flex;
  gap: .15rem;
  overflow-x: auto;
  padding: 0;
  margin: 0 0 1.25rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
  scrollbar-width: none;
}
.promo-filter-bar::-webkit-scrollbar { display: none; }
.promo-filter {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: .7rem .85rem;
  margin-bottom: -1px;
  font-weight: 600;
  font-size: .8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s, border-color .18s;
}
.promo-filter:hover { color: var(--ink); background: transparent; }
.promo-filter.active {
  background: transparent;
  border-bottom-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}

.promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
  padding: 0;
  min-width: 0;
}
.promo-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 3.5rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.promo-bonus-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  background: var(--bg-2);
  transition: border-color .2s ease, box-shadow .2s ease;
  min-width: 0;
}
.promo-bonus-card:hover {
  transform: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  border-color: rgba(240,193,75,.28);
}
.promo-bonus-card[data-cat].hidden { display: none; }

.promo-card-media {
  width: 100%;
  height: 148px;
  overflow: hidden;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.promo-card-banner {
  height: 148px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.15rem;
  background-size: cover;
  background-position: center;
  min-width: 0;
}
.promo-card-banner.has-image .promo-card-deco { opacity: .12; }
.promo-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.65) 100%);
}
.promo-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-card-deco {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  opacity: .16;
  pointer-events: none;
  z-index: 1;
}
.promo-card-amount {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -.04em;
  line-height: 1.1;
  position: relative;
  z-index: 2;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-card-body {
  padding: 1rem 1.15rem 1.15rem;
  background: transparent;
  min-width: 0;
  overflow: hidden;
}
.promo-card-type {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
  max-width: 100%;
}
.promo-card-title {
  font-family: Syne, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .4rem;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-card-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}
.promo-card-terms {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .9rem;
  max-width: 100%;
}
.promo-term {
  display: inline-flex;
  align-items: flex-start;
  gap: .25rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .22rem .5rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--muted);
  max-width: 100%;
}
.promo-term-label { color: var(--muted-2); font-weight: 600; margin-right: .1rem; }
.promo-card-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.promo-card-actions .btn {
  flex: 1;
  text-align: center;
  font-size: .8rem;
  padding: .55rem .9rem;
}

/* In-page promo detail (inside promotions view) */
.promo-detail-container {
  padding: 0 clamp(.75rem, 2vw, 1.5rem) 2.5rem;
  max-width: 920px;
  margin: 0 auto;
}
.promo-detail-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.25rem;
}
.promo-detail-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 8px;
  padding: .48rem .85rem;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .18s ease;
}
.promo-detail-back:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: var(--surface-2);
}
.promo-detail-back-ico { font-size: 1rem; line-height: 1; }
.promo-detail-head-title {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.3;
  min-width: 0;
}
.promo-detail-panel {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  overflow: hidden;
}
.promo-detail-panel .promo-detail-hero {
  min-height: clamp(150px, 30vw, 240px);
  border-radius: 0;
}
.promo-detail-panel .promo-detail-body {
  padding: 1.35rem 1.4rem 1.6rem;
}
.promo-bonus-card[data-promo-open] { cursor: pointer; }

/* Banner color themes */
.promo-banner-gold {
  background: linear-gradient(135deg, #2a1e04 0%, #1a1408 40%, #0d0a04 100%);
}
.promo-banner-gold .promo-card-amount { color: var(--gold); }
.promo-banner-red {
  background: linear-gradient(135deg, #2a0808 0%, #1a0808 40%, #0d0606 100%);
}
.promo-banner-red .promo-card-amount { color: #ff6b6b; }
.promo-banner-green {
  background: linear-gradient(135deg, #082a10 0%, #081a0a 40%, #040d06 100%);
}
.promo-banner-green .promo-card-amount { color: #6eff9a; }
.promo-banner-blue {
  background: linear-gradient(135deg, #080d2a 0%, #08101a 40%, #04060d 100%);
}
.promo-banner-blue .promo-card-amount { color: #6ba8ff; }
.promo-banner-purple {
  background: linear-gradient(135deg, #15082a 0%, #10081a 40%, #08040d 100%);
}
.promo-banner-purple .promo-card-amount { color: #c46bff; }
.promo-banner-orange {
  background: linear-gradient(135deg, #2a1408 0%, #1a0e04 40%, #0d0704 100%);
}
.promo-banner-orange .promo-card-amount { color: #ffa56b; }

/* Bonus detail modal */
.promo-detail-backdrop {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(0,0,0,.78); backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 1rem;
}
.promo-detail-modal {
  width: min(560px, 100%);
  max-width: calc(100% - 2rem);
  max-height: min(90vh, 820px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #14151f;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,.65);
  animation: fadeUp .28s var(--ease) both;
  min-width: 0;
}
.promo-detail-hero {
  position: relative;
  height: 180px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
}
.promo-detail-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,14,22,.95) 100%);
}
.promo-detail-close {
  position: absolute; top: .65rem; right: .65rem; z-index: 2;
  width: 2rem; height: 2rem; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.45); color: #fff;
  cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.promo-detail-body {
  padding: 1.1rem 1.25rem 1.35rem;
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 0;
  max-width: 100%;
}
.promo-detail-amount {
  font-family: Syne, sans-serif; font-weight: 800;
  font-size: 1.35rem; color: var(--gold); margin-bottom: .25rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-detail-title {
  font-family: Syne, sans-serif; font-size: 1.25rem; font-weight: 700;
  margin-bottom: .35rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-detail-type {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .85rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-detail-text {
  font-size: .9rem; color: rgba(255,255,255,.78); line-height: 1.65;
  white-space: pre-wrap;
  margin-bottom: 1rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-detail-text p {
  margin: 0 0 .75rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-detail-actions {
  display: flex; gap: .55rem; margin-top: .25rem; flex-wrap: wrap;
  max-width: 100%;
}
.promo-detail-actions .btn {
  min-width: 0;
  max-width: 100%;
}

/* ─── AUTH / MODAL ───────────────────────────────────────────────────────── */
.auth-switch { margin: .85rem 0 0; text-align: center; font-size: .84rem; color: var(--muted); }
.link-btn {
  appearance: none; border: 0; background: none; color: var(--gold);
  font-weight: 700; cursor: pointer; padding: 0; font: inherit;
}
.link-btn:hover { text-decoration: underline; }
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .73rem; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.78); backdrop-filter: blur(14px);
  display: grid; place-items: center; padding: 1rem;
}
.modal {
  width: min(440px,100%);
  background: #14151f; border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 1.5rem;
  animation: fadeUp .28s var(--ease) both;
  box-shadow: 0 30px 80px rgba(0,0,0,.65);
}
.modal-auth {
  position: relative;
  width: min(440px, 100%);
  max-height: min(92vh, 900px);
  overflow-y: auto;
  padding: 1.35rem 1.35rem 1.5rem;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(240,193,75,.12), transparent 55%),
    linear-gradient(180deg, #1a1c2a 0%, #12131c 100%);
  border: 1px solid rgba(240,193,75,.18);
}
#authModal[data-auth-mode="register"] .modal-auth {
  width: min(520px, 100%);
}
.auth-close {
  position: absolute;
  top: .7rem;
  right: .85rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.auth-close:hover { color: var(--ink); background: var(--surface); }
.auth-brand {
  display: flex;
  justify-content: center;
  margin: .15rem 0 1rem;
}
.auth-brand .brand-mark {
  font-family: Syne, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.auth-brand .brand-mark em {
  font-style: normal;
  color: var(--gold);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .3rem;
  padding: .28rem;
  margin-bottom: 1.15rem;
  border-radius: 12px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--line);
}
.auth-tab {
  appearance: none;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  padding: .62rem .5rem;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.auth-tab:hover { color: var(--ink); }
.auth-tab.is-active {
  background: linear-gradient(135deg, rgba(240,193,75,.22), rgba(240,193,75,.1));
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(240,193,75,.28);
}
.auth-head { margin-bottom: 1.1rem; text-align: center; }
.auth-head h3 {
  margin: 0 0 .35rem;
  font-family: Syne, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.auth-head p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}
.auth-form { display: flex; flex-direction: column; gap: 0; }
.auth-section {
  margin: .35rem 0 1rem;
  padding: .9rem .9rem .35rem;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
}
.auth-section-title {
  margin: 0 0 .75rem !important;
  font-size: .68rem !important;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold) !important;
}
.auth-field { margin-bottom: .85rem; }
.modal-auth .auth-field > input,
.modal-auth .auth-field > select,
.modal-auth .auth-field > textarea,
.modal-auth .password-wrap > input {
  margin-bottom: 0;
}
.auth-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
@media (max-width: 520px) {
  .auth-field-grid { grid-template-columns: 1fr; }
}
.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .3rem;
}
.auth-label-row label { margin-bottom: 0; }
.auth-forgot-link { font-size: .74rem; font-weight: 600; }
.auth-code-input {
  letter-spacing: .35em !important;
  text-align: center;
  font-size: 1.15rem !important;
  font-weight: 700;
}
.auth-actions { margin-top: .25rem; }
.auth-actions .auth-submit {
  width: 100%;
  justify-content: center;
  padding: .85rem 1rem;
  font-size: .95rem;
}
.auth-status { min-height: 1.2em; margin: .15rem 0 .55rem; }

/* Verify / reset-code: never show full email fields (masked hint only). */
#authModal[data-auth-mode="verify"] label[for="authEmail"],
#authModal[data-auth-mode="verify"] #authEmail,
#authModal[data-auth-mode="verify"] label[for="authForgotEmail"],
#authModal[data-auth-mode="verify"] #authForgotEmail,
#authModal[data-auth-mode="verify"] label[for="authVerifyEmail"],
#authModal[data-auth-mode="verify"] #authVerifyEmail,
#authModal[data-auth-mode="reset-code"] label[for="authForgotEmail"],
#authModal[data-auth-mode="reset-code"] #authForgotEmail {
  display: none !important;
}
.modal-promo {
  width: min(380px, 100%);
  position: relative;
  border-color: rgba(240,193,75,.28);
}
.modal-promo h3 {
  font-family: Syne, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 .35rem;
  color: var(--ink);
}
.modal-promo-lead {
  color: var(--muted);
  font-size: .85rem;
  margin: 0 0 1rem;
  line-height: 1.45;
}
.modal-promo label {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .35rem;
}
.modal-promo input {
  width: 100%;
  margin-bottom: .75rem;
  padding: .7rem .85rem;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
}
.modal-promo input:focus {
  outline: none;
  border-color: rgba(240,193,75,.55);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.modal-promo-close {
  position: absolute;
  top: .7rem;
  right: .85rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.modal-promo-close:hover { color: var(--ink); }
.auth-switch-inline { font-size: .79rem; color: var(--muted); }
.field-hint { margin: .35rem 0 0 !important; font-size: .74rem !important; line-height: 1.45 !important; color: #8892a8 !important; }
.auth-field .field-hint { margin-top: .35rem !important; }
.password-wrap { position: relative; }
.password-wrap input { margin-bottom: 0 !important; padding-right: 2.6rem; width: 100%; }
.pw-toggle {
  position: absolute; right: .55rem; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font-size: .9rem; line-height: 1; padding: .2rem;
}
.dob-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-bottom: .35rem;
}
.modal h3 { margin: 0 0 .45rem; font-family: Syne,sans-serif; font-size: 1.3rem; letter-spacing: -.03em; }
.modal p { margin: 0 0 1.1rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.modal label {
  display: block; margin-bottom: .3rem;
  font-size: .68rem; color: var(--gold); text-transform: uppercase;
  letter-spacing: .08em; font-weight: 700;
}
.modal input, .modal select, .modal textarea {
  width: 100%; margin-bottom: .85rem;
  border: 1px solid var(--line); border-radius: 8px;
  background: rgba(0,0,0,.35); color: var(--ink); padding: .72rem .9rem;
  outline: none; transition: border-color .18s ease;
}
.modal input:focus, .modal select:focus, .modal textarea:focus {
  border-color: rgba(240,193,75,.4);
}
.modal input::placeholder { color: var(--muted-2); }
.modal select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8199' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
  padding-right: 2.4rem;
}
.modal textarea { resize: vertical; min-height: 72px; }
.modal-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer { background: #090a12; border-top: 1px solid var(--line); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) repeat(3, minmax(120px, 1fr)) minmax(240px, 1.55fr);
  gap: 2rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem clamp(.75rem, 2vw, 1.5rem) 1.75rem;
  align-items: start;
}
.footer-brand a.brand { display: block; margin-bottom: .8rem; font-size: 1.2rem; }
.footer-brand p { color: var(--muted); font-size: .82rem; line-height: 1.65; max-width: 28ch; margin-bottom: 1rem; }
.footer-social {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}
.footer-social:empty { display: none; }
.footer-col-title {
  font-family: Syne, sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  margin-bottom: .85rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}
.footer-col a:not(.footer-social-btn) {
  display: block; font-size: .8rem; color: var(--muted);
  padding: .28rem 0; transition: color .18s ease;
  line-height: 1.35;
}
.footer-col a:not(.footer-social-btn):hover { color: var(--gold); }
.footer-col a:not(.footer-social-btn)::before { content: "›"; margin-right: .35rem; color: var(--muted-2); }

/* Yasal: iki sütunlu kompakt ızgara — uzun liste dengesini bozmasın */
.footer-col--legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  row-gap: 0;
  align-content: start;
}
.footer-col--legal .footer-col-title {
  grid-column: 1 / -1;
}
.footer-col--legal a:not(.footer-social-btn) {
  font-size: .78rem;
  padding: .26rem 0;
}

.footer-social-btn {
  box-sizing: border-box;
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  height: 2.25rem;
  padding: 0 .95rem 0 .8rem;
  margin: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .16s ease;
}
.footer-social-btn::before,
.footer-social-btn::after {
  content: none !important;
  display: none !important;
}
.footer-social-btn:hover {
  border-color: rgba(240,193,75,.45);
  color: var(--gold);
  background: rgba(240,193,75,.1);
  transform: translateY(-1px);
}
.footer-social-ico {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 1.05rem;
  display: grid;
  place-items: center;
  line-height: 0;
}
.footer-social-ico svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  fill: currentColor;
}
.footer-social-label {
  display: block;
  line-height: 1;
}

.footer-payments {
  border-top: 1px solid var(--line);
  padding: 1.1rem clamp(.75rem,2vw,1.5rem);
}
.footer-payments.hidden { display: none; }
.footer-payments-title {
  font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: .75rem;
}
.footer-payment-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
a.payment-badge:hover {
  border-color: rgba(240,193,75,.4);
  color: var(--gold);
  background: rgba(240,193,75,.08);
}

.footer-license {
  border-top: 1px solid var(--line);
  padding: 1.1rem clamp(.75rem,2vw,1.5rem) 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  text-align: center;
}
.footer-license-seal-link {
  display: inline-block;
  line-height: 0;
  border-radius: 4px;
  transition: opacity .15s ease, transform .15s ease;
}
.footer-license-seal-link:hover,
.footer-license-seal-link:focus-visible {
  opacity: .92;
  transform: translateY(-1px);
  outline: none;
}
.footer-license-seal {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 6px;
}
.footer-license-text {
  margin: 0;
  max-width: 820px;
  font-size: .72rem;
  line-height: 1.55;
  color: var(--muted-2);
}
.footer-license-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: .85rem clamp(.75rem,2vw,1.5rem);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: .75rem;
  font-size: .75rem; color: var(--muted-2);
}
.footer-bottom strong { color: var(--gold); font-family: Syne,sans-serif; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  justify-content: flex-end;
}
.footer-legal a { color: var(--muted-2); font-size: .74rem; }
.footer-legal a:hover { color: var(--muted); }

/* ─── MOBILE NAV (devre dışı — üst kategori menüsü yeterli) ─────────────── */
.mobile-nav {
  display: none !important;
}
.mobile-nav a {
  display: flex; flex-direction: column; align-items: center; gap: .12rem;
  padding: .42rem .15rem; border-radius: 10px;
  color: var(--muted); font-size: .58rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; transition: color .18s ease, background .18s ease;
  min-width: 0;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); background: var(--gold-soft); }
.mnav-ico { font-size: 1rem; }

/* Oyun açıkken: kategori menüsü kalsın, footer/ticker gizlensin, iframe kalan alanı doldursun */
body.is-playing .mobile-nav { display: none !important; }
body.is-playing .site-footer,
body.is-playing .cms-announce-ticker,
body.is-playing .cms-alert-bar { display: none !important; }
body.is-playing {
  padding-bottom: 0 !important;
  overflow: hidden;
}
body.is-playing .top-header,
body.is-playing .category-nav { position: sticky; }
body.is-playing #mainContent {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--header-h) - var(--catnav-h));
  max-height: calc(100dvh - var(--header-h) - var(--catnav-h));
  overflow: hidden;
}
body.is-playing .view[data-view="play"].active {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}
body.is-playing .play-stage {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}
body.is-playing .play-frame {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .events-grid { grid-template-columns: repeat(2,1fr); }
  .events-grid .event-card:last-child { display: none; }
}

@media (max-width: 900px) {
  .user-name { display: none; }
  body { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .account-grid, .quick-stats { grid-template-columns: 1fr; }
  .info-list > div { grid-template-columns: 100px minmax(0, 1fr); }
  .account-shell { grid-template-columns: 1fr; gap: 1rem; }
  .account-sidebar {
    position: static;
    display: flex;
    flex-direction: column;
    gap: .75rem;
  }
  .sb-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .25rem;
  }
  .sb-nav-item {
    width: auto;
    flex: 1 1 auto;
    min-width: calc(50% - .2rem);
    border-left: 0;
    border-bottom: 2px solid transparent;
    justify-content: center;
    text-align: center;
    padding: .55rem .65rem;
  }
  .sb-nav-item.active,
  .sb-nav-item.account-tab.active {
    border-left-color: transparent;
    border-bottom-color: var(--gold);
  }
  .sb-promo-btns { flex-direction: row; }
  .sb-promo-btn { flex: 1; }
  .toolbar-row { grid-template-columns: 1fr; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--legal { grid-column: 1 / -1; }
  .promo-cards-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .events-grid .event-card:last-child { display: block; }
  .cat-nav-inner { justify-content: flex-start; }
  .section-tabs-bar {
    flex-direction: column;
    align-items: stretch;
    gap: .65rem;
  }
  .section-tabs { width: 100%; overflow-x: auto; }
  .text-link { align-self: flex-end; }
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
    gap: .55rem;
  }
  .category-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem;
    min-height: 0;
    gap: .75rem;
  }
  .coming-soon-card { padding: 1.6rem 1.1rem; }
  .modal { padding: 1.15rem; }
  .modal-auth { max-height: min(88dvh, 900px); }
  .view[data-view="account"] { padding: 1rem .65rem 3rem; }
  .lobby-view-wrap,
  .promo-page-wrap { padding: 1rem .65rem 2.5rem; }
  .lobby-head {
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
  }
  .lobby-search-wrap { max-width: none; }
  .chip { padding: .6rem .7rem; font-size: .76rem; }
  .promo-filter { padding: .6rem .7rem; font-size: .76rem; }
}

@media (max-width: 640px) {
  :root {
    --header-h: 56px;
    --alert-h: 0px;
    --catnav-h: 48px;
  }
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 118px), 1fr));
    gap: .5rem;
  }
  .footer-top { grid-template-columns: 1fr; }
  .footer-col:not(.footer-brand):not(:nth-child(2)) { display: none; }
  .hero-deco { display: none; }
  .hero-slider {
    aspect-ratio: 1920 / 520;
  }
  .home-dest-grid {
    grid-template-columns: 1fr;
  }
  .home-dest {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: .9rem 1rem;
  }
  .home-dest:last-child { border-bottom: 0; }
  .jackpot-brand { display: none; }
  .account-hero-stats { width: 100%; margin-top: .65rem; }
  .info-list > div { grid-template-columns: 1fr; gap: .2rem; }
  .info-list dd { text-align: left; }
  .sb-nav-item { min-width: calc(50% - .15rem); }
  .sb-promo-btns { flex-direction: column; }
  .jackpot-inner { min-height: 0; }
  .jackpot-amounts {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .jackpot-item {
    flex-direction: row;
    justify-content: space-between;
    padding: .55rem .85rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .jackpot-item:last-child { border-bottom: 0; }
  .jackpot-value { font-size: .95rem !important; }
  .hero-slide h1,
  .hero-slide h2.hero-title { max-width: none; font-size: clamp(1.55rem, 7vw, 2.4rem); }
  .hero-slide-content { padding: 1.35rem .75rem 2rem; }
  .home-section-head { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .play-bar #btnClosePlay { font-size: .78rem; padding: .4rem .65rem; }
  .play-title { font-size: .8rem; }
  .container { padding: 0 .65rem; }
  .promo-page-slide-content { padding: 1rem .65rem 1.4rem; }
  .footer-bottom,
  .footer-payments {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }
  .dob-row { gap: .35rem; }
  .dob-row label { font-size: .7rem; }
  .wlt-confirm-head-row,
  .wlt-confirm-iban-row { grid-template-columns: 1fr; gap: .35rem; }
  .wlt-ci-lbl { white-space: normal; }
  .wlt-iban-val { word-break: break-all; }
}

@media (max-width: 480px) {
  .cat-nav-item { min-width: 64px; padding: 0 .55rem; font-size: .6rem; }
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
  }
  .game-tile { border-radius: 10px; }
  .sec-tab { padding: .42rem .65rem; font-size: .68rem; }
  .mobile-nav a { font-size: .55rem; padding: .35rem .1rem; }
  .mnav-ico { font-size: .95rem; }
  .coming-soon-actions { flex-direction: column; align-items: stretch; }
  .coming-soon-actions .btn { width: 100%; justify-content: center; }
  .promo-card-actions { flex-direction: column; }
  .promo-card-actions .btn { width: 100%; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }
  .play-bar #btnClosePlay { font-size: 0; padding: .4rem .55rem; }
  .play-bar #btnClosePlay::before { content: "← Lobi"; font-size: .75rem; }
}

@media (max-width: 360px) {
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hdr-pay-deposit .hdr-pay-txt { font-size: .6rem; letter-spacing: 0; }
  .brand { font-size: 1.05rem; }
}

/* ─── LEGAL PAGES ────────────────────────────────────────────────────────── */
body.legal-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
body.legal-body .top-header-inner {
  max-width: 1380px;
}
.legal-top-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex: 1;
  min-width: 0;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.legal-top-nav::-webkit-scrollbar { display: none; }
.legal-top-nav a {
  flex: 0 0 auto;
  padding: .45rem .75rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 6px;
  transition: color .16s ease, background .16s ease;
}
.legal-top-nav a:hover {
  color: var(--ink);
  background: rgba(255,255,255,.04);
}
.legal-header-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
}
.legal-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.35rem clamp(.75rem,2vw,1.5rem) 2.5rem;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  flex: 1;
}
.legal-side {
  position: sticky;
  top: calc(var(--header-h, 64px) + 1rem);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  background: var(--bg-2);
  padding: .9rem .75rem;
}
.legal-side-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 .55rem .55rem;
}
.legal-side-nav {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.legal-side-nav a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 8px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.legal-side-nav a:hover {
  color: var(--ink);
  background: rgba(255,255,255,.03);
}
.legal-side-nav a.active {
  color: var(--gold);
  background: rgba(240,193,75,.08);
  border-left-color: var(--gold);
}
.legal-side-home {
  display: block;
  margin: .65rem .55rem 0;
  padding-top: .65rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: .76rem;
  font-weight: 600;
  text-decoration: none;
}
.legal-side-home:hover { color: var(--gold); }
.legal-page {
  padding: 0;
  max-width: none;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  background: var(--bg-2);
  overflow: hidden;
}
.legal-hero {
  padding: 1.35rem 1.35rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.legal-kicker { display: none; }
.legal-page h1 {
  font-family: Syne, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0 0 .45rem;
  color: var(--ink);
  line-height: 1.15;
}
.legal-lead {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
  max-width: 62ch;
}
.legal-meta {
  margin: .7rem 0 0;
  color: var(--muted-2);
  font-size: .76rem;
}
.legal-content {
  padding: 1.25rem 1.35rem 1.6rem;
  display: grid;
  gap: 0;
}
.legal-page section {
  margin: 0;
  padding: 1.15rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  scroll-margin-top: calc(var(--header-h, 64px) + 1rem);
}
.legal-page section:last-of-type { border-bottom: 0; padding-bottom: .35rem; }
.legal-page h2 {
  font-family: Syne, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 .55rem;
  color: var(--ink);
}
.legal-page h3 {
  margin: .85rem 0 .35rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
}
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
  font-size: .88rem;
}
.legal-page p { margin: 0 0 .7rem; }
.legal-page p:last-child { margin-bottom: 0; }
.legal-page ul,
.legal-page ol {
  margin: .35rem 0 .55rem;
  padding-left: 1.15rem;
  display: grid;
  gap: .35rem;
}
.legal-page strong { color: var(--ink); }
.legal-page a { color: var(--gold); }
.legal-callout {
  margin-top: .85rem;
  padding: .75rem .9rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
  margin: 0 0 .25rem;
  padding: 0 0 .85rem;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.legal-toc a {
  display: inline-flex;
  align-items: center;
  padding: .45rem .65rem;
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: -1px;
  transition: color .16s ease, border-color .16s ease;
}
.legal-toc a:hover {
  color: var(--gold);
  border-bottom-color: rgba(240,193,75,.4);
}
.legal-footer-note {
  margin: 0;
  padding: .95rem 1.35rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: .76rem;
  line-height: 1.55;
}
.legal-site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.legal-site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.15rem clamp(.75rem,2vw,1.5rem) 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  text-align: center;
}
.legal-site-footer .brand {
  font-size: 1.05rem;
}
.legal-site-footer-text {
  margin: 0;
  max-width: 720px;
  font-size: .7rem;
  line-height: 1.55;
  color: var(--muted-2);
}
.legal-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem .85rem;
}
.legal-site-footer-links a {
  color: var(--muted-2);
  font-size: .74rem;
  font-weight: 600;
  text-decoration: none;
}
.legal-site-footer-links a:hover { color: var(--gold); }
@media (max-width: 860px) {
  .legal-shell { grid-template-columns: 1fr; padding-top: 1rem; }
  .legal-side { position: static; }
  .legal-side-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .2rem;
  }
  .legal-side-nav a {
    flex: 1 1 auto;
    min-width: calc(50% - .2rem);
    border-left: 0;
    border-bottom: 2px solid transparent;
    text-align: center;
    padding: .5rem .55rem;
  }
  .legal-side-nav a.active {
    border-left-color: transparent;
    border-bottom-color: var(--gold);
  }
  .legal-side-home { display: none; }
  .legal-top-nav { display: none; }
  .legal-hero,
  .legal-content { padding-left: 1.05rem; padding-right: 1.05rem; }
  .legal-footer-note { padding-left: 1.05rem; padding-right: 1.05rem; }
}
.payload-fields { display: grid; gap: .55rem; margin: .35rem 0 .75rem; }
.payload-fields:empty { display: none; }

/* ─── CMS: page body (server-rendered /p/:slug) ─────────────────────────────── */
.cms-page-body { color: var(--muted); line-height: 1.7; display: grid; gap: .9rem; }
.cms-page-body h2 { color: var(--ink); font-size: 1.15rem; margin-top: .6rem; }
.cms-page-body h3 { color: var(--ink); font-size: 1rem; margin-top: .4rem; }
.cms-page-body a { color: var(--gold); }
.cms-page-body ul, .cms-page-body ol { padding-left: 1.3rem; display: grid; gap: .35rem; }
.cms-page-body img { max-width: 100%; border-radius: var(--radius); }
.cms-page-body strong { color: var(--ink); }

/* ─── CMS: banners ──────────────────────────────────────────────────────────── */
.cms-banner-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .85rem;
  margin: 1rem auto;
}
.cms-banner-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  text-decoration: none;
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}
a.cms-banner-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.cms-banner-img {
  height: 118px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
}
.cms-banner-img--empty {
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--gold-soft), transparent);
}
.cms-banner-body { padding: .7rem .85rem .85rem; }
.cms-banner-title { color: var(--ink); font-weight: 600; font-size: .95rem; }
.cms-banner-sub { color: var(--muted); font-size: .82rem; margin-top: .2rem; }

/* ─── CMS: announcements ────────────────────────────────────────────────────── */
.cms-alert-bar {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  color: #1a1400;
  font-weight: 600;
  font-size: .85rem;
  text-align: center;
}
.cms-alert-item { padding: .4rem 1rem; }

.cms-announce-ticker {
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  width: 100%;
}
.cms-announce-track {
  display: block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.cms-announce-inner {
  display: flex;
  width: max-content;
  align-items: stretch;
  /* Süre JS tarafında içerik genişliğine göre ayarlanır; yedek: yavaş */
  animation: cmsAnnounceScroll 80s linear infinite;
}
.cms-announce-seg {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 100%;
  box-sizing: border-box;
  padding: .45rem 0;
}
.cms-announce-tick-item {
  color: var(--gold-2);
  font-size: .84rem;
  margin: 0 2.2rem;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes cmsAnnounceScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.cms-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  display: grid;
  place-items: center;
  z-index: 9999;
  padding: 1.2rem;
  animation: cmsFade .2s var(--ease);
}
@keyframes cmsFade { from { opacity: 0; } to { opacity: 1; } }
.cms-popup {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem 1.6rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  max-height: min(90dvh, 760px);
  overflow-y: auto;
}
.cms-popup--media {
  max-width: min(380px, 100%);
  padding: 1.1rem 1.1rem 1.25rem;
}
.cms-popup-media {
  width: 100%;
  margin: 0 0 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0b12;
  border: 1px solid var(--line);
}
.cms-popup-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(58dvh, 520px);
  object-fit: contain;
  object-position: center top;
  margin: 0 auto;
}
.cms-popup-msg {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  word-break: break-word;
}
.cms-popup--media .cms-popup-msg {
  font-size: .92rem;
  margin-bottom: 1rem;
}
.cms-popup-close {
  position: absolute;
  top: .55rem;
  right: .65rem;
  z-index: 2;
  background: rgba(0,0,0,.45);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 2rem;
  height: 2rem;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cms-popup-close:hover { color: var(--ink); border-color: var(--line-2); }
.cms-popup-ok { width: 100%; }

/* ─── NEW WALLET UI ──────────────────────────────────────────────────────── */

.wlt-page-title {
  font-family: Syne, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0 0 1.15rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.15;
  scroll-margin-top: calc(var(--header-h, 56px) + var(--catnav-h, 44px) + 12px);
}
#wltMethodsGrid,
#walletStepMethods {
  scroll-margin-top: calc(var(--header-h, 56px) + var(--catnav-h, 44px) + 12px);
}

/* toolbar (tabs + search + pending button) */
.wlt-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
  padding: 0 0 .85rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.wlt-toolbar-sm { margin-top: 1rem; }
.wlt-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: .15rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.wlt-tabs::-webkit-scrollbar { display: none; }
.wlt-tab {
  padding: .55rem .85rem;
  margin-bottom: -1px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s, border-color .18s;
}
.wlt-tab:hover { background: transparent; color: var(--ink); }
.wlt-tab.active {
  background: transparent;
  border-bottom-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}

.wlt-toolbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-left: auto; }

.wlt-search-wrap { position: relative; }
.wlt-search {
  width: 220px;
  padding: .5rem .75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
  font-size: .85rem;
  outline: none;
  transition: border-color .18s ease;
}
.wlt-search:focus { border-color: rgba(240,193,75,.4); }
.wlt-search::placeholder { color: var(--muted-2); }

.wlt-pending-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  border-radius: var(--radius);
  background: rgba(240,193,75,.1);
  border: 1px solid rgba(240,193,75,.35);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease;
  white-space: nowrap;
}
.wlt-pending-btn:hover { background: rgba(240,193,75,.2); }
.wlt-warn-ico { font-size: .9rem; }
.wlt-pending-count {
  background: var(--gold);
  color: #1a1000;
  border-radius: 99px;
  padding: .05rem .45rem;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.5;
}

/* methods grid */
.wlt-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
@media (max-width: 900px) { .wlt-methods-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .wlt-methods-grid { grid-template-columns: 1fr; } }

/* method card */
.wlt-method-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem .9rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s var(--ease);
}
.wlt-method-card:hover {
  border-color: rgba(240,193,75,.28);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
  transform: translateY(-2px);
}

.wlt-card-top { display: flex; align-items: center; gap: .75rem; padding-bottom: .75rem; }
.wlt-card-divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 .7rem;
}
.wlt-method-ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -.02em;
  box-shadow: inset 0 -2px 8px rgba(0,0,0,.2);
  overflow: hidden;
}
.wlt-method-ico--logo {
  background: #0d0e16;
  border: none;
  box-shadow: none;
  padding: 0;
}
.wlt-method-ico--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}
.wlt-card-meta { min-width: 0; }
.wlt-card-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wlt-card-proc { margin-top: .2rem; font-size: .76rem; color: var(--muted); }
.wlt-card-proc span { color: var(--ink); }

/* card stats */
.wlt-card-stats {
  background: transparent;
  border-radius: 0;
  padding: 0 .1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
  margin-bottom: .85rem;
}
.wlt-stat-row { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.wlt-stat-lbl { color: var(--muted); font-weight: 500; }
.wlt-stat-val { color: var(--ink); font-weight: 600; }
.wlt-stat-bonus { color: var(--gold); font-weight: 800; font-size: .88rem; }
.wlt-stat-none { color: var(--muted-2); }

/* card actions */
.wlt-card-btns { display: flex; gap: .5rem; align-items: center; }
.wlt-select-btn {
  flex: 1;
  padding: .62rem .75rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  border: none;
  color: #1a1000;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
  transition: filter .18s ease, box-shadow .18s ease;
  box-shadow: 0 2px 10px var(--gold-glow);
}
.wlt-select-btn:hover { filter: brightness(1.06); box-shadow: 0 4px 16px var(--gold-glow); }
.wlt-vid-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: .75rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .18s ease;
}
.wlt-vid-btn:hover { color: var(--ink); border-color: var(--line-2); background: var(--surface); }

/* back button */
.wlt-back-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .9rem;
  border-radius: var(--radius);
  background: var(--gold);
  border: none;
  color: #1a1000;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: .9rem;
  transition: background .18s ease;
}
.wlt-back-btn:hover { background: var(--gold-2); }

/* form title */
.wlt-form-title {
  font-family: Syne, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .85rem;
  color: var(--ink);
}

.wlt-form-body--withdraw {
  grid-template-columns: minmax(0, 520px);
}
.wlt-form-body--withdraw .wlt-form-right { display: none; }

.wlt-bank-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
@media (max-width: 900px) {
  .wlt-bank-panel { grid-template-columns: 1fr; }
}
.wlt-bank-add-card,
.wlt-bank-list-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
}
.wlt-bank-list { display: flex; flex-direction: column; gap: .65rem; }
.wlt-bank-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .85rem;
}
.wlt-bank-type-tab {
  padding: .48rem .85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.wlt-bank-type-tab:hover { color: var(--ink); border-color: var(--line-2); }
.wlt-bank-type-tab.active {
  background: var(--gold-soft);
  border-color: rgba(240,193,75,.35);
  color: var(--gold);
}
.wlt-bank-group { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1rem; }
.wlt-bank-group:last-child { margin-bottom: 0; }
.wlt-bank-group-title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--line);
}
.wlt-bank-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-3);
}
.wlt-bank-item-main { min-width: 0; }
.wlt-bank-item-name { font-weight: 600; color: var(--ink); font-size: .9rem; }
.wlt-bank-item-iban { font-family: "IBM Plex Mono", monospace; font-size: .78rem; color: var(--muted); margin-top: .2rem; }
.wlt-bank-item-tag { font-size: .75rem; color: var(--gold); margin-top: .15rem; }
.wlt-bank-item-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.wlt-bank-pill {
  display: inline-flex;
  align-items: center;
  padding: .15rem .45rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  background: rgba(240,193,75,.15);
  color: var(--gold);
  margin-left: .35rem;
}

.wlt-confirm-btn--inline {
  margin-top: .25rem;
  width: 100%;
  max-width: 100%;
}

.wlt-confirm-card .wlt-info-box {
  margin: 0;
  border: none;
  background: transparent;
  padding: .25rem 0 0;
}

/* form body: 2-col layout */
.wlt-form-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
@media (max-width: 680px) { .wlt-form-body { grid-template-columns: 1fr; } }

.wlt-field-lbl {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .5rem;
}

.wlt-amount-inp {
  width: 100%;
  padding: .72rem .9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
  font-size: .95rem;
  outline: none;
  margin-bottom: .85rem;
  transition: border-color .18s ease;
}
.wlt-amount-inp:focus { border-color: rgba(240,193,75,.4); }

.wlt-info-box {
  display: flex;
  gap: .55rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .7rem .85rem;
  margin-bottom: .65rem;
}
.wlt-info-ico {
  color: var(--gold);
  font-size: .95rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.wlt-info-box p { font-size: .78rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* right col */
.wlt-form-right { display: flex; flex-direction: column; }
.wlt-bonus-sel {
  width: 100%;
  padding: .65rem .9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
  font-size: .88rem;
  outline: none;
  cursor: pointer;
  margin-bottom: 1.25rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8199' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.4rem;
  transition: border-color .18s ease;
}
.wlt-bonus-sel:focus { border-color: rgba(240,193,75,.4); }

/* confirm / done buttons */
.wlt-confirm-btn, .wlt-done-btn {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  border: none;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter .18s ease, transform .1s ease;
  background: linear-gradient(135deg, #7ecb2a 0%, #5eaa1a 100%);
  color: #0e1a00;
  letter-spacing: .01em;
}
.wlt-confirm-btn:hover, .wlt-done-btn:hover { filter: brightness(1.1); }
.wlt-confirm-btn:active, .wlt-done-btn:active { transform: scale(.98); }
.wlt-done-btn { margin-top: 1rem; max-width: 400px; }

/* confirmation card */
.wlt-confirm-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.25rem 0 .5rem;
}
.wlt-confirm-head-row--withdraw {
  grid-template-columns: auto 1fr;
}
.wlt-confirm-head-row,
.wlt-confirm-iban-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: .75rem 1rem;
  align-items: center;
  padding: .85rem 1.2rem;
}
.wlt-confirm-iban-row { border-top: 1px solid var(--line); }
.wlt-ci-lbl { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.wlt-ci-val { font-size: .88rem; color: var(--ink); font-weight: 500; }
.wlt-ci-amt { font-size: .95rem; color: var(--gold); font-weight: 700; font-family: "IBM Plex Mono", monospace; }
.wlt-iban-val {
  font-family: "IBM Plex Mono", monospace;
  font-size: .82rem;
  color: var(--ink);
  letter-spacing: .04em;
}
.wlt-copy-btn {
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--muted);
  padding: .2rem .45rem;
  font-size: .8rem;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.wlt-copy-btn:hover { color: var(--ink); border-color: var(--line-2); }

.wlt-section-ttl {
  font-family: Syne, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--ink);
}

.wlt-payload-inp {
  width: 100%;
  padding: .62rem .9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
  font-size: .88rem;
  outline: none;
  margin-bottom: .4rem;
  transition: border-color .18s ease;
  appearance: auto;
}
select.wlt-payload-inp {
  cursor: pointer;
  min-height: 2.5rem;
}
.wlt-payload-inp:focus { border-color: rgba(240,193,75,.4); }

@media (max-width: 560px) {
  .wlt-toolbar { gap: .45rem; }
  .wlt-toolbar-right { margin-left: 0; width: 100%; }
  .wlt-search { width: 100%; }
  .wlt-confirm-head-row,
  .wlt-confirm-iban-row { grid-template-columns: 1fr 1fr; }
}
