/* ═══════════════════════════════════════════════════
   NAMEZO CASINO — LIQUID GLASS & CYBER-LUXURY DESIGN SYSTEM (v2026.10)
   ═══════════════════════════════════════════════════ */

:root {
    /* ═══ Базовая палитра (Deep Obsidian Vision Liquid Glass — Pitch Black Canvas) ═══ */
    --bg: #010204;
    --bg-void: #000000;
    --bg-secondary: rgba(6, 8, 14, 0.92);
    --bg-surface: rgba(10, 14, 24, 0.82);
    --card: rgba(12, 16, 26, 0.76);
    --card-hover: rgba(20, 26, 42, 0.90);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-highlight: rgba(255, 255, 255, 0.22);
    --card-border-glow: rgba(0, 240, 255, 0.42);

    /* ═══ Шрифты (Luxury Web3 & Geometric Typography с поддержкой кириллицы) ═══ */
    --font-main: 'Onest', 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Unbounded', 'Onest', sans-serif;
    --font-mono: 'Unbounded', 'Onest', monospace;

    /* ═══ Акцентные цвета и градиенты (Ultra-Vibrant Liquid Prismatic Contrasting Against Pitch Black) ═══ */
    --accent: #00f0ff;
    --accent-hover: #38bdf8;
    --accent-secondary: #0284c7;
    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;
    --accent-gold: #fbbf24;
    
    --accent-gradient: linear-gradient(135deg, #00f0ff 0%, #0284c7 50%, #4338ca 100%);
    --accent-gradient-purple: linear-gradient(135deg, #c084fc 0%, #8b5cf6 50%, #6366f1 100%);
    --accent-gradient-gold: linear-gradient(135deg, #fde047 0%, #f59e0b 55%, #d97706 100%);
    --accent-gradient-mint: linear-gradient(135deg, #6ee7b7 0%, #10b981 50%, #047857 100%);
    --accent-gradient-ruby: linear-gradient(135deg, #ff758f 0%, #e11d48 50%, #9f1239 100%);
    --accent-gradient-cyber: linear-gradient(135deg, #00f0ff 0%, #a855f7 100%);
    --accent-glow: 0 0 25px rgba(0, 240, 255, 0.38);

    /* ═══ Текст ═══ */
    --text: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* ═══ Статусы ═══ */
    --success: #34d399;
    --danger: #fb7185;
    --warning: #fbbf24;

    /* ═══ VISION LIQUID GLASS SHADOWS (Высококонтрастные тени на глубоком чёрном) ═══ */
    --glass-shadow:
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.20),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 12px 36px rgba(0, 0, 0, 0.75);

    --glass-shadow-active:
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.32),
        inset 0 0 0 1px rgba(0, 240, 255, 0.50),
        0 0 24px rgba(0, 240, 255, 0.35),
        0 14px 40px rgba(0, 0, 0, 0.85);

    --glass-shadow-indicator:
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.38),
        inset 0 0 0 1px rgba(0, 240, 255, 0.60),
        0 4px 20px rgba(0, 240, 255, 0.40);
}

/* ════ Базовые классы стекла ════ */
.glass {
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid var(--card-border);
    border-top: 1px solid var(--card-border-highlight);
}

.glass-active {
    box-shadow: var(--glass-shadow-active);
}

.glass-indicator {
    box-shadow: var(--glass-shadow-indicator);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    overflow: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.45;
    user-select: none;
    -webkit-user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
}

/* ═══════════ APP CONTAINER С АМБИЕНТНЫМ СВЕЧЕНИЕМ (OBSIDIAN LIQUID GLASS) ═══════════ */
#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    position: relative;
    background: #000000;
    overflow: hidden;
}

#app::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 45% at 50% -8%, rgba(0, 240, 255, 0.08) 0%, transparent 60%),
        radial-gradient(circle 380px at 90% 12%, rgba(168, 85, 247, 0.06) 0%, transparent 70%),
        radial-gradient(circle 420px at 10% 88%, rgba(0, 240, 255, 0.04) 0%, transparent 70%),
        radial-gradient(circle 320px at 85% 95%, rgba(251, 191, 36, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translateZ(0);
}

/* ═══════════ TOPBAR — BRAND LOGO, BALANCE PILL, DEPOSIT & AVATAR ═══════════ */
#topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(11, 14, 27, 0.96);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    min-height: 54px;
    height: calc(54px + env(safe-area-inset-top, 0px));
    box-sizing: border-box;
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    flex-shrink: 0;
    z-index: 100;
    transform: translateZ(0);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.topbar-back-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease-out;
}

.topbar-back-btn:active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.15);
}

#btn-back.visible {
    display: flex !important;
}

#btn-back.visible + .brand-logo {
    display: none !important;
}

@media (min-width: 500px) {
    #btn-back.visible + .brand-logo {
        display: inline-flex !important;
    }
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease;
    text-decoration: none;
}

.brand-logo:active {
    transform: scale(0.96);
    opacity: 0.88;
}

.brand-logo .logo-text,
.brand-logo .logo-name {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 30%, #38bdf8 80%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.45));
    display: inline-block;
}

.logo-zo {
    display: none !important;
}

.logo-smile,
.logo-accent {
    display: none !important;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.balance-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 36px;
    padding: 0 10px;
    background: rgba(23, 27, 46, 0.95);
    border: 1.5px solid rgba(255, 255, 255, 0.13);
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transition: transform 0.15s ease-out, border-color 0.15s;
    box-sizing: border-box;
    flex-shrink: 0;
    white-space: nowrap;
}

