/* Site theme — black / crimson (admin overrides via :root inject) */
:root {
  --bg: #070708;
  --bg-elev: #101014;
  --bg-soft: #16161c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f2f3;
  --muted: #9a959a;
  --red: #e10600;
  --red-hot: #ff2a22;
  --red-deep: #9b0400;
  --red-rgb: 225, 6, 0;
  --red-soft: rgba(var(--red-rgb), 0.16);
  --accent-text: #ff8e88;
  --accent-text-hot: #ffb4b0;
  --logo-h: 34px;
  --logo-h-auth: 44px;
  --logo-max-w: 200px;
  --ok: #3dd68c;
  --warn: #f0b429;
  --danger: #ff5a5f;
  --radius: 14px;
  --nav-h: 64px;
  --header-h: 118px;
  --header-top-h: 64px;
  --header-bot-h: 54px;
  --ticker-h: 32px;
  --sports-bar-h: 48px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(var(--red-rgb), 0.22), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(var(--red-rgb), 0.08), transparent 50%),
    linear-gradient(180deg, #0b0b0e 0%, var(--bg) 40%, #050506 100%);
  background-attachment: fixed;
  line-height: 1.45;
  padding-bottom: calc(var(--nav-h) + 18px);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: min(100% - 28px, var(--max));
  margin-inline: auto;
}

/* Ticker */
.ticker {
  --ticker-h: 32px;
  height: var(--ticker-h);
  overflow: hidden;
  background: linear-gradient(90deg, #1a0505, #3a0808 40%, #1a0505);
  border-bottom: 1px solid rgba(var(--red-rgb), 0.35);
  color: var(--accent-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 28s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  height: var(--ticker-h);
  white-space: nowrap;
}

.ticker-group i {
  font-style: normal;
  color: var(--red);
  font-size: 0.55rem;
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header — two-tier royal */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  display: flex;
  flex-direction: column;
  background: #050505;
  border-bottom: 1px solid rgba(var(--red-rgb), 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.site-header--royal {
  --hdr-pad: 16px;
}

.hdr-top {
  min-height: var(--header-top-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(var(--red-rgb), 0.18);
  background:
    linear-gradient(180deg, #0c0c0c 0%, #050505 100%);
}

.hdr-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(100% - (var(--hdr-pad) * 2), 1400px);
  margin-inline: auto;
  padding: 8px 0;
}

.hdr-bottom {
  min-height: var(--header-bot-h);
  display: flex;
  align-items: center;
  background: #000;
}

.hdr-cats {
  display: flex;
  align-items: center;
  gap: 4px;
  width: min(100% - (var(--hdr-pad) * 2), 1400px);
  margin-inline: auto;
  padding: 6px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hdr-cats::-webkit-scrollbar { display: none; }

.hdr-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 4px;
  color: #f3f0f2;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.hdr-cat .nav-ico {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: var(--red-hot);
}

.hdr-cat .nav-ico i {
  font-size: 14px;
  line-height: 1;
}

.hdr-cat:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hdr-cat:hover .nav-ico {
  color: var(--red-hot);
}

.hdr-cat.active {
  background: rgba(var(--red-rgb), 0.2);
  box-shadow: inset 0 0 0 1px rgba(var(--red-rgb), 0.45);
  color: #fff;
}

.hdr-cat.active .nav-ico {
  color: var(--red-hot);
}

.hdr-cat .nav-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-hot);
  animation: sportsLivePulse 1.6s ease-out infinite;
}

.hdr-quick {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.hdr-quick::-webkit-scrollbar { display: none; }

.hdr-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f2efef;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.hdr-quick-btn i {
  font-size: 0.85rem;
  color: var(--red-hot);
}

.hdr-quick-btn:hover {
  background: rgba(var(--red-rgb), 0.16);
  border-color: rgba(var(--red-rgb), 0.55);
  color: #fff;
  transform: translateY(-1px);
}

.hdr-quick-btn.is-highlight {
  background: rgba(20, 60, 40, 0.85);
  border-color: rgba(80, 180, 120, 0.55);
  color: #b8e6c8;
}

.hdr-quick-btn.is-highlight i {
  color: #8fd9a8;
}

.hdr-auth-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--red-hot), var(--red));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(var(--red-rgb), 0.28);
}

.hdr-auth-register:hover {
  filter: brightness(1.06);
}

.hdr-auth-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8e8e8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hdr-auth-login:hover {
  border-color: rgba(var(--red-rgb), 0.45);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  animation: brandIn 0.7s ease both;
  max-width: min(42vw, 180px);
}

.brand.has-logo {
  max-width: min(48vw, var(--logo-max-w));
}

.brand-logo {
  display: block;
  height: var(--logo-h);
  width: auto;
  max-width: min(100%, var(--logo-max-w));
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(var(--red-rgb), 0.25));
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--red-hot), var(--red-deep));
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.18), 0 8px 18px rgba(var(--red-rgb), 0.28);
  flex-shrink: 0;
}

.brand-text span,
.brand span {
  color: var(--red);
}

.header-start {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 0 0 auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Mobil hamburger + drawer (stil her zaman tanımlı — SVG şişmesin) */
.mobile-nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  flex-shrink: 0;
  font-size: 1.1rem;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

html.mobile-nav-open .mobile-nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 91;
  width: min(86vw, 320px);
  max-width: 320px;
  margin: 0;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 14px calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, #121218 0%, #0a0a0e 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.45);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-110%);
  transition: transform 0.22s ease;
  pointer-events: none;
  box-sizing: border-box;
}

html.mobile-nav-open .mobile-nav {
  transform: translateX(0);
  pointer-events: auto;
}

