:root {
  --bg: #11121A;
  --bg-elev: #211D27;
  --bg-soft: #2A2532;
  --bg-panel: #211D27;
  --line: rgba(255, 255, 255, 0.08);
  --text: #FFFFFF;
  --muted: #B9B5C0;
  --violet: #F3268B;
  --violet-hot: #FF8FBF;
  --violet-deep: #2A2532;
  --accent: #F3268B;
  --accent-soft: #FF8FBF;
  --lime: #F3268B;
  --danger: #fb7185;
  --ok: #34d399;
  --radius: 16px;
  --font-display: "Barlow", sans-serif;
  --font-body: "Barlow", sans-serif;
  --sidebar-w: 268px;
  --bottom-h: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; max-width: 100%; overflow-x: clip; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.site-banners {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  background: #11121A;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.site-banners::-webkit-scrollbar { display: none; }
.site-banner {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
  line-height: 0;
  max-height: 160px;
  overflow: hidden;
  background: #211D27;
}
.site-banner img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .site-banner,
  .site-banner img { max-height: 200px; height: 200px; }
}
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  background: #11121A;
}
button, input, select { font: inherit; color: inherit; }
.hidden { display: none !important; }
img { max-width: 100%; height: auto; }

.app {
  min-height: 100vh;
  background: transparent;
}

/* —— Brand —— */
.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.brand-logo {
  display: block;
  object-fit: contain;
  object-position: left center;
  max-width: none;
}
.brand-logo--top {
  width: auto;
  height: 42px;
}
.brand-logo--side {
  width: auto;
  height: 48px;
}
.brand-logo--hero {
  width: min(280px, 70vw);
  height: auto;
  margin: 0;
}

