/* ============================================================
   AURUM Casino — Liquid Glass дизайн-система (порт globals.css)
   Тёмный Telegram-фон + золото + стеклянные поверхности
   ============================================================ */

:root {
  --gold: #f5c04a;
  --gold-soft: #ffe9ad;
  --felt: #0e7a52;
  --bg: #05070e;
  --fg: #eef1f8;
  --muted-fg: #9aa3b8;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --font-display: 'Unbounded', 'Manrope', ui-sans-serif, sans-serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(120, 82, 224, 0.16), transparent 60%),
    radial-gradient(900px 550px at -10% 15%, rgba(16, 185, 129, 0.12), transparent 60%),
    radial-gradient(800px 700px at 50% 110%, rgba(245, 192, 74, 0.1), transparent 60%),
    var(--bg);
  color: var(--fg);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .font-display { font-family: var(--font-display); letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; cursor: pointer; }
input, textarea { font-family: inherit; }
img, svg { display: block; max-width: 100%; }

/* ---------- Aurora-блобы ---------- */
#bg-aurora { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
#bg-aurora .blob {
  position: absolute; border-radius: 9999px; filter: blur(90px); opacity: .5;
  animation: blobFloat 18s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(245,192,74,.35), transparent 70%); top: -120px; left: -80px; }
.blob-2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(124,82,224,.3), transparent 70%); top: 30%; right: -180px; animation-delay: -6s; }
.blob-3 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(16,185,129,.28), transparent 70%); bottom: -160px; left: 20%; animation-delay: -12s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.08); }
  66% { transform: translate(-30px,25px) scale(.95); }
}

/* ---------- Стеклянные поверхности ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03) 45%, rgba(255,255,255,.06));
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(255,255,255,.03), 0 18px 50px -18px rgba(0,0,0,.65);
}
.glass-strong {
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05) 50%, rgba(255,255,255,.08));
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  backdrop-filter: blur(30px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 24px 60px -20px rgba(0,0,0,.7);
}
.glass-gold {
  background: linear-gradient(160deg, rgba(245,192,74,.16), rgba(245,192,74,.04) 55%, rgba(255,233,173,.1));
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(245,192,74,.35);
  box-shadow: inset 0 1px 0 rgba(255,233,173,.35), 0 18px 50px -18px rgba(245,192,74,.25);
}

/* ---------- Кнопки ---------- */
.btn-gold, .btn-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 12px; font-weight: 700; text-align: center; user-select: none;
}
.btn-gold {
  position: relative;
  background: linear-gradient(180deg, #ffe9ad 0%, #f5c04a 45%, #d99b1e 100%);
  color: #1a1206; border: 1px solid rgba(255,233,173,.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -2px 6px rgba(146,96,8,.45), 0 12px 32px -10px rgba(245,192,74,.55);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-gold:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); }
.btn-gold:active:not(:disabled) { transform: translateY(0) scale(.98); }
.btn-gold:disabled { filter: grayscale(.6) brightness(.7); cursor: not-allowed; }
.btn-glass {
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  color: #eef1f8; border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 30px -12px rgba(0,0,0,.6);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn-glass:hover:not(:disabled) {
  background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.08));
  transform: translateY(-2px); border-color: rgba(245,192,74,.4);
}
.btn-glass:disabled { opacity: .5; cursor: not-allowed; }