html.mobile-nav-open,
html.mobile-nav-open body {
  overflow: hidden;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.mobile-nav-head strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mobile-nav-x {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
}

.mobile-nav-list {
  display: grid;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  max-height: 56px;
  padding: 0 12px;
  border-radius: 12px;
  color: #c9c4cc;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.mobile-nav-link > span:not(.nav-ico):not(.nav-live-dot) {
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-nav .nav-ico,
.mobile-nav-link .nav-ico {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  flex: 0 0 22px !important;
  overflow: hidden;
  line-height: 1;
  font-size: 1rem;
}

.mobile-nav .nav-ico i,
.mobile-nav-link .nav-ico i {
  font-size: 1rem;
  width: 1em;
  text-align: center;
}

.nav-ico i,
.bn-ico i,
.sports-bar-ico i,
.bn-cta-btn i {
  font-size: 1.05em;
  line-height: 1;
  width: 1.15em;
  text-align: center;
}

.bn-cta-btn i {
  font-size: 1.15rem;
  color: #fff;
}

.mobile-nav-link.active {
  color: #fff;
  background: rgba(var(--red-rgb), 0.14);
}

.mobile-nav-link.active .nav-ico {
  color: var(--accent-text);
}

.mobile-nav-link .nav-live-dot {
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-hot);
  flex-shrink: 0;
  animation: sportsLivePulse 1.6s ease-out infinite;
}

.mobile-nav-extra {
  margin-top: auto;
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-extra a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.mobile-nav-extra a i {
  width: 1.1em;
  text-align: center;
  opacity: 0.9;
}

.mobile-nav-auth {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-nav-auth a {
  text-align: center;
  width: 100%;
}

.mobile-nav-auth .hdr-auth-register,
.mobile-nav-auth .hdr-auth-login {
  min-height: 42px;
}

@media (max-width: 767.98px) {
  :root {
    --header-h: 108px;
    --header-top-h: 56px;
    --header-bot-h: 52px;
  }

  .hdr-quick {
    display: none !important;
  }

  .brand {
    max-width: min(38vw, 150px);
  }

  .hdr-auth-register,
  .hdr-auth-login {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .hdr-cat {
    font-size: 0.7rem;
    padding: 7px 10px;
    gap: 6px;
  }
}

.hdr-deposit-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(160deg, var(--red-hot), var(--red-deep));
  box-shadow: 0 6px 16px rgba(var(--red-rgb), 0.35);
}

.balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1c1c26, #121218);
  border: 1px solid rgba(var(--red-rgb), 0.32);
  line-height: 1.1;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.balance-chip-ico {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, rgba(var(--red-rgb), 0.55), rgba(var(--red-rgb), 0.85));
}

.balance-chip-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.balance-chip-caret {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #9a959a;
  border-bottom: 1.5px solid #9a959a;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}

.balance-chip:hover,
.hdr-dd.is-open .balance-chip {
  border-color: rgba(var(--red-rgb), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.14);
  transform: translateY(-1px);
}

.balance-chip small {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.balance-chip strong {
  font-size: 0.88rem;
  font-weight: 800;
}

/* Header dropdowns */
.hdr-dd {
  position: relative;
}

.avatar-btn {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
}

.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(145deg, var(--red-hot), var(--red-deep));
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avatar-circle.sm {
  width: 34px;
  height: 34px;
  font-size: 0.68rem;
  flex-shrink: 0;
}

.avatar-btn:hover .avatar-circle,
.hdr-dd.is-open .avatar-circle {
  transform: scale(1.04);
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.22);
}

.hdr-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #16161d, #101014);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 50;
  animation: ddIn 0.18s ease both;
}

.hdr-menu-right {
  right: 0;
}

.hdr-menu[hidden] {
  display: none !important;
}

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

.hdr-menu-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 10px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hdr-menu-head > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hdr-menu-head > strong {
  font-size: 1.05rem;
}

.hdr-menu-head.profile {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.hdr-menu-head.profile strong {
  display: block;
  font-size: 0.92rem;
}

.hdr-menu-head.profile small {
  color: var(--muted);
  font-size: 0.78rem;
}

.hdr-wallet-rows {
  display: grid;
  gap: 4px;
  padding: 4px 10px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hdr-wallet-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}

.hdr-wallet-rows span {
  color: var(--muted);
}

.hdr-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #eee;
  text-align: left;
  transition: background 0.15s ease;
}

.hdr-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hdr-menu-item.accent {
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--red-rgb), 0.28), rgba(var(--red-rgb), 0.12));
  margin-bottom: 2px;
}

.hdr-menu-item.accent:hover {
  background: linear-gradient(135deg, rgba(var(--red-rgb), 0.4), rgba(var(--red-rgb), 0.18));
}

.hdr-menu-item.danger {
  color: var(--accent-text);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.hdr-menu-form {
  margin: 0;
  margin-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, var(--red-hot) 0%, var(--red) 55%, var(--red-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(var(--red-rgb), 0.28);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.btn-soft {
  background: var(--red-soft);
  color: #ffb4b0;
  border: 1px solid rgba(var(--red-rgb), 0.35);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - var(--nav-h));
  display: grid;
  align-content: end;
  padding: 28px 0 36px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto;
  height: 70%;
  background:
    radial-gradient(circle at 70% 40%, rgba(var(--red-rgb), 0.35), transparent 42%),
    radial-gradient(circle at 30% 60%, rgba(255, 255, 255, 0.05), transparent 40%);
  pointer-events: none;
  animation: aura 8s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 14vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0 0 14px;
  animation: rise 0.7s ease both;
}

.hero-brand span {
  color: var(--red);
}

.hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  animation: rise 0.75s 0.08s ease both;
}

.hero p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 28rem;
  animation: rise 0.8s 0.14s ease both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: rise 0.85s 0.2s ease both;
}

.hero-visual {
  position: absolute;
  inset: 8% 0 auto auto;
  width: min(52vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, transparent, rgba(var(--red-rgb), 0.55), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(var(--red-rgb), 0.35), transparent 62%);
  filter: blur(0.5px);
  opacity: 0.85;
  animation: spinSlow 18s linear infinite;
  pointer-events: none;
}

/* Home slider — ortalanmış */
.home-slider-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px 14px 0;
  background: transparent;
}

.home-slider-wrap.is-empty {
  display: none;
}

.home-slider {
  position: relative;
  overflow: hidden;
  width: min(100%, var(--max));
  aspect-ratio: 16 / 7;
  max-height: 420px;
  margin-inline: auto;
  background: #0a0a0d;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.slider-track {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  height: 100%;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #0a0a0d;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.2s ease, background 0.2s ease;
}

.slider-dots button.is-active {
  width: 22px;
  background: var(--red);
}

/* Category cards — yan yana + görsel */
.section-tight {
  padding-top: 16px;
  padding-bottom: 4px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cat-card {
  position: relative;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
  min-height: 96px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.cat-card:active {
  transform: scale(0.98);
}

.cat-card.has-image {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.cat-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card.has-image .cat-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 12px 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
}

.cat-card:not(.has-image) {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 6px;
  padding: 14px 8px;
}

.cat-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.cat-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.cat-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(var(--red-rgb), 0.14);
  color: var(--accent-text);
}

.cat-icon svg {
  width: 18px;
  height: 18px;
}

.popular-games {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Mobil: banner kırpılmasın — görselin tamamı sığsın */
  .home-slider-wrap {
    padding: 8px 0 0;
  }

  .home-slider {
    width: 100%;
    aspect-ratio: unset;
    max-height: none;
    height: auto;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .slider-track {
    height: auto;
  }

  .slide {
    align-items: stretch;
  }

  .slide.is-active {
    position: relative;
    inset: auto;
    height: auto;
  }

  .slide-image {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    aspect-ratio: auto;
  }
}

@media (min-width: 641px) {
  .slide-image {
    object-fit: cover;
  }
}

/* Popular matches — horizontal cards */
.popular-matches-section {
  padding-top: 10px;
}

.match-rail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.match-sport-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.match-sport-tabs::-webkit-scrollbar {
  display: none;
}

.match-sport-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #d8d8dc;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.match-sport-tab:not(.is-active) {
  width: 40px;
  padding: 0;
  justify-content: center;
}

.match-sport-tab.is-active {
  background: #2a2a2e;
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.match-sport-ico {
  display: grid;
  place-items: center;
  color: inherit;
}

.match-rail-nav {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.match-rail-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141416;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.match-rail-btn:hover {
  background: #222226;
}

.match-rail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.match-rail-track::-webkit-scrollbar {
  display: none;
}

.match-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 188px;
  border-radius: 14px;
  background: #17171a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.match-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.match-card-league {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 10px 12px 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.match-card-league span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-card-flag {
  flex: 0 0 auto;
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  background: #0c0c10;
}

.match-card-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: start;
  padding: 14px 12px 12px;
  flex: 1;
}

.match-card-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.match-card-side strong {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.match-card-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #0f0f12;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px;
}

.match-card-kick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding-top: 4px;
  min-width: 64px;
}

