/* BetNow — black / crimson, mobile-first */
:root {
  --bg: #070708;
  --bg-elev: #101014;
  --bg-soft: #16161c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f2f3;
  --muted: #9a959a;
  --red: #e10600;
  --red-deep: #9b0400;
  --red-soft: rgba(225, 6, 0, 0.16);
  --ok: #3dd68c;
  --warn: #f0b429;
  --danger: #ff5a5f;
  --radius: 14px;
  --nav-h: 64px;
  --header-h: 62px;
  --ticker-h: 32px;
  --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(225, 6, 0, 0.22), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(225, 6, 0, 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(225, 6, 0, 0.35);
  color: #ffd0cd;
  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 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(20px) saturate(1.2);
  background: linear-gradient(180deg, rgba(14, 14, 18, 0.96), rgba(7, 7, 9, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.header-glow {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  pointer-events: none;
  background:
    radial-gradient(520px 80px at 12% 0%, rgba(225, 6, 0, 0.22), transparent 70%),
    radial-gradient(380px 70px at 88% 0%, rgba(225, 6, 0, 0.12), transparent 70%);
  opacity: 0.9;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100% - 24px, var(--max));
  margin-inline: auto;
}

.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, 200px);
}

.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(225, 6, 0, 0.25));
}

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

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

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

.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, #ff2a22, var(--red-deep));
  box-shadow: 0 6px 16px rgba(225, 6, 0, 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(225, 6, 0, 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(225, 6, 0, 0.55), rgba(155, 4, 0, 0.9));
}

.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(225, 6, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 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, #ff2a22, var(--red-deep));
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 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(225, 6, 0, 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(225, 6, 0, 0.28), rgba(225, 6, 0, 0.12));
  margin-bottom: 2px;
}

.hdr-menu-item.accent:hover {
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.4), rgba(225, 6, 0, 0.18));
}

.hdr-menu-item.danger {
  color: #ff7b74;
  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, #ff1f18 0%, var(--red) 55%, var(--red-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(225, 6, 0, 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(225, 6, 0, 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(225, 6, 0, 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(225, 6, 0, 0.55), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(225, 6, 0, 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: cover;
  object-position: center center;
  display: block;
}

.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(225, 6, 0, 0.14);
  color: #ff8e88;
}

.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));
  }

  .home-slider {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
  }

  .home-slider-wrap {
    padding: 10px 14px 0;
  }
}

/* Popular bets */
.bet-list {
  display: grid;
  gap: 8px;
}

.bet-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(16, 16, 20, 0.9);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.bet-row:hover {
  border-color: rgba(225, 6, 0, 0.35);
  background: rgba(225, 6, 0, 0.06);
}

.bet-league {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ff8e88;
  margin-bottom: 4px;
}

.bet-meta strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.bet-meta em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  margin: 0 4px;
}

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

.bet-odds {
  display: grid;
  grid-auto-flow: column;
  gap: 6px;
}

.bet-odds span {
  min-width: 48px;
  padding: 8px 6px;
  border-radius: 10px;
  background: #0c0c10;
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
}

.bet-odds i {
  display: block;
  font-style: normal;
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 2px;
}