.balance-badge:active {
    transform: scale(0.96);
    border-color: rgba(99, 102, 241, 0.6);
}

.topbar-star,
.topbar-star-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
}

.topbar-balance-num {
    font-family: 'Unbounded', -apple-system, sans-serif;
    font-size: 12.5px;
    font-weight: 850;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1;
    white-space: nowrap;
}

.topbar-chevron {
    display: block;
    margin-left: 0;
    flex-shrink: 0;
}

.topbar-topup-btn {
    height: 36px;
    padding: 0 14px;
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    border: none;
    border-radius: 9999px;
    color: #ffffff;
    font-family: 'Onest', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: -0.2px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
    transition: transform 0.15s ease-out, filter 0.15s;
    white-space: nowrap;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.topbar-topup-btn:active {
    transform: scale(0.95);
    filter: brightness(1.1);
}

.topbar-avatar-wrap {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s ease-out;
    box-sizing: border-box;
}

.topbar-avatar-wrap:active {
    transform: scale(0.93);
}

.topbar-avatar-initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #ffffff;
    font-family: 'Unbounded', -apple-system, sans-serif;
    font-size: 14.5px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(34, 197, 94, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.topbar-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.topbar-avatar-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #e2e8f0 0%, #94a3b8 40%, #475569 80%, #1e293b 100%);
    border: 1.5px solid #0b0e1b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* ═══════════ ОСНОВНОЙ КОНТЕНТ ═══════════ */
#content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    padding-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    transform: translateZ(0);
    position: relative;
    z-index: 1;
}

/* Кастомный тонкий стеклянный скроллбар */
#content::-webkit-scrollbar {
    width: 5px;
}
#content::-webkit-scrollbar-track {
    background: transparent;
}
#content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}
#content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 210, 255, 0.4);
}

/* ═══════════ ЭКРАНЫ И ЗАГОЛОВКИ ═══════════ */
.screen {
    animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    color: #fff;
    background: linear-gradient(135deg, #ffffff 65%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

h2 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #f8fafc;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

h3 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: -0.015em;
    color: #f1f5f9;
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* ═══════════ ТЕКСТОВЫЕ ГРАДИЕНТЫ И ЧИСЛА ═══════════ */
.text-gradient-cyan {
    background: linear-gradient(135deg, #00f0ff 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ═══════════ КАРТОЧКИ LIQUID GLASS ═══════════ */
.card {
    background: linear-gradient(165deg, rgba(16, 20, 28, 0.72) 0%, rgba(4, 6, 12, 0.88) 100%);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid var(--card-border);
    border-top: 1px solid var(--card-border-highlight);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 14px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s;
    transform: translateZ(0);
}

.card:active {
    transform: scale(0.982);
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: var(--glass-shadow-active);
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14.5px;
    letter-spacing: -0.015em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.card-desc {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.card-desc b {
    color: #fff;
    font-weight: 700;
}

/* ═══════════ КНОПКИ (HIGH-END CYBER-GLASS BUTTONS) ═══════════ */
.btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 4px 22px rgba(0, 240, 255, 0.38), inset 0 1px 1.5px rgba(255, 255, 255, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.965);
    box-shadow: 0 2px 10px rgba(0, 240, 255, 0.25);
    filter: brightness(0.95);
}

/* ═══════════ СЕТКА ПЛИТОК (TILES) ═══════════ */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tile {
    background: linear-gradient(165deg, rgba(16, 20, 28, 0.72) 0%, rgba(4, 6, 12, 0.88) 100%);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-radius: 18px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--card-border);
    border-top: 1px solid var(--card-border-highlight);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
}

.tile:active {
    transform: scale(0.95);
    border-color: var(--accent);
    box-shadow: var(--glass-shadow-active);
}

.tile-icon {
    font-size: 34px;
    margin-bottom: 8px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
    transition: transform 0.2s;
}

.tile:active .tile-icon {
    transform: scale(1.1);
}

.tile-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.2px;
}

.tile-link {
    text-decoration: none;
    color: inherit;
}

/* ═══════════ ПЛАВАЮЩИЙ СТЕКЛЯННЫЙ ТАББАР (FROSTED GLASS CAPSULE DOCK) ═══════════ */
#bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 10px calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 4px 6px;
    height: 58px;
    background: rgba(8, 12, 22, 0.82);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    flex-shrink: 0;
    z-index: 100;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.85), inset 0 1px 1.5px rgba(255, 255, 255, 0.25), 0 0 24px rgba(0, 240, 255, 0.05);
    position: relative;
    transform: translateZ(0);
    box-sizing: border-box;
    gap: 3px;
}

.nav-btn {
    flex: 1;
    height: 100%;
    background: transparent;
    border: 1px solid transparent;
    color: #8391a8;
    font-family: 'Onest', 'Inter', -apple-system, sans-serif;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 2px;
    border-radius: 9999px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    user-select: none;
    white-space: nowrap;
}

.nav-btn .nav-svg {
    display: block;
    width: 19px;
    height: 19px;
    stroke: #8391a8;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s, filter 0.2s;
    flex-shrink: 0;
}

.nav-btn span {
    font-family: 'Onest', 'Inter', -apple-system, sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #8391a8;
    letter-spacing: -0.2px;
    line-height: 1;
    transition: color 0.2s, font-weight 0.2s;
}

.nav-btn.active {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.32), 0 0 16px rgba(0, 240, 255, 0.16);
    color: #ffffff;
}