.match-card-kick em {
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.match-card-kick small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.match-card-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: auto;
  background: #222226;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.match-card-odds span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 6px;
  font-variant-numeric: tabular-nums;
}

.match-card-odds span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.match-card-odds i {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
}

.match-card-odds b {
  font-size: 0.92rem;
  font-weight: 800;
  color: #f5d000;
}

@media (max-width: 640px) {
  .match-rail-track {
    grid-auto-columns: minmax(220px, 78vw);
  }

  .match-card {
    min-height: 178px;
  }
}

/* Sections */
.section {
  padding: 28px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.link-more {
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Game rail */
.game-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 42%);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.game-rail::-webkit-scrollbar {
  height: 0;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.game-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.game-tile:active {
  transform: scale(0.985);
}

.game-tile-media {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, rgba(var(--red-rgb), 0.45), transparent 55%),
    linear-gradient(20deg, #1a1a22, #0d0d12 70%);
  overflow: hidden;
}

.game-thumb.has-image {
  background: #121218;
  filter: none;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.game-thumb.has-image::after {
  display: none;
}

.game-thumb:not(.has-image)::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.2);
}

.provider-block {
  margin: 0 0 14px;
}

.provider-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.provider-block-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.provider-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.provider-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.provider-rail::-webkit-scrollbar {
  height: 0;
}

.provider-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 76px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.provider-chip img,
.provider-chip > span,
.provider-chip-all {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: contain;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
  padding: 8px;
}

.provider-chip-all {
  background: linear-gradient(145deg, rgba(var(--red-rgb), 0.35), var(--bg-elev));
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.15;
  padding: 6px;
}

.provider-chip em {
  font-style: normal;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.provider-chip.is-active {
  color: var(--text);
}

.provider-chip.is-active img,
.provider-chip.is-active > span,
.provider-chip.is-active .provider-chip-all {
  border-color: rgba(var(--red-rgb), 0.7);
  box-shadow: 0 0 0 2px rgba(var(--red-rgb), 0.2);
}

html.bn-provider-open {
  overflow: hidden;
}

.provider-sheet[hidden] {
  display: none !important;
}

.provider-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-items: end;
}

.provider-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.provider-sheet-panel {
  position: relative;
  z-index: 1;
  max-height: min(78vh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 20px 20px 0 0;
  background: #101014;
  border: 1px solid var(--line);
  border-bottom: 0;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
}

.provider-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.provider-sheet-head strong {
  font-size: 1rem;
}

.provider-sheet-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.provider-sheet-search {
  width: 100%;
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0a0a0e;
  color: var(--text);
}

.provider-sheet-list {
  overflow: auto;
  display: grid;
  gap: 6px;
  padding-right: 2px;
}

.provider-sheet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
}

.provider-sheet-item:hover,
.provider-sheet-item.is-active {
  border-color: rgba(var(--red-rgb), 0.45);
  background: rgba(var(--red-rgb), 0.1);
}

.provider-sheet-item img,
.provider-sheet-item > span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
  background: #0a0a0e;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  padding: 4px;
}

.provider-sheet-item strong {
  display: block;
  font-size: 0.92rem;
}

.provider-sheet-item small {
  color: var(--muted);
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .provider-sheet {
    place-items: center;
    padding: 24px;
  }

  .provider-sheet-panel {
    width: min(440px, 100%);
    border-radius: 18px;
    border-bottom: 1px solid var(--line);
    max-height: min(70vh, 560px);
  }
}

.casino-load-more {
  display: flex;
  justify-content: center;
  margin: 18px 0 8px;
}

.casino-load-more .btn {
  min-width: 200px;
}

.game-meta {
  position: relative;
  z-index: 2;
  padding: 6px 7px 4px;
  background: #0e0e12;
}

.game-meta strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-meta span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.58rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-tile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 0 6px 6px;
  background: #0e0e12;
}

.game-tile-actions a {
  display: grid;
  place-items: center;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
}

.game-tile-play {
  color: #fff;
  background: linear-gradient(165deg, var(--red-hot), var(--red-deep));
}

.game-tile-demo {
  color: #eee;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.game-tile .badge {
  z-index: 3;
  top: 5px;
  left: 5px;
  padding: 2px 5px;
  font-size: 0.55rem;
}

/* —— Sports page: site header + sports bar + filled iframe —— */
body.page-sports {
  padding-bottom: 0;
  overflow: hidden;
}

body.page-sports {
  --header-h: var(--header-top-h);
  --sports-bar-h: 0px;
}

body.page-sports main {
  padding: 0;
  margin: 0;
  min-height: 0;
}

body.page-sports .alerts {
  display: none;
}

body.page-sports .hdr-bottom,
body.page-sports .sports-bar {
  display: none !important;
}

/* Spor sayfasında alt menüyü de kaldır — iframe alanını büyüt */
body.page-sports .bottom-nav {
  display: none !important;
}

body.page-sports .sports-shell {
  bottom: 0;
}

.sports-bar {
  position: fixed;
  top: calc(var(--ticker-h, 32px) + var(--header-h));
  left: 0;
  right: 0;
  z-index: 39;
  height: var(--sports-bar-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #121218 0%, #0a0a0e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.sports-bar-inner {
  display: flex;
  align-items: stretch;
  gap: 4px;
  width: min(100% - 16px, var(--max));
  margin-inline: auto;
  height: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sports-bar-inner::-webkit-scrollbar {
  display: none;
}

.sports-bar-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 0 14px;
  height: calc(100% - 10px);
  margin-block: 5px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.sports-bar-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.sports-bar-tab.active {
  color: #fff;
  background: rgba(var(--red-rgb), 0.18);
  box-shadow: inset 0 0 0 1px rgba(var(--red-rgb), 0.35);
}

.sports-bar-tab.live.active {
  background: linear-gradient(135deg, rgba(var(--red-rgb), 0.28), rgba(var(--red-rgb), 0.12));
}

.sports-bar-ico {
  position: relative;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sports-bar-ico svg,
.sports-bar-ico i {
  width: 18px;
  height: 18px;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
}

.sports-live-pulse {
  position: absolute;
  left: -3px;
  top: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0.55);
  animation: sportsLivePulse 1.6s ease-out infinite;
}

@keyframes sportsLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(var(--red-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0); }
}

.sports-shell {
  position: fixed;
  top: calc(var(--ticker-h, 32px) + var(--header-h) + var(--sports-bar-h, 0px));
  left: 0;
  right: 0;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  width: 100%;
  background: #070708;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

body.page-sports .sports-shell {
  bottom: env(safe-area-inset-bottom, 0px);
}

.sports-shell-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #070708;
}

@media (min-width: 768px) {
  .sports-shell {
    bottom: 0;
  }
}

/* Destek: sadece yer tutucu — tıklama orijinal livechat balonunda */
.bn-support {
  pointer-events: none;
  user-select: none;
  color: #8d8790;
}

.bn-live .bn-ico {
  position: relative;
}

.bn-live-dot {
  position: absolute;
  top: 1px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0.5);
  animation: sportsLivePulse 1.6s ease-out infinite;
  z-index: 1;
}