/* 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: #ff8e88;
  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(3, minmax(0, 1fr));
  gap: 8px;
}

.game-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border-radius: 12px;
  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-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(160deg, rgba(225, 6, 0, 0.45), transparent 55%),
    linear-gradient(20deg, #1a1a22, #0d0d12 70%);
  overflow: hidden;
}

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

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

.game-thumb.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.72));
  pointer-events: 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: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.2);
}

.provider-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  margin: 0 0 12px;
  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;
}

.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(225, 6, 0, 0.35), var(--bg-elev));
  font-size: 0.75rem;
}

.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(225, 6, 0, 0.7);
  box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.2);
}

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

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

.game-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px 8px 8px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
  pointer-events: none;
}

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

.game-meta span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-tile .badge {
  z-index: 3;
}

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

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

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

.sports-shell {
  position: fixed;
  top: calc(var(--ticker-h, 32px) + var(--header-h));
  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;
}

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

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

/* —— 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;
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(225, 6, 0, 0.18), transparent 55%),
    #050506;
}

.game-player-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  padding-top: max(10px, env(safe-area-inset-top));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(12px);
}

.game-player-left,
.game-player-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.game-player-back {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  flex: 0 0 auto;
}

.game-player-thumb {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 0 0 auto;
}

.game-player-meta {
  min-width: 0;
}

.game-player-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.game-player-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.game-player-balance {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}

.game-player-balance small {
  color: var(--muted);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.game-player-balance b {
  font-size: 0.9rem;
}

.game-player-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 11px;
  padding: 9px 11px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.game-player-btn-primary {
  background: linear-gradient(180deg, #ff1d14, var(--red-deep));
  border-color: transparent;
}

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

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

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

.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;
}

.game-player.is-immersive .game-player-bar {
  display: none;
}

@media (min-width: 720px) {
  .game-player-balance {
    display: flex;
  }

  .game-player-meta strong,
  .game-player-meta span {
    max-width: 320px;
  }

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

@media (min-width: 1100px) {
  .game-grid {
    grid-template-columns: repeat(7, 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(225, 6, 0, 0.28);
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 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(225, 6, 0, 0.65);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 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: 44px;
  width: auto;
  max-width: min(100%, 220px);
  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: 18px 0 8px;
}

.account-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.account-hero h1 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.account-hero-balance {
  text-align: right;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(225, 6, 0, 0.22), rgba(20, 20, 26, 0.9));
  border: 1px solid rgba(225, 6, 0, 0.28);
}

.account-hero-balance span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-hero-balance strong {
  font-size: 1.2rem;
}

.account-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.account-tabs a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.account-tabs a.active {
  color: #fff;
  background: rgba(225, 6, 0, 0.2);
  border-color: rgba(225, 6, 0, 0.4);
}

.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(225, 6, 0, 0.16);
  color: #ff8e88;
}

/* 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: #ffb0b3;
}

/* 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), 1fr);
  align-items: center;
  height: var(--nav-h);
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 2px;
}

.bn-item {
  position: relative;
  display: grid;
  place-items: center;
  gap: 3px;
  height: 100%;
  width: 100%;
  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;
}

.bottom-nav-inner[style*="--bn-cols: 6"] .bn-item,
.bottom-nav-inner[style*="--bn-cols:6"] .bn-item {
  font-size: 0.58rem;
}

.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 {
  width: 22px;
  height: 22px;
}

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

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

.bn-item.active .bn-ico {
  background: rgba(225, 6, 0, 0.16);
  color: #ff4d45;
}

.bn-cta .bn-label {
  color: #ff8d86;
}

.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, #ff2a22 0%, var(--red) 55%, var(--red-deep) 100%);
  box-shadow: 0 4px 12px rgba(225, 6, 0, 0.35);
}

.bn-cta-btn svg {
  width: 22px;
  height: 22px;
}

.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(225, 6, 0, 0.22), 0 4px 12px rgba(225, 6, 0, 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, #ff2a22, 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(225, 6, 0, 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;
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 22px;
  }

  .header-nav a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.15s ease, background 0.15s ease;
  }

  .header-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
  }

  .header-nav a.active {
    color: #fff;
    background: rgba(225, 6, 0, 0.16);
    box-shadow: inset 0 0 0 1px rgba(225, 6, 0, 0.28);
  }

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

  .header-inner {
    justify-content: flex-start;
  }

  .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,
  .game-grid {
    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 (max-width: 767px) {
  .header-nav {
    display: none;
  }
}

/* Footer */
.site-footer {
  margin-top: 28px;
  padding: 28px 0 calc(var(--nav-h) + 28px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.footer-brand p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ff8e88;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #eee;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.social-link:hover {
  border-color: rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.12);
  color: #fff;
}

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

.bonus-hero {
  padding: 28px 0 18px;
  margin-bottom: 8px;
  background:
    radial-gradient(700px 180px at 20% 0%, rgba(225, 6, 0, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(18, 18, 24, 0.9), transparent);
  border-bottom: 1px solid var(--line);
}

.bonus-eyebrow {
  margin: 0 0 6px;
  color: #ff8e88;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bonus-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  letter-spacing: -0.04em;
}

.bonus-hero .lead {
  margin: 8px 0 0;
  max-width: 46ch;
}

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

.bonus-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffb0ab;
  background: rgba(225, 6, 0, 0.16);
  border: 1px solid rgba(225, 6, 0, 0.25);
}

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

.cashback-card,
.wager-panel,
.bonus-code-card,
.bonus-history-card {
  padding: 16px;
  border-radius: 18px;
  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(225, 6, 0, 0.3);
  background: linear-gradient(145deg, rgba(225, 6, 0, 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;
}

.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: #ff8e88;
}

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

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

.bonus-code-card {
  display: grid;
  gap: 12px;
}

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

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

.bonus-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #16161e, #101014);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.bonus-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 6, 0, 0.35);
}

.bonus-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.bonus-value {
  color: #ff8e88;
  font-size: 1.05rem;
}

.bonus-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.bonus-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.bonus-facts li {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #d7d2d4;
  background: rgba(255, 255, 255, 0.05);
}

.bonus-hint {
  margin: 0 !important;
  font-size: 0.8rem !important;
  color: #ff8e88 !important;
}

.bonus-card-actions {
  margin-top: 4px;
}

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

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

  .bonus-code-card {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }
}

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

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

  .footer-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .footer-note,
  .social-row {
    grid-column: 1 / -1;
  }
}

/* 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(225, 6, 0, 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 methods */
.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(225, 6, 0, 0.65);
  background: rgba(225, 6, 0, 0.08);
  box-shadow: inset 0 0 0 1px rgba(225, 6, 0, 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: #ffb0ab;
}

.pay-logo-fallback.pay-crypto { color: #f0b429; }
.pay-logo-fallback.pay-card { color: #8fc4ff; }

.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 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;
}

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