.nav-btn.active .nav-svg {
    stroke: #38bdf8;
    filter: drop-shadow(0 0 7px rgba(56, 189, 248, 0.85));
    transform: translateY(-1px) scale(1.05);
}

.nav-btn.active span {
    font-weight: 850;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.nav-btn:active {
    transform: scale(0.92);
}

/* ═══════════ СЕГМЕНТИРОВАННЫЙ СВИТЧЕР ТАБОВ (GAMES TABS) ═══════════ */
.games-tabs {
    display: flex;
    background: rgba(6, 8, 14, 0.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 5px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.65);
    margin-bottom: 18px;
    gap: 6px;
}

.games-tab {
    flex: 1;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: -0.01em;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.games-tab.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.22) 0%, rgba(2, 132, 199, 0.25) 100%);
    color: #fff;
    box-shadow: var(--glass-shadow-indicator), 0 4px 16px rgba(0, 240, 255, 0.3);
    border: 1px solid rgba(0, 240, 255, 0.45);
}

.games-tab:active {
    transform: scale(0.97);
}

/* ═══════════ КАРТОЧКИ ИГР (BANNER TILE 2.0 LUXURY) ═══════════ */
.banners-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

.banner-tile {
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 220;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(4, 6, 12, 0.92);
    border: 1.2px solid rgba(255, 255, 255, 0.09);
    border-top: 1.2px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.75), inset 0 1px 1.5px rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s, box-shadow 0.22s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.banner-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 45%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
    z-index: 2;
    border-radius: 22px;
}

.banner-tile:active {
    transform: scale(0.972);
}

.banner-tile video,
.banner-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.banner-tile.bt-crash {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(239, 68, 68, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.banner-tile.bt-crash:active {
    border-color: rgba(239, 68, 68, 0.85);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

.banner-tile.bt-wheel {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.banner-tile.bt-wheel:active {
    border-color: rgba(168, 85, 247, 0.85);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.banner-tile.bt-plinko {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.banner-tile.bt-plinko:active {
    border-color: rgba(16, 185, 129, 0.85);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.banner-tile.bt-mines {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.banner-tile.bt-mines:active {
    border-color: rgba(245, 158, 11, 0.85);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.banner-tile.bt-roulette {
    border-color: rgba(244, 63, 94, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(244, 63, 94, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.banner-tile.bt-roulette:active {
    border-color: rgba(244, 63, 94, 0.85);
    box-shadow: 0 0 30px rgba(244, 63, 94, 0.5);
}

.banner-tile.bt-tower {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.banner-tile.bt-tower:active {
    border-color: rgba(99, 102, 241, 0.85);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.banner-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    border-radius: 9px;
    padding: 4px 10px;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* ═══════════ СЕТКА КЕЙСОВ И КАРТОЧКИ (CASES STORE) ═══════════ */
.cases-screen-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.case-hero-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(99, 102, 241, 0.3) 100%), #0d1329;
    border: 1.5px solid rgba(6, 182, 212, 0.65);
    border-radius: 22px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-hero-banner:active {
    transform: scale(0.98);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.45);
}

.cases-filter-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 6px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cases-filter-row::-webkit-scrollbar {
    display: none;
}

.cases-filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.cases-filter-btn.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.24) 0%, rgba(37, 99, 235, 0.26) 100%);
    color: #fff;
    border-color: rgba(0, 210, 255, 0.65);
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.35);
    font-weight: 900;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.case-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(160deg, rgba(16, 26, 48, 0.88) 0%, rgba(8, 14, 28, 0.96) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.2px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    padding: 14px 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.18);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s, box-shadow 0.22s;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.case-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.case-card:active {
    transform: scale(0.965);
    border-color: rgba(0, 210, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.35);
}

.case-img-wrap {
    width: 100%;
    height: 110px;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 65%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.case-img-wrap img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:active .case-img-wrap img {
    transform: scale(1.08) rotate(-2deg);
}

.case-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(4, 9, 24, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
    color: #38bdf8;
    letter-spacing: 0.6px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.case-name {
    font-size: 14px;
    font-weight: 850;
    color: #ffffff;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.case-buy {
    width: 100%;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: inherit;
    border: 1px solid rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.3) 100%);
    color: #fbbf24;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-buy:active {
    transform: scale(0.96);
    filter: brightness(1.2);
}

/* ═══════════ VIP ПРОФИЛЬ (PROFILE CARDS & BUTTONS) ═══════════ */
.profile-cards-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-card-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(16, 22, 34, 0.88) 0%, rgba(3, 4, 8, 0.96) 100%);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 20px;
    padding: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.18);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    color: #fff;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.profile-card-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.profile-card-btn:active {
    transform: scale(0.965);
    border-color: rgba(0, 210, 255, 0.55);
    box-shadow: 0 4px 16px rgba(0, 210, 255, 0.3);
}

.profile-card-label {
    font-size: 10.5px;
    font-weight: 850;
    color: #94a3b8;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.profile-card-value {
    font-size: 21px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.4px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
}

.profile-card-hint {
    font-size: 11px;
    font-weight: 750;
    margin-top: 4px;
}

.profile-card-inv .profile-card-icon,
.profile-card-hist .profile-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 22px;
}

.profile-card-inv .profile-card-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.25);
}

.profile-card-hist .profile-card-icon {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.3) 0%, rgba(37, 99, 235, 0.3) 100%);
    border: 1px solid rgba(0, 210, 255, 0.4);
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.25);
}