/* —— Kuponlarım —— */
.coupons-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.coupon-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.coupon-filter a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.coupon-filter a em {
  font-style: normal;
  min-width: 1.4em;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
}

.coupon-filter a:hover {
  color: #fff;
  border-color: rgba(var(--red-rgb), 0.35);
}

.coupon-filter a.active {
  color: #fff;
  background: rgba(var(--red-rgb), 0.18);
  border-color: rgba(var(--red-rgb), 0.45);
  box-shadow: 0 0 0 1px rgba(var(--red-rgb), 0.12);
}

.coupon-filter a.active em {
  background: rgba(var(--red-rgb), 0.35);
}

.coupons-empty {
  text-align: center;
  padding: 28px 12px;
}

.coupon-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coupon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.coupon-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.coupon-row-main strong {
  font-size: 0.95rem;
}

.coupon-row-main small,
.coupon-row-amt small {
  color: var(--muted);
  font-size: 0.78rem;
}

.coupon-type {
  display: inline-flex;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.coupon-row.coupon-bet .coupon-type {
  color: var(--accent-text);
  background: rgba(var(--red-rgb), 0.16);
}

.coupon-row.coupon-win .coupon-type {
  color: #9dffc4;
  background: rgba(61, 214, 140, 0.14);
}

.coupon-row.coupon-refund .coupon-type {
  color: #c8d4ff;
  background: rgba(120, 150, 255, 0.14);
}

.coupon-row-amt {
  text-align: right;
  flex-shrink: 0;
}

.coupon-row.coupon-bet .coupon-row-amt strong {
  color: var(--accent-text);
}

.coupon-row.coupon-win .coupon-row-amt strong {
  color: #3dd68c;
}

.coupon-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.coupon-card.is-done {
  border-color: rgba(160, 160, 175, 0.35);
}

.coupon-card.is-done .coupon-status {
  background: rgba(160, 160, 175, 0.18);
  color: #c8c8d4;
}

.coupon-card.is-lose .coupon-payout strong {
  color: var(--accent-text);
}

.coupon-card.is-win .coupon-payout strong {
  color: #7dffa3;
}

.coupon-card.is-win {
  border-color: rgba(61, 214, 140, 0.28);
}

.coupon-card.is-lose {
  border-color: rgba(var(--red-rgb), 0.22);
}

.coupon-card.is-open {
  border-color: rgba(255, 180, 80, 0.28);
}

.coupon-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.coupon-card-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.coupon-status {
  display: inline-flex;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.coupon-card.is-win .coupon-status {
  color: #9dffc4;
  background: rgba(61, 214, 140, 0.14);
}

.coupon-card.is-lose .coupon-status {
  color: var(--accent-text);
  background: rgba(var(--red-rgb), 0.16);
}

.coupon-card.is-open .coupon-status {
  color: var(--accent-text-hot);
  background: rgba(255, 180, 80, 0.14);
}

.coupon-card.is-void .coupon-status {
  color: #c8d4ff;
  background: rgba(120, 150, 255, 0.14);
}

.coupon-pill {
  display: inline-flex;
  width: fit-content;
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.coupon-title {
  font-size: 1rem;
  line-height: 1.25;
}

.coupon-card-head small {
  color: var(--muted);
  font-size: 0.78rem;
}

.coupon-card-amt {
  display: grid;
  gap: 4px;
  text-align: right;
  flex-shrink: 0;
}

.coupon-card-amt span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
}

.coupon-card-amt strong {
  font-size: 0.92rem;
}

.coupon-legs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coupon-legs li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.coupon-leg-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.coupon-leg-main strong {
  font-size: 0.9rem;
}

.coupon-leg-main span {
  font-size: 0.8rem;
  color: var(--muted);
}

.coupon-tournament {
  display: block;
  font-size: 0.72rem !important;
  color: var(--muted) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.coupon-bet-line {
  color: #f0ecee !important;
  font-weight: 600;
}

.coupon-bet-missing {
  color: var(--accent-text) !important;
  font-style: italic;
}

.coupon-potential span {
  color: #9dffc4 !important;
}

.coupon-potential strong {
  color: #3dd68c;
}

.coupon-leg-side {
  text-align: right;
  flex-shrink: 0;
}

.coupon-leg-side em {
  font-style: normal;
  font-weight: 800;
  color: #fff;
}

.coupon-leg-side small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.coupon-raw {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  padding: 8px 11px;
}

.coupon-raw summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--muted);
}

.coupon-extras {
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}

.coupon-extras > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
}

.coupon-extras dt {
  color: var(--muted);
  font-weight: 600;
}

.coupon-extras dd {
  margin: 0;
  text-align: right;
}

.coupon-pre {
  margin: 10px 0 0;
  padding: 10px;
  border-radius: 8px;
  background: #0a0a0e;
  color: #c8c4c8;
  font-size: 0.72rem;
  overflow: auto;
  max-height: 180px;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 640px) {
  .coupon-card-head {
    flex-direction: column;
  }

  .coupon-card-amt {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    text-align: left;
  }
}

/* —— Fullscreen game player —— */
.game-player-body {
  margin: 0;
  padding: 0 !important;
  min-height: 100dvh;
  background: #050506;
  overflow: hidden;
}

.game-player {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #050506;
}

.game-player-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  padding-top: max(8px, env(safe-area-inset-top, 0px));
  background: #0e0e12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.game-player-back {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  background: #1a1a22;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-player-wallet {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.game-player-money {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 5px 8px;
  border-radius: 10px;
  background: #16161c;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-player-money span {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  color: #8d8790;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}

.game-player-money strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-player-money.is-bonus {
  background: rgba(61, 214, 140, 0.08);
  border-color: rgba(61, 214, 140, 0.25);
}

.game-player-money.is-bonus span {
  color: #5fbf8a;
}

.game-player-money.is-bonus strong {
  color: #7dffb5;
}

.game-player-deposit {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: var(--red);
}

.game-player-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: #000;
}

.game-player-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.game-player-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  z-index: 2;
}

.game-player-fallback.is-visible {
  display: grid;
}

.game-player-fallback[hidden] {
  display: none !important;
}

.game-player-fallback-card {
  width: min(420px, 100%);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}

.game-player-fallback-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.game-player-fallback-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.game-player-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

@media (min-width: 720px) {
  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .game-meta strong {
    font-size: 0.68rem;
  }

  .game-meta span {
    font-size: 0.58rem;
  }
}

@media (min-width: 1100px) {
  .game-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
}

.badge.new {
  background: #fff;
  color: #111;
}

/* Promo strip */
.promo-strip {
  display: grid;
  gap: 10px;
}

.promo-item {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(var(--red-rgb), 0.28);
  background:
    linear-gradient(135deg, rgba(var(--red-rgb), 0.18), transparent 55%),
    var(--bg-elev);
}

