/* ═══════════════════════════════════════════════
   AURUM CASINO — style.css
   Dark luxury theme · gold accents · glassmorphism
   ═══════════════════════════════════════════════ */

:root {
  --bg: #101114;
  --bg-2: #17181c;
  --bg-3: #1c1d22;
  --card: #1a1b20;
  --card-2: #22232a;
  --line: #2c2d33;
  --text: #f1f1f2;
  --muted: #8d8e96;
  --gold: #c9a45c;
  --gold-2: #dfc07a;
  --gold-deep: #9a7a38;
  --purple: #8a7a5a;
  --blue: #9a9ba3;
  --green: #6fbf8a;
  --red: #c96d6d;
  --radius: 8px;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  --font-head: "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

::selection { background: rgba(245, 197, 66, 0.35); color: #fff; }

/* custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #232f4d; border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}

.container { width: min(1240px, 94%); margin-inline: auto; }
.accent { color: var(--gold); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; }

.gold-text { color: var(--gold); }

.badge-18 {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-weight: 800; font-size: 11px;
  flex: none;
}

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 600; font-size: 13px;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: #1a1408; }
.btn--gold:hover { background: var(--gold-2); }
.btn--spin {
  min-width: 148px;
  padding: 14px 32px;
  background: linear-gradient(180deg, #f6d56a, #c9a45c);
  color: #1a1408;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1.6px;
  box-shadow: 0 8px 22px rgba(201, 164, 92, 0.28);
}
.btn--spin:hover { background: linear-gradient(180deg, #ffe07a, #d4b05f); }
.btn--cash {
  min-width: 168px;
  background: #1f8a4c;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.btn--cash:hover { background: #24a35a; }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: #55565e; background: #1c1d22; }
.btn--outline { border: 1px solid var(--gold); color: var(--gold); }
.btn--outline:hover { background: rgba(201, 164, 92, 0.1); }
.btn--purple, .btn--blue, .btn--green { background: var(--card-2); border: 1px solid var(--line); color: var(--text); }
.btn--lg { padding: 11px 20px; }
.btn--block { width: 100%; }

/* ─────────── TOPBAR ─────────── */
.topbar {
  background: #0c0d10;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.topbar b { color: var(--text); font-weight: 600; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

/* ─────────── HEADER ─────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #121317;
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 22px; padding: 10px 0; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; display: block; }
.logo__name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--text);
}

.nav { display: flex; gap: 2px; }
.nav__link {
  padding: 7px 12px;
  font-weight: 500; font-size: 13px; color: var(--muted);
}
.nav__link:hover { color: var(--text); }
.nav__link.is-active, .nav__link.active { color: var(--text); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.session { display: flex; align-items: center; gap: 10px; }
.session[hidden] { display: none !important; }
[hidden] { display: none !important; }

.search { position: relative; }
.search input {
  width: 200px;
  padding: 8px 12px 8px 34px;
  background: #1a1b20;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  outline: none;
}
.search input:focus { border-color: #55565e; }
.search__icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); opacity: 0.55; color: var(--muted); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────── HERO ─────────── */
.hero { padding: 18px 0 6px; }
.kicker {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.banner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border-radius: 16px;
  background: #16171c;
  border: 1px solid var(--line);
}
.banner h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.banner__sub { margin-top: 10px; color: #b8b9c0; font-size: 15px; }
.hero__cta { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.banner__facts { display: flex; gap: 22px; margin-top: 22px; }
.banner__facts b { display: block; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gold-2); }
.banner__facts span { color: var(--muted); font-size: 12px; }
.banner__copy { display: flex; flex-direction: column; justify-content: center; padding: 12px 8px 12px 10px; }
.banner__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.banner__mosaic img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.ticker {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 8px 0;
  background: #121317;
}
.ticker__track { display: flex; gap: 44px; width: max-content; animation: marquee 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item.is-live .win { animation: liveWin 1.4s ease; }
@keyframes liveWin {
  0% { color: #fff; text-shadow: 0 0 12px rgba(52, 211, 153, 0.9); }
  100% { color: var(--green); text-shadow: none; }
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ─────────── PROVIDERS ─────────── */
.providers {
  margin-top: 44px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 16px 0;
}
.providers__track {
  display: flex; gap: 54px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.providers__track span {
  font-family: var(--font-head);
  font-weight: 800; font-size: 15px; letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
  display: flex; align-items: center; gap: 54px;
  transition: color 0.2s;
}
.providers__track span::after { content: "✦"; color: rgba(245, 197, 66, 0.4); font-size: 12px; }
.providers__track span:hover { color: var(--gold); }

/* ─────────── SECTIONS ─────────── */
.section { padding: 36px 0 8px; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.section h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.8px;
  color: #f1f1f2;
  border: 1px solid #4a2228;
  background: #1c1012;
  padding: 3px 8px; border-radius: 4px;
}
.live-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 8px #e11d48;
}
.cats { display: flex; gap: 6px; flex-wrap: wrap; }
.cat {
  padding: 6px 11px;
  border-radius: 4px;
  background: #1a1b20;
  border: 1px solid var(--line);
  font-weight: 500; font-size: 12.5px; color: var(--muted);
}
.cat:hover { color: var(--text); }
.cat.is-active { background: #2a2b31; color: var(--text); border-color: #3a3b42; }

/* ─────────── GAMES GRID ─────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
  gap: 16px 12px;
}
.game-card { cursor: pointer; }
.thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1b20;
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.game-card:hover .thumb img { transform: scale(1.06); }
.cap { padding: 8px 2px 0; }
.cap b {
  display: block;
  font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cap small { color: var(--muted); font-size: 11px; }

.live-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.game-card__play {
  position: absolute; inset: 0; z-index: 4;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s;
}
.game-card__play span {
  background: var(--gold);
  color: #1a1408;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700; font-size: 13px;
}
.game-card:hover .game-card__play, .live-card:hover .game-card__play { opacity: 1; }

.g-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-size: 10px; font-weight: 600;
  padding: 2px 6px; border-radius: 3px;
  background: #111; color: #fff;
}
.g-badge--hot { background: #8b3a2a; }
.g-badge--new { background: #2a5a3c; }
.g-badge--jp { background: #6a5420; }

.account { position: relative; }
.account__btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #2a2418;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 700; font-size: 13px;
}
.account__drop {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 200px;
  background: #1a1b20;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 80;
}
.account__who { padding: 8px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.account__who b { display: block; font-size: 13px; text-transform: capitalize; }
.account__who small { color: var(--muted); font-size: 11px; word-break: break-all; }
.account__drop button {
  display: block; width: 100%;
  text-align: left;
  padding: 8px 8px;
  border-radius: 6px;
  font-size: 13px; color: var(--text);
}
.account__drop button:hover { background: #22232a; }

.cashier__amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.cashier__amt {
  padding: 10px 8px;
  border-radius: 6px;
  background: #1a1b20;
  border: 1px solid var(--line);
  font-weight: 700; font-size: 13px;
}
.cashier__amt.is-active { border-color: var(--gold); color: var(--gold); background: rgba(201, 164, 92, 0.1); }
.modal__box--cashier { width: min(420px, 100%); }

.g-badge { z-index: 3; }

.no-results { text-align: center; color: var(--muted); padding: 40px 0; }

/* ─────────── LIVE CASINO ─────────── */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.live-card {
  border: 1px solid var(--line);
  background: #17181c;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}
.live-card:hover { border-color: #3a3b42; }

.live-card__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  font-size: 54px;
  background: var(--thumb-bg, linear-gradient(135deg, #23104a, #0d1330));
}
.live-card__screen::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 8, 15, 0.85));
}

.live-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: #b42318;
  color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 7px; border-radius: 3px;
  animation: livePulse 1.6s ease infinite;
}
@keyframes livePulse {
  50% { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.35); }
}
.live-card__eta {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-size: 11px; font-weight: 700;
  color: #f3e0a4;
  background: rgba(5, 8, 15, 0.72);
  padding: 3px 8px;
  border-radius: 4px;
}
.live-card__eta.is-spin { color: #f87171; }

.live-card__viewers {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(5, 8, 15, 0.7);
  font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 7px;
}

.live-card__info { padding: 13px 16px 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.live-card__name { font-weight: 700; font-size: 15px; }
.live-card__dealer { font-size: 12px; color: var(--muted); margin-top: 2px; }
.live-card__limits { font-size: 11.5px; color: var(--gold); font-weight: 700; white-space: nowrap; }

/* ─────────── OFFERS / VIP ─────────── */
.offers {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
}
.offer {
  min-height: 220px;
  padding: 22px;
  border-radius: 12px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid #3a3224;
  background:
    radial-gradient(240px 120px at 100% 0%, rgba(201,164,92,.2), transparent 70%),
    #16140f;
}
.offer:nth-child(2) { background: radial-gradient(220px 120px at 0% 100%, rgba(111,191,138,.16), transparent 70%), #121614; border-color: #243028; }
.offer:nth-child(3) { background: radial-gradient(220px 120px at 100% 100%, rgba(180,90,90,.18), transparent 70%), #161214; border-color: #3a2428; }
.offer--lg { min-height: 260px; }
.offer h3 { font-size: 22px; font-weight: 700; margin: 4px 0 8px; letter-spacing: -0.02em; }
.offer p { color: #c8c4ba; font-size: 14px; margin-bottom: 16px; }

.vip {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.vip__copy p:last-child { color: var(--muted); margin-top: 8px; max-width: 420px; }
.vip__tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vip__tiers div {
  padding: 14px 16px;
  background: #17181c;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.vip__tiers b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.vip__tiers div:nth-child(3), .vip__tiers div:nth-child(4) { border-color: #3a3224; }
.vip__tiers span { color: var(--muted); font-size: 12.5px; }

/* ─────────── FOOTER ─────────── */
.footer { margin-top: 40px; background: #0c0d10; border-top: 1px solid var(--line); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 36px 0 28px;
}
.footer__grid p { color: var(--muted); font-size: 13px; margin: 12px 0 16px; max-width: 300px; }
.footer__grid h4 { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer__grid a { display: block; color: #c4c5cb; font-size: 13px; padding: 4px 0; }
.footer__grid a:hover { color: #fff; }

.footer__payments { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__payments span {
  min-width: 58px; height: 30px;
  padding: 0 8px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.8px;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.footer__payments span:hover { border-color: var(--gold); color: var(--gold); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12.5px;
}

/* ─────────── MODAL ─────────── */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 5, 10, 0.75); backdrop-filter: blur(6px); }

.modal__box {
  position: relative;
  width: min(420px, 100%);
  background: #17181c;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  animation: modalIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(26px) scale(0.96); } }

.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 14px;
}
.modal__close:hover { color: var(--text); background: rgba(255, 255, 255, 0.12); }

.modal__tabs { display: flex; gap: 8px; margin-bottom: 22px; background: rgba(255, 255, 255, 0.05); padding: 5px; border-radius: 12px; }
.modal__tab { flex: 1; padding: 10px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); transition: 0.2s; }
.modal__tab.is-active { background: var(--gold); color: #1a1408; }

.modal__form h3 { font-family: var(--font-head); font-size: 20px; margin-bottom: 18px; }
.modal__form label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.modal__form input, .modal__form select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.modal__form input:focus, .modal__form select:focus { border-color: var(--gold); }
.modal__form select option { background: var(--card); }
.modal__form .check { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.modal__form .check input { width: auto; margin: 0; accent-color: var(--gold); }
.modal__error {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 14px;
}
.modal__hint { text-align: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
.modal__hint a { color: var(--gold); }

.bonus-banner {
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.18), rgba(245, 197, 66, 0.06));
  border: 1px dashed rgba(245, 197, 66, 0.5);
  color: var(--gold);
  font-weight: 700; font-size: 13px;
  text-align: center;
  padding: 11px;
  border-radius: 11px;
  margin-bottom: 18px;
}

/* ─────────── TOAST ─────────── */
.toast {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translate(-50%, 80px);
  background: linear-gradient(135deg, var(--card-2), var(--card));
  border: 1px solid rgba(245, 197, 66, 0.4);
  color: var(--text);
  padding: 13px 24px;
  border-radius: 13px;
  font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.3s;
  z-index: 300;
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ─────────── BALANCE CHIP ─────────── */
.balance-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: #1a1b20;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
}
.balance-chip span { color: var(--muted); font-size: 11px; }
.balance-chip b { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 600; }

/* ─────────── GAME MODAL ─────────── */
.gmodal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 16px; }
.gmodal[hidden] { display: none; }
.gmodal__backdrop { position: absolute; inset: 0; background: rgba(3, 5, 10, 0.85); backdrop-filter: blur(8px); }

.gmodal__box {
  position: relative;
  width: min(1120px, 100%);
  max-height: 96vh;
  overflow-y: auto;
  background: #17181c;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px 22px;
  box-shadow: var(--shadow);
  animation: modalIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.gmodal__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.gmodal__title { display: flex; align-items: center; gap: 12px; }
.gmodal__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  background: var(--card-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 22px;
}
.gmodal__icon img { width: 100%; height: 100%; object-fit: cover; }
.gmodal__title b { font-family: var(--font-head); font-size: 19px; display: block; }
.gmodal__title small { color: var(--muted); font-size: 12px; }
.gmodal__wallet {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid rgba(245, 197, 66, 0.4);
  border-radius: 11px;
  font-size: 13px;
}
.gmodal__wallet span { color: var(--muted); font-size: 11px; }
.gmodal__wallet b { color: var(--gold); font-variant-numeric: tabular-nums; }
.gmodal__wallet:hover { border-color: var(--gold); }
.gmodal__close {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
.gmodal__close:hover { color: var(--text); background: rgba(255, 255, 255, 0.12); }

.gmodal__stage {
  position: relative;
  min-height: 420px;
  display: grid; place-items: center;
  background: #0b0c0f;
  border: 1px solid #22232a;
  border-radius: 8px;
  padding: 16px;
  overflow: hidden;
}
.gmodal__stage[data-live="1"] {
  padding: 0;
  min-height: 460px;
  align-items: stretch;
  background: #07080b;
}
.live-studio { display: flex; flex-direction: column; height: 100%; min-height: 460px; width: 100%; }
.live-studio__top {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  background: #101116;
  border-bottom: 1px solid #22232a;
  font-size: 12px; font-weight: 700;
  color: #c6c8d0;
}
.live-studio__on { color: #fff; display: flex; align-items: center; gap: 6px; }
.live-studio__on i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 8px #e11d48;
  animation: livePulse 1.2s ease infinite;
}
.live-studio__top b { color: var(--gold); margin-left: auto; }
.live-studio__body { display: grid; grid-template-columns: 1fr 168px; flex: 1; min-height: 0; }
.live-studio__play { padding: 12px; display: grid; place-items: center; overflow: auto; }
.live-studio__side {
  border-left: 1px solid #22232a;
  background: #0c0d11;
  padding: 12px 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.live-studio__phase { font-size: 11px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--gold); }
.live-studio__timer {
  font-family: var(--font-head);
  font-size: 42px; font-weight: 800;
  line-height: 1;
  color: #fff;
}
.live-studio__hist { display: flex; flex-wrap: wrap; gap: 4px; }
.live-hist {
  min-width: 22px; height: 22px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 3px;
  font-size: 10px; font-weight: 800;
  background: #1c1e24; color: #fff;
}
.live-hist--red { background: #b91c1c; }
.live-hist--black { background: #111318; border: 1px solid #3a3d46; }
.live-hist--green { background: #15803d; }
.live-studio__chat { font-size: 11px; color: #9aa0ae; line-height: 1.45; overflow: auto; flex: 1; }
.live-studio__chat p { margin: 0 0 6px; }
.rtable__bot {
  position: absolute; top: 3px; left: 3px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 0 1px #1d4ed8;
}
.live-seats {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 10px;
  font-size: 11px; color: #c6c8d0;
}
.live-seats span { background: rgba(0,0,0,0.25); padding: 4px 8px; border-radius: 99px; }
@media (max-width: 720px) {
  .live-studio__body { grid-template-columns: 1fr; }
  .live-studio__side { border-left: none; border-top: 1px solid #22232a; flex-direction: row; flex-wrap: wrap; }
}
.gmodal__stage.is-shake { animation: stageShake 0.45s linear; }
@keyframes stageShake {
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.spark {
  position: absolute;
  width: 7px; height: 7px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #f3e0a4;
  box-shadow: 0 0 8px #f3e0a4;
  z-index: 6;
  pointer-events: none;
  animation: spark 0.85s ease-out forwards;
}
@keyframes spark {
  to { transform: translate(var(--dx), var(--dy)) scale(0.4); opacity: 0; }
}

.gmodal__msg {
  margin: 14px 0;
  text-align: center;
  font-weight: 700; font-size: 15px;
  min-height: 24px;
  transition: color 0.2s;
}
.gmodal__msg[data-type="win"] { color: var(--green); }
.gmodal__msg[data-type="lose"] { color: var(--red); }
.gmodal__msg[data-type="info"] { color: #c6cee6; }

.gmodal__controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.gmodal__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gmodal__actions .btn { padding: 13px 26px; font-size: 15px; }

.bet-ctrl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bet-ctrl button:disabled { opacity: 0.35; cursor: not-allowed; }
.bet-ctrl__btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  font-size: 18px; font-weight: 800;
}
.bet-ctrl__btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.bet-ctrl__val {
  min-width: 84px; text-align: center;
  padding: 9px 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 197, 66, 0.4);
  border-radius: 10px;
  font-weight: 800; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.bet-ctrl__quick {
  padding: 8px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; color: var(--muted);
}
.bet-ctrl__quick:hover:not(:disabled) { color: var(--gold); border-color: var(--gold); }

/* ─────────── SLOT ─────────── */
.slot-machine {
  width: 100%;
  max-width: 760px;
  padding: 16px 18px 14px;
  background:
    linear-gradient(180deg, #2c2618 0%, #16130e 28%, #0c0b09 100%);
  border: 1px solid #5a4a2a;
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 140, 0.18),
    0 0 0 3px #1a140c,
    0 22px 50px rgba(0, 0, 0, 0.55);
}
.slot-machine__top, .slot-machine__bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #c4b48a;
}
.slot-machine__top { margin-bottom: 12px; }
.slot-machine__bar { margin-top: 12px; }
.slot-machine__win { color: var(--gold); font-variant-numeric: tabular-nums; font-size: 15px; }

.reel-frame {
  position: relative;
  display: flex;
  gap: 3px;
  height: 300px;
  padding: 4px;
  background: #050608;
  border: 3px solid #3d3220;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.75), 0 0 0 1px #8a7040;
}
.reel-frame::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 100px;
  margin-top: -50px;
  border-top: 2px solid rgba(245, 197, 66, 0.45);
  border-bottom: 2px solid rgba(245, 197, 66, 0.45);
  background: linear-gradient(180deg, transparent, rgba(245, 197, 66, 0.07), transparent);
  pointer-events: none;
  z-index: 2;
}
.reel-frame__glass {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), transparent 16%, transparent 82%, rgba(0,0,0,0.55));
}
.reel {
  flex: 1;
  overflow: hidden;
  position: relative;
  background: #08090c;
  border-left: 1px solid rgba(255,255,255,0.04);
  border-right: 1px solid rgba(0,0,0,0.55);
}
.reel__strip {
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}
.reel.is-spinning .symphoto { filter: blur(2.4px) brightness(1.08); }
.reel__icon {
  height: 100px;
  display: grid; place-items: center;
  background: #0a0b0e;
}
.symphoto {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  box-shadow: 0 3px 10px rgba(0,0,0,0.45);
}
.symtile {
  width: 78px; height: 78px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: #16181f;
}
.sym { width: 46px; height: 46px; display: grid; place-items: center; }
.sym svg { width: 46px; height: 46px; display: block; }
.reel__icon.is-land .symphoto { animation: landPop 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes landPop {
  0% { transform: translateY(-8px) scale(1.06); }
  100% { transform: none; }
}
.reel__icon.is-win .symphoto {
  outline: 2px solid #f0d48a;
  box-shadow: 0 0 0 2px #f0d48a, 0 0 22px rgba(240,212,138,.55);
  animation: winPulse 0.55s ease infinite alternate;
}
@keyframes winPulse { to { transform: scale(1.05); filter: brightness(1.18); } }

.winburst {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
  z-index: 4;
  animation: burstOut 1.2s ease forwards;
}
.winburst__amt {
  font-family: var(--font-head);
  font-size: 36px; font-weight: 800;
  color: var(--gold);
  text-shadow: 0 8px 30px rgba(0,0,0,0.7), 0 0 24px rgba(245, 197, 66, 0.6);
}
@keyframes burstOut {
  0% { opacity: 0; transform: scale(0.6); }
  25% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.2) translateY(-20px); }
}

/* ─────────── CRASH ─────────── */
.crash { position: relative; width: 100%; }
.crash__hist {
  display: flex; gap: 6px; justify-content: flex-start; flex-wrap: wrap;
  margin-bottom: 8px;
  min-height: 30px;
}
.crash__hist span {
  min-width: 56px;
  padding: 4px 8px;
  border-radius: 99px;
  background: #16171c;
  border: 1px solid var(--line);
  font-size: 12px; font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.crash__hist span.is-high { color: var(--gold); border-color: rgba(245,197,66,0.4); }
.crash__hist span.is-mid { color: var(--green); }
.crash__hist span.is-low { color: var(--red); }
.crash__stage {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0b0e;
  border: 1px solid #22232a;
}
.crash__canvas { width: 100%; height: auto; display: block; }
.crash__mult {
  position: absolute; top: 16px; left: 18px;
  font-family: var(--font-head);
  font-size: 52px; font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.7);
  color: #fff;
}
.crash__mult.is-crash { color: var(--red); animation: none; }
.crash__mult.is-cash { color: var(--green); animation: none; }
.crash__mult.is-live { animation: multBeat 0.5s ease-in-out infinite; }
@keyframes multBeat { 50% { transform: scale(1.07); } }
.crash__wait {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(8, 9, 12, 0.55);
  font-family: var(--font-head);
  font-size: 28px; font-weight: 700;
  letter-spacing: 1px;
}
.crash__wait[hidden] { display: none; }

/* ─────────── PLINKO ─────────── */
.plinko canvas { width: min(480px, 100%); height: auto; display: block; }

/* ─────────── ROULETTE / WHEEL ─────────── */
.roulette { display: grid; grid-template-columns: 340px 1fr; align-items: center; gap: 18px; width: 100%; }
.roulette--wheel { grid-template-columns: 1fr; justify-items: center; }
.roulette__wheelbox { width: 340px; height: 340px; margin: 0 auto; }
.roulette__canvas { width: 100%; height: 100%; display: block; }
.roulette__wheelwrap { position: relative; width: 250px; height: 250px; margin: 0 auto; }
.roulette__pointer {
  position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; z-index: 3;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid var(--gold);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
}
.roulette__balltrack {
  position: absolute; inset: 8px;
  border-radius: 50%;
  z-index: 4;
  pointer-events: none;
}
.roulette__ball {
  position: absolute;
  top: -5px; left: 50%;
  width: 12px; height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #d0d0d4 45%, #6a6a70);
  box-shadow: 0 2px 4px rgba(0,0,0,.55);
}
.roulette__rotor {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #2a1a0a 30%, #14100a 70%);
  border: 6px solid #3a2c14;
  box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.3), 0 18px 40px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.6);
  will-change: transform;
  transform: translateZ(0);
}
.roulette__rotor--wheel { border-color: #2a2140; }
.roulette__num {
  position: absolute; top: 50%; left: 50%;
  margin: -13px 0 0 -13px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 10.5px; font-weight: 800;
}
.roulette__num span { display: block; }
.roulette__num--red { background: #b91c1c; color: #fff; }
.roulette__num--black { background: #111827; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.roulette__num--green { background: #15803d; color: #fff; }
.roulette__hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: radial-gradient(circle, #2a2410, #14100a);
  border: 2px solid rgba(245, 197, 66, 0.5);
  border-radius: 50%;
  font-size: 13px; font-weight: 800; letter-spacing: 0.8px;
  color: var(--gold);
}
.rtable { width: 100%; display: grid; gap: 4px; user-select: none; }
.rtable button { cursor: pointer; border: none; font-family: inherit; }
.rtable__top {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 3px;
}
.rtable__zero {
  position: relative;
  background: #15803d; color: #fff;
  font-weight: 800; font-size: 18px;
  border-radius: 4px;
}
.rtable__nums {
  display: grid;
  grid-template-rows: repeat(3, 34px);
  gap: 3px;
}
.rtable__row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.rtable__n, .rtable__out, .rtable__col, .rtable__dozen {
  position: relative;
  display: grid; place-items: center;
  font-weight: 800; font-size: 12px;
  border-radius: 3px;
  color: #fff;
  min-height: 34px;
  transition: transform 0.12s, filter 0.12s;
}
.rtable__n:hover, .rtable__out:hover, .rtable__col:hover, .rtable__dozen:hover { filter: brightness(1.18); transform: translateY(-1px); }
.rtable__zero:hover { filter: brightness(1.18); }
.rtable__n--red { background: #b91c1c; }
.rtable__n--black { background: #17191f; border: 1px solid #2e313a; }
.rtable__n--green, .rtable__out--green { background: #15803d; }
.rtable__cols { display: grid; grid-template-rows: repeat(3, 34px); gap: 3px; }
.rtable__col { background: #1c1e24; border: 1px solid #2e313a; font-size: 10px; color: #c6c8d0; }
.rtable__dozens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.rtable__dozen { background: #1c1e24; border: 1px solid #2e313a; color: #c6c8d0; letter-spacing: 0.4px; }
.rtable__outside { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.rtable__out { background: #1c1e24; border: 1px solid #2e313a; color: #e8e9ee; min-height: 36px; }
.rtable__out--red { background: #b91c1c; }
.rtable__out--black { background: #111318; border: 1px solid #3a3d46; }
.rtable__chip {
  position: absolute; bottom: 2px; right: 3px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px;
  background: var(--gold); color: #1a1408;
  font-size: 9px; font-weight: 800;
  display: grid; place-items: center;
}
.rtable__n.is-hit { outline: 2px solid var(--gold); box-shadow: 0 0 14px rgba(245,197,66,0.45); }
.wheel__label {
  position: absolute; top: 50%; left: 50%;
  margin: -11px 0 0 -16px;
  width: 32px; height: 22px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #0b0b12;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.roulette__board {
  width: 100%;
  padding: 12px;
  background:
    radial-gradient(ellipse at 50% 30%, #1a6a40, #0c3a24 72%);
  border: 1px solid #2d7a4c;
  border-radius: 8px;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.35);
}
.roulette__chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chipbtn {
  padding: 9px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-weight: 700; font-size: 13px;
  transition: 0.2s;
}
.chipbtn:hover { transform: translateY(-2px); border-color: var(--gold); }
.chipbtn--red { background: rgba(185, 28, 28, 0.3); border-color: rgba(248, 113, 113, 0.5); }
.chipbtn--black { background: rgba(17, 24, 39, 0.8); border-color: rgba(255, 255, 255, 0.25); }
.chipbtn--gold { background: rgba(245, 197, 66, 0.15); border-color: rgba(245, 197, 66, 0.5); color: var(--gold); }
.chipbtn--tie { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.5); color: var(--green); }
.chipbtn.is-picked { outline: 2px solid var(--gold); box-shadow: 0 0 16px rgba(245, 197, 66, 0.4); }
.roulette__straight { display: flex; gap: 8px; align-items: center; }
.roulette__straight select {
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-weight: 700;
  outline: none;
}
.roulette__straight select option { background: var(--card); }
.roulette__placed { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: 13px; }
.placed-chip {
  padding: 5px 12px;
  background: rgba(245, 197, 66, 0.12);
  border: 1px solid rgba(245, 197, 66, 0.4);
  border-radius: 99px;
  font-size: 12px; font-weight: 600;
}
.placed-chip b { color: var(--gold); }

/* ─────────── CARDS (blackjack / baccarat / poker) ─────────── */
.bj-table {
  width: 100%;
  padding: 18px 16px 20px;
  background:
    radial-gradient(ellipse at 50% 40%, #1f6b42, #0d3d26 70%);
  border: 1px solid #2a6a44;
  border-radius: 10px;
}
.bj__felt {
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
}
.bj__felt b { color: var(--gold); letter-spacing: 0; }
.bj { width: 100%; display: grid; gap: 16px; }
.bj__hand { display: grid; gap: 10px; justify-items: center; }
.bj__label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.bj__label b { color: var(--gold); font-size: 15px; margin-left: 4px; }
.bj__cards { display: flex; gap: 8px; min-height: 76px; flex-wrap: wrap; justify-content: center; perspective: 900px; }

.card {
  position: relative;
  width: 62px; height: 88px;
  background: linear-gradient(160deg, #ffffff, #e8edf7);
  color: #131a2c;
  border-radius: 8px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
  animation: dealIn 0.45s cubic-bezier(0.18, 0.78, 0.22, 1) both;
}
.card__suit { font-size: 26px; line-height: 1; }
.suit { display: block; }
.suit svg { width: 1em; height: 1em; display: block; }
.card__suit.suit svg { width: 26px; height: 26px; }
.card__corner .suit svg { width: 11px; height: 11px; }
.card__corner {
  position: absolute; top: 5px; left: 6px;
  display: flex; flex-direction: column; align-items: center;
  font-size: 12px; line-height: 1.05;
}
.card__corner--br { top: auto; left: auto; bottom: 5px; right: 6px; transform: rotate(180deg); }
.card--red { color: #c22127; }
.card--back {
  background:
    radial-gradient(circle at 50% 50%, rgba(245,197,66,0.18), transparent 55%),
    repeating-linear-gradient(45deg, #1c2a52, #1c2a52 6px, #24366a 6px, #24366a 12px);
  border: 2px solid rgba(245, 197, 66, 0.5);
}
@keyframes dealIn {
  0% { opacity: 0; transform: translate3d(40px, -28px, 0) rotateY(78deg) rotateZ(-8deg); }
  100% { opacity: 1; transform: none; }
}

.baccarat__chips { justify-content: center; }

/* ─────────── POKER ─────────── */
.poker { width: 100%; display: grid; gap: 18px; }
.poker__table { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.poker__pay {
  font-size: 11px; font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 99px;
  transition: 0.2s;
}
.poker__pay b { color: var(--gold); }
.poker__pay.is-hit { background: rgba(52, 211, 153, 0.2); border-color: var(--green); color: #fff; box-shadow: 0 0 14px rgba(52, 211, 153, 0.4); }
.poker__cards { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.poker__slot { position: relative; cursor: pointer; transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.poker__slot .card { pointer-events: none; }
.poker__slot.is-held { transform: translateY(-10px); }
.poker__slot.is-held .card { outline: 3px solid var(--gold); box-shadow: 0 0 18px rgba(245, 197, 66, 0.5); }
.poker__holdtag {
  position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #231a02;
  font-size: 9px; font-weight: 800; letter-spacing: 1px;
  padding: 2px 8px; border-radius: 99px;
}

/* ─────────── MINES ─────────── */
.mines { width: min(420px, 100%); }
.mines__hud {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #14151a;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px; color: var(--muted);
}
.mines__hud b { color: var(--gold); font-variant-numeric: tabular-nums; }
.mines__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.mines__tile {
  aspect-ratio: 1;
  border-radius: 8px;
  display: grid; place-items: center;
  background:
    linear-gradient(180deg, #32343c, #22242c);
  border: 1px solid #42444e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.12s, background 0.15s;
}
.mines__tile .sym, .mines__tile .sym svg { width: 34px; height: 34px; }
.mines__photo { width: 78%; height: 78%; object-fit: cover; border-radius: 6px; display: block; }
.mines__tile:hover:not(.is-open) { background: linear-gradient(180deg, #3c3e48, #2a2c34); transform: translateY(-2px); }
.mines__tile.is-open { pointer-events: none; animation: mineFlip 0.42s cubic-bezier(0.2, 0.8, 0.2, 1); }
.mines__tile.is-gem { background: #101412; border-color: #2f7a4e; }
.mines__tile.is-gem .mines__photo { animation: landPop 0.4s ease; }
.mines__tile.is-mine { background: #1a1010; border-color: #8a3030; }
@keyframes mineFlip {
  0% { transform: rotateY(88deg) scale(0.9); }
  58% { transform: rotateY(-8deg) scale(1.05); }
  100% { transform: rotateY(0) scale(1); }
}

/* ─────────── MEGA BALL ─────────── */
.megaball { width: 100%; display: grid; gap: 20px; }
.megaball__card { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.megaball__drawn {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  min-height: 44px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.mball {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #24305a, #141c36);
  border: 1px solid var(--line);
  font-weight: 800; font-size: 14px;
  transition: 0.25s;
}
.mball--drawn { background: linear-gradient(160deg, #3a3f55, #232838); animation: dealIn 0.25s ease both; }
.mball.is-hit {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #231a02;
  border-color: transparent;
  box-shadow: 0 0 16px rgba(245, 197, 66, 0.55);
  transform: scale(1.1);
}

/* ─────────── REVEAL ON SCROLL ─────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 1020px) {
  .banner { grid-template-columns: 1fr; }
  .banner__mosaic img { height: 120px; }
  .nav { display: none; }
  .burger { display: flex; }
  .offers { grid-template-columns: 1fr 1fr; }
  .offer--lg { grid-column: 1 / -1; }
  .vip { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #121317;
    border-bottom: 1px solid var(--line);
    padding: 10px 4%;
    z-index: 99;
  }
}

@media (max-width: 720px) {
  .banner h1 { font-size: 34px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px 8px; }
  .search { display: none; }
  .banner__mosaic { grid-template-columns: 1fr 1fr; }
  .offers { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 22px; }
  .header__actions .btn--ghost { display: none; }
  .gmodal__box { padding: 14px; }
  .gmodal__controls { flex-direction: column; align-items: stretch; }
  .gmodal__stage { min-height: 300px; padding: 10px; }
  .roulette { grid-template-columns: 1fr; }
  .roulette__wheelbox { width: min(340px, 92vw); height: auto; aspect-ratio: 1; }
  .crash__mult { font-size: 36px; }
  .card { width: 50px; height: 72px; }
  .banner__facts b { font-size: 22px; }
}