/* ═══════════ ИНВЕНТАРЬ (INVENTORY SYSTEM) ═══════════ */
.inv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.inv-item {
    position: relative;
    background: linear-gradient(155deg, rgba(16, 22, 34, 0.88) 0%, rgba(3, 4, 8, 0.96) 100%);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 20px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.inv-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 7px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 850;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.inv-badge-ready {
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.inv-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 6px 0;
}

.inv-name {
    font-size: 13.5px;
    font-weight: 850;
    color: #fff;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inv-value {
    font-size: 15px;
    font-weight: 900;
    color: #fbbf24;
}

.inv-sell, .inv-withdraw {
    width: 100%;
    padding: 8px;
    border-radius: 11px;
    font-size: 11.5px;
    font-weight: 850;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.15s ease;
}

.inv-sell {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.inv-withdraw {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.inv-withdraw-locked {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #64748b !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

/* ═══════════ ИСТОРИЯ ИГР (GAME HISTORY) ═══════════ */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.history-row {
    background: rgba(14, 22, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.history-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.history-info {
    flex: 1;
}

.history-game {
    font-size: 14px;
    font-weight: 850;
    color: #fff;
    letter-spacing: -0.2px;
}

.history-detail {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 2px;
}

.history-win {
    color: #34d399;
    font-weight: 800;
}

.history-result {
    font-size: 15px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.history-result.win {
    color: #34d399;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.history-result.lose {
    color: #ef4444;
}

.history-loading {
    text-align: center;
    padding: 30px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

/* ═══════════ ЧИПЫ И КАРТОЧКИ КОШЕЛЬКА (.CHIP, .WALLET-CARD) ═══════════ */
.wallet-card {
    background: rgba(12, 18, 36, 0.88) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: var(--glass-shadow), 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    border-radius: 18px !important;
    padding: 18px !important;
}

.wallet-tab {
    flex: 1;
    padding: 10px 4px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #94a3b8;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}

.wallet-tab.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.25) 0%, rgba(37, 99, 235, 0.25) 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(0, 210, 255, 0.45) !important;
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.3) !important;
}

.chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    box-shadow: var(--glass-shadow);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.chip:active, .chip.active {
    border-color: #00f0ff !important;
    background: rgba(0, 240, 255, 0.18) !important;
    color: #00f0ff !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.4) !important;
    transform: scale(0.96);
}

/* ═══════════ LUXURY LIQUID GLASS WALLET REDESIGN 2026 ═══════════ */
.wallet-methods-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.wallet-method-btn {
    background: rgba(14, 22, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
}
.wallet-method-btn:active {
    transform: scale(0.96);
}
.wallet-method-btn.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.16) 0%, rgba(37, 99, 235, 0.22) 100%) !important;
    border-color: rgba(0, 240, 255, 0.55) !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-1px);
}
.wmb-icon {
    font-size: 22px;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
.wmb-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.wmb-title {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.wmb-badge {
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.badge-green {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-purple {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}
.badge-gold {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.wallet-flow-card {
    background: rgba(10, 16, 32, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--glass-shadow), 0 12px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.wfc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 8px;
}
.wfc-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wfc-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.sbp-glow {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.3), rgba(3, 105, 161, 0.2));
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}
.ton-glow {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(109, 40, 217, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
}
.stars-glow {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.3), rgba(202, 138, 4, 0.2));
    border: 1px solid rgba(250, 204, 21, 0.4);
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.25);
}
.withdraw-glow {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(2, 132, 199, 0.2));
    border: 1px solid rgba(0, 240, 255, 0.45);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.3);
}
.wfc-title {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}
.wfc-subtitle {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}
.wfc-tag-free {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.5px;
}
.wfc-tag-rate {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.35);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
}
.wfc-tag-gold {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.35);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
}
.wfc-tag-cyan {
    background: rgba(0, 240, 255, 0.15);
    color: #00f0ff;
    border: 1px solid rgba(0, 240, 255, 0.35);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
}
.wfc-section-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.wallet-presets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}
.wallet-presets-grid.col-5 {
    grid-template-columns: repeat(5, 1fr);
}
.preset-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 10px 4px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}
.preset-chip .sub-chip {
    font-size: 9px;
    color: #94a3b8;
    font-weight: 600;
    display: block;
    margin-top: 1px;
}
.preset-chip:active, .preset-chip.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.22), rgba(37, 99, 235, 0.25)) !important;
    border-color: rgba(0, 240, 255, 0.6) !important;
    color: #00f0ff !important;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.35) !important;
    transform: scale(0.97);
}
.preset-chip.max-chip {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.3);
    color: #00f0ff;
}

.wallet-field-wrap {
    margin-bottom: 14px;
}
.wfc-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.wfc-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    display: block;
}
.wfc-label-row .wfc-label {
    margin-bottom: 0;
}
.wfc-preview-tag {
    font-size: 11px;
    color: #c084fc;
    font-weight: 800;
}
.wfc-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.wfc-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(5, 8, 18, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 14px;
    padding-right: 48px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}
.wfc-input:focus {
    border-color: #00f0ff;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.3);
    background: rgba(5, 8, 18, 0.95);
}
.wfc-input-suffix {
    position: absolute;
    right: 14px;
    font-size: 14px;
    font-weight: 900;
    color: #64748b;
    pointer-events: none;
}
.wfc-input-hint {
    font-size: 10px;
    color: #64748b;
    margin-top: 5px;
    padding-left: 2px;
}
.wfc-calc-banner {
    margin-top: 8px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}