.promo-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.promo-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Forms */
.panel {
  background: rgba(16, 16, 20, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.panel h1,
.panel h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.panel .lead {
  margin: 0 0 18px;
  color: var(--muted);
}

.form-stack {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 420px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: #d7d2d4;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0c0c10;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.birth-field {
  display: grid;
  gap: 8px;
}

.birth-label {
  font-size: 0.88rem;
  color: #d7d2d4;
  font-weight: 600;
}

.birth-selects {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.1fr;
  gap: 8px;
}

.birth-select {
  gap: 0;
}

.birth-select select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #9a959a 50%),
    linear-gradient(135deg, #9a959a 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 10px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
  font-weight: 600;
}

.birth-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.auth-panel {
  max-width: 480px;
  margin-inline: auto;
}

.casino-page {
  padding-top: 8px;
  padding-bottom: 28px;
}

.casino-head {
  margin-bottom: 12px;
}

.casino-head .page-title {
  margin: 0;
}

.casino-head .muted {
  margin: 4px 0 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(var(--red-rgb), 0.65);
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.15);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--muted);
}

.check input {
  margin-top: 3px;
}

.auth-wrap {
  min-height: calc(100svh - var(--header-h) - var(--nav-h));
  display: grid;
  align-content: center;
  padding: 24px 0;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  color: inherit;
  max-width: 100%;
}

.auth-brand.has-logo {
  margin-bottom: 14px;
}

.auth-brand-logo {
  display: block;
  height: var(--logo-h-auth);
  width: auto;
  max-width: min(100%, var(--logo-max-w));
  object-fit: contain;
}

.auth-brand span {
  color: var(--red);
}

/* Account */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.stat {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.stat strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.list {
  display: grid;
  gap: 8px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.list-item:last-child {
  border-bottom: 0;
}

.list-item small {
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: #222;
  overflow: hidden;
  margin-top: 8px;
}

.progress > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
}

.account-page {
  padding: 16px 0 28px;
}

.acc-hero {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 18px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(var(--red-rgb), 0.22), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--bg-soft, #14141a);
  border: 1px solid var(--line);
}

.acc-hero-compact {
  align-items: center;
}

.acc-hero-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.acc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(145deg, var(--red-hot), var(--red-deep, var(--red-deep)));
  box-shadow: 0 10px 24px rgba(var(--red-rgb), 0.28);
  flex: 0 0 auto;
}

.acc-eyebrow {
  margin: 0 0 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.acc-hero h1 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.acc-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.acc-dot { opacity: 0.5; }

.acc-kyc-pill {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  color: #d8d3d6;
}

.acc-kyc-pill.is-verified,
.acc-badge.is-verified,
.acc-badge.is-completed,
.acc-badge.is-active {
  background: rgba(61, 214, 140, 0.14);
  color: #7ee0b0;
}

.acc-kyc-pill.is-pending,
.acc-badge.is-pending,
.acc-badge.is-processing {
  background: rgba(240, 180, 41, 0.14);
  color: #f0b429;
}

.acc-kyc-pill.is-rejected,
.acc-badge.is-rejected,
.acc-badge.is-failed {
  background: rgba(255, 90, 95, 0.14);
  color: var(--accent-text);
}

.acc-hero-wallet {
  min-width: 160px;
  padding: 12px 14px;
  border-radius: 14px;
  text-align: right;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(var(--red-rgb), 0.28);
}

.acc-hero-wallet span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.acc-hero-wallet strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.acc-wallet-split {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.acc-wallet-split em {
  font-style: normal;
  font-size: 0.72rem;
  color: #c9c4c8;
}

.account-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.account-tabs::-webkit-scrollbar { display: none; }

.account-tabs a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  transition: background .15s ease, color .15s ease;
}

.account-tabs a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }

.account-tabs a.active {
  color: #fff;
  background: rgba(var(--red-rgb), 0.22);
  box-shadow: inset 0 0 0 1px rgba(var(--red-rgb), 0.35);
}

.acc-wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.acc-wallet-card {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-soft, #14141a);
  border: 1px solid var(--line);
}

.acc-wallet-card span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.acc-wallet-card strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.acc-wallet-card.is-real { box-shadow: inset 3px 0 0 #3dd68c; }
.acc-wallet-card.is-bonus { box-shadow: inset 3px 0 0 #f0b429; }
.acc-wallet-card.is-locked { box-shadow: inset 3px 0 0 #5aa9ff; }

.acc-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.acc-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-soft, #14141a);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}

.acc-action:hover {
  border-color: rgba(var(--red-rgb), 0.4);
  background: rgba(var(--red-rgb), 0.06);
  transform: translateY(-1px);
}

.acc-action.is-primary {
  background: linear-gradient(160deg, rgba(var(--red-rgb), 0.28), rgba(20, 20, 26, 0.9));
  border-color: rgba(var(--red-rgb), 0.4);
}

.acc-action-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-text);
  font-size: 0.95rem;
  font-weight: 800;
}

.acc-panel {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-soft, #14141a);
  border: 1px solid var(--line);
}

.acc-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.acc-panel-head h2 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.acc-panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.acc-head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.acc-link {
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.86rem;
}

.acc-link:hover { color: var(--accent-text); }

.acc-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  color: #c9c4c8;
  white-space: nowrap;
}

.acc-bonus-amt {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.acc-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  margin-bottom: 4px;
}

.acc-progress-meta span { color: var(--muted); }

.acc-hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.acc-hint a { color: var(--accent-text); font-weight: 700; }

.acc-inline-form { margin-top: 12px; }

.acc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.acc-list { display: grid; gap: 0; }

.acc-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.acc-row:last-child { border-bottom: 0; }

.acc-row strong {
  display: block;
  font-size: 0.94rem;
}

.acc-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.acc-row-right {
  text-align: right;
  display: grid;
  gap: 4px;
  justify-items: end;
}

.acc-row-right .mono.is-plus { color: #7ee0b0; }
.acc-row-right .mono.is-minus { color: var(--accent-text); }

.acc-empty {
  margin: 0;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.acc-empty a { color: var(--accent-text); font-weight: 700; }

.acc-form {
  display: grid;
  gap: 12px;
  max-width: 480px;
}

.acc-field {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #d8d3d6;
}

.acc-field input,
.acc-field select,
.acc-field textarea {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  font: inherit;
  outline: none;
}

.acc-field input:focus,
.acc-field select:focus,
.acc-field textarea:focus {
  border-color: rgba(var(--red-rgb), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.12);
}

.acc-kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.acc-kv > div {
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
}

.acc-kv dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.acc-kv dd {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  word-break: break-word;
}

.acc-subhead {
  margin: 22px 0 10px;
  font-size: 1rem;
}

.acc-success-box {
  padding: 14px;
  border-radius: 12px;
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.3);
  color: #9cf0c4;
  font-weight: 700;
}

.acc-logout {
  margin: 8px 0 0;
}

.acc-2fa-setup {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  align-items: start;
}

.acc-2fa-setup img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

.acc-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
}

.acc-check input {
  margin-top: 3px;
}

.acc-2fa-secret {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  letter-spacing: 0.08em;
  word-break: break-all;
}