/* Sidebar */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(var(--sidebar-w), 88vw);
  z-index: 80;
  background: #211D27;
  border-right: 1px solid var(--line);
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
}
.sidebar.is-open { transform: none; }
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.sidebar.is-open + .sidebar-backdrop,
.sidebar-backdrop.is-on {
  opacity: 1;
  pointer-events: auto;
}
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1rem 0.9rem;
  gap: 0.5rem;
  min-height: 72px;
}
.topbar .brand-link--top {
  padding: 0.15rem 0.1rem;
}
.side-nav {
  overflow: auto;
  padding: 0.2rem 0.85rem 1rem;
  flex: 1;
}
/* Betim-benzeri grup + daire ikon menü */
.side-group {
  margin: 1rem 0.55rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B9B5C0;
}
.side-group:first-child { margin-top: 0.35rem; }
.side-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  border: 0;
  background: transparent;
  color: #B9B5C0;
  padding: 0.42rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 0.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease, background 0.15s ease;
}
.side-item:hover {
  color: #FF8FBF;
  background: rgba(243, 38, 139, 0.06);
  transform: translateX(3px);
}
.side-item:hover .side-ico { color: #FF8FBF; }
.side-item.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(243, 38, 139, 0.14), #2A2532 42%);
  box-shadow: inset 2px 0 0 var(--lime);
}
.side-item.is-active .side-ico {
  background: transparent;
  color: var(--lime);
  border-color: transparent;
  box-shadow: none;
}
.side-txt { line-height: 1.2; }
.side-caret {
  margin-left: auto;
  display: grid;
  color: #B9B5C0;
  transition: transform 0.2s ease, color 0.15s ease;
}
#sideProviders.is-open .side-caret {
  transform: rotate(180deg);
  color: var(--lime);
}
.side-drop {
  max-height: 0;
  margin: 0 0.15rem 0.15rem 0.35rem;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.22s ease;
}
.side-drop.is-open {
  max-height: 280px;
  overflow: auto;
  pointer-events: auto;
}
.side-prov {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  color: #B9B5C0;
  padding: 0.38rem 0.45rem 0.38rem 2.15rem;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
}
.side-prov img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}
.side-prov span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-prov:hover { color: #fff; background: rgba(243, 38, 139, 0.08); }
.side-prov.is-on { color: var(--lime); background: rgba(243, 38, 139, 0.12); }
.side-ico {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: #B9B5C0;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.side-ico svg { display: block; }
.side-nav .side-item {
  animation: sideIn 0.45s ease both;
}
.side-nav .side-item:nth-of-type(1) { animation-delay: 0.04s; }
.side-nav .side-item:nth-of-type(2) { animation-delay: 0.08s; }
.side-nav .side-item:nth-of-type(3) { animation-delay: 0.12s; }
.side-nav .side-item:nth-of-type(4) { animation-delay: 0.16s; }
.side-nav .side-item:nth-of-type(5) { animation-delay: 0.2s; }
.side-nav .side-item:nth-of-type(6) { animation-delay: 0.24s; }
.side-nav .side-item:nth-of-type(7) { animation-delay: 0.28s; }
.side-nav .side-item:nth-of-type(8) { animation-delay: 0.32s; }
.side-nav .side-item:nth-of-type(9) { animation-delay: 0.36s; }
.side-promo {
  margin: 0.85rem 0.15rem 0.2rem;
  animation: sideIn 0.5s ease 0.4s both;
}
.side-promo-field {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.side-promo-field input {
  flex: 1;
  min-width: 0;
  background: #11121A;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  padding: 0.48rem 0.6rem;
  font: inherit;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.side-promo-field input:focus {
  border-color: rgba(243, 38, 139, 0.7);
  box-shadow: 0 0 0 3px rgba(243, 38, 139, 0.12);
}
.side-promo-field button {
  border: 0;
  border-radius: 8px;
  background: var(--lime);
  color: #11121A;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0 0.7rem;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease;
}
.side-promo-field button:hover { transform: translateY(-1px); filter: none; background: #FF8FBF; color: #11121A; }
.side-promo-msg {
  min-height: 1.1em;
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.side-promo-msg.is-ok { color: var(--ok); }
.side-promo-msg.is-err { color: var(--danger); }
.sidebar-foot {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(243, 38, 139, 0.05), transparent 42%);
}
.side-group--foot { margin: 0 0.35rem 0.45rem; }
.side-social {
  display: flex;
  gap: 0.4rem;
  margin: 0 0.15rem 0.7rem;
}
.soc {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #11121A;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.soc:hover {
  transform: translateY(-2px);
  color: var(--lime);
  border-color: rgba(243, 38, 139, 0.55);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
.play-badge {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}
@keyframes sideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: none; }
}

.stage {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom) + 12px);
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  min-height: 64px;
  background: #11121A;
  border-bottom: 1px solid var(--line);
  animation: topIn 0.38s ease;
}
.brand-logo--top { transition: transform 0.22s ease; }
.brand-link--top:hover .brand-logo--top { transform: translateY(-1px) scale(1.03); }
.icon-btn, .menu-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  cursor: pointer;
}
.top-search input {
  width: 100%;
  max-width: 420px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.top-search input:focus {
  border-color: rgba(243, 38, 139, 0.55);
}
.top-actions { display: flex; align-items: center; gap: 0.45rem; }
.auth-guest, .auth-user { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; justify-content: flex-end; }
.wallet {
  display: flex;
  align-items: stretch;
  height: 42px;
  background: #211D27;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.cash-btn {
  height: auto;
  align-self: stretch;
  margin: 4px 4px 4px 0;
  border-radius: 6px !important;
  padding: 0 0.9rem !important;
  font-size: 0.84rem !important;
  font-weight: 700;
  letter-spacing: 0;
}
.cash-btn.deposit {
  background: #F3268B !important;
  color: #11121A !important;
  transition: background 0.15s ease;
}
.cash-btn.deposit:hover { filter: none; background: #FF8FBF !important; color: #11121A !important; }
.cash-btn.deposit:active { background: #F3268B !important; }
.balance-pill.is-tick strong { animation: balTick 0.45s ease; }
.user-menu { position: relative; }
.user-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0.15rem 0.2rem;
  font: inherit;
}
.user-ava {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2A2532;
  color: var(--lime);
  font-weight: 700;
  font-size: 0.85rem;
}
.user-id { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.user-id strong { font-size: 0.82rem; }
.user-id small { color: var(--muted); font-size: 0.68rem; }
.user-caret { color: var(--muted); transition: transform 0.18s ease; }
.user-menu.is-open .user-caret { transform: rotate(180deg); }
.account-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(360px, calc(100vw - 20px));
  background: #211D27;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 0.85rem 0.7rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  z-index: 60;
  transform-origin: top right;
  animation: menuIn 0.18s ease;
}
.account-panel[hidden] { display: none; }
.acc-user { margin: 0.15rem 0.35rem 0.75rem; font-weight: 700; }
.acc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem 0.2rem;
}
.acc-item {
  border: 0;
  background: transparent;
  color: #B9B5C0;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.15rem;
  border-radius: 10px;
  text-align: center;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.acc-item:hover { color: #fff; background: rgba(255,255,255,0.04); transform: translateY(-2px); }
.acc-ico { color: #B9B5C0; display: grid; place-items: center; height: 26px; }
.acc-item:hover .acc-ico { color: #FF8FBF; }
.acc-help { margin: 0.85rem 0 0.45rem; text-align: center; color: var(--muted); font-size: 0.82rem; }
.acc-support {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid rgba(243, 38, 139, 0.7);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 0.7rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.acc-support:hover { background: rgba(243, 38, 139, 0.08); transform: translateY(-1px); }
.acc-logout {
  width: 100%;
  margin-top: 0.75rem;
  border: 0;
  background: transparent;
  color: #B9B5C0;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 0.35rem;
}
.acc-logout:hover { color: #fff; }
.acc-view h3 { margin: 0.2rem 0 0.7rem; font-size: 1rem; }
.acc-back {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0 0 0.35rem;
}
.acc-empty { margin: 0.2rem 0 0.6rem; color: var(--muted); font-size: 0.88rem; }
.acc-list { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow: auto; }
.acc-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.account-panel .account-grid { grid-template-columns: 1fr 1fr; }
.cash-btn.withdraw {
  background: transparent !important;
  border: 1px solid rgba(243, 38, 139, 0.45) !important;
  color: var(--lime) !important;
}
.cash-card { width: min(480px, 94vw); }
.cash-desk {
  width: min(980px, 96vw);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  padding: 0;
  position: relative;
  background: #11121A;
  min-height: 460px;
  overflow: hidden;
}
.cash-x {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #B9B5C0;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.cash-side {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 0.85rem;
  border-right: 1px solid var(--line);
  background: #11121A;
}
.cash-nav {
  border: 1px solid transparent;
  background: #211D27;
  color: var(--text);
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
  text-align: left;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.cash-nav.is-on {
  border-color: var(--lime);
  color: var(--lime);
}
.cash-main { padding: 1.15rem 1.2rem 1.3rem; min-width: 0; }
.cash-main h3 { margin: 0 0 1rem; font-size: 1.15rem; }
.pay-table { display: flex; flex-direction: column; }
.pay-head, .pay-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr auto;
  gap: 0.6rem;
  align-items: center;
}
.pay-head {
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0 0.35rem 0.55rem;
}
.pay-methods { display: flex; flex-direction: column; gap: 0.45rem; max-height: 420px; overflow: auto; }
.pay-row {
  background: #211D27;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}
.pay-name { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }
.pay-name img, .pay-name span {
  width: 42px;
  height: 28px;
  object-fit: contain;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.pay-gold {
  background: #F3268B !important;
  color: #11121A !important;
  border-radius: 8px !important;
  width: 100%;
  padding: 0.75rem 1rem !important;
  font-weight: 700;
}
.pay-gold-sm { width: auto; padding: 0.45rem 0.8rem !important; white-space: nowrap; }
.pay-gold:hover { background: #FF8FBF !important; color: #11121A !important; }
.pay-back {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0 0 0.8rem;
}
.pay-detail, .pay-facts { max-width: 460px; margin: 0.4rem auto 0; }
.pay-logo { display: grid; place-items: center; min-height: 72px; font-size: 1.6rem; }
.pay-logo img { max-height: 64px; max-width: 180px; object-fit: contain; }
.pay-limits { text-align: center; color: var(--muted); margin: 0.2rem 0 1rem; }
.pay-amount-label { display: block; margin-bottom: 0.35rem; color: var(--muted); font-size: 0.85rem; }
.pay-amount-input, #cashAccount {
  width: 100%;
  background: #11121A;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  color: var(--text);
  font: inherit;
  margin-bottom: 0.8rem;
}
.pay-timer { text-align: center; margin: 0.2rem 0 1rem; font-weight: 600; }
.pay-facts { display: grid; gap: 0.7rem; margin-bottom: 1rem; }
.pay-facts > div {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 0.5rem;
  align-items: center;
}
.pay-facts span { color: var(--muted); }
.pay-iban-row strong { word-break: break-all; }
.pay-copy {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 6px;
  padding: 0.25rem 0.45rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
}
.pay-warn {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.8rem;
  border-left: 3px solid #e11d48;
  color: #FFFFFF;
  font-size: 0.88rem;
}
@media (max-width: 720px) {
  .cash-desk { grid-template-columns: 1fr; }
  .cash-side { flex-direction: row; overflow: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .pay-head { display: none; }
  .pay-row { grid-template-columns: 1fr auto; }
  .pay-row > span:nth-child(2),
  .pay-row > span:nth-child(3) { display: none; }
  .pay-facts > div { grid-template-columns: 1fr; }
}
.cash-quick { display: flex; gap: 0.5rem; margin-bottom: 0.85rem; flex-wrap: wrap; }
.pay-methods {
  display: grid;
  gap: 0.55rem;
  margin: 0.4rem 0 0.85rem;
  max-height: 280px;
  overflow: auto;
}
.pay-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pay-method:hover {
  border-color: rgba(243, 38, 139, 0.45);
  background: rgba(243, 38, 139, 0.06);
}
.pay-ico {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.15rem;
  flex-shrink: 0;
  overflow: hidden;
}
.pay-ico img { width: 100%; height: 100%; object-fit: cover; }
.pay-meta { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.pay-meta strong { font-size: 0.95rem; }
.pay-meta small { color: var(--muted); font-size: 0.78rem; }
.pay-selected {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--lime);
}
.pay-instructions {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  white-space: pre-wrap;
}
.muted-li { color: var(--muted); list-style: none; padding: 0.4rem 0; }

.btn {
  border: 0;
  cursor: pointer;
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  color: var(--text);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn.primary:hover { background: #FF8FBF; color: #11121A; filter: none; }
.btn:active { transform: scale(0.98); }
.btn.primary {
  background: var(--lime);
  color: #11121A;
  box-shadow: none;
}
.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.balance-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1px;
  min-width: 88px;
  height: auto;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0 0.75rem;
  cursor: pointer;
  color: #fff;
}
.balance-pill:hover .bal-kicker { color: #FF8FBF; }
.bal-kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #B9B5C0;
  line-height: 1;
}
.bal-sum {
  display: flex;
  align-items: baseline;
  gap: 0.18rem;
  line-height: 1;
}
.balance-pill strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.95rem;
}
.bal-cur {
  color: #B9B5C0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

.band { margin: 0 0 0.85rem; }
.band-viewport { overflow: hidden; }
.band-track {
  display: flex;
  gap: 0.7rem;
  width: max-content;
  animation: band 150s linear infinite;
}
.band-viewport:hover .band-track { animation-play-state: paused; }
.band-card {
  position: relative;
  width: 460px;
  height: 176px;
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(243, 38, 139, 0.32);
  background: #11121A;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.band-card.is-static { cursor: default; }
.band-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
  padding: 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.band-kicker {
  margin: 0;
  color: #F3268B;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.band-card strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
.band-card p {
  margin: 0.22rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
.band-cta {
  display: inline-block;
  margin-top: 0.5rem;
  color: #F3268B;
  font-size: 0.75rem;
  font-weight: 700;
}
.band-card.has-poster {
  width: min(640px, 92vw);
  height: auto;
  aspect-ratio: 2 / 1;
  border-radius: 16px;
}
.band-card.has-poster .band-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.band-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
}
@keyframes band {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .band-card:not(.has-poster) { width: min(460px, 92vw); height: 168px; }
  .band-card:not(.has-poster) .band-copy { width: 100%; padding: 2.35rem 32% 0.7rem 0.85rem; }
  .band-card.has-poster { width: min(640px, 94vw); }
}
@media (prefers-reduced-motion: reduce) {
  .band-viewport { overflow-x: auto; }
  .band-track { animation: none; }
  .side-nav .side-item, .side-promo { animation: none; }
  .side-item:hover, .soc:hover, .side-promo-field button:hover { transform: none; }
}

/* Hero retired: the promo band is the top of the lobby. */
#hero { display: none !important; }

/* Hero — brand first, one composition */
.promo {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  min-height: 0;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #211D27;
}
.promo-glow { display: none; }
.promo-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.promo-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.promo-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}
.promo-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.promo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0;
  flex-shrink: 0;
}

/* Betim tarzı kategori şeridi: köşeli sekme, border yok */
.cat-bar[hidden],
.winners[hidden] { display: none !important; }
.cat-bar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.35rem 0 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
}
.cat-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.cat-row .chips { flex: 1; min-width: 0; }
.cat-row .top-search { flex: 0 1 260px; }
.cat-row .top-search input { max-width: none; }
.chips,
.prov-chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.15rem 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar,
.prov-chips::-webkit-scrollbar { display: none; }
.chip {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 0;
  padding: 0.45rem 0.1rem 0.55rem;
  margin-right: 1.05rem;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.chip:hover { background: transparent; color: #FF8FBF; }
.chip.is-on {
  color: #fff;
  background: transparent;
  border-color: transparent;
}
.chip.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}
.chip-ico {
  font-size: 0.78rem;
  opacity: 0.9;
  line-height: 1;
}
.chip.is-on .chip-ico { opacity: 1; }
.chip-soft {
  background: transparent;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.chip-soft:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.prov-link {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: none;
  border: 0;
  padding: 0.4rem 0.05rem 0.5rem;
  margin-right: 1.05rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}
.prov-link img {
  height: 22px;
  width: 22px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex: 0 0 auto;
}
.prov-link:hover { color: #fff; }
.prov-link.is-on { color: #fff; }
.prov-link.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}
.prov-link.is-on img { opacity: 1; }

.spot { margin: 0.85rem 0 1.1rem; }
.spot-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
}
.spot-head img {
  height: 32px;
  width: auto;
  max-width: none;
  display: block;
}
.home-rows { display: flex; flex-direction: column; gap: 1.15rem; margin: 0.2rem 0 0.4rem; }
.home-rows[hidden] { display: none; }
.rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 0.6rem;
}
.rail-head h2 { margin: 0; font-size: 1rem; letter-spacing: -0.02em; }
.rail-more {
  background: none;
  border: 0;
  padding: 0;
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.rail-viewport { overflow-x: auto; scrollbar-width: none; }
.rail-viewport::-webkit-scrollbar { display: none; }
.rail-track { display: flex; gap: 0.75rem; width: max-content; }
.rail-track .spot-card { width: 132px; }
.spot-viewport { overflow: hidden; }
.spot-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: spot 70s linear infinite;
}
.spot-viewport:hover .spot-track { animation-play-state: paused; }
.spot-card {
  width: 132px;
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.spot-card img {
  width: 100%;
  aspect-ratio: 450 / 345;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  background: #211D27;
}
.spot-card span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (prefers-reduced-motion: reduce) {
  .spot-track { animation: none; }
}
.winners {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.55rem 0 1rem;
  padding: 0.5rem;
  border-radius: 14px;
  background: #211D27;
  border: 1px solid var(--line);
  overflow: hidden;
}
.winners-label {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin: -0.5rem 0 -0.5rem -0.5rem;
  padding: 0 0.95rem;
  background: #211D27;
  border-right: 1px solid var(--line);
  box-shadow: 12px 0 18px rgba(18, 20, 26, 0.72);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.winners-track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.65rem;
  white-space: nowrap;
  will-change: transform;
}
.winner-card {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.35rem 0.7rem 0.35rem 0.35rem;
}
.winner-card img {
  width: 48px;
  height: auto;
  aspect-ratio: 450 / 345;
  border-radius: 8px;
  object-fit: cover;
  background: #211D27;
}
.winner-card strong { color: var(--lime); font-size: 0.85rem; }
.winner-card span { color: var(--muted); font-size: 0.75rem; }

.lobby-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin: 0.4rem 0 0.9rem;
  flex-wrap: wrap;
}
.lobby-bar h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.crumb { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.8rem; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(122px, 1fr));
  gap: 0.85rem 0.7rem;
}
.game {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.15s ease;
}
.game:hover { transform: translateY(-2px); }
.game:hover .game-art {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.game-art {
  aspect-ratio: 450 / 345;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
  border-radius: 8px;
  transition: box-shadow 0.15s ease;
}
.game-meta { padding: 0.45rem 0.05rem 0; }
.game-name {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-provider {
  margin: 0.12rem 0 0;
  font-size: 0.68rem;
  color: var(--muted);
}

.bonus-board { margin-top: 0.4rem; }
.bonus-posters[hidden],
.bonus-grid[hidden],
.bonus-detail[hidden] { display: none !important; }
.bonus-posters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.bonus-poster {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #11121A;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 2 / 1;
}
.bonus-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bonus-poster--text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  text-align: left;
  color: inherit;
  aspect-ratio: auto;
  min-height: 148px;
  border: 1px solid rgba(243, 38, 139, 0.32);
}
.bonus-poster-kicker {
  margin: 0;
  color: #F3268B;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.bonus-poster--text strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.bonus-poster--text span {
  color: #B9B5C0;
  font-size: 0.88rem;
  line-height: 1.4;
}
.bonus-detail img[hidden] { display: none !important; }
.bonus-detail {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
  scroll-margin-top: 132px;
}
.bonus-detail img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #11121A;
}
.bonus-detail h2 { margin: 0; font-size: 1.6rem; }
.bonus-detail .crumb { margin: 0; }
.bonus-detail-lead { margin: 0; color: #FFFFFF; }
.bonus-detail-body {
  margin: 0;
  max-width: 68ch;
  color: #B9B5C0;
  line-height: 1.6;
  white-space: pre-wrap;
}
.bonus-detail .btn { justify-self: start; }
@media (max-width: 720px) {
  .bonus-posters { grid-template-columns: 1fr; }
}
.loss-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  background: #211D27;
  border: 1px solid rgba(243, 38, 139, 0.45);
  border-radius: 8px;
}
.loss-banner[hidden] { display: none !important; }
.loss-banner h3 { margin: 0 0 0.3rem; font-size: 1.05rem; color: #F3268B; }
.loss-banner p { margin: 0; color: #B9B5C0; font-size: 0.92rem; line-height: 1.45; }
.loss-banner strong { color: #fff; }
.loss-banner .btn { flex: 0 0 auto; }
@media (max-width: 720px) {
  .loss-banner { flex-direction: column; align-items: stretch; }
}
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.bonus-card {
  background: #211D27;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bonus-art {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-align: center;
  padding: 1.2rem 1rem;
  background:
    radial-gradient(circle at 72% 28%, rgba(243, 38, 139, 0.28), transparent 52%),
    linear-gradient(160deg, #3A2433 0%, #11121A 62%);
}
.bonus-art.has-img {
  padding: 0;
  min-height: 0;
  background: #11121A;
}
.bonus-art.has-img img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}
.bonus-art strong {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--lime);
  letter-spacing: -0.03em;
  line-height: 1;
}
.bonus-art span { color: #FFFFFF; font-size: 0.82rem; font-weight: 650; }
.bonus-body { padding: 0.85rem 0.85rem 0.95rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.bonus-body h3 { margin: 0; font-size: 0.98rem; }
.bonus-body p { margin: 0; color: var(--muted); font-size: 0.8rem; }
.bonus-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-top: auto; }
.bonus-actions .btn { width: 100%; justify-content: center; padding: 0.55rem 0.4rem; font-size: 0.82rem; }
@media (max-width: 980px) {
  .bonus-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bonus-grid { grid-template-columns: 1fr; }
}
.lobby-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}
.site-foot {
  margin-top: 2.2rem;
  padding: 1.35rem 0 0.35rem;
  border-top: 1px solid var(--line);
}
.site-foot-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(140px, 1fr));
  gap: 1.4rem 2rem;
  align-items: start;
}
.site-foot-brand img {
  height: 46px;
  width: auto;
  display: block;
}
.site-foot-brand p {
  margin: 0.8rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
.site-marks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 0.85rem;
  margin-top: 1rem;
}
.seal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #FFFFFF;
  user-select: none;
  animation: seal-in 0.7s ease both;
}
.seal-stamp { animation-delay: 0.05s; }
.seal-rg { animation-delay: 0.15s; }
.seal-safe { animation-delay: 0.25s; }
.seal-aware { animation-delay: 0.35s; }
.seal-stamp svg {
  width: 46px;
  height: 46px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(243, 38, 139, 0.28));
}
.seal-stamp circle {
  fill: #11121A;
  stroke: #F3268B;
  stroke-width: 2;
}
.seal-stamp .seal-spin {
  fill: none;
  stroke-dasharray: 8 7;
  transform-origin: 32px 32px;
  animation: seal-spin 14s linear infinite;
}
.seal-stamp text {
  fill: #F3268B;
  font-size: 15px;
  font-weight: 700;
  text-anchor: middle;
  font-family: Barlow, sans-serif;
}
.seal-rg,
.seal-safe {
  height: 40px;
  padding: 0 0.7rem 0 0.4rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #2A2532, #2A2532);
  box-shadow: inset 0 0 0 1px rgba(243, 38, 139, 0.28);
}
.seal-rg b,
.seal-safe {
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.seal-rg b {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #F3268B;
  color: #11121A;
  font-size: 0.72rem;
}
.seal-rg span,
.seal-safe {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}
.seal-safe { padding: 0 0.75rem; font-size: 0.68rem; }
.seal-aware {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  color: #fff;
}
.seal-aware span {
  color: #F3268B;
  font-weight: 700;
}
@keyframes seal-spin { to { transform: rotate(360deg); } }
@keyframes seal-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .seal, .seal-stamp .seal-spin { animation: none; }
}
.site-foot-col h2 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.site-foot-col button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0.28rem 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}
.site-foot-col button::before {
  content: "— ";
  color: #B9B5C0;
}
.site-foot-col button:hover { color: #fff; }
.legal-card { width: min(520px, 94vw); }
.legal-body {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-height: min(52vh, 420px);
  overflow: auto;
}
.legal-body p { margin: 0 0 0.75rem; }
@media (max-width: 980px) {
  .site-foot-grid { grid-template-columns: 1fr 1fr; }
  .site-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-foot-grid { grid-template-columns: 1fr; }
}
.pay-foot {
  margin-top: 1.6rem;
  padding: 1.05rem 0 0.15rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.pay-foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 1.15rem;
  max-width: 980px;
}
.pay-foot img {
  height: 34px;
  width: auto;
  max-width: 128px;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
}
.meta { color: var(--muted); font-size: 0.85rem; }

.providers-panel { margin: 0.15rem 0 0.35rem; }
.providers-panel h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.provider-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem 0;
  padding: 0.15rem 0 0.2rem;
}
.provider-grid .prov-link { margin-right: 0.95rem; }
.provider-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #211D27;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.provider-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.provider-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}
.provider-fallback {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #2A2532;
  font-weight: 700;
  flex: 0 0 auto;
}
.provider-name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
}
.mode-card {
  width: min(440px, 94vw);
  padding: 0 0 1.15rem;
  overflow: hidden;
}
.mode-art {
  margin: 0 0 0.95rem;
  background: #11121A;
  aspect-ratio: 450 / 345;
  overflow: hidden;
}
.mode-art.is-wide { aspect-ratio: 450 / 345; }
.mode-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.mode-card h3 { margin: 0 1.2rem 0.35rem; }
.mode-card .hint { margin: 0 1.2rem 0.85rem; }
.mode-card .mode-pick,
.mode-card .modal-actions { margin-left: 1.2rem; margin-right: 1.2rem; }
.mode-pick {
  display: grid;
  gap: 0.55rem;
  margin: 0.4rem 0 0.8rem;
}
.mode-pick .btn { width: 100%; justify-content: center; }

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #211D27;
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.bottom-item {
  border: 0;
  background: transparent;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
}
.bottom-ico {
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
}
.bottom-ico svg { display: block; }
.bottom-item:hover { color: #FF8FBF; }
.bottom-item.is-on { color: var(--lime); }

.float-badge {
  display: none;
  position: fixed;
  left: 12px;
  bottom: calc(var(--bottom-h) + 10px);
  z-index: 45;
  background: #211D27;
  color: var(--muted);
  font: 600 11px/1.35 var(--font-body);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 2rem);
}
.modal::backdrop { background: rgba(0, 0, 0, 0.62); }
.modal-card {
  width: min(420px, 92vw);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--text);
}
.auth-card.is-register {
  width: min(460px, 94vw);
}
.auth-scroll {
  max-height: min(62vh, 520px);
  overflow: auto;
  padding-right: 0.15rem;
  margin-right: -0.1rem;
}
.phone-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.phone-prefix {
  display: grid;
  place-items: center;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}
.phone-row input {
  border-radius: 0 12px 12px 0;
  flex: 1;
}
.field select {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  outline: none;
  color: var(--text);
  font: inherit;
}
.field select:focus { border-color: rgba(243, 38, 139, 0.55); }
.bonus-picks {
  display: grid;
  gap: 0.45rem;
}
.bonus-pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 0.75rem;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: #11121A;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}
.bonus-pick strong { font-size: 0.92rem; }
.bonus-pick span { grid-column: 1 / -1; color: var(--muted); font-size: 0.78rem; line-height: 1.35; }
.bonus-pick b {
  color: var(--lime);
  font-size: 0.92rem;
  white-space: nowrap;
}
.bonus-pick.is-on {
  border-color: rgba(243, 38, 139, 0.7);
  background: #3A2433;
}
.bonus-pick em {
  font-style: normal;
  color: var(--lime);
  font-weight: 600;
}
.check-field {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.2rem 0 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}
.check-field input {
  margin-top: 0.15rem;
  accent-color: var(--lime);
}
.check-field em { font-style: normal; color: var(--lime); font-weight: 600; }
.account-card { width: min(480px, 94vw); }
.modal-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.auth-tab {
  border: 0;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
}
.auth-tab.is-on {
  background: var(--lime);
  color: #11121A;
}
.auth-switch {
  margin: 0.9rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.linkish {
  border: 0;
  background: none;
  color: var(--lime);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.field em { font-style: normal; opacity: 0.65; font-weight: 500; }
.account-grid {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.account-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.account-grid strong { font-size: 0.98rem; word-break: break-all; }
.promo-redeem {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  align-items: end;
  margin-bottom: 0.35rem;
}
.promo-redeem .field { margin-bottom: 0; }
.form-ok { color: var(--ok); min-height: 1.2em; font-size: 0.85rem; margin: 0 0 0.4rem; }
.hint { margin: 0 0 1rem; color: var(--muted); font-size: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.8rem; }
.field span { font-size: 0.8rem; color: var(--muted); }
.field input {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  outline: none;
  color: var(--text);
  font: inherit;
}
.field input:focus { border-color: rgba(243, 38, 139, 0.55); }
.modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.4rem; flex-wrap: wrap; }
.form-error { color: var(--danger); min-height: 1.2em; font-size: 0.85rem; margin: 0 0 0.4rem; }
@media (max-width: 720px) {
  .auth-user { flex-wrap: nowrap; gap: 0.28rem; min-width: 0; }
  .brand-logo--top { width: auto; height: 32px; max-width: 108px; }
  .wallet { height: 36px; }
  .bal-kicker { display: none; }
  .balance-pill { justify-content: center; min-width: 0; padding: 0 0.55rem; }
  .cash-btn.deposit { padding: 0 0.6rem !important; font-size: 0.78rem !important; }
  .user-id, .user-caret { display: none; }
}
@media (max-width: 520px) {
  .promo-redeem { grid-template-columns: 1fr; }
}
.request-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  max-height: 180px;
  overflow: auto;
}
.request-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.status-pending { color: var(--violet-hot); }
.status-approved { color: var(--ok); }
.status-rejected { color: var(--danger); }

@keyframes topIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes balTick {
  0% { color: #fff; }
  40% { color: var(--lime); }
  100% { color: #fff; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes logoIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: drop-shadow(0 0 1px rgba(236, 220, 255, 0.85)) drop-shadow(0 8px 26px rgba(150, 70, 255, 0.65)); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes spot {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 1100px) {
  .sidebar {
    transform: none;
    position: sticky;
    top: 0;
    height: 100vh;
    width: var(--sidebar-w);
    min-width: 0;
    overflow: hidden;
    transition: width 0.22s ease, opacity 0.18s ease;
  }
  .app {
    display: grid;
    grid-template-columns: auto 1fr;
  }
  .app.is-nav-collapsed .sidebar {
    width: 0;
    opacity: 0;
    overflow: hidden;
    border-right-width: 0;
    pointer-events: none;
  }
  .sidebar-backdrop { display: none !important; }
  #closeSidebar { display: none; }
  .brand-link--top { display: none; grid-column: 2; justify-self: start; }
  .app.is-nav-collapsed .brand-link--top { display: inline-flex; }
  .menu-btn { grid-column: 1; }
  .top-actions { grid-column: 3; justify-self: end; }
  .bottom-nav { display: none; }
  .stage { padding-bottom: 1.5rem; }
  .float-badge { bottom: 12px; }
  .promo { min-height: 0; }
}

@media (max-width: 720px) {
  .pay-foot { gap: 0.65rem; margin-top: 1.1rem; }
  .pay-foot-row { gap: 0.55rem 0.7rem; max-width: 100%; }
  .pay-foot img { height: 28px; max-width: 96px; }
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.35rem;
    padding: 0.4rem 0.55rem;
    min-height: 54px;
  }
  .menu-btn { width: 34px; height: 34px; flex: none; }
  .brand-link--top { min-width: 0; }
  .top-actions { min-width: 0; gap: 0.28rem; }
  .wallet { height: 34px; }
  .balance-pill strong { font-size: 0.78rem; }
  .user-chip { padding: 0; gap: 0; }
  .user-ava { width: 32px; height: 32px; }
  .main { padding: 0.7rem 0.65rem 1.2rem; }
  .band-card.has-poster,
  .band-card:not(.has-poster) {
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    flex-basis: calc(100vw - 1.5rem);
  }
  .cat-row { flex-direction: column; align-items: stretch; }
  .cat-row .top-search { flex-basis: auto; width: 100%; }
  .promo { min-height: 0; flex-direction: column; align-items: flex-start; }
  .auth-guest .btn.ghost { display: none; }
  .winners { gap: 0.4rem; padding: 0.4rem; }
  .winners-label {
    margin: -0.4rem 0 -0.4rem -0.4rem;
    padding: 0 0.7rem;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }
  .game-grid { gap: 0.7rem 0.5rem; }
  .account-panel { right: 0; width: min(340px, calc(100vw - 16px)); }
}
@media (max-width: 480px) {
  .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.45rem;
  }
  .brand-logo--top { height: 26px; max-width: 78px; }
  .top-actions { flex: none; width: auto; justify-content: flex-end; gap: 0.22rem; }
  .auth-user, .auth-guest { width: auto; flex: none; justify-content: flex-end; }
  .wallet { height: 32px; }
  .balance-pill strong { font-size: 0.72rem; }
  .cash-btn.deposit { padding: 0 0.48rem !important; font-size: 0.74rem !important; }
  .user-ava { width: 30px; height: 30px; }
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #11121A;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.boot-logo {
  width: min(260px, 70vw);
  height: auto;
  animation: bootBlink 0.34s steps(2, end) 3 both;
}
@keyframes bootBlink {
  0% { opacity: 1; }
  50% { opacity: 0.12; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .boot-logo { animation: none; opacity: 1; }
}
.acct { display: grid; gap: 0.85rem; }
.acct[hidden] { display: none !important; }
.acct-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-end;
  padding: 1.15rem 1.2rem 1.1rem;
  background:
    linear-gradient(115deg, rgba(243, 38, 139, 0.14), transparent 34%),
    #211D27;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.acct-kicker {
  margin: 0;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 700;
}
.acct-hero h1 {
  margin: 0.15rem 0 0.15rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.acct-mail { margin: 0; color: var(--muted); word-break: break-all; }
.acct-bal { text-align: right; }
.acct-bal span { display: block; color: var(--muted); font-size: 0.78rem; }
.acct-bal strong {
  display: block;
  margin: 0.1rem 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.acct-actions { display: flex; justify-content: flex-end; gap: 0.45rem; }
.acct-nav { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.acct-nav button {
  background: #211D27;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.42rem 0.7rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.acct-nav button.is-on {
  background: #3A2433;
  color: var(--lime);
  border-color: rgba(243, 38, 139, 0.5);
}
.acct-panel { display: grid; gap: 0.85rem; }
.acct-panel[hidden],
#cashAmountStep[hidden],
#cashConfirmStep[hidden],
#cashList[hidden],
#cashAccountField[hidden] { display: none !important; }
.acct-stack { display: grid; gap: 0.7rem; }
.bonus-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.8rem;
  align-items: center;
}
.bonus-line p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.86rem; }
.bonus-line strong { color: var(--lime); font-size: 1.05rem; white-space: nowrap; }
.cash-sheet { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cash-head, .cash-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 0.7fr 0.7fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
}
.cash-head { color: var(--muted); font-size: 0.75rem; background: #11121A; }
.cash-row { background: #211D27; border-top: 1px solid var(--line); }
.cash-row:first-child { border-top: 0; }
.cash-timer {
  width: 148px;
  height: 148px;
  margin: 0.35rem auto 1rem;
  border-radius: 50%;
  border: 2px solid #e23b3b;
  background: #2a1416;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
}
.cash-timer span {
  color: #e23b3b;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}
.cash-timer strong {
  color: #e23b3b;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cash-name { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.cash-name img { width: 58px; height: 58px; object-fit: contain; flex: none; }
#cashLogo img { width: 96px; height: 72px; }
.cash-name strong { overflow: hidden; text-overflow: ellipsis; }
.desk-list { list-style: none; margin: 0; padding: 0; }
.desk-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.desk-list li:first-child { border-top: 0; padding-top: 0; }
.desk-list small { display: block; color: var(--muted); margin-top: 0.12rem; }
.msg-mine { text-align: right; }
.msg-mine span { color: var(--lime); }
@media (max-width: 800px) {
  .bonus-line, .cash-head, .cash-row { grid-template-columns: 1fr; }
}
.acct-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #211D27;
}
.acct-facts div { padding: 0.85rem 0.95rem; border-right: 1px solid var(--line); }
.acct-facts div:last-child { border-right: 0; }
.acct-facts span { display: block; color: var(--muted); font-size: 0.75rem; }
.acct-facts strong { display: block; margin-top: 0.2rem; word-break: break-word; }
.acct-promo { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.15rem 1rem; }
.acct-promo h2 { margin: 0; }
.acct-promo .acct-row { grid-column: 2; grid-row: 1; }
.acct-promo .acct-note { grid-column: 2; margin-top: 0.35rem; }
.acct-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}
.acct-card {
  background: #211D27;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.05rem 1.1rem;
}
.acct-card h2 { margin: 0 0 0.75rem; font-size: 1rem; }
.acct-row { display: flex; gap: 0.5rem; }
.acct-card input {
  width: 100%;
  background: #11121A;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 0.62rem 0.75rem;
}
.acct-row input { flex: 1; }
.acct-card label {
  display: grid;
  gap: 0.28rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.acct-note { min-height: 1.1rem; margin: 0.55rem 0 0; font-size: 0.88rem; }
.acct-note.is-ok { color: #34d399; }
.acct-note.is-err { color: #fb7185; }
.acct-history ul { list-style: none; margin: 0; padding: 0; }
.acct-history li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.acct-history li:first-child { border-top: 0; padding-top: 0; }
.acct-history small { display: block; color: var(--muted); margin-top: 0.12rem; }
.acct .status-pending { color: var(--lime); }
.acct .status-approved { color: #34d399; }
.acct .status-rejected { color: #fb7185; }
.acct-foot { display: flex; }
#deskLogout { justify-self: start; }
@media (max-width: 800px) {
  .acct-hero, .acct-split, .acct-facts { display: grid; grid-template-columns: 1fr; }
  .acct-bal, .acct-actions { text-align: left; justify-content: flex-start; }
  .acct-facts div { border-right: 0; border-top: 1px solid var(--line); }
  .acct-facts div:first-child { border-top: 0; }
}