.wfc-calc-banner .calc-label {
    color: #94a3b8;
    font-weight: 600;
}
.wfc-calc-banner .calc-value {
    color: #00f0ff;
    font-weight: 900;
}
.wfc-calc-banner .calc-value.cyan-val {
    color: #00f0ff;
    font-size: 14px;
}
.wfc-calc-banner .calc-rate {
    color: #64748b;
    font-size: 11px;
}

.wallet-primary-btn {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.5px;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}
.wallet-primary-btn:active {
    transform: scale(0.98);
    opacity: 0.92;
}
.wallet-primary-btn.sbp-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}
.wallet-primary-btn.ton-btn {
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}
.wallet-primary-btn.withdraw-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0099cc 100%);
    border: 1px solid rgba(0, 240, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.35);
}

.wfc-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 10px;
    color: #64748b;
    margin-top: 10px;
    font-weight: 700;
}

.ton-wallet-bar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ton-wallet-bar .twb-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
    flex-shrink: 0;
}
.status-label {
    font-size: 12px;
    font-weight: 800;
    color: #cbd5e1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.twb-btn {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    cursor: pointer;
    flex-shrink: 0;
    font-family: inherit;
}

.stars-packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.stars-pack-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 12px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stars-pack-item:active {
    border-color: #facc15;
    background: rgba(250, 204, 21, 0.12);
    transform: scale(0.96);
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.3);
}
.stars-pack-item.popular {
    border-color: rgba(0, 240, 255, 0.45);
    background: rgba(0, 240, 255, 0.06);
}
.stars-pack-item.vip {
    border-color: rgba(250, 204, 21, 0.5);
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
}
.spi-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #00f0ff;
    color: #000;
    font-size: 8px;
    font-weight: 900;
    padding: 2px 6px;
    border-bottom-left-radius: 8px;
    letter-spacing: 0.5px;
}
.spi-badge.vip-badge {
    background: #facc15;
    color: #000;
}
.spi-icon {
    font-size: 24px;
    margin-bottom: 4px;
}
.spi-amount {
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
}
.spi-cta {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
}

.wallet-promo-card {
    background: rgba(10, 16, 32, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px;
    margin-top: 4px;
}
.wpc-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.wpc-icon {
    font-size: 16px;
}
.wpc-title {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}
.wpc-input-group {
    display: flex;
    gap: 8px;
}
.wpc-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 12px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    outline: none;
    font-family: inherit;
}
.wpc-btn {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    border: none;
    border-radius: 10px;
    padding: 0 16px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}
.wpc-btn:active {
    transform: scale(0.96);
}

.withdraw-balance-banner {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.12) 0%, rgba(37, 99, 235, 0.18) 100%), #070d1e;
    border: 1.5px solid rgba(0, 240, 255, 0.35);
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.wbb-info .wbb-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #94a3b8;
}
.wbb-info .wbb-value {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    margin-top: 2px;
}
.wbb-info .wbb-value span {
    color: #facc15;
    font-size: 20px;
}
.wbb-rate-pill {
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 10px;
    padding: 6px 10px;
    color: #00f0ff;
    font-weight: 900;
    font-size: 13px;
}

.paste-quick-btn {
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 6px;
    padding: 3px 8px;
    color: #00f0ff;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.paste-quick-btn:active {
    transform: scale(0.96);
}