@media (max-width: 560px) {
  .acc-2fa-setup { grid-template-columns: 1fr; justify-items: center; }
}

.account-card { margin-bottom: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-active,
.badge-wagering {
  background: rgba(var(--red-rgb), 0.16);
  color: var(--accent-text);
}

@media (max-width: 860px) {
  .acc-split { grid-template-columns: 1fr; }
  .acc-hero {
    flex-direction: column;
  }
  .acc-hero-wallet {
    text-align: left;
    width: 100%;
  }
  .acc-wallet-split { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .acc-wallet-grid,
  .acc-actions { grid-template-columns: 1fr 1fr; }
  .acc-kv { grid-template-columns: 1fr; }
  .acc-actions { grid-template-columns: 1fr 1fr; }
  .acc-action:nth-child(5),
  .acc-action:nth-child(6) { grid-column: span 1; }
}

/* Alerts */
.alerts {
  width: min(100% - 28px, var(--max));
  margin: 12px auto 0;
  display: grid;
  gap: 8px;
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  animation: rise 0.35s ease both;
}

.alert-success {
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.35);
  color: #9cf0c4;
}

.alert-error {
  background: rgba(255, 90, 95, 0.12);
  border: 1px solid rgba(255, 90, 95, 0.35);
  color: var(--accent-text);
}

/* Bottom nav — sabit alt bar */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #0c0c10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);
}

.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(var(--bn-cols, 5), minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  height: var(--nav-h);
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 4px;
  box-sizing: border-box;
}

.bn-item {
  position: relative;
  display: grid;
  place-items: center;
  gap: 3px;
  height: 100%;
  width: 100%;
  max-width: 88px;
  border: 0;
  background: none;
  padding: 0;
  color: #8d8790;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.bn-ico {
  width: 36px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.bn-ico svg,
.bn-ico i {
  width: 22px;
  height: 22px;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
}

.bn-label {
  line-height: 1;
}

.bn-item.active {
  color: #fff;
}

.bn-item.active .bn-ico {
  background: rgba(var(--red-rgb), 0.16);
  color: var(--accent-text);
}

.bn-cta .bn-label {
  color: var(--accent-text);
}

.bn-cta.active .bn-label {
  color: #fff;
}

.bn-cta-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, var(--red-hot) 0%, var(--red) 55%, var(--red-deep) 100%);
  box-shadow: 0 4px 12px rgba(var(--red-rgb), 0.35);
}

.bn-cta-btn svg,
.bn-cta-btn i {
  width: 22px;
  height: 22px;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
}

.bn-cta-btn.has-logo {
  padding: 6px;
}

.bn-cta-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bn-cta.active .bn-cta-btn {
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.22), 0 4px 12px rgba(var(--red-rgb), 0.35);
}

.bn-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--red-hot), var(--red-deep));
}

.bn-item.active .bn-avatar {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

/* Sports placeholder */
.coming {
  min-height: 50vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 10px;
  padding: 40px 0;
}

.coming h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  letter-spacing: -0.04em;
}

.coming p {
  margin: 0;
  color: var(--muted);
}

/* Demo game stage */
.demo-stage {
  min-height: 55vh;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 30%, rgba(var(--red-rgb), 0.25), transparent 50%),
    #0c0c10;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}

.demo-stage h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
}