.text-gold-gradient {
  background: linear-gradient(100deg, #ffe9ad 5%, #f5c04a 40%, #e1931b 70%, #ffe9ad 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Эффекты ---------- */
.sheen { position: relative; overflow: hidden; }
.sheen::after {
  content: ""; position: absolute; inset: -60% -10%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.14) 50%, transparent 58%);
  transform: translateX(-120%); animation: sheenMove 6s ease-in-out infinite; pointer-events: none;
}
@keyframes sheenMove { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.marquee { display: flex; gap: .75rem; width: max-content; animation: marquee 32s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.spin-slow { animation: spinSlow 26s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.live-dot { animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,.55); }
  50% { opacity: .75; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.win-pop { animation: winPop .5s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes winPop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.pulse-load { animation: pulseLoad 1.4s ease-in-out infinite; }
@keyframes pulseLoad { 0%, 100% { opacity: .4; } 50% { opacity: .7; } }

/* ---------- Фишки ставок ---------- */
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 9999px;
  font-weight: 800; font-size: .72rem; color: #fff;
  border: 2px dashed rgba(255,255,255,.65);
  box-shadow: inset 0 2px 6px rgba(255,255,255,.35), inset 0 -3px 6px rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.45);
  transition: transform .15s ease;
}
.chip:hover { transform: scale(1.1); }
.chip-10 { background: radial-gradient(circle at 30% 30%, #64748b, #334155); }
.chip-50 { background: radial-gradient(circle at 30% 30%, #34d399, #059669); }
.chip-100 { background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb); }
.chip-500 { background: radial-gradient(circle at 30% 30%, #f87171, #dc2626); }
.chip-1000 { background: radial-gradient(circle at 30% 30%, #fbbf24, #d97706); }
.chip-5000 { background: radial-gradient(circle at 30% 30%, #c084fc, #9333ea); }
.chip-selected { outline: 3px solid rgba(245,192,74,.9); outline-offset: 2px; }
.chip-sm { width: 2rem; height: 2rem; font-size: .6rem; }

/* ---------- Рулеточный стол ---------- */
.bet-spot { transition: transform .12s ease, filter .12s ease; cursor: pointer; position: relative; }
.bet-spot:hover { filter: brightness(1.25); transform: translateY(-1px); }
.bet-spot.has-bet { box-shadow: 0 0 0 2px rgba(245,192,74,.85), 0 6px 18px -6px rgba(245,192,74,.5); }
.bet-amount-badge {
  position: absolute; top: -6px; right: -6px; min-width: 1.15rem; height: 1.15rem; padding: 0 3px;
  border-radius: 9999px; background: var(--gold); color: #1a1206; font-size: .6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,233,173,.9); z-index: 5;
}

/* Градиенты карточек игр (приходят из data.gradient) */
.g-emerald { background: linear-gradient(135deg, #34d399, #0f766e); }
.g-fuchsia { background: linear-gradient(135deg, #e879f9, #7e22ce); }
.g-amber   { background: linear-gradient(135deg, #fcd34d, #f97316); }
.g-rose    { background: linear-gradient(135deg, #fb7185, #dc2626); }
.g-purple  { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.g-blue    { background: linear-gradient(135deg, #60a5fa, #1d4ed8); }

/* ---------- Скроллбар ---------- */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(245,192,74,.45); }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---------- Splash при загрузке ---------- */
.boot-splash { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.boot-logo {
  width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffe9ad, #f5c04a 45%, #d99b1e); color: #000;
  font-family: var(--font-display); font-weight: 800; font-size: 28px;
  box-shadow: 0 16px 50px -10px rgba(245,192,74,.7);
}
.boot-ring {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid rgba(245,192,74,.25); border-top-color: var(--gold);
  animation: rot 1s linear infinite;
}
@keyframes rot { to { transform: rotate(360deg); } }

/* ============================================================
   САЙТ (#/)
   ============================================================ */
.site-wrap { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
.container { max-width: 1152px; margin: 0 auto; padding: 0 16px; }

.site-header { position: sticky; top: 0; z-index: 40; }
.site-header .bar {
  display: flex; align-items: center; gap: 16px;
  margin: 12px auto 0; border-radius: 18px; padding: 12px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand .logo {
  width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffe9ad, #f5c04a 45%, #d99b1e);
  font-family: var(--font-display); font-weight: 800; color: #000;
  box-shadow: 0 6px 20px -4px rgba(245,192,74,.7);
}
.brand .name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.main-nav { display: none; align-items: center; gap: 4px; margin: 0 auto; }
.main-nav a { padding: 8px 14px; border-radius: 12px; font-size: 14px; color: rgba(255,255,255,.7); transition: .15s; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
@media (min-width: 768px) { .main-nav { display: flex; } }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions .tg-link { display: none; }
@media (min-width: 640px) { .header-actions .tg-link { display: inline-flex; } }
.header-actions .open-app { padding: 8px 16px; font-size: 12px; }

/* Hero */
.hero { position: relative; margin: 0 auto; padding: 56px 16px 40px; max-width: 1152px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 9999px;
  padding: 6px 16px; margin-bottom: 24px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
.hero h1 { font-size: clamp(30px, 5vw, 58px); font-weight: 800; line-height: 1.08; margin-bottom: 20px; }
.hero .subtitle { font-family: var(--font-display); font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 20px; letter-spacing: .02em; }
.hero .body { font-size: 14px; color: rgba(255,255,255,.6); white-space: pre-line; line-height: 1.7; margin-bottom: 32px; max-width: 576px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta a { padding: 14px 28px; border-radius: 18px; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; max-width: 512px; }
.stat-card { border-radius: 18px; padding: 14px; text-align: center; }
.stat-card .v { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 15px; }
.stat-card .l { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 4px; line-height: 1.3; }
.hero-wheel { position: relative; display: flex; justify-content: center; }
@media (min-width: 1024px) { .hero-wheel { justify-content: flex-end; } }
.hero-wheel .glow { position: absolute; inset: 0; margin: auto; width: 288px; height: 288px; border-radius: 50%; background: rgba(251,191,36,.1); filter: blur(64px); }

/* Тикер */
.ticker-wrap { overflow: hidden; padding: 12px 0 32px; }
.ticker-item {
  border-radius: 9999px; padding: 6px 16px; display: flex; align-items: center; gap: 8px;
  font-size: 12px; white-space: nowrap;
}
.ticker-item .dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
.ticker-item b.who { color: rgba(255,255,255,.9); }
.ticker-item span.what { color: rgba(255,255,255,.5); }
.ticker-item b.how { color: var(--gold); }

/* Секции */
.section { margin: 0 auto 32px; max-width: 1152px; padding: 0 16px; }
.section-card { border-radius: 28px; padding: 24px; margin-bottom: 32px; }
@media (min-width: 640px) { .section-card { padding: 32px; } }
.section-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.section-head .ico { font-size: 34px; filter: drop-shadow(0 2px 10px rgba(245,192,74,.45)); }
.section-head h2 { font-size: 21px; font-weight: 700; }
.section-head .sub { font-size: 14px; color: rgba(253,230,138,.8); margin-top: 4px; }
.section-body { font-size: 14px; color: rgba(255,255,255,.75); white-space: pre-line; line-height: 1.7; margin-bottom: 16px; }
.section-cta {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 14px;
  padding: 10px 20px; font-weight: 600; font-size: 14px;
}
.section-note { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 24px; }

/* Карточки игр */
.games-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .games-grid { grid-template-columns: repeat(4, 1fr); } }
.game-card { border-radius: 18px; padding: 16px; display: block; transition: transform .2s; }
.game-card:hover { transform: translateY(-6px); }
.game-card .art {
  position: relative; height: 112px; border-radius: 14px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 48px; overflow: hidden;
}
.game-card .art .emoji { filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
.game-card .tag {
  position: absolute; top: 8px; right: 8px; font-size: 10px; font-weight: 800;
  background: rgba(0,0,0,.45); backdrop-filter: blur(8px); padding: 2px 8px; border-radius: 9999px; border: 1px solid rgba(255,255,255,.25);
}
.game-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.game-card .desc { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 12px; line-height: 1.4; }
.game-card .foot { display: flex; align-items: center; justify-content: space-between; }
.game-card .rtp { font-size: 11px; font-weight: 700; color: #6ee7b7; }
.game-card .play { border-radius: 9999px; padding: 4px 12px; font-size: 11px; font-weight: 700; }

/* VIP */
.vip-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .vip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vip-grid { grid-template-columns: repeat(4, 1fr); } }
.vip-card { border-radius: 18px; padding: 20px; }
.vip-card .name { font-family: var(--font-display); font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.vip-card .perk { color: rgba(253,230,138,.9); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.vip-card .req { font-size: 12px; color: rgba(255,255,255,.5); }
.vip-silver { border-color: rgba(203,213,225,.45) !important; }
.vip-gold { border-color: rgba(245,192,74,.5) !important; }

/* Платежи */
.pay-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-chip { border-radius: 9999px; padding: 8px 16px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 18px; overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { color: var(--gold); transition: transform .2s; font-size: 18px; line-height: 1; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .answer { padding: 0 20px 16px; font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.7; }

/* Поддержка на сайте */
.support-form { display: flex; flex-direction: column; gap: 10px; max-width: 480px; }
.support-ok { border-radius: 18px; padding: 20px; text-align: center; }

/* Футер */
.site-footer { margin-top: auto; width: 100%; padding: 16px 16px 24px; position: relative; z-index: 1; }
.site-footer .inner { border-radius: 28px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 640px) { .site-footer .inner { flex-direction: row; } }
.site-footer .brandline { display: flex; align-items: center; gap: 12px; }
.site-footer .mini-logo {
  width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffe9ad, #f5c04a 45%, #d99b1e); color: #000; font-weight: 800; font-size: 14px;
}
.site-footer .disc { font-size: 11px; color: rgba(255,255,255,.45); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.site-footer .age { border: 1px solid rgba(255,255,255,.2); border-radius: 9999px; padding: 2px 8px; font-weight: 700; }
.site-footer .links { display: flex; align-items: center; gap: 8px; }
.site-footer .links a { border-radius: 12px; padding: 8px 14px; font-size: 11px; font-weight: 700; }

/* ============================================================
   РУЛЕТКА (общая для сайта и мини-аппа)
   ============================================================ */
.roulette { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
@media (min-width: 1024px) { .roulette:not(.compact) { flex-direction: row; align-items: flex-start; gap: 40px; } }
.roulette-left { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; flex-shrink: 0; }
.wheel-box { position: relative; user-select: none; }
.wheel-outer {
  position: absolute; inset: 0; border-radius: 50%; padding: 6px;
  background: conic-gradient(from 0deg, rgba(255,233,173,.5), rgba(245,192,74,.15), rgba(255,233,173,.5), rgba(217,155,30,.2), rgba(255,233,173,.5));
  box-shadow: 0 24px 70px -18px rgba(245,192,74,.45), inset 0 2px 8px rgba(255,255,255,.4);
}
.wheel-outer::before { content: ''; display: block; width: 100%; height: 100%; border-radius: 50%; background: #07080f; }
.wheel-spin {
  position: absolute; inset: 0; will-change: transform;
}
.wheel-spin svg { width: 100%; height: 100%; }
.ball-orbit { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.ball {
  position: absolute; border-radius: 50%;
  left: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, #c9cdd8 60%, #8a8f9e);
  box-shadow: 0 2px 8px rgba(0,0,0,.7), inset 0 1px 2px rgba(255,255,255,.9);
}
.wheel-pointer {
  position: absolute; left: 50%; transform: translateX(-50%); top: -10px; z-index: 10; pointer-events: none;
  width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 16px solid var(--gold);
  filter: drop-shadow(0 2px 6px rgba(245,192,74,.7));
}
.result-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 20;
}
.result-card { border-radius: 18px; padding: 16px 24px; text-align: center; }
.result-card .lbl { font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.result-card .numrow { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 4px; }
.result-card .numball {
  display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 18px;
}
.result-card .colorname { font-family: var(--font-display); font-size: 14px; }
.result-card .net { font-family: var(--font-display); font-weight: 700; }
.result-card .net.win { color: #fcd34d; }
.result-card .net.lose { color: rgba(255,255,255,.8); }
.spin-history { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 320px; }
.spin-history .hint { font-size: 12px; color: rgba(255,255,255,.4); }
.spin-history .h {
  display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff; border: 1px solid rgba(255,255,255,.25);
}
.roulette-right { width: 100%; }
@media (min-width: 1024px) { .roulette-right:not(.compact) { max-width: 576px; } }

.roulette-panel { border-radius: 18px; padding: 16px; margin-bottom: 16px; }
.balance-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.balance-row .left { display: flex; align-items: center; gap: 8px; }
.balance-row .lbl { font-size: 12px; color: rgba(255,255,255,.6); }
.balance-row .val { font-family: var(--font-display); font-weight: 700; color: #fcd34d; font-size: 18px; }
.balance-row .topup { border-radius: 9999px; padding: 4px 10px; font-size: 11px; font-weight: 600; }
.balance-row .bet-lbl { font-size: 12px; color: rgba(255,255,255,.6); }
.balance-row .bet-lbl b { color: #fff; }
.chips-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chips-row .clear { border-radius: 9999px; padding: 6px 12px; font-size: 11px; font-weight: 600; margin-left: auto; }

.bet-table { border-radius: 18px; padding: 12px; }
@media (min-width: 640px) { .bet-table { padding: 16px; } }
.bet-table .layout { display: flex; gap: 6px; }
.bet-table .zero-cell {
  border-radius: 8px; border: 1px solid rgba(255,255,255,.15); color: #fff; font-weight: 700;
  width: 36px; height: auto; min-height: 106px; align-self: stretch; flex-shrink: 0;
}
@media (min-width: 640px) { .bet-table .zero-cell { width: 44px; min-height: 128px; } }
.numbers-col { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.num-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.num-cell, .out-cell {
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.15); min-width: 0; padding: 0;
}
.num-cell { height: 40px; font-size: 12px; }
.compact .num-cell { height: 32px; font-size: 11px; }
.out-cell { height: 36px; font-size: 11px; }
.compact .out-cell { height: 32px; font-size: 10px; }
.outside-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.outside-grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.bet-hint { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 10px; text-align: center; }

.spin-btn {
  width: 100%; border-radius: 18px; font-family: var(--font-display); font-weight: 700;
  font-size: 16px; padding: 16px; margin-top: 16px; position: relative; overflow: hidden;
}
.spin-note { text-align: center; font-size: 12px; color: rgba(255,255,255,.5); margin-top: 8px; }
.spinner-ico {
  width: 16px; height: 16px; border-radius: 50%; display: inline-block;
  border: 2px solid rgba(0,0,0,.6); border-top-color: transparent; animation: rot .8s linear infinite;
}

/* ============================================================
   МИНИ-ПРИЛОЖЕНИЕ (#/miniapp)
   ============================================================ */
.miniapp { min-height: 100vh; max-width: 512px; margin: 0 auto; padding-bottom: 110px; position: relative; z-index: 1; }
.app-header { position: sticky; top: 0; z-index: 40; padding: 12px 12px 0; }
.app-header .bar { border-radius: 18px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.app-header .logo {
  width: 36px; height: 36px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffe9ad, #f5c04a 45%, #d99b1e); color: #000;
  font-family: var(--font-display); font-weight: 800;
  box-shadow: 0 6px 20px -4px rgba(245,192,74,.7);
}
.app-header .titles { flex: 1; min-width: 0; }
.app-header .t1 { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.app-header .t2 { font-size: 11px; color: rgba(255,255,255,.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-header .balance {
  border-radius: 9999px; padding: 6px 12px; font-size: 12px; font-weight: 700; color: var(--gold); flex-shrink: 0;
}
.app-header .close { border-radius: 12px; width: 32px; height: 32px; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.app-main { flex: 1; padding: 16px 12px 0; display: flex; flex-direction: column; gap: 16px; }

.app-hero { border-radius: 24px; padding: 20px; }
.app-hero h1 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.app-hero .sub { font-size: 14px; color: rgba(255,237,213,.9); margin-bottom: 8px; }
.app-hero .body { font-size: 12px; color: rgba(255,255,255,.65); white-space: pre-line; line-height: 1.7; margin-bottom: 16px; }
.app-hero .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-hero .stat { border-radius: 14px; padding: 10px; text-align: center; }
.app-hero .stat .v { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 12px; }
.app-hero .stat .l { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 2px; line-height: 1.3; }
.app-hero .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.app-hero .cta button { border-radius: 14px; padding: 10px; font-size: 12px; font-weight: 700; }

.app-card { border-radius: 24px; padding: 16px; }
.app-card .head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.app-card .head .ico { font-size: 24px; }
.app-card .head h2 { font-size: 16px; font-weight: 700; }
.app-card .head .sub { font-size: 11px; color: rgba(253,230,138,.8); }
.app-card .body { font-size: 12px; color: rgba(255,255,255,.6); white-space: pre-line; line-height: 1.7; margin-bottom: 12px; }

.games-scroller { display: flex; gap: 12px; overflow-x: auto; margin: 0 -4px; padding: 0 4px 4px; }
.game-mini { border-radius: 18px; padding: 12px; width: 160px; flex-shrink: 0; text-align: left; transition: transform .15s; }
.game-mini:active { transform: scale(.95); }
.game-mini .art { position: relative; height: 80px; border-radius: 12px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.game-mini .art .tag { position: absolute; top: 6px; right: 6px; font-size: 9px; font-weight: 800; background: rgba(0,0,0,.45); padding: 2px 6px; border-radius: 9999px; border: 1px solid rgba(255,255,255,.25); }
.game-mini .t { font-family: var(--font-display); font-weight: 700; font-size: 12px; margin-bottom: 2px; }
.game-mini .d { font-size: 10px; color: rgba(255,255,255,.55); line-height: 1.4; margin-bottom: 6px; }
.game-mini .r { font-size: 10px; font-weight: 700; color: #6ee7b7; }

.bonus-cta { width: 100%; border-radius: 14px; padding: 10px; font-size: 12px; font-weight: 700; }

.vip-mini { display: flex; flex-direction: column; gap: 8px; }
.vip-mini .row {
  border-radius: 18px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.vip-mini .row .name { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.vip-mini .row .perk { font-size: 12px; color: var(--gold); font-weight: 600; }
.vip-mini .row .req { font-size: 10px; color: rgba(255,255,255,.45); text-align: right; }

.faq-mini summary { padding: 12px 16px; font-size: 12px; }
.faq-mini .answer { padding: 0 16px 12px; font-size: 11px; color: rgba(255,255,255,.6); }

.pay-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-mini span { border-radius: 9999px; padding: 6px 12px; font-size: 11px; font-weight: 600; }

.support-mini { display: flex; flex-direction: column; gap: 8px; }
.inp {
  width: 100%; border-radius: 14px; padding: 10px 16px; font-size: 14px; outline: none; color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14); transition: border-color .15s, box-shadow .15s;
}
.inp:focus { border-color: rgba(245,192,74,.55); box-shadow: 0 0 0 3px rgba(245,192,74,.15); }
.inp::placeholder { color: rgba(255,255,255,.35); }
textarea.inp { resize: none; min-height: 84px; }
.send-btn { width: 100%; border-radius: 14px; padding: 10px; font-size: 12px; font-weight: 700; }

.profile-card .prow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.profile-card .ava {
  width: 48px; height: 48px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: linear-gradient(135deg, #c084fc, #6b21a8);
}
.profile-card .pname { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.profile-card .pid { font-size: 11px; color: rgba(255,255,255,.5); }
.profile-card .pstats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.profile-card .pstat { border-radius: 18px; padding: 12px; text-align: center; }
.profile-card .pstat .v { font-family: var(--font-display); font-weight: 700; }
.profile-card .pstat .v.gold { color: var(--gold); }
.profile-card .pstat .v.green { color: #6ee7b7; }
.profile-card .pstat .l { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 2px; }
.profile-card .botlink { width: 100%; border-radius: 14px; padding: 10px; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.profile-card .adminlink { display: block; text-align: center; font-size: 10px; color: rgba(255,255,255,.35); margin-top: 12px; text-decoration: underline; text-underline-offset: 2px; }
.miniapp-legal { text-align: center; font-size: 10px; color: rgba(255,255,255,.35); padding-bottom: 8px; }

.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; padding: 0 12px 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.bottom-nav .bar {
  max-width: 512px; margin: 0 auto; border-radius: 18px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 6px;
}
.bottom-nav button {
  display: flex; flex-direction: column; align-items: center; gap: 2px; border-radius: 12px;
  padding: 8px 0; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.55); transition: .15s;
}
.bottom-nav button.active { background: rgba(251,191,36,.2); color: #fcd34d; }
.bottom-nav button .ico { font-size: 16px; line-height: 1; }

/* ============================================================
   АДМИНКА (#/admin)
   ============================================================ */
.admin-wrap { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
.admin-gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.admin-gate .card { border-radius: 28px; padding: 32px; width: 100%; max-width: 384px; text-align: center; }
.admin-gate .lock { font-size: 40px; margin-bottom: 12px; }
.admin-gate h1 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.admin-gate p { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 24px; }
.admin-gate input { text-align: center; font-size: 18px; letter-spacing: .3em; margin-bottom: 12px; }
.admin-gate .err { color: #f87171; font-size: 12px; margin-bottom: 12px; }
.admin-gate .enter { width: 100%; border-radius: 14px; padding: 12px; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.admin-gate .back { display: block; font-size: 11px; color: rgba(255,255,255,.4); margin-top: 16px; }
.admin-gate .back:hover { color: rgba(255,255,255,.7); }

.admin-header { position: sticky; top: 0; z-index: 40; padding: 12px 12px 0; }
.admin-header .bar { max-width: 1024px; margin: 0 auto; border-radius: 18px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.admin-header .ico {
  width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: linear-gradient(135deg, #d8b4fe, #6b21a8);
}
.admin-header .t1 { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.admin-header .t2 { font-size: 11px; color: rgba(255,255,255,.5); }
.admin-tabs { max-width: 1024px; margin: 12px auto 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.admin-tabs button { border-radius: 14px; padding: 10px; font-size: 12px; font-weight: 700; }
.admin-main { flex: 1; width: 100%; max-width: 1024px; margin: 0 auto; padding: 20px 12px 40px; display: flex; flex-direction: column; gap: 16px; }
.admin-card { border-radius: 24px; padding: 20px; }
.admin-card h2 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.admin-card .hint { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 16px; line-height: 1.7; }

.stat-cards { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.stat-cards .sc { border-radius: 18px; padding: 14px; text-align: center; }
.stat-cards .sc .v { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 18px; }
.stat-cards .sc .l { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 2px; }

.code-line { border-radius: 16px; padding: 14px 16px; font-size: 12px; margin-top: 12px; }
.code-line .cap { color: rgba(255,255,255,.5); margin-bottom: 6px; }
.code-line code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #6ee7b7; word-break: break-all; font-size: 11px; }
.code-line .warn { color: #fcd34d; margin-top: 8px; }

.token-row { display: flex; gap: 8px; }
.token-row .inp { flex: 1; }
.token-row .eye { border-radius: 14px; padding: 0 14px; font-size: 12px; font-weight: 700; }
.setup-result { border-radius: 18px; padding: 16px; margin-top: 12px; font-size: 12px; }
.setup-result .ok { color: #6ee7b7; font-weight: 700; }
.setup-result .bad { color: #f87171; font-weight: 700; }
.setup-result .note { color: rgba(253,230,138,.9); margin-top: 6px; }
.row-flex { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
@media (min-width: 640px) { .row-flex { flex-direction: row; } }
.row-flex .grow { flex: 1; }

.block-editor { border-radius: 24px; overflow: hidden; }
.block-editor .summary-btn {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 20px; text-align: left;
}
.block-editor .summary-btn .ico { font-size: 24px; }
.block-editor .summary-btn .tt { flex: 1; min-width: 0; }
.block-editor .summary-btn .t1 { font-family: var(--font-display); font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.block-editor .summary-btn .t2 { font-size: 11px; color: rgba(255,255,255,.45); }
.block-editor .summary-btn .arrow { color: rgba(255,255,255,.5); transition: transform .2s; }
.block-editor.open .summary-btn .arrow { transform: rotate(180deg); }
.block-editor .edit-body { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid-icon-title { display: grid; grid-template-columns: 70px 1fr; gap: 8px; }
.inp-center { text-align: center; font-size: 18px; }
.checks-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 4px; }
.checks-row label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.7); cursor: pointer; }
.checks-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: #fbbf24; }
.checks-row .order-lbl { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.7); margin-left: auto; }
.checks-row .order-lbl input { width: 64px; border-radius: 10px; padding: 6px 10px; text-align: center; }
.save-btn { border-radius: 14px; padding: 10px; font-size: 12px; font-weight: 700; width: 100%; }
.chips-badges { display: flex; gap: 6px; flex-shrink: 0; }
.chips-badges .badge { font-size: 10px; border-radius: 9999px; padding: 2px 8px; border: 1px solid; }
.badge-hidden { color: #fca5a5; border-color: rgba(252,165,165,.4); }
.badge-nobot { color: rgba(255,255,255,.4); border-color: rgba(255,255,255,.2); }

.people-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.people-tabs button { border-radius: 14px; padding: 10px; font-size: 12px; font-weight: 700; }
.people-table { border-radius: 24px; overflow: hidden; }
.people-table .scroll { max-height: 60vh; overflow-y: auto; }
.people-table table { width: 100%; border-collapse: collapse; font-size: 12px; }
.people-table thead { position: sticky; top: 0; background: rgba(0,0,0,.4); backdrop-filter: blur(8px); color: rgba(255,255,255,.5); }
.people-table th { text-align: left; padding: 12px 16px; font-weight: 600; }
.people-table td { padding: 10px 16px; border-top: 1px solid rgba(255,255,255,.05); }
.people-table tr:hover td { background: rgba(255,255,255,.05); }
.people-table .un { color: var(--gold); }
.lead-card { border-radius: 18px; padding: 16px; }
.lead-card .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.lead-card .top .n { font-weight: 700; font-size: 14px; }
.lead-card .top .d { font-size: 10px; color: rgba(255,255,255,.4); }
.lead-card .c { font-size: 12px; color: var(--gold); margin-bottom: 6px; }
.lead-card .m { font-size: 12px; color: rgba(255,255,255,.65); white-space: pre-line; }
.empty-state { border-radius: 24px; padding: 40px; text-align: center; }
.empty-state .ico { font-size: 40px; margin-bottom: 12px; }
.empty-state .t { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.empty-state .d { font-size: 12px; color: rgba(255,255,255,.5); max-width: 320px; margin: 0 auto; line-height: 1.7; }

/* Тосты */
#toasts { position: fixed; top: 16px; right: 16px; z-index: 100; display: flex; flex-direction: column; gap: 8px; max-width: 320px; }
.toast {
  border-radius: 16px; padding: 12px 16px; font-size: 13px; font-weight: 600;
  animation: toastIn .3s cubic-bezier(.2,1.2,.4,1) both;
}
.toast.err { border-color: rgba(239,68,68,.5); }
.toast .t-ico { margin-right: 6px; }
@keyframes toastIn { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Скелетоны */
.skel { border-radius: 28px; height: 160px; }

.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.hidden { display: none !important; }
@media (max-width: 639px) { .hide-sm { display: none !important; } }

/* ============================================================
   ДОБАВЛЕНО v3: игры-фото, мини-апп как сайт, профиль, чат,
   страницы игр (games/*.php), ставки, лесенка, crash, mines.
   ============================================================ */

/* ---------- Сетка игр с фото ---------- */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.games-grid.compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.game-card { display: block; border-radius: 18px; overflow: hidden; position: relative;
  background: var(--panel, rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.09);
  transition: transform .25s, box-shadow .25s; text-decoration: none; color: inherit; }
.game-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 0 1px var(--gc-accent, #f5c04a); }
.game-card img { width: 100%; height: 118px; object-fit: cover; display: block; }
.games-grid.compact .game-card img { height: 92px; }
.game-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.game-card-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.game-card-top b { font-size: 14px; }
.game-tag { font-size: 10px; font-weight: 800; letter-spacing: .4px; padding: 3px 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--gc-accent, #f5c04a) 22%, transparent); color: var(--gc-accent, #f5c04a); }
.game-card-body small { color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.35; }
.game-rtp { font-size: 11px; font-weight: 700; color: var(--gc-accent, #f5c04a); }

/* ---------- Верхняя плашка сайта ---------- */
.topbar { position: sticky; top: 10px; z-index: 40; margin: 10px auto 0; max-width: 1080px; width: calc(100% - 24px);
  display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-radius: 18px; }
.topbar .logo { font-family: 'Unbounded'; font-weight: 800; font-size: 20px; color: #fff; text-decoration: none; letter-spacing: .5px; }
.topbar .logo span { color: var(--gold, #f5c04a); }
.top-nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.top-nav a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 13px; font-weight: 600; padding: 6px 9px; border-radius: 10px; }
.top-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.top-right { display: flex; align-items: center; gap: 8px; }
.bal-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px;
  background: rgba(245,192,74,.12); border: 1px solid rgba(245,192,74,.35); color: var(--gold, #f5c04a); font-weight: 700; font-size: 14px; }
.bal-chip.big { font-size: 16px; padding: 8px 14px; }
.btn-gold.small, .btn-glass.small { padding: 7px 14px; font-size: 13px; }
.site { max-width: 1080px; margin: 0 auto; padding: 18px 12px 40px; display: flex; flex-direction: column; gap: 26px; }
.sec { scroll-margin-top: 90px; }
.body-text { color: rgba(255,255,255,.72); line-height: 1.6; }
.footer { text-align: center; padding: 22px; border-radius: 18px; color: rgba(255,255,255,.45); font-size: 13px; }

/* ---------- Тикер ---------- */
.ticker { overflow: hidden; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.ticker-track { display: inline-flex; gap: 26px; padding: 10px 0; white-space: nowrap; animation: tickerMove 30s linear infinite; }
.ticker-track span { color: rgba(255,255,255,.6); font-size: 13px; }
.ticker-track span::before { content: '● '; color: #34d399; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Общие списки/чипы ---------- */
.muted { color: rgba(255,255,255,.45); }
.up { color: #34d399; } .down { color: #f43f5e; }
.list { display: flex; flex-direction: column; gap: 8px; }
.list-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 120px; color: rgba(255,255,255,.75); }
.pad { padding: 16px; border-radius: 18px; }
.chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.chip-free { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.4); color: #34d399; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.st-new { background: rgba(245,192,74,.14); border-color: rgba(245,192,74,.4); color: #f5c04a; }
.st-progress { background: rgba(96,165,250,.14); border-color: rgba(96,165,250,.4); color: #60a5fa; }
.st-done { background: rgba(52,211,153,.14); border-color: rgba(52,211,153,.4); color: #34d399; }
.st-rej { background: rgba(244,63,94,.14); border-color: rgba(244,63,94,.4); color: #f43f5e; }

/* ---------- Профиль ---------- */
.pf-card { border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.pf-head { display: flex; align-items: center; gap: 14px; }
.pf-avatar { border-radius: 50%; object-fit: cover; border: 2px solid rgba(245,192,74,.6); box-shadow: 0 4px 18px rgba(245,192,74,.25); }
.pf-avatar-fallback { display: flex; align-items: center; justify-content: center; font-family: 'Unbounded'; font-weight: 800;
  font-size: 22px; color: #0b0e1a; background: linear-gradient(135deg, #f5c04a, #ff8a00); }
.pf-id { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pf-id b { font-size: 17px; }
.pf-id small { color: rgba(255,255,255,.5); font-size: 12px; }
.pf-bal { display: flex; flex-direction: column; align-items: flex-end; }
.pf-bal b { font-size: 22px; color: var(--gold, #f5c04a); font-family: 'Unbounded'; }
.pf-bal small { color: rgba(255,255,255,.45); font-size: 11px; }
.pf-free small { color: rgba(255,255,255,.45); }
.pf-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-actions .btn-gold, .pf-actions .btn-glass { width: 100%; padding: 12px; }
.pf-form { border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.04); }
.pf-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: rgba(255,255,255,.6); }
.pf-form input, .pf-form select { background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: 10px 12px; color: #fff; font-size: 14px; outline: none; }
.pf-form input:focus, .pf-form select:focus { border-color: rgba(245,192,74,.6); }
.pf-form small { font-size: 11px; }
.pf-promo { border-radius: 16px; padding: 14px; background: rgba(255,255,255,.04); }
.pf-promo h4, .pf-form h4 { margin: 0 0 8px; font-size: 14px; }
.pf-promo-row { display: flex; gap: 8px; }
.pf-promo-row input { flex: 1; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: 10px 12px; color: #fff; text-transform: uppercase; outline: none; }
.pf-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pf-tabs .btn-gold, .pf-tabs .btn-glass { padding: 10px; font-size: 13px; }
.pf-guest p { color: rgba(255,255,255,.65); line-height: 1.6; }

/* ---------- Чат поддержки ---------- */
.chat { border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; max-height: 62vh; }
.chat-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 260px; }
.chat-msg { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.chat-msg small { display: block; margin-top: 3px; opacity: .55; font-size: 10px; }
.chat-user { align-self: flex-end; background: linear-gradient(135deg, rgba(245,192,74,.25), rgba(255,138,0,.18));
  border: 1px solid rgba(245,192,74,.35); border-bottom-right-radius: 4px; }
.chat-admin { align-self: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-bottom-left-radius: 4px; }
.chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.chat-input input { flex: 1; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: 10px 12px; color: #fff; outline: none; }
.chat-input .btn-gold { padding: 10px 16px; }

/* ---------- Мини-апп как основной сайт ---------- */
.mini-top { position: sticky; top: 8px; z-index: 30; margin: 8px 10px 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; }
.mini-top-id { flex: 1; display: flex; flex-direction: column; }
.mini-top-id b { font-size: 15px; }
.mini-top-id small { color: rgba(255,255,255,.5); font-size: 11px; }
.mini-body { padding: 14px 10px 90px; display: flex; flex-direction: column; gap: 16px; }
.mini-h { margin: 4px 6px 0; font-size: 18px; }
.mini-nav { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 20px; padding: 8px; gap: 4px; }
.mini-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none;
  color: rgba(255,255,255,.5); font-size: 17px; padding: 6px 4px; border-radius: 14px; }
.mini-nav a small { font-size: 10px; font-weight: 700; }
.mini-nav a.active { color: var(--gold, #f5c04a); background: rgba(245,192,74,.12); }
.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.qa { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 16px;
  text-decoration: none; color: #fff; font-size: 20px; transition: transform .2s; }
.qa:hover { transform: translateY(-3px); }
.qa small { font-size: 11px; color: rgba(255,255,255,.55); font-weight: 700; }

/* ============================================================
   СТРАНИЦЫ ИГР (games/*.php)
   ============================================================ */
body.game-page { min-height: 100vh; padding-bottom: 30px; }
.gp-top { position: sticky; top: 8px; z-index: 30; margin: 8px 10px 0; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 18px; }
.gp-back { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; font-size: 18px; }
.gp-title { flex: 1; font-family: 'Unbounded'; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.gp-tag { font-family: 'Manrope'; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--gp-accent, #f5c04a) 22%, transparent); color: var(--gp-accent, #f5c04a); }
.gp-bal { padding: 7px 12px; border-radius: 999px; background: rgba(245,192,74,.12); border: 1px solid rgba(245,192,74,.35);
  color: var(--gold, #f5c04a); font-weight: 700; font-size: 13px; }
.gp-main { max-width: 640px; margin: 0 auto; padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; }
.gp-stage { display: flex; flex-direction: column; gap: 14px; }
.gp-play { width: 100%; padding: 15px; font-size: 15px; letter-spacing: .5px; }
.gp-play:disabled { opacity: .5; }
.gp-history h4 { margin: 0 0 8px; font-size: 13px; color: rgba(255,255,255,.5); }
.gp-history-item { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 7px 10px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); margin-bottom: 6px; flex-wrap: wrap; }

/* ---------- Панель ставки ---------- */
.bet-panel { border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bet-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13px; color: rgba(255,255,255,.65); }
.bet-last { background: rgba(96,165,250,.12); border: 1px solid rgba(96,165,250,.4); color: #60a5fa; border-radius: 999px;
  padding: 4px 10px; font-size: 11px; font-weight: 700; cursor: pointer; }
.bet-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.bet-chip { flex: 1; min-width: 52px; padding: 9px 6px; border-radius: 12px; font-weight: 800; font-size: 13px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); transition: all .15s; }
.bet-chip.active { background: linear-gradient(135deg, #f5c04a, #ff8a00); color: #0b0e1a; border-color: transparent; box-shadow: 0 4px 14px rgba(245,192,74,.35); }
.bet-chip-max { color: var(--gold, #f5c04a); }
.bet-chip-max.active { color: #0b0e1a; }
.bet-custom { position: relative; }
.bet-custom input { width: 100%; box-sizing: border-box; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 12px 40px 12px 14px; color: #fff; font-size: 16px; font-weight: 700; outline: none; }
.bet-custom input:focus { border-color: rgba(245,192,74,.6); }
.bet-cur { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--gold, #f5c04a); font-weight: 700; }
.bet-free { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #34d399; cursor: pointer; }
.bet-free input { accent-color: #34d399; }

/* ---------- Dice ---------- */
.dice-wrap { border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.dice-track { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #f43f5e 0%, #f43f5e var(--split, 50%), #34d399 var(--split, 50%), #34d399 100%); }
.dice-track::before, .dice-track::after { content: ''; position: absolute; top: -3px; width: 14px; height: 14px; border-radius: 50%; }
.dice-marker { position: absolute; top: -7px; width: 4px; height: 22px; background: #fff; border-radius: 2px; box-shadow: 0 0 10px #fff; transition: left .2s; }
.dice-num { text-align: center; font-family: 'Unbounded'; font-size: 44px; font-weight: 800; }
.dice-num.win { color: #34d399; text-shadow: 0 0 24px rgba(52,211,153,.5); }
.dice-num.lose { color: #f43f5e; text-shadow: 0 0 24px rgba(244,63,94,.5); }
.dice-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.dice-side { padding: 12px; border-radius: 14px; font-weight: 800; cursor: pointer; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.dice-side.active { background: rgba(245,192,74,.15); border-color: rgba(245,192,74,.55); color: var(--gold, #f5c04a); }
.dice-side span { display: block; font-size: 18px; color: #fff; }
.dice-mult { text-align: center; }
.dice-mult b { font-family: 'Unbounded'; font-size: 20px; color: var(--gold, #f5c04a); display: block; }
.dice-mult small { color: rgba(255,255,255,.45); font-size: 10px; }
.dice-slider { width: 100%; accent-color: var(--gp-accent, #22d3ee); }
.dice-chance { text-align: center; font-size: 13px; color: rgba(255,255,255,.6); }
.dice-chance b { color: #fff; }

/* ---------- Coinflip ---------- */
.coin-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 10px 0; }
.coin { width: 120px; height: 120px; position: relative; transform-style: preserve-3d; transition: transform 2s cubic-bezier(.2,.7,.3,1); }
.coin.flipping { animation: coinToss 2s ease-in-out; }
@keyframes coinToss { 0% { margin-top: 0; } 50% { margin-top: -60px; } 100% { margin-top: 0; } }
.coin-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 52px;
  border-radius: 50%; backface-visibility: hidden;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, #f5c04a 45%, #b7791f); box-shadow: 0 10px 30px rgba(245,192,74,.35), inset 0 0 0 6px rgba(0,0,0,.12); }
.coin-tails { transform: rotateY(180deg); }
.coin-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 360px; }
.coin-side { padding: 14px; border-radius: 14px; font-weight: 800; font-size: 15px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; }
.coin-side.active { background: linear-gradient(135deg, #f5c04a, #ff8a00); color: #0b0e1a; border-color: transparent; }
.coin-result { font-size: 15px; min-height: 22px; }

/* ---------- Wheel ---------- */
.wheel-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wheel-pointer { color: var(--gold, #f5c04a); font-size: 26px; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.wheel { width: 280px; height: 280px; border-radius: 50%; position: relative; border: 6px solid rgba(255,255,255,.14);
  box-shadow: 0 0 40px rgba(244,114,182,.25), inset 0 0 30px rgba(0,0,0,.5); }
.wheel-label { position: absolute; left: 50%; top: 50%; font-size: 11px; font-weight: 800; color: rgba(255,255,255,.85);
  text-shadow: 0 1px 4px rgba(0,0,0,.8); margin: -8px; }
.wheel-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: radial-gradient(circle at 35% 30%, #2a2f45, #0b0e1a); border: 2px solid rgba(245,192,74,.5); }
.wheel-result { font-size: 16px; min-height: 24px; font-weight: 700; }

/* ---------- Mines ---------- */
.mines-head { border-radius: 16px; padding: 12px 14px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; align-items: center; font-size: 12px; color: rgba(255,255,255,.6); }
.mines-head label { display: flex; flex-direction: column; gap: 5px; }
.glass-select { background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: #fff; padding: 8px 10px; font-size: 13px; outline: none; }
.mines-info b { font-family: 'Unbounded'; font-size: 16px; color: var(--gp-accent, #a78bfa); }
.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mine-tile { aspect-ratio: 1; border-radius: 14px; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(167,139,250,.16), rgba(255,255,255,.04)); border: 1px solid rgba(167,139,250,.25); transition: all .15s; }
.mine-tile:hover { border-color: rgba(167,139,250,.6); }
.mines-grid.locked .mine-tile { pointer-events: none; }
.mine-tile.gem { background: linear-gradient(160deg, rgba(52,211,153,.3), rgba(52,211,153,.1)); border-color: rgba(52,211,153,.55); }
.mine-tile.bomb { background: linear-gradient(160deg, rgba(244,63,94,.4), rgba(244,63,94,.12)); border-color: rgba(244,63,94,.7); animation: bombShake .4s; }
.mine-tile.dim { opacity: .55; }
@keyframes bombShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---------- Лесенка ---------- */
.ladder-head { border-radius: 16px; padding: 12px 14px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; align-items: center; font-size: 12px; color: rgba(255,255,255,.6); }
.ladder-head label { display: flex; flex-direction: column; gap: 5px; }
.ladder-head .mines-info b { color: var(--gp-accent, #3b82f6); }
.ladder-tower { display: flex; flex-direction: column-reverse; gap: 7px; }
.ladder-row { display: flex; gap: 7px; align-items: center; opacity: .45; transition: opacity .2s; }
.ladder-row.active { opacity: 1; }
.ladder-row.active .ladder-cell { box-shadow: 0 0 14px rgba(59,130,246,.25); }
.ladder-mult { width: 86px; flex-shrink: 0; font-size: 11px; font-weight: 800; color: rgba(255,255,255,.55); text-align: right; padding-right: 4px; }
.ladder-row.active .ladder-mult { color: var(--gp-accent, #3b82f6); }
.ladder-cell { flex: 1; padding: 12px 4px; border-radius: 12px; font-size: 17px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: all .15s; }
.ladder-cell:hover { border-color: rgba(59,130,246,.55); }
.ladder-tower.locked .ladder-cell { pointer-events: none; }
.ladder-cell.done { cursor: default; }
.ladder-cell.safe { background: linear-gradient(160deg, rgba(52,211,153,.35), rgba(52,211,153,.12)); border-color: rgba(52,211,153,.6); }
.ladder-cell.bomb { background: linear-gradient(160deg, rgba(244,63,94,.45), rgba(244,63,94,.15)); border-color: rgba(244,63,94,.75); animation: bombShake .4s; }
.ladder-row.lost-row .ladder-cell { opacity: .9; }

/* ---------- Crash ---------- */
.crash-stage { position: relative; height: 280px; border-radius: 22px; overflow: hidden; }
.crash-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.crash-plane { position: absolute; left: 8%; top: 88%; font-size: 30px; transform: translate(-50%,-50%); z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.crash-mult { position: absolute; left: 50%; top: 26%; transform: translateX(-50%); font-family: 'Unbounded'; font-size: 40px; font-weight: 800; z-index: 2; }
.crash-mult.hot { color: var(--gold, #f5c04a); text-shadow: 0 0 30px rgba(245,192,74,.5); }
.crash-status { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: 14px; font-weight: 700; z-index: 2; }
.crash-stage.crashed { animation: crashFlash .5s; }
.crash-stage.crashed .crash-mult { color: #f43f5e; text-shadow: 0 0 30px rgba(244,63,94,.6); }
.crash-stage.cashed .crash-mult { color: #34d399; text-shadow: 0 0 30px rgba(52,211,153,.5); }
@keyframes crashFlash { 0% { background: rgba(244,63,94,.35); } 100% { background: transparent; } }

/* ---------- Roulette (страница) ---------- */
.rou-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0; }
.rou-wheel-wrap { position: relative; width: 270px; height: 270px; }
.rou-wheel { position: absolute; inset: 0; border-radius: 50%; border: 5px solid rgba(245,192,74,.4); box-shadow: 0 0 34px rgba(16,185,129,.25), inset 0 0 30px rgba(0,0,0,.6); }
.rou-seg { position: absolute; left: 50%; top: 50%; width: 50%; height: 26px; transform-origin: 0 50%; margin-top: -13px; }
.rou-seg span { position: absolute; right: 8px; top: 0; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 10px; font-weight: 800; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.rou-ball { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,.9); z-index: 3; transform: translate(105px, -50%); }
.rou-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: 'Unbounded'; font-size: 11px; font-weight: 800; color: var(--gold, #f5c04a);
  background: radial-gradient(circle at 35% 30%, #2a2f45, #0b0e1a); border: 2px solid rgba(245,192,74,.5); }
.rou-result { font-size: 15px; font-weight: 700; min-height: 24px; display: flex; align-items: center; gap: 8px; }
.rou-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center;
  font-family: 'Unbounded'; font-size: 15px; color: #fff; border: 2px solid rgba(255,255,255,.3); }
.rou-num.red { background: #e11d48; } .rou-num.black { background: #111827; } .rou-num.green { background: #059669; }
.rou-mini { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; }
.rou-mini.red { background: #e11d48; } .rou-mini.black { background: #111827; } .rou-mini.green { background: #059669; }
.rou-table { border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.rou-zeros { display: flex; }
.rou-main { display: flex; gap: 4px; }
.rou-col { display: grid; flex: 1; gap: 4px; }
.rou-cell { padding: 10px 2px; border-radius: 8px; font-size: 12px; font-weight: 700; color: #fff; cursor: pointer;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); position: relative; }
.rou-cell.red { background: rgba(225,29,72,.35); } .rou-cell.black { background: rgba(17,24,39,.7); } .rou-cell.green { background: rgba(5,150,105,.45); }
.rou-cell.placed { border-color: var(--gold, #f5c04a); box-shadow: 0 0 0 1px var(--gold, #f5c04a), 0 0 12px rgba(245,192,74,.35); }
.rou-cell.placed::after { content: attr(data-sum); position: absolute; top: -6px; right: -4px; background: var(--gold, #f5c04a); color: #000;
  font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 999px; }
.rou-outside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.rou-outside .wide { grid-column: span 3 / span 3; }
.rou-placed { font-size: 12px; color: rgba(255,255,255,.6); text-align: center; min-height: 18px; }
.rou-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.rou-actions .btn-gold, .rou-actions .btn-glass { width: 100%; padding: 14px; }

/* ---------- Slots ---------- */
.slots-cab { border-radius: 22px; padding: 18px; position: relative; overflow: hidden; }
.slots-reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slots-reel { height: 96px; overflow: hidden; border-radius: 14px; background: rgba(0,0,0,.4); border: 1px solid rgba(217,70,239,.35); position: relative; }
.slots-strip { display: flex; flex-direction: column; will-change: transform; }
.slots-sym { height: 96px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.slots-payline { position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, #d946ef, transparent); pointer-events: none; }
.slots-result { text-align: center; margin-top: 12px; font-weight: 700; min-height: 22px; }
.slots-mini { font-size: 16px; }

/* ---------- Blackjack ---------- */
.bj-table { border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(160deg, rgba(245,158,11,.12), rgba(255,255,255,.03)); }
.bj-row { display: flex; flex-direction: column; gap: 8px; }
.bj-label { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 700; }
.bj-label b { color: var(--gold, #f5c04a); }
.bj-cards { display: flex; gap: 8px; flex-wrap: wrap; min-height: 76px; }
.bj-card { width: 54px; height: 76px; border-radius: 10px; background: linear-gradient(160deg, #fff, #dbe3ef); color: #0b0e1a;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 6px 14px rgba(0,0,0,.4);
  animation: cardIn .3s ease; }
.bj-card.red { color: #e11d48; }
.bj-card b { font-size: 22px; line-height: 1; }
.bj-card span { font-size: 16px; }
.bj-card.back { background: linear-gradient(160deg, #312e81, #1e1b4b); color: #a5b4fc; }
@keyframes cardIn { from { transform: translateY(-14px) rotate(-4deg); opacity: 0; } to { transform: none; opacity: 1; } }
.bj-result { text-align: center; font-weight: 700; min-height: 22px; }
.bj-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }

/* ---------- Админка дополнения ---------- */
.admin-stat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.admin-stat > div { border-radius: 14px; padding: 10px 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.admin-stat b { font-size: 18px; display: block; }
.admin-stat small { color: rgba(255,255,255,.45); font-size: 11px; }
.thr-list { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow-y: auto; }
.thr-item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); text-align: left; width: 100%; color: #fff; }
.thr-item.active { border-color: rgba(245,192,74,.55); background: rgba(245,192,74,.08); }
.thr-item small { display: block; color: rgba(255,255,255,.45); font-size: 11px; }
.unread-badge { background: #f43f5e; color: #fff; border-radius: 999px; font-size: 10px; font-weight: 800; padding: 2px 7px; }
.bc-preview { max-width: 200px; border-radius: 10px; display: block; margin-top: 8px; }
.req-card { border-radius: 16px; padding: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); margin-bottom: 10px; }
.req-card .row1 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.req-card .row2 { display: flex; gap: 8px; flex-wrap: wrap; }
.req-card .row2 input { flex: 1; min-width: 140px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 8px 10px; color: #fff; font-size: 13px; }
.promo-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); margin-bottom: 8px; flex-wrap: wrap; }
.promo-code { font-family: 'Unbounded'; font-weight: 800; color: var(--gold, #f5c04a); font-size: 14px; letter-spacing: 1px; }
.note { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 6px; }

/* ---------- Мобильная адаптация v3 ---------- */
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .top-nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .top-nav::-webkit-scrollbar { display: none; }
  .top-nav a { white-space: nowrap; padding: 7px 11px; }
  .top-right { margin-left: auto; }
  .games-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .games-grid.compact { grid-template-columns: repeat(2, 1fr) !important; }
  .qa-grid { grid-template-columns: repeat(4, 1fr); }
  .pf-head { flex-wrap: wrap; }
  .pf-bal { width: 100%; align-items: flex-start; }
  .mines-head, .ladder-head { grid-template-columns: 1fr 1fr 1fr; font-size: 11px; }
  .bj-actions { grid-template-columns: 1fr; }
  .rou-actions { grid-template-columns: 1fr; }
  .wheel { width: 240px; height: 240px; }
  .crash-mult { font-size: 30px; }
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px;
  padding: 12px 8px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.stat b { font-family: 'Unbounded'; font-size: 15px; color: var(--gold, #f5c04a); }
.stat small { color: rgba(255,255,255,.5); font-size: 10px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