.withdraw-tiers-card {
    background: rgba(5, 8, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 14px;
}
.wtc-title {
    font-size: 10px;
    font-weight: 900;
    color: #94a3b8;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}
.wtc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.wtc-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
}
.wtc-badge {
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 3px;
}
.wtc-item.tier-fast .wtc-badge { color: #34d399; }
.wtc-item.tier-mid .wtc-badge { color: #facc15; }
.wtc-item.tier-manual .wtc-badge { color: #f87171; }
.wtc-cond {
    font-size: 10px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 2px;
}
.wtc-desc {
    font-size: 9px;
    color: #64748b;
    line-height: 1.2;
}

.pending-inner {
    margin-top: 12px;
    padding: 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
}
.pending-title {
    font-size: 12px;
    font-weight: 800;
    color: #38bdf8;
}
.pending-desc {
    font-size: 11px;
    color: #94a3b8;
    margin: 4px 0 8px 0;
}
.pending-check-btn {
    width: 100%;
    background: #0284c7;
    border: none;
    border-radius: 8px;
    padding: 8px;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
}

/* ═══════════ СПИННЕР И ЗАГРУЗКА ═══════════ */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
    color: var(--text-muted);
}

.spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: #00f0ff;
    border-right-color: #0284c7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.45);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ═══════════ PREMIUM SCREENS (MATCHING USER SCREENSHOTS) ═══════════ */
.prem-hero-card {
    background: radial-gradient(circle at 50% 12%, rgba(251, 191, 36, 0.32) 0%, transparent 60%),
                radial-gradient(circle at 10% 90%, rgba(245, 158, 11, 0.22) 0%, transparent 50%),
                linear-gradient(145deg, rgba(48, 32, 10, 0.96) 0%, rgba(30, 20, 6, 0.98) 50%, rgba(12, 14, 22, 0.99) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.6px solid rgba(251, 191, 36, 0.75);
    border-top: 1.6px solid rgba(255, 230, 140, 0.85);
    border-radius: 26px;
    padding: 26px 20px;
    box-shadow: var(--glass-shadow), 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 42px rgba(251, 191, 36, 0.32), inset 0 1px 2px rgba(255, 255, 255, 0.45);
    margin-bottom: 20px;
}

.prem-star-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.prem-title {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 850;
    color: #fff;
    letter-spacing: -0.04em;
    margin-bottom: 6px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.prem-sub {
    font-size: 13.5px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 22px;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.prem-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.prem-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.01em;
}

.prem-feat-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.16);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.25);
}

.prem-cta-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 0 6px 26px rgba(0, 240, 255, 0.45), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
    font-family: inherit;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.prem-cta-btn:active {
    transform: scale(0.965);
    box-shadow: 0 2px 12px rgba(0, 240, 255, 0.3);
}

.prem-method-card {
    background: rgba(14, 22, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 12px;
}

.prem-method-card:active {
    transform: scale(0.975);
    border-color: rgba(0, 240, 255, 0.55);
    box-shadow: var(--glass-shadow-active), 0 0 22px rgba(0, 240, 255, 0.35);
}

.prem-method-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.prem-days-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.prem-day-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 4px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.prem-day-btn.active {
    background: var(--accent-gradient);
    border-color: rgba(0, 240, 255, 0.65);
    box-shadow: 0 4px 22px rgba(0, 240, 255, 0.45), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
}

.prem-day-btn .num {
    font-family: var(--font-main);
    font-size: 19px;
    font-weight: 850;
    color: #fff;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.prem-day-btn .lbl {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #94a3b8;
    margin-top: 3px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.prem-day-btn.active .lbl {
    color: rgba(255, 255, 255, 0.95);
}

.prem-custom-input {
    width: 100%;
    background: rgba(10, 16, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 13px 16px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 750;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.prem-custom-input:focus {
    border-color: #00f0ff;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}

.prem-total-card {
    background: rgba(14, 22, 42, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(0, 240, 255, 0.75);
    border-radius: 22px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.28), var(--glass-shadow);
    margin-bottom: 14px;
}

.prem-header-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.prem-back-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    width: 38px;
    height: 38px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.prem-back-btn:active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.16);
}

.prem-info-card {
    background: rgba(14, 22, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 14px 18px;
    margin-bottom: 16px;
    box-shadow: var(--glass-shadow);
}

.prem-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    color: #94a3b8;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.prem-accordion-btn:active {
    background: rgba(255, 255, 255, 0.06);
}

.prem-help-body {
    background: rgba(10, 16, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.55;
    color: #cbd5e1;
}

/* ═══════════ CYBER-LUXURY: HERO BALANCE CARD ═══════════ */
.hero-balance-card {
    position: relative;
    overflow: hidden;
    padding: 22px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(155deg, rgba(16, 20, 30, 0.92) 0%, rgba(2, 3, 6, 0.98) 100%);
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.22), 0 16px 44px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 240, 255, 0.08);
    margin-bottom: 20px;
}

.hero-balance-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, rgba(37, 99, 235, 0.08) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-balance-card::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-balance-label {
    font-size: 11px;
    font-weight: 850;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-balance-value {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.hero-balance-star {
    font-size: 24px;
    color: #fbbf24;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.7));
}

.hero-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.hero-action-btn {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    font-weight: 850;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    font-family: inherit;
}

.hero-action-btn.primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 22px rgba(0, 240, 255, 0.42), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
}

.hero-action-btn.secondary,
.hero-action-btn.hero-btn-withdraw {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-action-btn.hero-btn-withdraw:hover,
.hero-action-btn.hero-btn-withdraw:active {
    background: rgba(56, 189, 248, 0.14);
    border-color: #38bdf8;
    color: #38bdf8;
}

.hero-action-btn:active {
    transform: scale(0.96);
}

/* ═══════════ CYBER-LUXURY: QUICK ACCESS TILES ═══════════ */
.cyber-tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.cyber-tile {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(16, 22, 34, 0.88) 0%, rgba(3, 4, 8, 0.96) 100%);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-radius: 20px;
    padding: 18px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.18), 0 10px 28px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transform: translateZ(0);
}

.cyber-tile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.cyber-tile:active {
    transform: scale(0.96);
    border-color: rgba(0, 240, 255, 0.55);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
}

.cyber-tile-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-tile:active .cyber-tile-icon-box {
    transform: scale(1.1);
}

.cyber-tile-title {
    font-family: var(--font-main);
    font-size: 14.5px;
    font-weight: 850;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.cyber-tile-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 10px;
}

/* ═══════════ 3D CYBER TILES ARTWORK ═══════════ */
.cyber-tile.cyber-tile-art {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), filter 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.cyber-tile.cyber-tile-art::before {
    display: none !important;
}

.cyber-tile.cyber-tile-art:active {
    transform: scale(0.96) !important;
    filter: brightness(1.1);
    box-shadow: none !important;
}

.cyber-tile-art-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cyber-tile.cyber-tile-art:hover .cyber-tile-art-img {
    border-color: rgba(255, 255, 255, 0.25);
}

.crash-hot-banner {
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease;
}

.crash-hot-banner:active {
    transform: scale(0.98);
}

/* ═══════════ CYBER-LUXURY: STATS GRID ═══════════ */
.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.stats-card {
    background: rgba(14, 21, 40, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--glass-shadow);
    transform: translateZ(0);
}

.stats-card-lbl {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.stats-card-val {
    font-family: var(--font-main);
    font-size: 21px;
    font-weight: 850;
    color: #fff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.stats-card-sub {
    font-size: 11px;
    font-weight: 650;
    margin-top: 3px;
}

/* ═══════════ CYBER-LUXURY: SEARCH SEGMENTED TABS ═══════════ */
/* ═══════════ CYBER-LUXURY: SEARCH SEGMENTED TABS ═══════════ */
.search-subtab-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px;
    border-radius: 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-sizing: border-box;
    width: 100%;
}

.search-sub-btn {
    padding: 10px 4px;
    border-radius: 12px;
    font-weight: 850;
    font-size: 11.5px;
    border: 1px solid transparent;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: inherit;
    white-space: nowrap;
    min-width: 0;
    box-sizing: border-box;
}

.search-sub-btn.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.22) 0%, rgba(37, 99, 235, 0.3) 100%);
    border-color: rgba(0, 210, 255, 0.5);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 210, 255, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.sub-badge-pill {
    font-size: 9.5px;
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 800;
}

/* ═══════════ SEARCH SCREEN CYBER-LUXURY UPGRADES ═══════════ */
.search-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 18px;
    background: radial-gradient(ellipse at 85% 25%, rgba(0, 210, 255, 0.22) 0%, transparent 60%), radial-gradient(ellipse at 15% 85%, rgba(99, 102, 241, 0.22) 0%, transparent 60%), #070b1a;
    border: 1.5px solid rgba(0, 210, 255, 0.32);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    margin-bottom: 14px;
    box-sizing: border-box;
}

.search-hero-deco {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.16), rgba(99, 102, 241, 0.2));
    border: 1px solid rgba(0, 210, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.25);
    pointer-events: none;
}

