/* B2 Club — lobby */
:root {
  --bg: #060d0a;
  --side: #09110e;
  --card: #0f1c16;
  --card-2: #152620;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(52, 211, 153, 0.22);
  --text: #f5f2ec;
  --mute: #8ea69b;
  --lime: #f0c24b;
  --lime-2: #c9952c;
  --violet: #10b981;
  --violet-2: #059669;
  --live: #2ee59d;
  --lime-grad: linear-gradient(160deg, #ffe08a 0%, #f0c24b 45%, #c9952c 100%);
  --violet-grad: linear-gradient(140deg, #34d399 0%, #10b981 45%, #047857 100%);
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 20px;
  --side-w: 256px;
  --top-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 85% -10%, rgba(16, 185, 129, 0.16), transparent 60%),
    radial-gradient(800px 500px at 20% 110%, rgba(240, 194, 75, 0.05), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { flex: none; }
[hidden] { display: none !important; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* Logo */
.d3-logo { display: inline-flex; align-items: center; gap: 0.32em; font-size: 30px; line-height: 1; color: var(--text); }
.d3-logo__mark { width: 1.84em; height: 1em; }
.d3-logo__word { font-family: var(--display); font-weight: 800; font-size: 0.5em; letter-spacing: 0.22em; padding-top: 0.28em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: scale(0.97); }
.btn--lime { background: var(--lime-grad); color: #09130f; box-shadow: 0 8px 24px -10px rgba(240, 194, 75, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(240, 194, 75, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn--lime svg[viewBox] path[d^="M8 5.5"] { fill: currentColor; stroke: none; }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(16, 185, 129, 0.08); }
.btn--ghost:hover { border-color: var(--violet); background: rgba(16, 185, 129, 0.16); }
.btn--glass { border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); }
.btn--lg { height: 52px; padding: 0 24px; font-size: 15px; border-radius: 16px; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: rgba(16, 185, 129, 0.14); border-color: var(--line-2); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--live); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(0.4); opacity: 0.9; } to { transform: scale(1.6); opacity: 0; } }

/* Shell */
.b2-shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }

/* Sidebar */
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 16px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06), transparent 40%), var(--side);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  scrollbar-width: none;
  z-index: 60;
}
.side::-webkit-scrollbar { display: none; }
.side__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 6px; }
.side__close { display: none; }
.side__member {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line-2);
}
.side__avatar img, .top__avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.side__avatar, .top__avatar {
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--violet-grad);
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}
.side__who { display: grid; gap: 2px; min-width: 0; }
.side__who b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side__who small { font-size: 12px; color: var(--lime); font-weight: 700; }
.side__tier { margin-left: auto; color: var(--lime); }
.side__tier svg { width: 20px; height: 20px; fill: currentColor; }
.side__join {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: radial-gradient(120% 100% at 100% 0%, rgba(16, 185, 129, 0.45), transparent 60%), var(--card);
  border: 1px solid var(--line-2);
}
.side__join b { font-family: var(--display); font-size: 15px; font-weight: 700; }
.side__join span { font-size: 13px; line-height: 1.45; color: var(--mute); margin-bottom: 4px; }
.side__nav { display: grid; gap: 2px; }
.side__label { margin: 14px 10px 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #6d6680; }
.side__nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #c9c2d6;
  transition: background 0.2s, color 0.2s;
}
.side__nav a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.side__nav a em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--mute); }
.side__nav a:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.side__nav a.is-on { background: linear-gradient(90deg, rgba(16, 185, 129, 0.24), rgba(16, 185, 129, 0.04)); color: #fff; }
.side__nav a.is-on::before { content: ""; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.side__nav a.is-on svg { color: var(--lime); }
.side__out { color: #ff8a96 !important; }
.side__foot { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(46, 229, 157, 0.07); font-size: 12px; color: var(--mute); }
.side__foot b { color: var(--text); }
.side-scrim { display: none; }

/* Top bar */
.main { min-width: 0; }
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--top-h);
  padding: 0 28px;
  background: rgba(6, 13, 10, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.top__burger, .top__logo { display: none !important; }
.search {
  flex: 1;
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--mute);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18); }
.search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--text); font: 600 14px var(--body); }
.search input::placeholder { color: #6d6680; }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(0.5); }
.search kbd { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); font: 700 11px var(--body); }
.top__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.bal {
  display: grid;
  gap: 1px;
  padding: 6px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(16, 185, 129, 0.08);
  text-align: right;
}
.bal small { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.bal b { font-family: var(--display); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Content */
.content { display: grid; gap: 34px; width: 100%; max-width: 1320px; margin: 0 auto; padding: 26px 28px 40px; }

/* Bento hero */
.bento { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 16px; min-height: 440px; }
.promo {
  position: relative;
  grid-row: span 2;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
  border: 1px solid var(--line);
}
.promo__slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0.7s; }
.promo__slide.is-on { opacity: 1; visibility: visible; }
.promo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 7s ease-out; }
.promo__slide.is-on .promo__img { transform: scale(1); }
.promo__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 13, 10, 0.92) 0%, rgba(6, 13, 10, 0.6) 38%, rgba(6, 13, 10, 0) 70%),
    linear-gradient(0deg, rgba(6, 13, 10, 0.95) 0%, rgba(6, 13, 10, 0) 55%);
}
.promo__body { display: grid; justify-items: start; gap: 14px; width: min(100%, 560px); padding: 34px 34px 78px; }
.promo__body > * { transform: translateY(14px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); }
.promo__slide.is-on .promo__body > * { transform: none; opacity: 1; }
.promo__slide.is-on .promo__body > :nth-child(2) { transition-delay: 0.06s; }
.promo__slide.is-on .promo__body > :nth-child(3) { transition-delay: 0.12s; }
.promo__slide.is-on .promo__body > :nth-child(4) { transition-delay: 0.18s; }
.promo__title { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.02em; }
.promo__desc { max-width: 440px; font-size: 15px; line-height: 1.55; color: #d6d0e0; }
.promo__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(240, 194, 75, 0.14);
  color: var(--lime);
  border: 1px solid rgba(240, 194, 75, 0.35);
}
.pill--casino { background: rgba(16, 185, 129, 0.2); color: #a7f3d0; border-color: rgba(52, 211, 153, 0.45); }
.pill--sports { background: rgba(46, 229, 157, 0.14); color: #7ff3c4; border-color: rgba(46, 229, 157, 0.4); }
.promo__nav { position: absolute; left: 34px; right: 22px; bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.promo__dots { display: flex; gap: 6px; flex-wrap: wrap; }
.promo__dots button { position: relative; width: 22px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.22); overflow: hidden; transition: width 0.4s var(--ease); }
.promo__dots button.is-on { width: 48px; }
.promo__dots button i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--lime); }
.promo.is-ticking .promo__dots button.is-on i { animation: fill 6.5s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.promo__arrows { display: flex; gap: 8px; }
.promo__arrows .icon-btn { background: rgba(6, 13, 10, 0.5); border-color: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.tile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease);
}
.tile-card:hover { transform: translateY(-4px); }
.tile-card__kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.tile-card__big { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.08; letter-spacing: -0.01em; max-width: 80%; }
.tile-card__txt { font-size: 13px; line-height: 1.45; max-width: 78%; opacity: 0.8; }
.tile-card__go { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: transform 0.35s var(--ease); }
.tile-card__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tile-card:hover .tile-card__go { transform: rotate(-45deg); }
.tile-card--lime { background: var(--lime-grad); color: #09130f; }
.tile-card--lime .tile-card__go { background: #09130f; color: var(--lime); }
.tile-card__mark { position: absolute; right: -20px; top: 22px; width: 64%; z-index: -1; fill: rgba(11, 10, 16, 0.08); }
.tile-card--violet { background: var(--violet-grad); color: #fff; }
.tile-card--violet .tile-card__go { background: #fff; color: var(--violet-2); }
.tile-card__orb { position: absolute; right: -24px; top: -10px; z-index: -1; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.tile-card__orb svg { width: 70px; height: 70px; fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.4; stroke-linejoin: round; }

/* Chips */
.chips {
  position: sticky;
  top: var(--top-h);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -10px -28px -14px;
  padding: 12px 28px;
  overflow-x: auto;
  scrollbar-width: none;
  background: linear-gradient(180deg, rgba(6, 13, 10, 0.92) 70%, rgba(6, 13, 10, 0));
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13px;
  font-weight: 800;
  color: #c9c2d6;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip:hover { border-color: var(--line-2); color: #fff; }
.chip.is-on { background: var(--text); color: #09130f; border-color: var(--text); }
.chips__live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding-left: 12px; font-size: 12px; font-weight: 700; color: var(--mute); white-space: nowrap; }

/* Shelves */
.shelf { display: grid; gap: 16px; }
.shelf__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.shelf__title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.01em; }
.shelf__title svg { width: 22px; height: 22px; padding: 6px; box-sizing: content-box; border-radius: 10px; background: rgba(240, 194, 75, 0.12); color: var(--lime); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shelf__note { font-size: 13px; font-weight: 600; color: var(--mute); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
.grid--originals { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 200px; }
.game.game--end {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(16, 185, 129, 0.5), transparent 60%), var(--card-2);
  border-color: var(--line-2);
}
.game--end::after { display: none; }
.game__end-k { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.game--end b { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.15; padding-right: 8px; }
.game__end-go { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: #09130f; transition: transform 0.35s var(--ease); }
.game__end-go svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.game--end:hover .game__end-go { transform: rotate(-45deg); }
.game {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  isolation: isolate;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.grid--originals .game { aspect-ratio: auto; }
.game--feature { grid-column: span 2; grid-row: span 2; }
.game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s var(--ease); }
.game::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 13, 10, 0.94) 0%, rgba(6, 13, 10, 0.2) 45%, rgba(6, 13, 10, 0) 70%); }
.game:hover { transform: translateY(-5px); border-color: rgba(52, 211, 153, 0.6); box-shadow: 0 18px 40px -16px rgba(16, 185, 129, 0.6); }
.game:hover img { transform: scale(1.07); }
.game__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; }
.game__cap b { font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.15; letter-spacing: -0.01em; }
.game__cap small { font-size: 12px; font-weight: 600; color: var(--mute); }
.game--feature .game__cap { left: 22px; bottom: 20px; }
.game--feature .game__cap b { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; }
.game--feature .game__cap small { font-size: 13px; }
.game__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--lime);
  color: #09130f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.game__badge.is-live { background: rgba(6, 13, 10, 0.7); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.game__badge.is-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 8px #ff4d5e; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.game__badge--crown { background: var(--violet-grad); color: #fff; }
.game__badge--crown svg { width: 12px; height: 12px; fill: currentColor; }
.game__players { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 8px; background: rgba(6, 13, 10, 0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 11px; font-weight: 800; }
.game__players .live-dot { width: 6px; height: 6px; }
.game__players .live-dot::after { display: none; }
.game__play {
  position: absolute;
  left: 50%;
  top: 44%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lime-grad);
  color: #09130f;
  box-shadow: 0 10px 30px rgba(240, 194, 75, 0.45);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.game__play svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.game:hover .game__play { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.game--feature .game__play { width: 72px; height: 72px; }
.game.is-locked img { filter: grayscale(0.7) brightness(0.55); }
.game__lock { position: absolute; left: 50%; top: 42%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; transform: translate(-50%, -50%); background: rgba(6, 13, 10, 0.6); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.game__lock svg { width: 20px; height: 20px; fill: none; stroke: #a7f3d0; stroke-width: 2; stroke-linecap: round; }
.grid--sports .game { aspect-ratio: 4 / 5; }

/* Live wins rail */
.wins {
  display: flex;
  align-items: stretch;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}
.wins__label {
  flex: none;
  display: grid;
  align-content: center;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  padding: 14px 20px;
  background: var(--violet-grad);
  color: #fff;
}
.wins__label b { font-family: var(--display); font-size: 14px; font-weight: 700; }
.wins__label small { grid-column: 1 / -1; font-size: 12px; font-weight: 700; opacity: 0.85; font-variant-numeric: tabular-nums; }
.wins__label .live-dot { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.wins__label .live-dot::after { border-color: var(--lime); }
.wins__rail { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.wins__list { display: flex; gap: 10px; height: 100%; padding: 10px; list-style: none; }
.win { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.win.is-new { animation: winIn 0.6s var(--ease); border-color: rgba(240, 194, 75, 0.5); }
@keyframes winIn { from { opacity: 0; transform: translateX(-24px); } }
.win img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.win__who { display: grid; gap: 1px; }
.win__who b { font-size: 12px; font-weight: 800; }
.win__who small { font-size: 11px; color: var(--mute); white-space: nowrap; }
.win__amt { margin-left: 6px; font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--lime); white-space: nowrap; }

/* Club perks */
.club { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
.club__vip {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 30px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(16, 185, 129, 0.45), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(240, 194, 75, 0.12), transparent 60%),
    var(--card);
}
.club__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.club__kicker svg { width: 16px; height: 16px; fill: currentColor; }
.club__big { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.08; letter-spacing: -0.02em; }
.club__vip p { max-width: 420px; font-size: 14px; line-height: 1.55; color: #c9c2d6; }
.club__ladder { display: flex; gap: 6px; width: 100%; max-width: 460px; margin: 4px 0 6px; }
.club__ladder span { flex: 1; display: grid; gap: 8px; font-size: 11px; font-weight: 800; color: var(--mute); }
.club__ladder i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.club__ladder span.is-on { color: var(--text); }
.club__ladder span.is-on i { background: var(--lime-grad); box-shadow: 0 0 12px rgba(240, 194, 75, 0.5); }
.club__ladder span:last-child i { background: rgba(16, 185, 129, 0.35); }
.club__ladder span:last-child.is-on i { background: var(--violet-grad); }
.club__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.perk { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.35s var(--ease); }
.perk:hover { border-color: var(--line-2); transform: translateY(-3px); }
.perk svg { width: 24px; height: 24px; padding: 10px; box-sizing: content-box; border-radius: 14px; background: rgba(16, 185, 129, 0.16); color: #a7f3d0; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.perk b { font-family: var(--display); font-weight: 700; font-size: 15px; }
.perk span { font-size: 13px; line-height: 1.5; color: var(--mute); }

/* FAQ */
.faq { display: grid; gap: 16px; }
.faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-size: 14px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; border-radius: 8px; background: rgba(240, 194, 75, 0.12); color: var(--lime); font-size: 18px; font-weight: 700; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; font-size: 14px; line-height: 1.6; color: var(--mute); }

/* Footer */
.foot { max-width: 1320px; margin: 0 auto; padding: 30px 28px 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot__brand { display: grid; gap: 8px; }
.foot__brand .d3-logo { font-size: 34px; }
.foot__brand p { font-size: 13px; color: var(--mute); font-weight: 600; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; }
.foot__links a { font-size: 14px; font-weight: 700; color: #c9c2d6; }
.foot__links a:hover { color: var(--lime); }
.foot__base { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.foot__age b { display: inline-grid; place-items: center; width: 30px; height: 20px; margin-right: 6px; border-radius: 6px; border: 1px solid #ff8a96; color: #ff8a96; font-size: 10px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(110px + env(safe-area-inset-bottom));
  z-index: 9999;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--text);
  color: #09130f;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

.guest-bar { display: none; }

/* Desktop: hide the mobile dock, the sidebar covers navigation */
@media (min-width: 1001px) {
  .d3dock, .d3dock-space { display: none !important; }
}

/* Tablet / mobile */
@media (max-width: 1180px) {
  .grid--originals { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 300px; grid-auto-rows: 190px; }
  .game--feature { grid-column: 1 / -1; grid-row: span 1; }
}
@media (max-width: 1000px) {
  :root { --top-h: 64px; }
  .b2-shell { grid-template-columns: minmax(0, 1fr); }
  .side {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(300px, 86vw);
    height: auto;
    z-index: 200;
    transform: translateX(-102%);
    transition: transform 0.45s var(--ease);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.6);
  }
  .side__close { display: inline-grid; }
  body.side-open { overflow: hidden; }
  body.side-open .side { transform: none; }
  .side-scrim { display: block; position: fixed; inset: 0; z-index: 190; background: rgba(4, 3, 8, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  body.side-open .side-scrim { opacity: 1; pointer-events: auto; }
  .top { padding: 0 16px; gap: 10px; }
  .top__burger { display: inline-grid !important; }
  .top__logo { display: inline-flex !important; font-size: 24px; }
  .search { display: none; }
  .content { padding: 18px 16px 30px; gap: 28px; }
  .chips { margin: -8px -16px -12px; padding: 10px 16px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; min-height: 0; }
  .promo { grid-column: 1 / -1; grid-row: auto; height: 460px; }
  .club { grid-template-columns: 1fr; }
  .foot { padding: 26px 16px 30px; grid-template-columns: 1fr; }
  .foot__links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .top__right .btn span, .top__right .btn--ghost { display: none; }
  .top__right .btn--lime { width: 44px; padding: 0; }
  .top__right .btn--lime:only-child, .top__right .btn--ghost + .btn--lime { width: auto; padding: 0 14px; }
  .bal { padding: 5px 10px; }
  .bal small { display: none; }
  .top__avatar { display: none; }
  .promo { height: 440px; border-radius: 22px; }
  .promo__body { padding: 22px 20px 70px; }
  .promo__desc { font-size: 14px; }
  .promo__nav { left: 20px; right: 14px; bottom: 16px; }
  .promo__arrows { display: none; }
  .btn--lg { height: 48px; padding: 0 18px; }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .tile-card { min-height: 150px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid--originals { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 230px; grid-auto-rows: 170px; }
  .game__play { display: none; }
  .chips__live { display: none; }
  .wins { flex-direction: column; }
  .wins__label { grid-template-columns: auto auto 1fr; padding: 12px 16px; }
  .wins__label small { grid-column: auto; justify-self: end; }
  .club__vip { padding: 22px; }
  .club__perks { gap: 10px; }
  .perk { padding: 16px; }
  .faq__list { grid-template-columns: 1fr; }
  .guest-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(9, 17, 14, 0.9);
    border: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  }
  .guest-bar .btn--ghost { display: inline-flex; }
  body:not(:has(.d3dock)) .foot { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
