:root {
  --bg: #111111;
  --surface: #191919;
  --surface-2: #222222;
  --surface-3: #2a2a2a;
  --text: #f7f7f7;
  --muted: #9a9ea7;
  --blue: #1685ff;
  --green: #10b95d;
  --green-hover: #0fc66a;
  --border: rgba(255,255,255,.09);
  --shadow: 0 22px 70px rgba(0,0,0,.48);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); color: var(--text); }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 2px solid #55a8ff; outline-offset: 2px; }
img { display: block; max-width: 100%; }

.demo-strip {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto 0;
  height: 22px;
  display: grid;
  place-items: center;
  background: #0f6dcc;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.app-shell { min-height: 100vh; padding-top: 22px; }
.content-column { min-width: 0; }

.sidebar {
  position: fixed;
  z-index: 45;
  top: 22px;
  bottom: 0;
  left: 0;
  width: 264px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 14px 8px 18px;
  background: #151515;
  border-right: 1px solid var(--border);
  scrollbar-width: thin;
}

.sidebar-top { display: flex; align-items: center; gap: 6px; }
.profile-chip {
  flex: 1;
  min-width: 0;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 0;
  border-radius: 12px;
  background: #252525;
  text-align: left;
  cursor: pointer;
}
.profile-chip:hover { background: #2d2d2d; }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg,#288cff,#6046ff); font-weight: 800; }
.profile-chip strong, .profile-chip small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-chip strong { font-size: 13px; }
.profile-chip small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.profile-chip .chevron { margin-left: auto; color: var(--muted); font-size: 20px; }
.sidebar-close { display: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: #272727; font-size: 24px; cursor: pointer; }

.sidebar-free {
  position: relative;
  min-height: 64px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(120deg,#b69575,#d4c1a5);
  text-align: left;
  cursor: pointer;
}
.sidebar-free span { position: relative; z-index: 1; }
.sidebar-free strong { display: block; line-height: .94; font-size: 15px; }
.sidebar-free small { display: block; margin-top: 6px; color: rgba(255,255,255,.84); font-size: 10px; }
.sidebar-free img { position: absolute; right: -12px; bottom: -16px; width: 106px; height: 78px; object-fit: contain; }

.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav button {
  position: relative;
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e4e4e4;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.side-nav button:hover, .side-nav button.active { background: #282828; color: #fff; }
.side-icon { width: 20px; color: #afb4bf; text-align: center; }
.sub-indent { width: 20px; }
.nav-group-label { margin: 10px 10px 4px; color: #6f747e; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.nav-count { margin-left: auto; min-width: 20px; padding: 2px 6px; border-radius: 8px; background: #343434; color: #bfc3ca; font-size: 10px; text-align: center; }
.new-badge { margin-left: auto; padding: 3px 6px; border-radius: 6px; background: #1187ff; color: #fff; font-size: 9px; font-weight: 800; text-transform: uppercase; }

.sidebar-foot { margin-top: auto; display: grid; gap: 10px; }
.download-app { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 14px; background: #222; text-align: left; cursor: pointer; }
.download-app .win-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #06a8ee; font-size: 22px; }
.download-app strong, .download-app small { display: block; }
.download-app strong { font-size: 12px; }
.download-app small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.utility-row { display: flex; gap: 8px; }
.utility-row button { min-width: 38px; height: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: #252525; color: #d7d7d7; cursor: pointer; }

.content-column { margin-left: 264px; }
.topbar {
  position: sticky;
  z-index: 35;
  top: 22px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 26px;
  background: rgba(17,17,17,.94);
  border-bottom: 1px solid rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.brand img { display: block; width: 126px; height: 30px; object-fit: contain; object-position: left center; }
.brand span { font-size: 27px; font-weight: 950; font-style: italic; letter-spacing: -.08em; }
.brand em { padding: 3px 5px; border-radius: 5px; background: #1685ff; color: white; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .08em; }
.mobile-menu { display: none; width: 38px; height: 38px; border: 0; border-radius: 11px; background: #242424; font-size: 20px; cursor: pointer; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search-button, .icon-button { width: 38px; height: 38px; border: 0; border-radius: 12px; background: #242424; cursor: pointer; }
.search-button { font-size: 27px; line-height: 1; }
.icon-button { position: relative; color: transparent; }
.icon-button::after { content: ""; position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: #ff5555; }
.bell { position: absolute; inset: 0; display: grid; place-items: center; color: #f2f2f2; transform: rotate(180deg); font-size: 16px; }
.balance { min-width: 62px; padding: 2px 4px; border: 0; background: transparent; text-align: right; cursor: pointer; }
.balance small, .balance strong { display: block; }
.balance small { color: #aeb2ba; font-size: 11px; }
.balance strong { margin-top: 2px; font-size: 14px; }
.deposit { height: 38px; padding: 0 16px; border: 0; border-radius: 11px; background: var(--green); font-weight: 800; cursor: pointer; }
.deposit:hover { background: var(--green-hover); }

main { min-height: 80vh; padding: 20px clamp(18px,3vw,40px) 56px; }
.page { max-width: 1380px; margin: 0 auto; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 20px; }
.page-head h1 { margin: 0; font-size: clamp(28px,3vw,42px); letter-spacing: -.045em; }
.page-head p { max-width: 680px; margin: 5px 0 0; color: var(--muted); }
.page-tools { display: flex; gap: 8px; }
.soft-button { min-height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 11px; background: #242424; cursor: pointer; }
.soft-button:hover { background: #2d2d2d; }

.hero { position: relative; overflow: hidden; aspect-ratio: 2.55 / 1; min-height: 260px; max-height: 520px; border-radius: 22px; background: #1c1c1c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  opacity: 0;
  transition: opacity .5s ease, transform .8s ease;
  transform: scale(1.015);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center; }
.hero-controls { position: absolute; z-index: 2; right: 18px; bottom: 16px; display: flex; gap: 7px; }
.hero-controls button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(20,20,20,.72); font-size: 20px; cursor: pointer; backdrop-filter: blur(8px); }
.hero-dots { position: absolute; z-index: 2; left: 24px; bottom: 18px; display: flex; gap: 7px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dots button.active { width: 20px; border-radius: 7px; background: #fff; }

.promo-row { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-top: 16px; }
.promo-card { position: relative; min-height: 116px; overflow: hidden; display: flex; align-items: center; padding: 18px; border: 0; border-radius: 20px; background: linear-gradient(115deg,#ad8e70,#d6c3aa); text-align: left; cursor: pointer; }
.promo-card.secondary { background: linear-gradient(115deg,#33485f,#9bb3c5); }
.promo-card span { position: relative; z-index: 2; }
.promo-card strong, .promo-card small { display: block; }
.promo-card strong { font-size: 19px; line-height: 1.05; }
.promo-card small { max-width: 180px; margin-top: 8px; color: rgba(255,255,255,.82); font-size: 12px; }
.promo-card img { position: absolute; right: 0; bottom: -18px; width: 48%; height: 130%; object-fit: contain; object-position: right bottom; }
.promo-card.secondary img { width: 55%; height: 115%; bottom: -12px; }

.game-section { margin-top: 30px; }
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.section-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #292929; font-size: 15px; }
.section-icon img { width: 17px; height: 17px; object-fit: contain; }
.section-head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.section-head .section-link { margin-left: 2px; color: #9ba0a8; }
.section-title-button { min-width: 0; display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.section-actions { margin-left: auto; display: flex; gap: 6px; }
.section-actions button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: #232323; color: #acb0b7; cursor: pointer; }

.game-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(154px,17vw,206px); gap: 8px; overflow-x: auto; padding: 1px 1px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
.game-scroller::-webkit-scrollbar { display: none; }
.game-card { position: relative; min-width: 0; padding: 0 0 23px; border: 0; border-radius: 13px; background: transparent; text-align: left; cursor: pointer; scroll-snap-align: start; }
.game-card .image-wrap { position: relative; overflow: hidden; display: block; aspect-ratio: 206 / 281; border-radius: 12px; background: #242424; isolation: isolate; }
.game-card img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; transition: transform .25s ease, filter .25s ease; }
.game-card:hover img { transform: scale(1.035); filter: brightness(.78); }
.game-card .play-overlay { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s ease; background: rgba(0,0,0,.22); }
.game-card:hover .play-overlay { opacity: 1; }
.play-disc { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #101010; font-size: 20px; }
.playing { position: absolute; left: 2px; bottom: 2px; display: flex; align-items: center; gap: 5px; color: #c7c9ce; font-size: 11px; }
.playing::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #19d06b; box-shadow: 0 0 8px rgba(25,208,107,.7); }

.view-all-card { min-height: 250px; align-self: stretch; display: grid; place-items: center; padding: 18px; border: 0; border-radius: 14px; background: #1e1e1e; color: #cfd1d6; cursor: pointer; }
.view-all-card strong, .view-all-card small { display: block; text-align: center; }
.view-all-card strong { font-size: 17px; }
.view-all-card small { margin-top: 6px; color: #777c84; }

.tournament-section { margin-top: 38px; }
.segment { display: flex; gap: 8px; }
.segment button { height: 34px; padding: 0 14px; border: 0; border-radius: 12px; background: #242424; color: #aaaeb5; cursor: pointer; }
.segment button.active { background: #f5f5f5; color: #111; }
.tournament-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.tournament-card { overflow: hidden; padding: 0; border: 1px solid var(--border); border-radius: 18px; background: #1c1c1c; text-align: left; cursor: pointer; }
.tournament-art { position: relative; overflow: hidden; display: block; width: 100%; aspect-ratio: 400 / 172; background: #16191d; container-type: inline-size; }
.tournament-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tournament-art-copy { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 52%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 5%; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.36); }
.tournament-art-copy small { margin-bottom: 5px; color: rgba(255,255,255,.72); font-size: clamp(8px,1.8cqi,12px); font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tournament-art-copy strong { display: block; font-size: clamp(16px,5cqi,34px); line-height: .98; letter-spacing: -.035em; text-transform: uppercase; }
.tournament-art-copy em { display: block; margin-top: 8px; color: #fff; font-size: clamp(19px,6cqi,42px); font-style: normal; font-weight: 850; line-height: 1; letter-spacing: -.04em; }
.tournament-body { padding: 13px 14px 15px; }
.status-row { display: flex; align-items: center; gap: 7px; color: #92969e; font-size: 11px; }
.status-pill { padding: 3px 7px; border-radius: 8px; background: rgba(20,197,99,.15); color: #39d982; font-weight: 700; }
.status-pill.soon { background: rgba(255,184,65,.14); color: #ffc466; }
.tournament-body h3 { margin: 10px 0 12px; font-size: 16px; }
.countdown { display: flex; gap: 5px; }
.countdown span { flex: 1; padding: 8px 3px; border-radius: 9px; background: #292929; text-align: center; font-size: 13px; font-weight: 800; }

.category-strip { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 22px; padding-bottom: 4px; scrollbar-width: none; }
.category-strip button { white-space: nowrap; height: 40px; padding: 0 16px; border: 0; border-radius: 13px; background: #232323; color: #b5b8bf; cursor: pointer; }
.category-strip button.active { background: #fff; color: #111; font-weight: 700; }
.casino-page > .hero { margin-bottom: 16px; }
.casino-toolbar { position: sticky; z-index: 12; top: 78px; display: flex; align-items: center; gap: 8px; margin: 0 -4px 18px; padding: 10px 4px; background: linear-gradient(#111 76%,rgba(17,17,17,0)); }
.casino-tool { flex: 0 0 auto; height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border: 0; border-radius: 13px; background: #232323; color: #d4d6da; cursor: pointer; }
.casino-categories { flex: 1; margin: 0; padding: 0 0 3px; }
.casino-lobby-sections .game-section:first-child { margin-top: 6px; }
.catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 4px 0 16px; }
.catalog-heading h1 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.catalog-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.catalog-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.catalog-grid .game-card { width: 100%; padding-bottom: 43px; }
.catalog-grid .game-card .game-title { display: block; margin: 8px 3px 0; overflow: hidden; color: #d6d7da; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-more { width: min(360px,100%); min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px auto 0; border: 0; border-radius: 14px; background: #262626; color: #fff; font-weight: 750; cursor: pointer; }
.catalog-more span { color: #8f949c; font-size: 11px; font-weight: 500; }
.catalog-sentinel { height: 1px; }
.catalog-complete { margin: 22px 0 0; color: var(--muted); text-align: center; font-size: 12px; }

.bonus-hero { position: relative; min-height: 310px; overflow: hidden; display: flex; align-items: center; padding: clamp(28px,6vw,72px); border-radius: 24px; background: radial-gradient(circle at 70% 45%,rgba(0,141,255,.55),transparent 34%),linear-gradient(120deg,#12233b,#0a0c12 62%); }
.bonus-hero::after { content: "500%"; position: absolute; right: 5%; color: rgba(255,255,255,.11); font-size: clamp(92px,16vw,230px); font-weight: 950; line-height: .8; letter-spacing: -.08em; }
.bonus-hero-content { position: relative; z-index: 1; max-width: 560px; }
.eyebrow { color: #3c9dff; font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.bonus-hero h1 { margin: 10px 0 12px; font-size: clamp(38px,6vw,76px); line-height: .94; letter-spacing: -.06em; }
.bonus-hero p { max-width: 520px; color: #c0c8d3; font-size: 17px; }
.primary-button { height: 46px; padding: 0 20px; border: 0; border-radius: 13px; background: var(--blue); font-weight: 800; cursor: pointer; }
.bonus-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.bonus-card { position: relative; min-height: 220px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border: 0; border-radius: 19px; background: linear-gradient(135deg,#2b44bc,#6620b3); text-align: left; cursor: pointer; }
.bonus-card:nth-child(2) { background: linear-gradient(135deg,#b66e1f,#ec2f53); }
.bonus-card:nth-child(3) { background: linear-gradient(135deg,#117668,#143757); }
.bonus-card:nth-child(4) { background: linear-gradient(135deg,#5a2e9b,#1f2e70); }
.bonus-card::before { content: attr(data-mark); position: absolute; right: -8px; top: 10px; color: rgba(255,255,255,.17); font-size: 92px; font-weight: 900; }
.bonus-card strong { position: relative; z-index: 1; font-size: 24px; }
.bonus-card small { position: relative; z-index: 1; max-width: 250px; margin-top: 8px; color: rgba(255,255,255,.78); font-size: 13px; }

.sports-layout { display: grid; grid-template-columns: 210px minmax(0,1fr) 290px; gap: 14px; }
.sports-panel { border: 1px solid var(--border); border-radius: 17px; background: #191919; }
.sports-list { padding: 10px; }
.sports-list button { width: 100%; min-height: 42px; display: flex; justify-content: space-between; align-items: center; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: #c7c9ce; cursor: pointer; }
.sports-list button:hover, .sports-list button.active { background: #282828; color: #fff; }
.league-head { padding: 13px 15px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 800; }
.match { display: grid; grid-template-columns: 90px minmax(170px,1fr) repeat(3,72px); gap: 8px; align-items: center; padding: 13px 14px; border-bottom: 1px solid var(--border); }
.match:last-child { border-bottom: 0; }
.match-time { color: #92969e; font-size: 12px; }
.teams strong, .teams small { display: block; }
.teams strong { font-size: 13px; }
.teams small { margin-top: 5px; color: #9599a1; }
.odd { min-height: 42px; padding: 5px; border: 0; border-radius: 9px; background: #282828; cursor: pointer; }
.odd:hover { background: #333; }
.odd small, .odd strong { display: block; }
.odd small { color: #8f949b; font-size: 9px; }
.odd strong { margin-top: 3px; color: #fff; font-size: 13px; }
.bet-slip { padding: 18px; text-align: center; }
.bet-slip .slip-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 22px auto 12px; border-radius: 50%; background: #282828; color: #9da1a9; font-size: 24px; }
.bet-slip h3 { margin: 0; }
.bet-slip p { color: #8f939a; font-size: 13px; }

.info-page { min-height: 520px; display: grid; place-items: center; text-align: center; }
.info-page .info-symbol { font-size: 64px; }
.info-page h1 { margin: 18px 0 8px; font-size: 42px; }
.info-page p { max-width: 560px; margin: 0 auto; color: var(--muted); }

.site-footer { margin-left: auto; margin-right: auto; max-width: 1380px; padding: 32px clamp(18px,3vw,40px) 80px; border-top: 1px solid var(--border); color: #7f838b; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font-size: 25px; font-weight: 900; font-style: italic; }
.footer-brand img { display: block; width: 124px; height: 29px; object-fit: contain; object-position: left center; }
.footer-brand span { margin-left: 8px; color: #777; font-size: 11px; font-style: normal; font-weight: 600; text-transform: uppercase; }
.site-footer p { max-width: 700px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.footer-links button { padding: 0; border: 0; background: transparent; color: #969aa1; cursor: pointer; }

.bottom-nav { display: none; }
.drawer-scrim { position: fixed; z-index: 42; inset: 22px 0 0; background: rgba(0,0,0,.58); backdrop-filter: blur(2px); }

.modal-host:empty { display: none; }
.modal-host { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.modal { width: min(520px,100%); max-height: min(760px,90vh); overflow: auto; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: #202020; box-shadow: var(--shadow); animation: modal-in .18s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 14px 18px; background: rgba(32,32,32,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.modal-header h2 { margin: 0; font-size: 19px; }
.modal-close { width: 36px; height: 36px; border: 0; border-radius: 11px; background: #303030; font-size: 22px; cursor: pointer; }
.modal-body { padding: 18px; }
.demo-warning { margin-bottom: 14px; padding: 11px 12px; border: 1px solid rgba(38,145,255,.3); border-radius: 12px; background: rgba(22,133,255,.1); color: #86c4ff; font-size: 12px; line-height: 1.45; }
.payment-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.payment-method { min-height: 80px; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: #282828; text-align: left; cursor: pointer; }
.payment-method span:first-child { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: #343434; font-size: 18px; }
.payment-method strong, .payment-method small { display: block; }
.payment-method small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.currency-list { display: grid; gap: 7px; }
.currency-list button { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 0; border-radius: 12px; background: #292929; cursor: pointer; }
.currency-list button.active { box-shadow: inset 0 0 0 1px #1685ff; background: rgba(22,133,255,.12); }
.notification-list { display: grid; gap: 9px; }
.notification-item { display: grid; grid-template-columns: 40px 1fr; gap: 11px; padding: 12px; border-radius: 14px; background: #292929; }
.notification-item .n-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #353535; }
.notification-item strong { font-size: 13px; }
.notification-item p { margin: 4px 0 0; color: #9fa3aa; font-size: 12px; line-height: 1.4; }
.search-field { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--border); border-radius: 13px; background: #141414; color: #fff; font-size: 16px; }
.search-count { margin: 10px 2px 0; color: var(--muted); font-size: 11px; }
.search-results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.search-results button { overflow: hidden; padding: 0; border: 0; border-radius: 11px; background: #292929; text-align: left; cursor: pointer; }
.search-results img { width: 100%; aspect-ratio: 206 / 281; object-fit: cover; }
.search-results span { display: block; padding: 8px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.search-results span small { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; }
.provider-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 12px; }
.provider-list button { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; border: 0; border-radius: 11px; background: #292929; text-align: left; cursor: pointer; }
.provider-list button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.provider-list button small { color: var(--muted); }
.game-preview { text-align: center; }
.game-preview img { width: 190px; aspect-ratio: 206 / 281; margin: 0 auto; border-radius: 14px; object-fit: cover; }
.game-preview h3 { margin: 15px 0 5px; font-size: 22px; }
.game-preview p { margin: 0 0 16px; color: var(--muted); }
.modal-actions { display: flex; gap: 8px; margin-top: 15px; }
.modal-actions button { flex: 1; min-height: 44px; border: 0; border-radius: 12px; background: #303030; cursor: pointer; }
.modal-actions .primary-button { background: var(--blue); }
.promo-modal-art { height: 190px; overflow: hidden; border-radius: 16px; background: linear-gradient(145deg,#2867ff,#822eff); }
.promo-modal-art img { width: 100%; height: 100%; object-fit: cover; }
.modal-copy { color: #aeb2b9; line-height: 1.55; }
.profile-summary { display: grid; justify-items: center; padding: 12px 0 20px; }
.profile-summary .avatar { width: 72px; height: 72px; font-size: 28px; }
.profile-summary h3 { margin: 11px 0 4px; }
.profile-summary p { margin: 0; color: var(--muted); font-size: 12px; }
.profile-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.profile-stats div { padding: 12px; border-radius: 12px; background: #292929; text-align: center; }
.profile-stats strong, .profile-stats small { display: block; }
.profile-stats small { margin-top: 4px; color: var(--muted); font-size: 10px; }

.notification-card { position: fixed; z-index: 70; right: 18px; bottom: 18px; width: min(590px,calc(100vw - 36px)); min-height: 112px; display: grid; grid-template-columns: 1fr 100px; gap: 10px; align-items: center; padding: 18px; border-radius: 18px; background: #fff; color: #161616; box-shadow: 0 18px 55px rgba(0,0,0,.45); transition: transform .25s ease, opacity .25s ease; }
.notification-card.hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.notification-card strong { font-size: 15px; }
.notification-card p { margin: 5px 0 12px; font-size: 13px; }
.notification-card button:not(.notification-close) { width: 100%; height: 32px; border: 0; border-radius: 7px; background: #1685ff; color: #fff; font-weight: 800; cursor: pointer; }
.notification-card img { width: 100px; height: 90px; object-fit: contain; }
.notification-close { position: absolute; right: 9px; top: 8px; width: 25px; height: 25px; border: 0; border-radius: 50%; background: #ededed; color: #333; font-size: 18px; cursor: pointer; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; max-width: calc(100vw - 32px); padding: 11px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: #2a2a2a; box-shadow: var(--shadow); color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transform: translate(-50%,18px); transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

/* Screenshot-matched interface refinements */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.demo-strip { inset: 7px auto auto 50%; width: auto; height: 20px; padding: 0 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(20,20,20,.72); font-size: 8px; letter-spacing: .08em; transform: translateX(-50%); backdrop-filter: blur(10px); }
.app-shell { padding-top: 0; }
.sidebar { top: 0; background: #1d1e20; }
.topbar { top: 0; }
.side-icon { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: #aeb4c1; }
.side-letter-icon { width: 24px; height: 20px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 3px; background: #aeb4c1; color: #25262a; font-size: 15px; font-style: italic; font-weight: 900; }
.nav-chevron { margin-left: auto; color: #aeb4c1; font-size: 18px; transition: transform .18s ease; }
.nav-parent.expanded .nav-chevron { transform: rotate(180deg); }
.nav-divider { height: 1px; margin: 7px 10px; background: rgba(255,255,255,.09); }
.side-subnav { display: grid; }
.side-subnav[hidden] { display: none; }
.side-subnav button { padding-left: 44px; color: #b7bbc3; }
.download-chevron { margin-left: auto; color: #9ca2ac; font-size: 24px; }
.support-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 0 12px; border: 0; border-top: 1px solid rgba(255,255,255,.08); background: transparent; text-align: left; cursor: pointer; }
.support-row svg { width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: #34363b; fill: #fff; stroke: #fff; }
.support-row span { font-weight: 650; }
.support-row strong { margin-left: auto; padding: 5px 9px; border-radius: 999px; background: #1685ff; font-size: 12px; }
.language-button { flex: 1; justify-content: center; gap: 5px; }
.casino-tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.category-nav { min-width: 0; flex: 1; display: flex; align-items: center; gap: 8px; }
.category-arrow { flex: 0 0 40px; width: 40px; height: 40px; border: 0; border-radius: 12px; background: #242424; color: #fff; font-size: 24px; cursor: pointer; }
.casino-categories { min-width: 0; flex: 1; }
.casino-categories button.active { background: #1685ff; color: #fff; }
.casino-categories button { display: inline-flex; align-items: center; gap: 7px; }
.tab-icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab-onewin { font-size: 11px; font-style: italic; font-weight: 950; letter-spacing: -.08em; }
.catalog-grid .game-card { padding-bottom: 24px; }
.catalog-grid .game-title { display: none !important; }

@media (max-width: 1180px) {
  .catalog-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .tournament-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sports-layout { grid-template-columns: 180px minmax(0,1fr); }
  .bet-slip-panel { display: none; }
}

@media (max-width: 920px) {
  body { padding-bottom: 70px; }
  .app-shell { display: block; }
  .content-column { margin-left: 0; }
  .sidebar { top: 22px; width: min(290px,86vw); transform: translateX(-102%); transition: transform .24s ease; box-shadow: var(--shadow); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-close, .mobile-menu { display: block; }
  .topbar { height: 68px; padding: 0 15px; }
  .brand span { font-size: 26px; }
  .brand em { display: none; }
  .search-button { display: none; }
  main { padding: 16px 15px 46px; }
  .hero { min-height: 0; aspect-ratio: 620 / 298; border-radius: 18px; }
  .casino-toolbar { top: 68px; }
  .hero-controls { right: 10px; bottom: 10px; }
  .promo-row { gap: 8px; }
  .promo-card { min-height: 94px; padding: 12px; border-radius: 16px; }
  .promo-card strong { font-size: 15px; }
  .promo-card small { font-size: 10px; }
  .game-scroller { grid-auto-columns: clamp(145px,33vw,206px); }
  .catalog-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
  .sports-layout { grid-template-columns: 1fr; }
  .sports-list-panel { display: none; }
  .bottom-nav { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: 66px; display: grid; grid-template-columns: repeat(5,1fr); background: rgba(19,19,19,.97); border-top: 1px solid var(--border); backdrop-filter: blur(14px); }
  .bottom-nav button { display: grid; justify-items: center; align-content: center; gap: 3px; border: 0; background: transparent; color: #9b9fa7; font-size: 9px; cursor: pointer; }
  .bottom-nav button span { font-size: 21px; line-height: 1; }
  .bottom-nav button.active { color: #1685ff; }
  .site-footer { padding-bottom: 40px; }
  .notification-card { bottom: 76px; }
  .toast { bottom: 80px; }
}

@media (max-width: 680px) {
  .top-actions { gap: 6px; }
  .balance { min-width: 50px; }
  .deposit { height: 36px; padding: 0 12px; }
  .icon-button { width: 36px; height: 36px; }
  .mobile-menu { width: 36px; height: 36px; }
  .page-head { align-items: flex-start; }
  .page-head h1 { font-size: 30px; }
  .page-tools .soft-button:first-child { display: none; }
  .promo-row { grid-template-columns: 2.2fr 1fr; }
  .promo-card { min-height: 88px; }
  .promo-card small { max-width: 105px; }
  .game-section { margin-top: 24px; }
  .section-head h2 { font-size: 17px; }
  .section-actions button:first-child { display: none; }
  .casino-toolbar { flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
  .casino-categories { flex-basis: 100%; order: 2; }
  .casino-tool { height: 38px; }
  .game-scroller { grid-auto-columns: min(32.2vw,196px); gap: 5px; }
  .game-card { padding-bottom: 22px; }
  .playing { font-size: 10px; }
  .tournament-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .bonus-hero { min-height: 280px; padding: 26px; }
  .bonus-hero p { font-size: 14px; }
  .bonus-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bonus-card { min-height: 190px; padding: 15px; }
  .bonus-card strong { font-size: 19px; }
  .match { grid-template-columns: 60px minmax(120px,1fr) repeat(3,52px); gap: 5px; padding: 10px 8px; }
  .odd { min-height: 38px; }
  .notification-card { grid-template-columns: 1fr 78px; min-height: 0; padding: 15px; }
  .notification-card img { width: 78px; height: 72px; }
  .notification-card p { padding-right: 6px; }
  .modal-host { place-items: end center; padding: 0; }
  .modal { width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; animation-name: sheet-in; }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(30px); } }
}

@media (max-width: 420px) {
  .brand span { font-size: 23px; }
  .deposit { padding: 0 10px; font-size: 13px; }
  .balance strong { font-size: 13px; }
  .icon-button { display: none; }
  .hero { border-radius: 15px; }
  .hero-dots { left: 14px; bottom: 11px; }
  .hero-controls { display: none; }
  .promo-row { grid-template-columns: 2.1fr 1fr; }
  .promo-card strong { font-size: 13px; }
  .promo-card small { font-size: 9px; }
  .game-scroller { grid-auto-columns: 38vw; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bonus-grid { grid-template-columns: 1fr; }
  .match { grid-template-columns: 54px minmax(120px,1fr); }
  .match .odd { grid-row: 2; }
  .match .odd:nth-of-type(1) { grid-column: 1; }
  .match .odd:nth-of-type(2) { grid-column: 2; }
  .match .odd:nth-of-type(3) { grid-column: 2; display: none; }
  .payment-grid { grid-template-columns: 1fr; }
  .search-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 920px) {
  main { padding: 16px 0 46px 17px; overflow: hidden; }
  .page { max-width: none; }
  .sidebar {
    top: 0;
    width: min(337px,calc(100vw - 72px));
    padding: 24px 20px 0;
    gap: 8px;
    overflow-y: auto;
    background: #202123;
    border-right: 0;
    scrollbar-width: none;
  }
  .sidebar::-webkit-scrollbar { display: none; }
  .sidebar-top { min-height: 54px; }
  .profile-chip { height: 54px; padding: 0; border-radius: 0; background: transparent; gap: 14px; }
  .profile-chip:hover { background: transparent; }
  .avatar { width: 54px; height: 54px; flex: 0 0 54px; background: #383a3f; color: #d7d9de; font-size: 17px; }
  .profile-chip strong { font-size: 17px; line-height: 1.2; }
  .profile-chip small { margin-top: 5px; font-size: 13px; }
  .profile-chip .chevron { padding-right: 7px; font-size: 28px; }
  .sidebar-close { position: fixed; top: 23px; right: auto; left: calc(100vw - 60px); z-index: 47; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; background: #35363a; font-size: 22px; line-height: 1; }
  .sidebar-free { min-height: 68px; margin-top: 1px; padding: 12px 15px; border-radius: 18px; background: #6a796b; }
  .sidebar-free strong { font-size: 16px; line-height: 1.18; }
  .sidebar-free small { display: none; }
  .sidebar-free img { right: 0; bottom: 4px; width: 100px; height: 70px; }
  .side-nav { gap: 0; }
  .side-nav button { min-height: 48px; gap: 13px; padding: 9px 12px; border-radius: 10px; color: #e5e6e9; font-size: 16px; font-weight: 560; }
  .side-nav button:hover, .side-nav button.active { background: rgba(255,255,255,.055); }
  .side-icon { width: 24px; height: 24px; }
  .nav-divider { margin: 11px 0 7px; }
  .side-subnav button { min-height: 42px; padding-left: 49px; color: #b8bcc4; font-size: 15px; }
  .nav-count, .new-badge { background: #ff5b32; color: #fff; }
  .nav-count { min-width: 31px; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 750; }
  .new-badge { padding: 4px 8px; border-radius: 999px; font-size: 11px; text-transform: none; }
  .sidebar-foot { margin-top: auto; padding-top: 12px; gap: 8px; }
  .download-app { min-height: 82px; padding: 12px 14px; border-radius: 15px; background: #303136; }
  .download-app .win-icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; font-size: 27px; }
  .download-app strong { font-size: 14px; }
  .download-app small { margin-top: 4px; font-size: 12px; line-height: 1.35; }
  .utility-row { gap: 6px; }
  .utility-row button { min-width: 42px; height: 44px; padding: 0 9px; border-radius: 11px; background: #303136; font-size: 19px; }
  .utility-row .language-button { font-size: 14px; }
  .support-row { min-height: 63px; margin-top: 20px; padding: 0 1px; border-top-color: rgba(255,255,255,.08); font-size: 16px; }
  .support-row svg { margin-left: 0; }
  .drawer-scrim { inset: 0; background: rgba(0,0,0,.8); backdrop-filter: none; }
  .topbar { top: 0; }
  .casino-page > .hero { margin-bottom: 0; }
  .casino-toolbar {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 9px;
    margin: 28px 0 18px;
    padding: 0;
    background: transparent;
  }
  .casino-tool { width: 100%; height: 52px; justify-content: flex-start; padding: 0 18px; border-radius: 14px; background: #252525; color: #9ba1ad; font-size: 16px; }
  .providers-tool { justify-content: center; color: #f3f3f4; font-weight: 720; }
  .category-nav { grid-column: 1 / -1; width: 100%; gap: 8px; }
  .category-arrow { flex-basis: 39px; width: 39px; height: 42px; border-radius: 11px; background: #282828; }
  .casino-categories { flex-basis: auto; order: initial; margin: 0; padding: 0; gap: 8px; }
  .casino-categories button { height: 42px; padding: 0 18px; border-radius: 12px; background: #242424; color: #bfc2c8; font-size: 15px; font-weight: 650; }
  .casino-categories button.active { background: #1685ff; color: #fff; }
  .casino-category-view .casino-toolbar { margin-bottom: 44px; }
  .casino-category-view .catalog-heading { display: none; }
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 5px; row-gap: 7px; }
  .catalog-grid .game-card { padding-bottom: 24px; }
  .playing { left: 0; bottom: 2px; font-size: 13px; font-weight: 650; letter-spacing: -.02em; }
  .notification-card { right: 16px; bottom: 80px; width: calc(100vw - 32px); min-height: 154px; grid-template-columns: 1fr 116px; padding: 18px 20px; }
  .notification-card img { width: 116px; height: 112px; }
}

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

/* Game details page */
.game-view { padding-bottom: 0; }
.game-view .sidebar,
.game-view .bottom-nav,
.game-view .site-footer,
.game-view .notification-card,
.game-view .mobile-menu { display: none !important; }
.game-view .content-column { margin-left: 0; }
.game-view .topbar {
  position: relative;
  top: auto;
  height: 82px;
  padding: 0 14px 0 20px;
  border-bottom: 0;
  background: #111213;
  backdrop-filter: none;
}
.game-view .brand span { font-size: 30px; }
.game-view .brand em,
.game-view .search-button { display: none; }
.game-view .top-actions { gap: 9px; }
.game-view .balance { min-width: 62px; padding: 0; }
.game-view .balance small { font-size: 14px; }
.game-view .balance strong { margin-top: 3px; font-size: 16px; }
.game-view .deposit { height: 38px; padding: 0 15px; border-radius: 10px; font-size: 16px; }
.game-view .icon-button { width: 40px; height: 40px; border-radius: 10px; }
.game-view main { min-height: calc(100vh - 82px); padding: 0; overflow: visible; }
.game-view .demo-strip { top: auto; right: auto; bottom: 8px; left: 8px; transform: none; opacity: .58; }

.game-detail-page {
  min-height: calc(100vh - 82px);
  padding: 0 13px 42px 18px;
  overflow: hidden;
  background: linear-gradient(180deg,#11141d 0,#111217 45%,#111 72%);
}
.game-detail-toolbar {
  position: relative;
  z-index: 3;
  height: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 15px;
}
.game-back {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
}
.game-back span { color: #aeb4c0; font-size: 32px; font-weight: 300; line-height: 1; }
.game-detail-tools { display: flex; gap: 14px; }
.game-detail-tools button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #292b30;
  cursor: pointer;
}
.game-detail-tools button.active { background: #1685ff; }
.game-detail-tools svg { width: 21px; height: 21px; fill: none; stroke: #f2f3f5; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.game-detail-stage {
  position: relative;
  z-index: 1;
  height: 306px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
  text-align: center;
}
.game-detail-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -59px;
  left: 50%;
  width: min(500px,82vw);
  height: 300px;
  background-image: linear-gradient(rgba(83,89,106,.4) 1px,transparent 1px),linear-gradient(90deg,rgba(83,89,106,.4) 1px,transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center,#000 32%,rgba(0,0,0,.7) 58%,transparent 82%);
  transform: translateX(-50%);
}
.game-detail-cover { width: 131px; height: 179px; border-radius: 12px; object-fit: cover; box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.game-detail-stage h1 { margin: 31px 0 0; font-size: 28px; line-height: 1.16; letter-spacing: -.035em; }
.game-provider { min-height: 28px; display: flex; align-items: center; gap: 9px; margin-top: 9px; font-size: 17px; }
.provider-mark { min-width: 20px; height: 20px; display: grid; place-items: center; color: #151515; background: #ffd800; font-size: 10px; font-weight: 950; letter-spacing: -.08em; }
.game-provider strong { font-weight: 750; }
.game-settings {
  height: 208px;
  padding: 20px 19px 19px;
  border: 1px solid #34363b;
  border-radius: 19px;
  background: #1b1d1f;
}
.game-setting-row { height: 49px; display: flex; align-items: flex-start; justify-content: space-between; font-size: 16px; }
.game-setting-row > strong { padding-top: 5px; }
.balance-setting { border-bottom: 1px solid #323438; }
.game-setting-row + .game-setting-row { height: 56px; align-items: center; }
.game-setting-row + .game-setting-row > strong { padding-top: 0; }
.detail-currency { height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 2px 0 0; border: 0; background: transparent; color: #9299a6; cursor: pointer; }
.detail-currency span { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: #ff1829; color: #fff; font-size: 7px; font-weight: 800; }
.detail-currency b { color: #9ba1ac; font-size: 22px; font-weight: 500; }
.detail-toggle { width: 48px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: #363940; cursor: pointer; transition: background .18s ease; }
.detail-toggle span { width: 20px; height: 20px; display: block; margin-left: 4px; border-radius: 50%; background: #f5f5f6; box-shadow: 0 1px 3px rgba(0,0,0,.45); transition: transform .18s ease; }
.detail-toggle.on { background: #1685ff; }
.detail-toggle.on span { transform: translateX(20px); }
.game-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.game-detail-actions button { height: 53px; border: 0; border-radius: 14px; font-size: 17px; font-weight: 780; cursor: pointer; }
.detail-play { background: #1685ff; color: #fff; }
.detail-demo { background: #303236; color: #f2f2f3; }

@media (max-width: 520px) {
  .game-view .topbar { padding: 0 14px; }
  .game-view .brand span { font-size: 26px; }
  .game-view .balance { min-width: 54px; }
  .game-view .balance small { font-size: 12px; }
  .game-view .balance strong { font-size: 14px; }
  .game-view .deposit { padding: 0 12px; font-size: 14px; }
  .game-detail-page { padding-right: 12px; padding-left: 12px; }
  .game-detail-toolbar { height: 66px; }
  .game-detail-stage { height: 300px; }
  .game-settings { padding-right: 14px; padding-left: 14px; }
  .game-detail-actions button { font-size: 15px; }
}

/* Source-accurate visual pass for the supplied HustlaBet reference states. */
:root {
  --bg: #141415;
  --surface: #1d1e20;
  --surface-2: #1d1e20;
  --surface-3: #2e3035;
  --text: #f0f2f5;
  --muted: #9aa1b1;
  --blue: #1685ff;
  --green: #00b24b;
  --green-hover: #00c454;
  --border: rgba(179,182,189,.12);
  --radius: 16px;
}

html,
body { background: #141415; }
.demo-strip { display: none; }
.brand img { width: 122px; height: 29px; }
.brand span,
.brand em { display: none !important; }
.avatar svg { width: 27px; height: 27px; fill: #aeb3bd; }
.profile-summary .avatar svg { width: 36px; height: 36px; }
.icon-button { color: #f0f2f5; }
.icon-button::after { display: none; }
.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.casino-primary-tabs {
  width: max-content;
  display: flex;
  gap: 2px;
  margin: 0 auto 24px;
  padding: 2px;
  border-radius: 12px;
  background: #1d1e20;
}
.casino-primary-tabs button {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #9aa1b1;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.casino-primary-tabs button.active { background: #003872; color: #f0f2f5; }
.quick-games-hero img { width: 100%; height: 100%; object-fit: cover; }
.game-card .image-wrap {
  overflow: hidden;
  display: block;
  border-radius: 10px;
  clip-path: inset(0 round 10px);
  isolation: isolate;
}
.game-card .image-wrap > img { border-radius: 10px; }
.brand-game-card .image-wrap::after {
  content: "HUSTLABET GAMES";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  min-width: 48%;
  padding: 4px 9px;
  transform: translateX(-50%);
  border-radius: 0 0 7px 7px;
  background: rgba(24, 19, 58, .96);
  color: #fff;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .02em;
  text-align: center;
  white-space: nowrap;
}
.brand-game-card .play-overlay { z-index: 4; }
.playing { color: #f0f2f5; }
.playing::before { width: 7px; height: 7px; background: #00c968; box-shadow: none; }
.modal { background: #1d1e20; }
.modal-header { background: rgba(29,30,32,.96); }

/* Light KES deposit sheet, matched to the live mobile deposit selector. */
.modal-host:has(.deposit-modal) {
  place-items: end center;
  padding: 24px 6px 0;
  background: rgba(0,0,0,.74);
  backdrop-filter: blur(4px);
}
.deposit-modal {
  width: min(780px,100%);
  height: calc(100vh - 24px);
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 28px 28px 0 0;
  background: #fff;
  color: #17181b;
  box-shadow: 0 -12px 60px rgba(0,0,0,.34);
}
.deposit-modal:focus { outline: none; }
.deposit-modal .modal-header {
  min-height: 76px;
  padding: 18px 20px;
  border-bottom: 0;
  background: rgba(255,255,255,.96);
  color: #16171a;
  backdrop-filter: blur(16px);
}
.deposit-modal .modal-header h2 { font-size: 27px; line-height: 34px; letter-spacing: -.035em; }
.deposit-modal .modal-close {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: transparent;
  color: #777d87;
  font-size: 31px;
  font-weight: 300;
}
.deposit-modal .modal-close:hover { background: #f0f1f3; color: #1b1c1f; }
.deposit-modal .modal-body {
  height: calc(100% - 76px);
  overflow: auto;
  padding: 0 20px 28px;
  background: #fff;
}
.deposit-tabs {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  min-height: 54px;
  padding: 3px;
  border-radius: 18px;
  background: #eff0f2;
}
.deposit-tabs button {
  min-width: 0;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #24262a;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
}
.deposit-tabs button.active { background: #fff; box-shadow: 0 1px 3px rgba(18,22,30,.08); }
.deposit-tab-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  vertical-align: -2px;
}
.deposit-tab-icon.mobile { background: #087e42; }
.deposit-tab-icon.bank { background: #1685ff; font-size: 12px; }
.deposit-currency {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  background: #eff0f2;
  color: #202125;
  text-align: left;
  cursor: pointer;
}
.kes-coin {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e51c2a;
  color: #fff;
  font-size: 9px;
  font-weight: 850;
}
.deposit-currency > span:nth-child(2) { font-size: 16px; font-weight: 520; }
.deposit-chevron { margin-left: auto; color: #717680; font-size: 26px; transform: translateY(-2px); }
.deposit-provider-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.deposit-provider {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 14px 18px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #f0f1f3;
  color: #17181b;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.deposit-provider:hover { background: #e7e9ec; }
.deposit-provider:active { transform: scale(.985); }
.deposit-provider small { color: #22242a; font-size: 12px; line-height: 15px; }
.payment-logo { min-height: 39px; display: flex; align-items: center; white-space: nowrap; }
.payment-logo strong { color: #111318; font-size: 28px; line-height: 1; letter-spacing: -.055em; }
.mpesa-logo i {
  width: 38px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-right: 1px;
  border-radius: 8px 13px 8px 13px;
  background: #16954b;
  color: #fff;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  transform: skew(-8deg);
}
.mpesa-logo strong { color: #148947; font-size: 25px; letter-spacing: -.04em; }
.airtel-logo { position: relative; padding-left: 42px; }
.airtel-logo i {
  position: absolute;
  left: 4px;
  width: 31px;
  height: 27px;
  border: 7px solid #e10620;
  border-left-width: 3px;
  border-radius: 70% 40% 70% 35%;
  transform: rotate(-24deg) skew(-10deg);
}
.airtel-logo strong { color: #e10620; font-size: 32px; font-weight: 720; }
.icash-logo i { margin-right: 3px; color: #ef1e2f; font-size: 15px; font-style: normal; transform: translateY(-10px); }
.icash-logo strong { color: #0b0c0f; font-size: 34px; font-weight: 650; }
.icash-logo strong span { font-weight: 380; }
.card-logo { gap: 10px; }
.card-logo strong { color: #1434cb; font-size: 28px; font-style: italic; }
.card-logo b { color: #e1282e; font-size: 17px; letter-spacing: -8px; }
.bank-logo { gap: 9px; }
.bank-logo i { color: #1685ff; font-size: 31px; font-style: normal; }
.bank-logo strong { font-size: 26px; }
.deposit-safe-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 22px 4px 0;
  color: #9398a1;
  font-size: 11px;
  line-height: 1.45;
}
.deposit-safe-note span { color: #16a25b; font-size: 9px; }

/* Local account, profile, settings, login and registration sheets. */
.top-actions > [hidden] { display: none !important; }
.login-button,
.registration-button {
  height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.login-button { background: #2b2c2f; }
.registration-button { background: #00b84f; }
.login-button:hover { background: #35363a; }
.registration-button:hover { background: #00c858; }
.logged-out .notification-card { display: none !important; }

.modal-host:has(.account-modal) {
  place-items: end center;
  padding: 24px 6px 0;
  background: rgba(0,0,0,.74);
  backdrop-filter: blur(4px);
}
.account-modal {
  position: relative;
  width: min(780px,100%);
  height: calc(100vh - 24px);
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 28px 28px 0 0;
  background: #fff;
  color: #1b1c20;
  box-shadow: 0 -12px 60px rgba(0,0,0,.34);
}
.account-modal:focus { outline: none; }
.account-modal .account-modal-header {
  min-height: 76px;
  padding: 17px 20px;
  border: 0;
  background: rgba(255,255,255,.97);
  color: #1b1c20;
  backdrop-filter: blur(16px);
}
.account-modal .account-modal-header h2 { margin: 0; font-size: 27px; line-height: 34px; letter-spacing: -.035em; }
.account-modal .modal-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #747985;
  font-size: 30px;
  font-weight: 300;
}
.account-modal .modal-close:hover { background: #f0f1f3; color: #1b1c20; }
.account-modal .account-modal-body {
  height: calc(100% - 76px);
  overflow-y: auto;
  padding: 0 20px 30px;
  background: #fff;
  color: #1b1c20;
}
.account-back {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #087eff;
  font-size: 29px;
  cursor: pointer;
}
.account-back span { font-size: 16px; font-weight: 700; }
.account-header-spacer { flex: 1; }
.account-page-title { margin: 0 0 15px; font-size: 27px; line-height: 34px; letter-spacing: -.035em; }
.account-identity { display: grid; justify-items: center; padding: 26px 0 28px; }
.account-person-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  background: #edf0f3;
}
.account-person-icon svg { width: 27px; height: 27px; fill: #646a74; }
.account-identity h3 { margin: 0; font-size: 23px; letter-spacing: -.025em; }
.account-identity p { margin: 8px 0 0; color: #686e79; font-size: 13px; }
.account-balance-card {
  padding: 20px;
  border-radius: 19px;
  background: #f1f2f4;
}
.account-balance-card > small { display: block; color: #6b717d; font-size: 14px; }
.account-balance-card > strong { display: block; margin-top: 3px; font-size: 24px; letter-spacing: -.025em; }
.account-balance-card > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.account-balance-card button { height: 44px; border: 0; border-radius: 12px; background: #e4e6e9; color: #1d1e22; font-weight: 750; cursor: pointer; }
.account-balance-card .account-deposit { background: #00bb50; color: #fff; }
.account-balance-card .account-deposit span { display: inline-grid; width: 18px; height: 18px; place-items: center; margin-right: 6px; border-radius: 50%; background: #fff; color: #00ad49; }
.account-menu-group {
  overflow: hidden;
  margin-top: 20px;
  border-radius: 19px;
  background: #e6e8ec;
}
.account-menu-row {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border: 0;
  border-bottom: 1px solid #d9dce1;
  background: transparent;
  color: #1b1c20;
  text-align: left;
  cursor: pointer;
}
.account-menu-row:last-child { border-bottom: 0; }
.account-menu-row:hover { background: rgba(255,255,255,.32); }
.account-menu-icon { color: #747b87; font-size: 22px; font-weight: 800; text-align: left; }
.account-menu-row strong,
.account-menu-row small { display: block; }
.account-menu-row strong { font-size: 16px; line-height: 21px; }
.account-menu-row small { margin-top: 2px; color: #686e79; font-size: 14px; line-height: 19px; }

.account-section-label { margin: 19px 0 10px; color: #767c87; font-size: 16px; }
.settings-group { overflow: hidden; border-radius: 18px; background: #e7e9ed; }
.settings-group > button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border: 0;
  border-bottom: 1px solid #d9dce1;
  background: transparent;
  color: #1b1c20;
  text-align: left;
  cursor: pointer;
}
.settings-group > button:last-child { border-bottom: 0; }
.settings-group > button:hover { background: rgba(255,255,255,.32); }
.settings-group strong { font-size: 16px; }
.settings-group button > span:last-child { color: #757b86; font-size: 16px; text-align: right; }
.settings-group button > span:last-child b { margin-left: 8px; font-size: 25px; font-weight: 400; }
.settings-contact i { display: inline-grid; width: 18px; height: 18px; place-items: center; margin-left: 6px; border-radius: 50%; background: #00b84f; color: #fff; font-size: 11px; font-style: normal; }
.settings-hint { margin: 10px 0 21px; color: #656b76; font-size: 14px; }
.settings-hint button { padding: 0; border: 0; background: transparent; color: #087eff; font-weight: 700; cursor: pointer; }
.settings-group button > span:first-child strong,
.settings-group button > span:first-child small { display: block; text-align: left; }
.settings-group button > span:first-child small { margin-top: 3px; color: #666d78; font-size: 14px; }
.settings-group em { color: #ef3d16; font-size: 15px; font-style: normal; font-weight: 700; }
.account-logout-button {
  width: 100%;
  height: 54px;
  margin-top: 28px;
  border: 0;
  border-radius: 14px;
  background: #ffe4dd;
  color: #ef3d16;
  font-weight: 750;
  cursor: pointer;
}
.account-confirm-layer {
  position: absolute;
  z-index: 9;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: rgba(0,0,0,.78);
}
.account-confirm {
  position: relative;
  width: 100%;
  padding: 20px;
  border-radius: 28px 28px 0 0;
  background: #fff;
  color: #1b1c20;
  animation: sheet-in .18s ease-out;
}
.account-confirm h2 { margin: 0 42px 8px 0; font-size: 25px; letter-spacing: -.03em; }
.account-confirm p { margin: 0 0 20px; font-size: 16px; }
.account-confirm-close { position: absolute; top: 14px; right: 15px; width: 38px; height: 38px; border: 0; background: transparent; color: #747985; font-size: 29px; cursor: pointer; }
.account-confirm > button:not(.account-confirm-close) { width: 100%; height: 52px; border: 0; border-radius: 13px; font-weight: 750; cursor: pointer; }
.account-stay { background: #1685ff; color: #fff; }
.account-confirm-logout { margin-top: 12px; background: #f1f2f4; color: #1b1c20; }

.account-empty { min-height: 360px; display: grid; align-content: center; justify-items: center; color: #6f7580; text-align: center; }
.account-empty > span { font-size: 38px; }
.account-empty h3 { margin: 12px 0 5px; color: #25262a; }
.account-empty p { max-width: 360px; margin: 0; line-height: 1.5; }
.account-input { min-height: 54px; display: flex; align-items: center; margin: 15px 0; border: 1px solid #1685ff; border-radius: 15px; background: #f2f3f5; }
.account-input span { width: 54px; text-align: center; color: #6f7580; font-weight: 800; }
.account-input input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; border: 0; border-left: 1px solid #dfe1e5; outline: 0; background: transparent; color: #1b1c20; }

.auth-modal .account-modal-body { padding-top: 4px; }
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  min-height: 54px;
  margin-bottom: 20px;
  padding: 2px;
  border-radius: 17px;
  background: #f0f1f3;
}
.auth-tabs button { border: 0; border-radius: 14px; background: transparent; color: #25262a; font-size: 23px; font-weight: 750; cursor: pointer; }
.auth-tabs button span { margin-left: 8px; font-size: 16px; vertical-align: 2px; }
.auth-tabs button.active { background: #1685ff; color: #fff; }
.auth-form { display: grid; gap: 14px; }
.auth-field {
  min-height: 54px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 15px;
  background: #f2f3f5;
  color: #6e7480;
}
.auth-field:focus-within { border-color: #1685ff; }
.auth-field > span { width: 56px; flex: 0 0 56px; text-align: center; font-size: 18px; }
.auth-field > b { padding-left: 14px; border-left: 1px solid #dfe1e5; color: #26272b; font-size: 14px; font-weight: 500; }
.auth-field input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; border: 0; outline: 0; background: transparent; color: #1b1c20; font-size: 16px; }
.auth-field input::placeholder { color: #a1a6af; }
.forgot-link { justify-self: end; margin-top: -4px; padding: 0; border: 0; background: transparent; color: #087eff; font-size: 15px; font-weight: 700; cursor: pointer; }
.auth-primary { width: 100%; height: 54px; border: 0; border-radius: 14px; background: #00bb50; color: #fff; font-size: 16px; font-weight: 750; cursor: pointer; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 20px; color: #6b717c; }
.auth-divider::before,
.auth-divider::after { content: ""; height: 1px; flex: 1; background: #eceef1; }
.auth-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.auth-socials button { width: 52px; height: 52px; border: 0; border-radius: 14px; background: #f2f3f5; color: #111216; font-size: 25px; font-weight: 850; cursor: pointer; }
.auth-switch { margin: 38px 0 0; color: #666c77; text-align: center; font-size: 16px; }
.auth-switch button { padding: 0; border: 0; background: transparent; color: #087eff; font-weight: 750; cursor: pointer; }
.registration-form { gap: 13px; }
.registration-currency { min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border: 0; border-radius: 15px; background: #f0f1f3; color: #1b1c20; text-align: left; cursor: pointer; }
.registration-currency b { margin-left: auto; color: #747985; font-size: 23px; }
.password-hint { margin-top: -7px; color: #686e79; }
.promo-code-toggle { width: max-content; padding: 0; border: 0; background: transparent; color: #087eff; font-size: 16px; font-weight: 750; cursor: pointer; }
.promo-code-field[hidden] { display: none !important; }
.terms-check { display: flex; align-items: flex-start; gap: 10px; color: #686e79; font-size: 14px; line-height: 22px; }
.terms-check > input { width: 24px; height: 24px; flex: 0 0 24px; margin: 0; accent-color: #1685ff; }
.terms-check button { padding: 0; border: 0; background: transparent; color: #087eff; font-weight: 700; cursor: pointer; }
.registration-submit { margin-top: 4px; background: #7bd6a7; }

@media (max-width: 680px) {
  .modal-host:has(.deposit-modal) { padding: 20px 4px 0; }
  .deposit-modal { height: calc(100vh - 20px); border-radius: 24px 24px 0 0; }
  .deposit-modal .modal-header { min-height: 70px; padding: 14px 16px; }
  .deposit-modal .modal-header h2 { font-size: 23px; }
  .deposit-modal .modal-body { height: calc(100% - 70px); padding: 0 16px 24px; }
  .deposit-tabs { min-height: 51px; }
  .deposit-tabs button { font-size: 14px; }
  .deposit-currency { margin: 18px 0; }
  .deposit-provider { min-height: 90px; padding: 12px 14px; }
  .payment-logo strong { font-size: 24px; }
  .airtel-logo strong { font-size: 28px; }
  .icash-logo strong { font-size: 28px; }
  .modal-host:has(.account-modal) { padding: 20px 4px 0; }
  .account-modal { height: calc(100vh - 20px); border-radius: 24px 24px 0 0; }
  .account-modal .account-modal-header { min-height: 70px; padding: 14px 16px; }
  .account-modal .account-modal-header h2,
  .account-page-title { font-size: 24px; }
  .account-modal .account-modal-body { height: calc(100% - 70px); padding: 0 16px 24px; }
  .account-identity { padding: 18px 0 22px; }
  .account-menu-row { min-height: 68px; padding-right: 16px; padding-left: 16px; }
  .account-balance-card { padding: 17px; }
  .auth-tabs button { font-size: 20px; }
  .auth-tabs button span { font-size: 15px; }
  .auth-switch { margin-top: 30px; }
}

@media (max-width: 390px) {
  .deposit-provider-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .deposit-provider { min-height: 84px; padding: 10px 12px; border-radius: 15px; }
  .deposit-tabs button { font-size: 13px; }
  .deposit-tab-icon { margin-right: 5px; }
}

@media (max-width: 920px) {
  body { padding-bottom: 60px; }
  .topbar {
    height: 60px;
    padding: 0 16px;
    gap: 12px;
    border-bottom: 0;
    background: #141415;
    backdrop-filter: none;
  }
  .mobile-menu { display: none !important; }
  .top-actions { gap: 8px; }
  .balance { min-width: 62px; }
  .balance small { color: #9aa1b1; font-size: 12px; line-height: 16px; }
  .balance strong { margin-top: 0; font-size: 14px; line-height: 18px; }
  .deposit { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 700; }
  .icon-button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #2e3035; }
  main { padding: 16px 16px 40px; overflow: hidden; }
  .page { width: 100%; }
  .hero {
    min-height: 0;
    max-height: none;
    aspect-ratio: 2.08 / 1;
    border-radius: 16px;
    background: #1d1e20;
    box-shadow: inset 0 0 0 1px rgba(179,182,189,.12);
  }
  .hero-controls { display: none; }
  .hero-dots { left: 20px; bottom: 18px; gap: 8px; }
  .hero-dots button { width: 9px; height: 9px; background: rgba(240,242,245,.38); }
  .hero-dots button.active { width: 24px; background: #f0f2f5; }
  .casino-primary-tabs { margin: 15px auto 28px; }
  .casino-primary-tabs button { height: 40px; padding: 0 18px; font-size: 14px; }
  .casino-page > .hero { margin-bottom: 0; }
  .casino-toolbar {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 9px;
    margin: 28px 0 18px;
  }
  .casino-tool {
    height: 52px;
    padding: 0 18px;
    border-radius: 14px;
    background: #252628;
    color: #9aa1b1;
    font-size: 16px;
  }
  .providers-tool { color: #f0f2f5; font-weight: 700; }
  .category-nav { gap: 8px; }
  .category-arrow {
    flex-basis: 39px;
    width: 39px;
    height: 42px;
    border-radius: 11px;
    background: #2e3035;
    color: #f0f2f5;
  }
  .casino-categories { gap: 8px; }
  .casino-categories button {
    height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    background: #252628;
    color: #b3b6bd;
    font-size: 15px;
    font-weight: 600;
  }
  .casino-categories button.active { background: #1685ff; color: #fff; }
  .casino-category-view .casino-toolbar { margin-bottom: 44px; }
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 5px; row-gap: 7px; }
  .catalog-grid .game-card { padding-bottom: 24px; }
  .game-card .image-wrap { aspect-ratio: 100 / 136.5; border-radius: 10px; }
  .playing { left: 0; bottom: 2px; gap: 5px; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: -.02em; }
  .promo-row { grid-template-columns: 2.3fr 1fr; gap: 8px; margin-top: 16px; }
  .promo-card { min-height: 94px; padding: 14px; border-radius: 16px; }
  .promo-card strong { font-size: 16px; line-height: 1.05; }
  .promo-card small { margin-top: 8px; font-size: 11px; line-height: 15px; }
  .game-section { margin-top: 28px; }
  .section-head { margin-bottom: 12px; }
  .section-head h2 { font-size: 20px; line-height: 26px; }
  .game-scroller { grid-auto-columns: calc((100% - 10px) / 3); gap: 5px; }
  .bottom-nav {
    height: 60px;
    background: rgba(20,20,21,.98);
    border-top: 1px solid rgba(179,182,189,.12);
    backdrop-filter: blur(12px);
  }
  .bottom-nav button { gap: 2px; color: #797f8b; font-size: 9px; line-height: 12px; }
  .bottom-nav button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .bottom-nav button span { font-size: 9px; line-height: 12px; }
  .bottom-nav button.active { color: #1685ff; }
  .notification-card { bottom: 72px; }
  .toast { bottom: 72px; }
}

/* The launch route is a page, matching the supplied source reference—not a modal. */
.game-view { padding-bottom: 0; }
.game-view .topbar {
  height: 82px;
  padding: 0 14px 0 20px;
  background: #111213;
}
.game-view .brand img { width: 136px; height: 34px; }
.game-view .balance small { color: #9aa1b1; font-size: 14px; }
.game-view .balance strong { font-size: 16px; }
.game-view .deposit { height: 38px; padding: 0 15px; font-size: 16px; }
.game-view .icon-button { width: 40px; height: 40px; }
.game-detail-page { background: linear-gradient(180deg,#11141d 0,#111217 45%,#111 72%); }
.game-settings { border-color: #34363b; background: #1d1e20; }
.detail-demo { background: #2e3035; }

@media (max-width: 480px) {
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .game-scroller { grid-auto-columns: calc((100% - 5px) / 2.15); }
}

/* Source page families */
.source-page { color: #f0f2f5; }
.forum-view .topbar { display: none; }
.forum-view main { padding-top: 16px; }
.forum-view .sidebar,
.forum-view .site-footer,
.forum-view .notification-card { display: none !important; }
.forum-view .content-column { margin-left: 0; }
.source-page > h1 { margin: 0 0 26px; font-size: 24px; line-height: 28px; letter-spacing: -.035em; }
.source-page > h2,
.source-section-title { margin: 24px 0 16px; font-size: 21px; line-height: 26px; letter-spacing: -.025em; }
.source-subtitle { margin: -10px 0 16px; color: #9aa1b1; font-size: 14px; line-height: 20px; }
.source-chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.source-chip-row::-webkit-scrollbar { display: none; }
.source-chip-row button { height: 40px; flex: 0 0 auto; padding: 0 16px; border: 0; border-radius: 12px; background: #252628; color: #f0f2f5; font-size: 14px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.source-chip-row button.active { background: #1685ff; color: #fff; }
.source-section-title span { margin-left: 8px; color: #9aa1b1; font-size: 13px; font-weight: 500; }
.source-show-more { min-width: 180px; height: 44px; display: block; margin: 18px auto 0; border: 0; border-radius: 12px; background: #2e3035; font-weight: 700; cursor: pointer; }
.source-list-count { margin: 16px 0 0; color: #9aa1b1; text-align: center; font-size: 13px; }

/* Bonuses */
.bonuses-page h2 { margin: 24px 0 16px; font-size: 21px; }
.active-bonus-card { position: relative; min-height: 226px; overflow: hidden; padding: 16px; border-radius: 16px; background: linear-gradient(112deg,#5076aa,#90b7e1); color: #fff; }
.active-bonus-card > img { position: absolute; top: -14px; right: -60px; width: 228px; height: 156px; object-fit: contain; }
.active-bonus-card h3 { position: relative; margin: 0 0 27px; font-size: 20px; }
.active-bonus-card > strong { position: relative; display: block; margin-bottom: 14px; font-size: 16px; }
.bonus-progress { height: 6px; overflow: hidden; border-radius: 6px; background: rgba(255,255,255,.2); }
.bonus-progress i { display: block; width: 2%; height: 100%; background: #fff; }
.active-bonus-card > b { display: block; margin-top: 8px; font-size: 12px; }
.active-bonus-bottom { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 19px; }
.active-bonus-bottom span { display: grid; gap: 8px; }
.active-bonus-bottom small { font-size: 12px; }
.active-bonus-bottom em { width: max-content; padding: 3px 6px; border-radius: 7px; background: rgba(20,20,21,.25); font-size: 12px; font-style: normal; font-weight: 800; }
.active-bonus-bottom button { width: 140px; height: 44px; border: 0; border-radius: 12px; background: #fff; color: #141415; font-weight: 750; cursor: pointer; }
.bonus-chain-row { display: flex; gap: 16px; overflow-x: auto; margin-top: 52px; padding: 0 0 4px; scrollbar-width: none; }
.bonus-chain-card { position: relative; width: 216px; min-width: 216px; height: 244px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: visible; padding: 80px 16px 16px; border-radius: 16px; text-align: center; }
.bonus-chain-card.purple { background: linear-gradient(150deg,#6c2390,#a969ba); }
.bonus-chain-card.gold { background: linear-gradient(150deg,#826d49,#c8a97a); }
.bonus-chain-card.cyan { background: linear-gradient(150deg,#225773,#51abc8); }
.bonus-chain-card.blue { background: linear-gradient(150deg,#315fa9,#588fd8); }
.bonus-chain-card img { position: absolute; top: -36px; left: 0; width: 216px; height: 172px; object-fit: contain; pointer-events: none; }
.bonus-chain-card strong { position: relative; font-size: 20px; }
.bonus-chain-card small { position: relative; min-height: 20px; margin-top: 6px; color: rgba(255,255,255,.72); }
.bonus-chain-card em { margin: 8px 0 12px; padding: 3px 8px; border-radius: 8px; background: rgba(255,255,255,.2); font-size: 12px; font-style: normal; font-weight: 750; }
.bonus-chain-card button { width: 100%; height: 43px; border: 0; border-radius: 11px; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; }
.bonus-chain-card.gold button { background: #fff; color: #141415; }
.bonus-check { width: 29px; height: 29px; display: grid; place-items: center; margin: 18px 0 8px; border-radius: 50%; background: #fff; color: #9a7eaf; font-weight: 900; }
.bonus-chain-card > b { font-size: 13px; }
.wide-bonus-card { position: relative; min-height: 158px; overflow: hidden; margin-top: 12px; padding: 17px; border-radius: 16px; background: linear-gradient(105deg,#493a75,#7661bf); }
.wide-bonus-card.cashback { background: linear-gradient(105deg,#173f63,#357da2); }
.wide-bonus-card.available { background: linear-gradient(105deg,#38577e,#729bca); }
.wide-bonus-card img { position: absolute; top: 0; right: -60px; width: 228px; height: 156px; object-fit: contain; }
.wide-bonus-card h3 { position: relative; margin: 0 0 6px; font-size: 19px; }
.wide-bonus-card p { position: relative; margin: 0 0 12px; color: rgba(255,255,255,.72); font-size: 13px; }
.wide-bonus-card small,
.wide-bonus-card strong { position: relative; display: block; width: max-content; }
.wide-bonus-card strong { margin-top: 5px; padding: 3px 7px; border-radius: 7px; background: rgba(0,0,0,.16); font-size: 12px; }
.wide-bonus-card button { position: absolute; right: 16px; bottom: 16px; min-width: 140px; height: 42px; border: 0; border-radius: 11px; background: #fff; color: #141415; font-weight: 700; }
.source-faq { overflow: hidden; border: 1px solid rgba(179,182,189,.12); border-radius: 16px; background: #1d1e20; }
.source-faq button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border: 0; border-bottom: 1px solid rgba(179,182,189,.12); background: transparent; text-align: left; cursor: pointer; }
.source-faq button:last-child { border-bottom: 0; }
.source-faq span { color: #9aa1b1; font-size: 20px; }

/* Free money */
.freemoney-page .source-chip-row { margin-bottom: 24px; }
.drive-card { position: relative; min-height: 620px; overflow: hidden; border-radius: 18px; background: #1d1e20; }
.drive-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drive-copy { position: absolute; z-index: 1; top: 28px; left: 5%; width: 54%; max-height: 120px; object-fit: contain; object-position: left top; }
.drive-car { position: absolute; z-index: 1; top: 80px; right: -4%; width: 92%; height: 360px; object-fit: contain; object-position: right center; }
.drive-progress { position: absolute; z-index: 2; right: 16px; bottom: 16px; left: 16px; padding: 16px; border-radius: 15px; background: rgba(20,20,21,.78); backdrop-filter: blur(10px); }
.drive-progress > strong { display: block; max-width: 560px; font-size: 18px; line-height: 23px; }
.drive-progress > span { display: flex; justify-content: space-between; margin: 12px 0 8px; color: #b3b6bd; font-size: 12px; }
.drive-days { display: grid; grid-template-columns: repeat(12,1fr); gap: 4px; }
.drive-days i { min-width: 0; height: 25px; display: grid; place-items: center; border-radius: 7px; background: #2e3035; font-size: 10px; font-style: normal; }
.drive-progress button { width: 100%; height: 44px; margin-top: 12px; border: 0; border-radius: 11px; background: #1685ff; font-weight: 750; }
.money-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.money-feature { position: relative; min-height: 190px; overflow: hidden; display: flex; align-items: flex-end; padding: 18px; border: 0; border-radius: 16px; text-align: left; cursor: pointer; }
.money-feature.purple { background: linear-gradient(135deg,#4e18a8,#872fc4); }
.money-feature.blue { background: linear-gradient(135deg,#06316c,#176dc5); }
.money-feature.violet { background: linear-gradient(135deg,#5835a2,#864fae); }
.money-feature.teal { background: linear-gradient(135deg,#12686b,#1c9d99); }
.money-feature.navy { background: linear-gradient(135deg,#183d69,#487eb9); }
.money-feature.indigo { background: linear-gradient(135deg,#343a80,#7151bb); }
.money-feature span { position: relative; z-index: 2; width: 58%; }
.money-feature small,
.money-feature strong,
.money-feature b { display: block; }
.money-feature small { color: rgba(255,255,255,.7); }
.money-feature strong { margin-top: 5px; font-size: 17px; line-height: 21px; }
.money-feature b { width: max-content; margin-top: 15px; padding: 8px 12px; border-radius: 9px; background: rgba(255,255,255,.15); font-size: 12px; }
.money-feature img { position: absolute; right: -18px; bottom: -8px; width: 58%; height: 108%; object-fit: contain; object-position: right bottom; }

/* Loyalty */
.loyalty-levels { display: flex; gap: 16px; overflow-x: auto; padding: 0 0 4px; scrollbar-width: none; }
.loyalty-card { position: relative; width: 270px; min-width: 270px; height: 376px; overflow: hidden; padding: 16px; border: 1px solid #34363b; border-radius: 17px; background: #1d1e20; }
.loyalty-card > img { position: absolute; top: 0; right: 0; width: 270px; height: 200px; object-fit: contain; }
.loyalty-card h2 { position: relative; margin: 0 0 10px; font-size: 20px; }
.loyalty-progress { position: relative; width: 135px; margin-bottom: 10px; }
.loyalty-progress span { display: flex; justify-content: space-between; font-size: 11px; }
.loyalty-progress i { height: 5px; display: block; margin-top: 5px; border-radius: 4px; background: #34363b; }
.loyalty-progress em { width: 4%; height: 100%; display: block; border-radius: inherit; background: #1685ff; }
.locked-pill { position: relative; display: inline-flex; margin-bottom: 16px; padding: 5px 8px; border-radius: 8px; background: #62656c; font-size: 11px; font-weight: 700; }
.loyalty-card > small,
.loyalty-card > strong { position: relative; display: block; width: 140px; }
.loyalty-card > small { color: #9aa1b1; }
.loyalty-card > strong { margin-top: 5px; font-size: 19px; }
.loyalty-card ul { position: absolute; right: 16px; bottom: 15px; left: 16px; display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.loyalty-card li { color: #f0f2f5; }
.loyalty-card li:not(.locked) { color: #f0f2f5; }
.loyalty-card li:not(.locked)::first-letter { color: #00c968; }
.loyalty-card li.locked { color: #797f8b; }
.loyalty-guide { overflow: hidden; border-radius: 17px; background: linear-gradient(135deg,#173557,#3f78ab); }
.loyalty-guide > div { min-height: 155px; position: relative; display: flex; align-items: center; padding: 16px; border-bottom: 1px solid rgba(255,255,255,.13); }
.loyalty-guide > div:last-child { border-bottom: 0; }
.loyalty-guide span { position: relative; z-index: 1; max-width: 58%; }
.loyalty-guide small { width: max-content; display: block; margin-bottom: 10px; padding: 5px 8px; border-radius: 8px; background: rgba(255,255,255,.17); font-weight: 700; }
.loyalty-guide strong { display: block; font-size: 17px; }
.loyalty-guide p { margin: 5px 0 0; font-size: 13px; line-height: 17px; }
.loyalty-guide img { position: absolute; right: 17px; max-width: 42%; max-height: 130px; object-fit: contain; }
.loyalty-guide > div > b { position: absolute; right: 28px; color: rgba(255,255,255,.28); font-size: 64px; }
.loyalty-vip { position: relative; min-height: 358px; overflow: hidden; margin-top: 24px; border-radius: 17px; background: #263053; }
.loyalty-vip .vip-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loyalty-vip .vip-fg { position: absolute; top: 16px; left: 50%; width: 42%; transform: translateX(-50%); }
.loyalty-vip > div { position: absolute; right: 16px; bottom: 16px; left: 16px; text-align: center; }
.loyalty-vip h2 { margin: 0; }
.loyalty-vip p { margin: 6px 0 14px; }
.loyalty-vip button { width: 100%; height: 44px; border: 0; border-radius: 11px; background: #fff; color: #141415; font-weight: 700; }

/* Promotions and tournaments */
.promotion-list,
.source-tournament-list { display: grid; gap: 16px; }
.tournaments-page > h1 { margin-bottom: 20px; }
.tournament-tabs { margin-bottom: 20px; }
.source-promotion-card { overflow: hidden; padding: 0; border: 0; border-radius: 18px; background: #1d1e20; text-align: left; cursor: pointer; }
.source-promotion-card > img { width: 100%; aspect-ratio: 735 / 310; object-fit: cover; }
.source-promotion-card > span { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 0; }
.source-promotion-card > span:last-child { padding: 10px 16px 16px; }
.source-promotion-card strong { font-size: 15px; }
.source-promotion-card i { color: #9aa1b1; font-size: 25px; font-style: normal; }
.source-promotion-card b,
.source-promotion-card em { padding: 5px 10px; border-radius: 9px; background: #2e3035; font-size: 12px; font-style: normal; }
.source-tournament-card { overflow: hidden; padding: 0; border: 1px solid #34363b; border-radius: 16px; background: #1d1e20; text-align: left; cursor: pointer; }
.source-tournament-art { position: relative; height: 172px; overflow: hidden; display: block; }
.source-tournament-art > img { width: 100%; height: 100%; object-fit: cover; }
.source-tournament-art .status-pill { position: absolute; top: 16px; left: 16px; }
.source-tournament-name { position: absolute; bottom: 17px; left: 16px; display: grid; }
.source-tournament-name small { font-size: 16px; }
.source-tournament-name strong { margin-top: 4px; font-size: 28px; }
.source-tournament-foot { min-height: 73px; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-top: 1px solid #34363b; }
.source-tournament-foot span { display: grid; gap: 6px; }
.source-tournament-foot small { color: #9aa1b1; }
.source-tournament-foot b { padding: 3px 5px; border-radius: 6px; background: #34363b; font-size: 12px; }
.source-tournament-foot em { padding: 13px 18px; border-radius: 11px; background: #42454b; font-style: normal; font-weight: 700; }

/* Blog and forum */
.blog-page .source-chip-row { margin-bottom: 32px; }
.blog-list { display: grid; gap: 16px; }
.blog-card { overflow: hidden; border-radius: 18px; background: #fff; color: #141415; }
.blog-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card > div { padding: 14px 16px 16px; }
.blog-card span { display: flex; gap: 8px; }
.blog-card span b { padding: 4px 8px; border-radius: 8px; background: #edf0f4; font-size: 11px; }
.blog-card h2 { margin: 12px 0 7px; font-size: 17px; line-height: 22px; }
.blog-card p { margin: 0; color: #59606b; font-size: 13px; }
.forum-page { color: #ecf1f8; }
.forum-top { min-height: 54px; display: flex; align-items: center; justify-content: space-between; }
.forum-top > strong { font-size: 24px; }
.forum-top span { display: flex; gap: 6px; }
.forum-top button { height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: #2e3035; }
.forum-top button:last-child { background: #1685ff; }
.forum-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 28px; }
.forum-banners button { min-height: 130px; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; border: 0; border-radius: 16px; background: linear-gradient(145deg,#224b92,#7b3dd0); text-align: left; }
.forum-banners button:last-child { background: linear-gradient(145deg,#893333,#d1682e); }
.forum-banners strong,
.forum-banners small { display: block; }
.forum-banners strong { font-size: 20px; }
.forum-banners small { margin-top: 5px; color: rgba(255,255,255,.72); }
.forum-page > h2 { margin: 24px 0 12px; }
.forum-activity,
.forum-category-list { overflow: hidden; border: 1px solid #34363b; border-radius: 16px; background: #1d1e20; }
.forum-activity article,
.forum-category-list article { min-height: 72px; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 13px 15px; border-bottom: 1px solid #34363b; }
.forum-activity article:last-child,
.forum-category-list article:last-child { border-bottom: 0; }
.forum-activity article > span,
.forum-category-list article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #2e3035; color: #1685ff; }
.forum-activity strong,
.forum-activity small { display: block; }
.forum-activity small { margin-top: 5px; color: #9aa1b1; }
.forum-category-list article { min-height: 104px; align-items: start; }
.forum-category-list h3 { margin: 0; }
.forum-category-list p { margin: 5px 0 0; color: #9aa1b1; font-size: 13px; line-height: 17px; }

/* Poker */
.poker-hero { overflow: hidden; border: 1px solid #34363b; border-radius: 18px; }
.poker-hero img { width: 100%; aspect-ratio: 2.08 / 1; object-fit: cover; }
.poker-offer { position: relative; overflow: hidden; min-height: 530px; margin-top: 24px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg,#8d20ff,#4800be 58%,#2b008d); }
.poker-offer h2 { position: relative; z-index: 2; margin: 0 0 16px; font-size: 20px; }
.poker-offer > button { position: relative; z-index: 2; width: 100%; height: 44px; border: 0; border-radius: 11px; background: #fff; color: #141415; font-weight: 700; }
.poker-app-copy { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; margin-top: 38px; }
.poker-app-copy small { width: max-content; display: block; margin-bottom: 9px; padding: 5px 8px; border-radius: 8px; background: rgba(255,255,255,.18); }
.poker-app-copy strong { display: block; font-size: 19px; line-height: 21px; }
.poker-app-copy img { width: 150px; height: 170px; object-fit: contain; }
.poker-os { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.poker-os button { height: 44px; border: 0; border-radius: 11px; background: #fff; color: #141415; font-weight: 750; }
.poker-table { position: absolute; right: 0; bottom: -20px; left: 0; width: 100%; height: 220px; object-fit: cover; object-position: top; }
.poker-benefits { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 12px; }
.poker-benefits article { padding: 14px; border-radius: 14px; background: #1d1e20; }
.poker-benefits strong,
.poker-benefits small { display: block; }
.poker-benefits small { margin-top: 4px; color: #9aa1b1; }

/* Markets and Sports */
.sports-source-page,
.markets-page { color: #15171a; background: #eef0f4; }
.sports-tabs,
.market-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; scrollbar-width: none; }
.sports-tabs button,
.market-tabs button { height: 36px; flex: 0 0 auto; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; color: #15171a; font-weight: 650; white-space: nowrap; }
.sports-tabs button.active,
.market-tabs button.active { background: #fff; }
.sports-tabs span,
.market-tabs span,
.betwave-tabs span { margin-right: 5px; padding: 2px 5px; border-radius: 999px; background: #ff4d2e; color: #fff; font-size: 9px; }
.sports-promo { min-height: 164px; display: flex; flex-direction: column; align-items: flex-start; padding: 16px; border-radius: 18px; background: linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,0)),url('assets/source-pages/sports-fictional-hb.png') center/cover; color: #fff; }
.sports-promo strong { font-size: 17px; }
.sports-promo p { max-width: 210px; margin: 5px 0 0; font-size: 13px; }
.sports-promo button { margin-top: auto; padding: 7px 12px; border: 0; border-radius: 8px; background: #fff; color: #141415; font-weight: 750; }
.sports-rounds { display: flex; gap: 12px; overflow-x: auto; margin: 18px 0 24px; scrollbar-width: none; }
.sports-rounds button { width: 70px; flex: 0 0 70px; padding: 0; border: 0; background: transparent; color: #15171a; }
.sports-rounds i { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 6px; border: 3px solid #1685ff; border-radius: 50%; background: #fff; font-size: 27px; font-style: normal; }
.sports-rounds span { font-size: 11px; line-height: 14px; }
.sports-source-head { display: flex; align-items: center; justify-content: space-between; margin: 17px 0 10px; }
.sports-source-head h2 { margin: 0; font-size: 17px; }
.sports-source-head button { height: 36px; padding: 0 14px; border: 0; border-radius: 11px; background: #1685ff; color: #fff; font-weight: 700; }
.source-match-grid { display: grid; grid-template-columns: repeat(3,minmax(300px,1fr)); gap: 8px; overflow-x: auto; scrollbar-width: none; }
.source-match { min-height: 224px; padding: 13px; border-radius: 16px; background: #fff; color: #15171a; }
.source-match > strong,
.source-match > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source-match > small { color: #707784; }
.live-pill,
.match-date { margin: 12px 0; color: #df1761; font-size: 12px; font-weight: 700; }
.match-date { color: #59606b; }
.source-teams { display: grid; gap: 6px; margin-bottom: 13px; }
.source-teams span { display: flex; justify-content: space-between; font-weight: 700; }
.source-odds { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; margin-top: 7px; }
.source-odds button { height: 40px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 6px; background: #eef0f4; color: #15171a; }
.source-odds button:nth-child(2) { background: #d3f2df; color: #12934e; }
.my-bets { width: 100%; height: 34px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding: 0 14px; border: 0; border-radius: 8px; background: #dde0e7; color: #2a2e35; font-weight: 700; }
.market-list { display: grid; gap: 16px; }
.market-card { padding: 12px; border-radius: 17px; background: #fff; }
.market-card h2 { display: grid; grid-template-columns: 40px 1fr auto; gap: 9px; align-items: center; margin: 0; font-size: 15px; }
.market-card h2 i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; background: #18191b; font-style: normal; }
.market-card h2 b { color: #858b95; font-size: 22px; }
.market-card > p { margin: 4px 0 12px 49px; color: #8b929d; font-size: 12px; }
.market-options { display: grid; gap: 3px; }
.market-options.split { grid-template-columns: 1fr 1fr; }
.market-options button { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 8px; border: 0; border-radius: 7px; background: #eef0f4; color: #141415; }
.market-options button strong { color: #13a857; }
.market-options.split button { display: grid; justify-items: center; background: #d8f4e4; color: #13a857; }
.market-options.split button.no { background: #ffe1df; color: #e44b4b; }
.market-card footer { display: flex; justify-content: space-between; margin-top: 10px; color: #8b929d; font-size: 11px; }

/* Betwave and trading */
.betwave-tabs { display: flex; gap: 8px; margin: 16px 0 24px; }
.betwave-tabs button { height: 36px; padding: 0 12px; border: 0; border-radius: 11px; background: transparent; font-weight: 700; }
.betwave-tabs button.active { background: #2e3035; }
.betwave-sports { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; scrollbar-width: none; }
.betwave-sports button { position: relative; width: 86px; height: 64px; flex: 0 0 86px; display: grid; justify-items: start; padding: 9px 10px; border: 0; border-radius: 12px; background: #252628; text-align: left; }
.betwave-sports button.active { background: #1685ff; }
.betwave-sports small { color: #9aa1b1; }
.betwave-sports i { position: absolute; right: 7px; bottom: 5px; font-size: 25px; font-style: normal; }
.prediction-card { overflow: hidden; border-radius: 18px; background: #fff; color: #15171a; }
.prediction-card header { display: flex; align-items: center; gap: 10px; padding: 13px 16px; }
.predictor-avatar { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #7c95aa; color: #fff; font-size: 18px; }
.predictor-avatar small { position: absolute; right: -3px; bottom: -2px; padding: 2px 4px; border-radius: 4px; background: #141415; font-size: 8px; }
.prediction-card header > span:nth-child(2) { display: grid; gap: 3px; }
.prediction-card header button { margin-left: auto; padding: 10px 14px; border: 0; border-radius: 10px; background: #f0f1f3; color: #141415; font-weight: 700; }
.predictor-stats { display: flex; justify-content: space-between; padding: 0 16px 13px; }
.predictor-stats b { color: #00a849; }
.prediction-type { padding: 9px 16px; border-top: 1px solid #e6e8ec; }
.prediction-card > section { margin: 8px 16px; padding: 14px; border-radius: 12px; background: #f3f4f6; }
.prediction-card section > strong,
.prediction-card section > small { display: block; }
.prediction-card section > small { margin-top: 4px; color: #777e88; }
.prediction-card section p { display: flex; justify-content: space-between; margin: 12px 0 0; }
.prediction-card section p b { padding: 3px 8px; border-radius: 8px; background: #dceafe; color: #1685ff; }
.total-odds { display: flex; margin: 8px 16px; border-radius: 10px; background: #f3f4f6; }
.total-odds span { padding: 11px; border-right: 1px solid #e2e4e8; }
.total-odds span:last-child { flex: 1; display: flex; justify-content: space-between; border: 0; }
.total-odds b { padding: 2px 7px; border-radius: 7px; background: #1685ff; color: #fff; }
.prediction-card > p,
.prediction-card > small { margin: 12px 16px 0; }
.prediction-card footer { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 14px 16px; border-top: 1px solid #e6e8ec; }
.prediction-card footer button { height: 40px; border: 0; border-radius: 10px; background: #f0f1f3; color: #141415; font-weight: 700; }
.prediction-card footer button:first-child { background: #1685ff; color: #fff; }
.trading-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.trading-head button { justify-self: start; border: 0; background: transparent; font-weight: 700; }
.trading-head h1 { margin: 0; }
.trading-head > span { justify-self: end; color: #9aa1b1; }
.trading-chart,
.trading-order { margin-top: 20px; padding: 16px; border: 1px solid #34363b; border-radius: 17px; background: #1d1e20; }
.trading-chart header { display: flex; justify-content: space-between; }
.trading-chart header span,
.trading-chart header strong { display: grid; gap: 4px; }
.trading-chart header small { color: #00b861; }
.chart-bars { height: 150px; display: flex; align-items: flex-end; gap: 4px; margin-top: 25px; border-bottom: 1px solid #34363b; }
.chart-bars i { flex: 1; min-width: 3px; border-radius: 3px 3px 0 0; background: #16c77a; }
.chart-bars i.down { background: #f15b63; }
.trading-assets { display: grid; gap: 8px; margin-top: 14px; }
.trading-assets button { min-height: 64px; display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 0; border-radius: 13px; background: #1d1e20; text-align: left; }
.trading-assets button > i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #f39b22; color: #141415; font-style: normal; font-weight: 900; }
.trading-assets button > span { display: grid; gap: 3px; }
.trading-assets button > span:last-child { text-align: right; }
.trading-assets small { color: #9aa1b1; }
.trading-assets em { color: #16c77a; font-style: normal; }
.trading-assets em.down { color: #f15b63; }
.trading-order h2 { margin-top: 0; }
.trading-order > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.trading-order > div button { height: 38px; border: 0; border-radius: 9px; background: #2e3035; }
.trading-order > div button.active { background: #16c77a; color: #07140d; }
.trading-order label { display: grid; gap: 7px; margin-top: 14px; color: #9aa1b1; }
.trading-order input { height: 44px; padding: 0 12px; border: 1px solid #34363b; border-radius: 10px; background: #141415; color: #fff; }
.trading-order > button { width: 100%; height: 44px; margin-top: 14px; border: 0; border-radius: 10px; background: #1685ff; font-weight: 700; }

@media (max-width: 920px) {
  .source-page > h1 { margin-bottom: 26px; }
  .sports-source-page,
  .markets-page { width: calc(100% + 32px); margin: -16px; padding: 16px 16px 40px; }
  .money-feature-grid { grid-template-columns: 1fr 1fr; }
  .promotion-list,
  .source-tournament-list,
  .blog-list { grid-template-columns: 1fr; }
  .poker-benefits { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 520px) {
  .active-bonus-card > img,
  .wide-bonus-card img { right: -90px; }
  .active-bonus-bottom button,
  .wide-bonus-card button { min-width: 110px; width: 110px; }
  .money-feature-grid { grid-template-columns: 1fr; }
  .drive-card { min-height: 540px; }
  .drive-days { grid-template-columns: repeat(6,1fr); }
  .forum-banners { grid-template-columns: 1fr; }
  .poker-os { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