.search-hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.search-badge-cyan {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    padding: 3px 9px;
    border-radius: 8px;
    background: rgba(0, 210, 255, 0.18);
    color: #38bdf8;
    border: 1px solid rgba(0, 210, 255, 0.4);
}

.search-badge-green {
    font-size: 10px;
    color: #34d399;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(52, 211, 153, 0.12);
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    display: inline-block;
    box-shadow: 0 0 8px #34d399;
}

.search-hero-banner {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 0;
    height: 140px;
    display: flex;
    align-items: flex-end;
    background: #0a0e20;
    border: 1px solid rgba(0, 210, 255, 0.28);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    margin-bottom: 14px;
}

.search-hero-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.search-hero-content {
    position: relative;
    z-index: 2;
    padding: 14px 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 32, 0.95) 80%);
    width: 100%;
    box-sizing: border-box;
}

.search-hero-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.search-hero-sub {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.search-attempts-box {
    background: rgba(14, 22, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(56, 189, 248, 0.28);
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--glass-shadow);
    transform: translateZ(0);
}

.search-filter-card {
    background: rgba(14, 22, 44, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
    box-shadow: var(--glass-shadow);
    transform: translateZ(0);
}

.search-filter-title {
    font-size: 11.5px;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.search-chip-group {
    display: flex;
    gap: 8px;
}

.search-chip {
    flex: 1;
    padding: 11px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
}

.search-chip.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.22) 0%, rgba(37, 99, 235, 0.32) 100%);
    border-color: rgba(0, 210, 255, 0.55);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 210, 255, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.search-chip:active {
    transform: scale(0.96);
}

.search-run-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 18px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 6px 26px rgba(0, 240, 255, 0.42), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    margin-top: 4px;
}

.search-run-btn:active {
    transform: scale(0.965);
    box-shadow: 0 2px 12px rgba(0, 240, 255, 0.3);
}

/* ═══════════ MODAL ПОИСКА (MATCHING USER SCREENSHOT 1:1) ═══════════ */
.search-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 6, 15, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-card {
    width: 100%;
    max-width: 320px;
    background: rgba(14, 22, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    padding: 32px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    animation: modalPopIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    from { opacity: 0; transform: scale(0.9) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.search-squircle-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    position: relative;
    margin-bottom: 18px;
}

.search-percent-text {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
    color: #38bdf8;
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}

.search-status-text {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: -0.2px;
}

.search-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 24px;
}

.search-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
    transition: width 0.25s ease-out;
}

.search-cancel-btn {
    width: 100%;
    padding: 13px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
    font-family: inherit;
}

.search-cancel-btn:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.09);
}

/* ═══════════ РЕЗУЛЬТАТ НАЙДЕННОГО НИКА ═══════════ */
.found-card {
    background: linear-gradient(145deg, rgba(14, 26, 48, 0.94) 0%, rgba(9, 16, 32, 0.98) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(52, 211, 153, 0.45);
    border-radius: 24px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(52, 211, 153, 0.2);
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════ TOPBAR SOUND TOGGLE ═══════════ */
#btn-sound-toggle {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--glass-shadow);
    flex-shrink: 0;
}

#btn-sound-toggle:active {
    transform: scale(0.92);
    border-color: var(--accent);
    background: rgba(0, 210, 255, 0.15);
}

/* ═══════════ LIVE TICKER (VISION LIQUID GLASS PILL STYLE) ═══════════ */
.cyber-ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 16px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
    position: relative;
}

.live-vertical-badge {
    width: 32px;
    height: 52px;
    background: rgba(22, 18, 36, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(139, 92, 246, 0.4);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.live-badge-txt {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Unbounded', -apple-system, sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #ffffff;
    line-height: 1;
}

.live-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981, 0 0 14px rgba(16, 185, 129, 0.8);
    flex-shrink: 0;
    animation: liveDotPulse 2s ease-in-out infinite;
}

@keyframes liveDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #10b981, 0 0 14px rgba(16, 185, 129, 0.8); }
    50% { opacity: 0.6; transform: scale(0.85); box-shadow: 0 0 4px #10b981; }
}

.cyber-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(90deg, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, black 85%, transparent 100%);
}