.page-title {
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.search-bar input {
  flex: 1;
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes aura {
  from {
    transform: translateY(0) scale(1);
    opacity: 0.85;
  }
  to {
    transform: translateY(12px) scale(1.05);
    opacity: 1;
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  body {
    padding-bottom: 28px;
  }

  .bottom-nav {
    display: none;
  }

  .mobile-nav-toggle,
  .mobile-nav,
  .mobile-nav-backdrop {
    display: none !important;
  }

  .header-start {
    flex: 0 0 auto;
  }

  .hdr-quick {
    display: flex;
  }

  .hdr-deposit-btn {
    display: inline-flex;
  }

  .hdr-cat.nav-live {
    position: relative;
    padding-right: 16px;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: 70vh;
    align-content: center;
    padding: 48px 0;
  }

  .hero-visual {
    width: min(38vw, 420px);
    right: 4%;
    top: 18%;
  }

  .home-slider {
    max-height: 460px;
  }

  .cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .popular-games {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bet-row {
    padding: 16px 18px;
  }

  .game-rail {
    grid-auto-columns: minmax(180px, 22%);
  }

  .promo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quick-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .auth-wrap .panel {
    width: min(100%, 440px);
    margin-inline: auto;
  }
}

@media (min-width: 768px) and (max-width: 1099.98px) {
  .hdr-quick-btn span {
    display: none;
  }

  .hdr-quick-btn {
    min-width: 36px;
    padding: 0 10px;
    justify-content: center;
  }
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 0 0 calc(var(--nav-h) + 28px);
  background: #050506;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-app {
  position: relative;
  overflow: hidden;
  padding: 36px 0 28px;
  background:
    radial-gradient(720px 280px at 85% 20%, rgba(var(--red-rgb), 0.22), transparent 55%),
    radial-gradient(500px 220px at 10% 80%, rgba(var(--red-rgb), 0.1), transparent 50%),
    linear-gradient(180deg, #0c0c10 0%, #050506 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-app-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.ft-app-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--red-hot);
  line-height: 1.05;
}

.ft-app-text {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  max-width: 34ch;
  line-height: 1.45;
}

.ft-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ft-store {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f2f0f2;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

a.ft-store:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.ft-app-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(165deg, var(--red-hot), var(--red-deep));
  box-shadow: 0 10px 28px rgba(var(--red-rgb), 0.35);
}

.ft-app-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-text);
  text-decoration: none;
}

.guncel-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(120deg, rgba(var(--red-rgb), 0.22), rgba(255, 255, 255, 0.03) 55%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--red-rgb), 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.guncel-banner-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(160deg, var(--red-hot), var(--red-deep));
}

.guncel-banner-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.guncel-banner-copy strong {
  font-size: 0.92rem;
  font-weight: 800;
}

.guncel-banner-copy span {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guncel-banner-cta {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.ft-phones {
  position: relative;
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}

.ft-phone {
  width: 112px;
  height: 200px;
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(160deg, #2a2a32, #121218);
  border: 2px solid rgba(var(--red-rgb), 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.ft-phone-a {
  transform: rotate(-8deg) translateY(8px);
}

.ft-phone-b {
  transform: rotate(7deg) translateY(-4px);
  width: 120px;
  height: 214px;
}

.ft-phone-screen {
  height: 100%;
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background:
    radial-gradient(80px 60px at 50% 0%, rgba(var(--red-rgb), 0.35), transparent 70%),
    #0a0a0e;
}

.ft-phone-screen strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: -0.03em;
}

.ft-phone-screen strong span {
  color: var(--red-hot);
}

.ft-phone-screen em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  color: #9a959a;
}

.ft-phone-screen i {
  display: block;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(var(--red-rgb), 0.35), rgba(255, 255, 255, 0.06));
}

.ft-body {
  padding: 32px 0 8px;
}

.ft-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
  margin-bottom: 28px;
}

.ft-col h3 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.ft-col a {
  display: block;
  margin: 0 0 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #9a959a;
  text-decoration: none;
}

.ft-col a:hover {
  color: var(--accent-text);
}

.ft-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 28px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 10px 8px;
}

.ft-stars {
  color: var(--red-hot);
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.ft-trust-item strong {
  font-size: 0.92rem;
  font-weight: 800;
}

.ft-trust-item span:last-child {
  font-size: 0.75rem;
  color: #8d8790;
}

.ft-shield,
.ft-score {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(160deg, var(--red-hot), #8a0400);
  margin-bottom: 4px;
}

.ft-score {
  font-size: 0.78rem;
  background: linear-gradient(160deg, #2a2a32, #121218);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ft-seal-link {
  display: inline-flex;
  margin-bottom: 6px;
  line-height: 0;
}

.ft-seal {
  width: 88px;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #000;
}

.ft-license {
  display: grid;
  gap: 18px;
  margin: 0 0 28px;
  padding: 20px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.ft-license-seal a,
.ft-license-stamp {
  display: inline-block;
  pointer-events: none;
  user-select: none;
  cursor: default;
}

.ft-license-seal a {
  display: inline-flex;
  line-height: 0;
}

.ft-license-seal img {
  width: 120px;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.ft-license-copy {
  max-width: 820px;
}

.ft-license-copy p {
  margin: 0 0 12px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #8a858c;
}

.ft-license-copy p:last-child {
  margin-bottom: 0;
}

.ft-license-copy b {
  color: var(--red-hot);
  font-weight: 800;
}

.ft-license-copy a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ft-license-copy a:hover {
  color: #fff;
}

.ft-legal {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.ft-legal p {
  margin: 0 0 12px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #7a757c;
}

.ft-legal b {
  color: var(--red-hot);
  font-weight: 800;
}

.ft-copy {
  margin-top: 8px !important;
  color: #5c575e !important;
}

/* Bonus page */
.bonus-page {
  padding-bottom: 32px;
}

.bonus-hero {
  position: relative;
  padding: 32px 0 22px;
  margin-bottom: 4px;
  overflow: hidden;
  background:
    radial-gradient(900px 240px at 12% -10%, rgba(var(--red-rgb), 0.34), transparent 55%),
    radial-gradient(600px 200px at 90% 20%, rgba(255, 255, 255, 0.04), transparent 50%),
    linear-gradient(180deg, #141418 0%, #0a0a0c 100%);
  border-bottom: 1px solid var(--line);
}

.bonus-hero-inner {
  position: relative;
  z-index: 1;
}

.bonus-hero-copy {
  max-width: 34rem;
}

.bonus-eyebrow {
  margin: 0 0 8px;
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bonus-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.bonus-hero h1 span {
  color: var(--accent-text);
}

.bonus-hero .lead {
  margin: 12px 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.bonus-hero-glow {
  pointer-events: none;
  position: absolute;
  right: -8%;
  top: 10%;
  width: min(340px, 42vw);
  height: min(340px, 42vw);
  border-radius: 28% 72% 40% 60% / 55% 35% 65% 45%;
  background:
    conic-gradient(from 200deg, rgba(var(--red-rgb), 0.45), transparent 40%, rgba(var(--red-rgb), 0.2));
  filter: blur(8px);
  opacity: 0.55;
  animation: bonusGlow 10s ease-in-out infinite alternate;
}

@keyframes bonusGlow {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(12deg) scale(1.06); }
}

.bonus-body {
  display: grid;
  gap: 16px;
  padding: 18px 0 8px;
}

.bonus-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.bonus-pill.hot {
  color: #fff;
  background: linear-gradient(135deg, var(--red-hot), var(--red-deep));
  border-color: transparent;
}

.cashback-card,
.wager-panel,
.bonus-code-card,
.bonus-history-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.95), rgba(12, 12, 16, 0.96));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.cashback-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-color: rgba(var(--red-rgb), 0.3);
  background: linear-gradient(145deg, rgba(var(--red-rgb), 0.18), rgba(14, 14, 18, 0.95));
}

.cashback-card h2,
.wager-panel h2,
.bonus-code-card h2,
.bonus-history-card h2,
.bonus-catalog-section h2 {
  margin: 6px 0 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.cashback-meta,
.wager-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.cashback-meta div,
.wager-stats div {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cashback-meta span,
.wager-stats span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.cashback-meta strong,
.wager-stats strong {
  font-size: 0.95rem;
}

.wager-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.wager-pct {
  font-size: 1.4rem;
  color: var(--accent-text);
}

.progress.tall {
  height: 10px;
  margin: 12px 0 8px;
}

.hint {
  margin: 8px 0 0;
  font-size: 0.84rem;
}

.bonus-code-card {
  display: grid;
  gap: 14px;
  align-items: center;
}

.bonus-code-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bonus-code-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent-text);
  background: rgba(var(--red-rgb), 0.14);
  border: 1px solid rgba(var(--red-rgb), 0.22);
  flex-shrink: 0;
}

.bonus-code-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.bonus-code-form input {
  min-height: 46px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bonus-catalog-head {
  margin-bottom: 4px;
}

.bonus-catalog-head .muted {
  margin: 4px 0 0;
}

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

.bonus-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #121216;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bonus-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--red-rgb), 0.4);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
}

.bonus-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0c0c10;
  overflow: hidden;
}

.bonus-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.bonus-card:hover .bonus-card-img {
  transform: scale(1.04);
}

.bonus-card-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(var(--red-rgb), 0.45), transparent 50%),
    linear-gradient(155deg, #1c1c24 0%, #0e0e12 55%, #1a1012 100%);
}

.bonus-card-fallback span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--red-hot), var(--red-deep));
  box-shadow: 0 12px 28px rgba(var(--red-rgb), 0.35);
}

.bonus-card-badges {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  padding: 14px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.bonus-value {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.bonus-card-body {
  display: grid;
  gap: 10px;
  padding: 14px 14px 16px;
  flex: 1;
}

.bonus-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.bonus-card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bonus-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bonus-facts li {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ddd8da;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bonus-terms {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.bonus-terms summary {
  cursor: pointer;
  list-style: none;
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-text);
  user-select: none;
}

.bonus-terms summary::-webkit-details-marker {
  display: none;
}

.bonus-terms summary::after {
  content: '+';
  float: right;
  opacity: 0.7;
}

.bonus-terms[open] summary::after {
  content: '−';
}

.bonus-terms-body {
  padding: 0 11px 11px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  max-height: 160px;
  overflow: auto;
}

.bonus-hint {
  margin: 0 !important;
  font-size: 0.78rem !important;
  color: var(--accent-text) !important;
}

.bonus-card-actions {
  margin-top: auto;
  padding-top: 2px;
}

.bonus-card-actions .btn {
  min-height: 44px;
  font-weight: 800;
}

.bonus-card.action-received,
.bonus-card.action-blocked {
  opacity: 0.78;
}

.bonus-empty {
  grid-column: 1 / -1;
  padding: 20px;
  text-align: center;
}

.status-tag {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
}

@media (min-width: 640px) {
  .bonus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .bonus-code-card {
    grid-template-columns: 1fr 1.15fr;
  }
}

@media (min-width: 1100px) {
  .bonus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .bonus-hero {
    padding: 24px 0 16px;
  }

  .cashback-meta,
  .wager-stats {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 40px;
  }

  .ft-app-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .ft-phones {
    height: 260px;
    justify-content: flex-end;
  }

  .ft-phone {
    width: 128px;
    height: 230px;
  }

  .ft-phone-b {
    width: 138px;
    height: 246px;
  }

  .ft-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .ft-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .ft-license {
    grid-template-columns: 140px 1fr;
    text-align: left;
    justify-items: start;
    padding: 24px 22px;
    gap: 22px;
  }

  .ft-license-seal {
    justify-self: center;
  }
}

/* Popup */
.site-popup[hidden] {
  display: none !important;
}

.site-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.site-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.site-popup-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  border-radius: 18px;
  border: 1px solid rgba(var(--red-rgb), 0.35);
  background: #121218;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: rise 0.35s ease both;
}

.site-popup-x {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.site-popup-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.site-popup-body {
  padding: 18px;
}

.site-popup-body h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.site-popup-body p {
  margin: 0 0 16px;
  color: var(--muted);
}

.site-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Payment page — kanal + firma */
.pay-page {
  padding: 20px 0 32px;
}

.pay-panel h1 {
  margin: 0 0 6px;
}

.pay-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0c0c10;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.pay-channel:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.pay-channel.is-active {
  border-color: rgba(var(--red-rgb), 0.7);
  background: rgba(var(--red-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--red-rgb), 0.22);
}

.pay-channel-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-text);
  font-size: 1.15rem;
}

.pay-channel.is-active .pay-channel-ico {
  background: rgba(var(--red-rgb), 0.18);
  color: var(--accent-text);
}

.pay-channel-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.pay-channel-meta strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.pay-channel-meta small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.pay-firm-panel {
  display: none;
  margin-top: 4px;
}

.pay-firm-panel.is-active {
  display: block;
}

.pay-firm-head {
  margin: 4px 0 12px;
}

.pay-firm-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.pay-firm-head .muted {
  margin: 4px 0 0;
  font-size: 0.82rem;
}

.pay-methods {
  display: grid;
  gap: 10px;
}

.pay-method {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0c0c10;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pay-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-method:has(input:checked),
.pay-method.is-selected {
  border-color: rgba(var(--red-rgb), 0.65);
  background: rgba(var(--red-rgb), 0.08);
  box-shadow: inset 0 0 0 1px rgba(var(--red-rgb), 0.2);
}

.pay-method.is-soon {
  opacity: 0.55;
  cursor: not-allowed;
}

.pay-logo {
  width: 56px;
  height: 40px;
  border-radius: 10px;
  background: #16161c;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pay-logo img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.pay-logo-fallback {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-text);
}

.pay-logo-fallback.pay-crypto { color: #f0b429; }
.pay-logo-fallback.pay-card { color: #8fc4ff; }
.pay-logo-fallback.pay-havale { color: var(--accent-text); }

.pay-meta strong {
  display: block;
  font-size: 0.95rem;
}

.pay-meta small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.pay-meta small.pay-limits {
  color: #c9c4c8;
}

.pay-meta em {
  display: inline-block;
  margin-top: 4px;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f0b429;
}

.pay-meta em.pay-ready {
  color: #3dd68c;
}

.pay-empty,
.pay-crypto-note {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.pay-empty i,
.pay-crypto-note i {
  font-size: 1.6rem;
  color: #f0b429;
}

.pay-empty p,
.pay-crypto-note p {
  margin: 0;
  max-width: 320px;
}

.pay-amount-block {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.pay-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pay-note {
  margin: 0;
  font-size: 0.88rem;
}

.pay-crypto-box {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(240, 180, 41, 0.28);
  background: linear-gradient(180deg, rgba(240, 180, 41, 0.08), rgba(255, 255, 255, 0.02));
}

.pay-crypto-box[hidden],
.pay-crypto-pay[hidden] {
  display: none !important;
}

.pay-bank-card {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(var(--red-rgb), 0.35);
  background: linear-gradient(180deg, rgba(var(--red-rgb), 0.12), rgba(255, 255, 255, 0.02));
}

.pay-bank-card h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.pay-bank-kv {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 12px;
  margin: 12px 0 0;
}

.pay-bank-kv dt {
  color: #9a959a;
  font-size: 0.85rem;
}

.pay-bank-kv dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pay-bank-kv code {
  word-break: break-all;
  font-size: 0.88rem;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
}

.pay-crypto-rate {
  display: grid;
  gap: 4px;
}

.pay-crypto-rate strong {
  font-size: 1.25rem;
  color: #f0b429;
}

.pay-crypto-rate span {
  font-size: 0.95rem;
}

.pay-crypto-rate small {
  color: #9a959a;
}

.pay-crypto-pay {
  display: grid;
  gap: 12px;
  grid-template-columns: 160px 1fr;
  align-items: start;
}

.pay-crypto-qr-wrap {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  padding: 8px;
}

.pay-crypto-qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pay-crypto-addr {
  display: grid;
  gap: 8px;
  align-content: start;
}

.pay-crypto-addr code {
  display: block;
  word-break: break-all;
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pay-history-title {
  margin: 24px 0 8px;
  font-size: 1.1rem;
}

@media (max-width: 560px) {
  .pay-crypto-pay {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .pay-crypto-addr {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .pay-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }

  .pay-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Bakiye seçimi (bonus / gerçek) */
.wallet-pick {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 20px 14px;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(var(--red-rgb), 0.28), transparent 55%),
    linear-gradient(180deg, #121218 0%, #050506 70%);
}

.wallet-pick-card {
  width: min(440px, 100%);
  padding: 22px 18px 18px;
  border-radius: 18px;
  background: rgba(16, 16, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.wallet-pick-brand {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.wallet-pick-brand span {
  color: var(--red);
}

.wallet-pick-card h1 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.wallet-pick-lead {
  margin: 0 0 16px;
  color: #9a959a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.wallet-pick-sums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.wallet-pick-sums > div {
  padding: 10px 8px;
  border-radius: 12px;
  background: #16161c;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-pick-sums > div.is-bonus {
  background: rgba(61, 214, 140, 0.08);
  border-color: rgba(61, 214, 140, 0.25);
}

.wallet-pick-sums span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #8d8790;
  margin-bottom: 4px;
}

.wallet-pick-sums strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.wallet-pick-actions {
  display: grid;
  gap: 8px;
}

.wallet-pick-btn {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  background: #1a1a22;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wallet-pick-btn strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.wallet-pick-btn span {
  display: block;
  font-size: 0.78rem;
  color: #9a959a;
}

.wallet-pick-btn.is-bonus {
  background: rgba(61, 214, 140, 0.12);
  border-color: rgba(61, 214, 140, 0.35);
}

.wallet-pick-btn.is-auto {
  background: linear-gradient(160deg, var(--red), var(--red-deep));
  border-color: transparent;
}

.wallet-pick-btn.is-auto span {
  color: rgba(255, 255, 255, 0.82);
}

.game-player-stage .wallet-pick {
  position: absolute;
  inset: 0;
  overflow: auto;
}