.cyber-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: tickerScroll 24s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.cyber-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 4px 14px 4px 6px;
    background: linear-gradient(135deg, rgba(62, 44, 114, 0.58) 0%, rgba(32, 22, 64, 0.78) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1.5px solid rgba(147, 112, 230, 0.45);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), inset 0 1px 1.5px rgba(255, 255, 255, 0.22);
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: transform 0.15s ease-out, border-color 0.15s ease-out;
}

.ticker-card:active {
    transform: scale(0.97);
    border-color: rgba(167, 139, 250, 0.7);
}

.ticker-game-thumb {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    background: #0e0a1e;
    flex-shrink: 0;
}

.ticker-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ticker-card-mult {
    position: absolute;
    bottom: 1px;
    right: 1px;
    background: rgba(15, 10, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    padding: 1px 4px;
    font-family: 'Unbounded', sans-serif;
    font-size: 8.5px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.ticker-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.ticker-card-user {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ticker-card-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
}

.ticker-card-name {
    font-family: 'Onest', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.2px;
}

.ticker-card-win {
    font-family: 'Unbounded', 'Onest', sans-serif;
    font-size: 13px;
    font-weight: 850;
    color: #00e676;
    line-height: 1.15;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
    letter-spacing: 0.1px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-variant-numeric: tabular-nums;
}


/* ═══════════ CYBER-LUXURY ADMIN COMMAND CENTER ═══════════ */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 15, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: adminFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes adminFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.admin-modal-card {
    background: linear-gradient(180deg, #0b0f24 0%, #060814 100%);
    border-top: 1.5px solid rgba(239, 68, 68, 0.45);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px 28px 0 0;
    width: 100%;
    max-width: 520px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 20px 18px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 -12px 50px rgba(220, 38, 38, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: adminSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes adminSlideUp {
    from { transform: translateY(40px); }
    to { transform: translateY(0); }
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-shield-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(185, 28, 28, 0.3));
    border: 1px solid rgba(239, 68, 68, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.3);
}

.admin-title-text {
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.admin-badge-live {
    font-size: 9px;
    font-weight: 800;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 1px;
    margin-left: 6px;
}

.admin-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.admin-close-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.18);
}

.admin-tab-bar {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.admin-tab-bar::-webkit-scrollbar { display: none; }

.admin-tab-btn {
    flex: 1;
    padding: 8px 10px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
    text-align: center;
}

.admin-tab-btn.active {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.15));
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.admin-kpi-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-kpi-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-kpi-val {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.admin-card-section {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-section-title {
    font-size: 13px;
    font-weight: 900;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.4px;
}

.admin-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 11px 14px;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}

.admin-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.admin-preset-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.admin-preset-pill {
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.admin-preset-pill:active {
    transform: scale(0.94);
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #ffffff;
}

.admin-btn-action {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
    font-family: inherit;
    transition: all 0.2s;
}

.admin-btn-action:active {
    transform: scale(0.97);
}

.admin-btn-danger {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

/* ============================================================ */
/* CUSTOM BET INPUT STYLES (ALL GAME MODES)                    */
/* ============================================================ */

.bet-main-input {
    background: transparent;
    border: none;
    border-bottom: 1.5px dashed rgba(255, 255, 255, 0.3);
    outline: none;
    color: #ffffff;
    font-size: 38px;
    font-weight: 900;
    text-align: center;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    display: block;
    font-variant-numeric: tabular-nums;
    caret-color: #00d2ff;
    -webkit-text-fill-color: #ffffff;
    font-family: inherit;
    padding: 2px 0 4px;
    transition: border-color 0.2s, text-shadow 0.2s;
    -moz-appearance: textfield;
}

.bet-main-input::-webkit-outer-spin-button,
.bet-main-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bet-main-input:focus {
    border-bottom: 1.5px solid #00d2ff;
    text-shadow: 0 0 18px rgba(0, 210, 255, 0.65);
}

.bet-main-input.win {
    color: #4dcd5e !important;
    -webkit-text-fill-color: #4dcd5e !important;
    border-bottom: none !important;
    text-shadow: 0 0 16px rgba(77, 205, 94, 0.6) !important;
}

.roul-reward-input {
    background: transparent;
    border: none;
    border-bottom: 1.5px dashed rgba(0, 210, 255, 0.45);
    outline: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    text-align: right;
    width: 85px;
    font-variant-numeric: tabular-nums;
    caret-color: #00d2ff;
    font-family: inherit;
    padding: 0 2px;
    transition: border-color 0.2s, text-shadow 0.2s;
    -moz-appearance: textfield;
}

.roul-reward-input::-webkit-outer-spin-button,
.roul-reward-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.roul-reward-input:focus {
    border-bottom-color: #00d2ff;
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
}

.tower-bet-input {
    background: transparent;
    border: none;
    border-bottom: 1.5px dashed rgba(255, 255, 255, 0.35);
    outline: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    width: 75px;
    font-variant-numeric: tabular-nums;
    caret-color: #00d2ff;
    font-family: inherit;
    padding: 0 2px;
    transition: border-color 0.2s, text-shadow 0.2s;
    -moz-appearance: textfield;
}

.tower-bet-input::-webkit-outer-spin-button,
.tower-bet-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tower-bet-input:focus {
    border-bottom-color: #00d2ff;
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
}

/* ═══════════ DESKTOP CENTERED LAYOUT (NO SIMULATOR) ═══════════ */
@media (min-width: 501px) {
    body {
        background: #000000 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    #app {
        width: 100% !important;
        max-width: 440px !important;
        height: 100vh !important;
        height: 100dvh !important;
        position: relative !important;
        overflow: hidden !important;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    }
    #case-modal {
        max-width: 440px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
    }
}
