:root {
    --primary-color: #00d2b4;
    --primary-hover: #00f5cf;
    --primary-glow: rgba(0, 210, 180, 0.4);
    --bg-main: #060B1E;
    --bg-card: #0c1a35;
    --bg-card-alt: #0a1128;
    --accent-gold: #ffd700;
    --accent-red: #ef4444;
    --accent-green: #10b981;
    --accent-violet: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-amber: #f59e0b;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(0, 210, 180, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-top: env(safe-area-inset-top, 0px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    background-color: #020612;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    background: radial-gradient(circle at 50% 15%, #0e1e3f 0%, #060b1e 50%, #02040b 100%);
    color: #fff;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    touch-action: manipulation;
    overscroll-behavior-y: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile App Container / Shell */
.app-container {
    width: 100%;
    max-width: 430px;
    background-color: #060B1E;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: calc(80px + var(--safe-bottom));
    box-shadow: 0 0 50px rgba(0, 210, 180, 0.12), 0 25px 60px rgba(0, 0, 0, 0.85);
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (min-width: 481px) {
    body {
        padding: 24px 0;
    }
    .app-container {
        border-radius: 32px;
        border: 1px solid rgba(0, 210, 180, 0.25);
        box-shadow: 0 0 45px rgba(0, 210, 180, 0.15), 0 20px 60px rgba(0, 0, 0, 0.9);
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
        background: #060B1E;
    }
    .app-container {
        max-width: 100%;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
}

/* Header / App Bar */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: max(12px, var(--safe-top)) 16px 12px;
    background: rgba(8, 17, 38, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid rgba(0, 210, 180, 0.16);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header-logo-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.header-logo-img {
    height: 32px;
    max-width: 135px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 245, 200, 0.45));
    transition: transform 0.2s ease;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.icon-btn:active {
    transform: scale(0.92);
    background: rgba(0, 210, 180, 0.15);
    color: #00d2b4;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

/* PWA App Download Header Button */
.pwa-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ffb703 0%, #ff8c00 100%);
    color: #071329;
    font-size: 11px;
    font-weight: 900;
    padding: 6px 11px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255, 183, 3, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.pwa-download-btn:active {
    transform: scale(0.93);
    box-shadow: 0 1px 4px rgba(255, 183, 3, 0.3);
}

.pwa-download-btn i {
    font-size: 11px;
    animation: pwaBounce 2s infinite ease-in-out;
}

@keyframes pwaBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@media (max-width: 360px) {
    .pwa-download-btn {
        padding: 5px 8px;
        font-size: 10px;
        gap: 3px;
    }
}

/* Mobile VIP Profile & Wallet Card */
.mobile-vip-card {
    margin: 14px 14px 16px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0e2246 0%, #07152b 55%, #0e2c58 100%);
    border: 1px solid rgba(0, 210, 180, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 210, 180, 0.1);
    position: relative;
    overflow: hidden;
}

.mobile-vip-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -25%;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(0, 210, 180, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.player-info-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-touch-wrap {
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.player-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00d2b4;
    box-shadow: 0 2px 10px rgba(0, 210, 180, 0.35);
    display: block;
}

.avatar-badge-edit {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00d2b4;
    color: #061124;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    border: 1.5px solid #08152e;
}

.guest-avatar-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 210, 180, 0.12);
    color: #00d2b4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid rgba(0, 210, 180, 0.3);
}

.player-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.player-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.player-name-row i {
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
}

.player-name-row i:hover {
    color: #00d2b4;
}

.player-vip-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vip-level-pill {
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    color: #000;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

.vip-link-btn {
    font-size: 11px;
    font-weight: 600;
    color: #00d2b4;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.9;
}

.card-logout-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.card-logout-btn:active {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.card-login-btn {
    background: linear-gradient(135deg, #00d2b4 0%, #00a890 100%);
    color: #061124;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 210, 180, 0.3);
}

/* Card Balance Area */
.card-balance-section, .wallet-balance {
    padding: 14px 0 10px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.card-balance-label {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-weight: 500;
}

.card-balance-value-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.card-balance-amount {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.card-balance-amount .currency-symbol {
    font-size: 20px;
    color: #00d2b4;
    font-weight: 700;
}

.card-refresh-btn, .refresh-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #00d2b4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.25s ease;
}

.card-refresh-btn:active {
    transform: rotate(180deg);
}

.amount {
    font-size: 30px;
    font-weight: 800;
}

.currency {
    font-size: 18px;
    color: #00d2b4;
}

/* Card Action Buttons */
.card-actions-row, .wallet-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    position: relative;
    z-index: 2;
}

.card-btn-deposit, .btn-deposit {
    flex: 1;
    background: linear-gradient(135deg, #00d2b4 0%, #00a890 100%);
    color: #061124;
    border: none;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 210, 180, 0.35);
    transition: all 0.2s ease;
}

.card-btn-deposit:active, .btn-deposit:active {
    transform: scale(0.96);
}

.card-btn-withdraw, .btn-withdraw {
    flex: 1;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border: none;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
    transition: all 0.2s ease;
}

.card-btn-withdraw:active, .btn-withdraw:active {
    transform: scale(0.96);
}

.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Commission Mini Bar inside Card */
.card-commission-bar {
    margin-top: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(0, 210, 180, 0.08);
    border: 1px dashed rgba(0, 210, 180, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
    z-index: 2;
}

.card-commission-bar:hover {
    background: rgba(0, 210, 180, 0.15);
}

.card-commission-bar strong {
    color: #00d2b4;
    font-weight: 700;
}

.card-commission-bar .vcs-link {
    color: #00d2b4;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
}

/* Quick Actions Grid (Mobile App Launcher) */
.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0 14px 14px;
    padding: 12px 8px;
    background: rgba(11, 22, 48, 0.7);
    border: 1px solid rgba(0, 210, 180, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 2px;
    border-radius: 10px;
    transition: transform 0.15s ease;
}

.quick-action-item:active {
    transform: scale(0.92);
}

.qa-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
}

.qa-deposit {
    background: linear-gradient(135deg, rgba(0, 210, 180, 0.25) 0%, rgba(0, 210, 180, 0.08) 100%);
    color: #00d2b4;
    border: 1px solid rgba(0, 210, 180, 0.3);
    box-shadow: 0 4px 12px rgba(0, 210, 180, 0.15);
}

.qa-withdraw {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(239, 68, 68, 0.08) 100%);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.qa-vip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 140, 0, 0.08) 100%);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.15);
}

.qa-invite {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(56, 189, 248, 0.08) 100%);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

.qa-label {
    font-size: 11px;
    font-weight: 600;
    color: #cbd5e1;
    text-align: center;
}

/* Announcement Ticker */
.announcement {
    display: flex;
    align-items: center;
    background: #0c1a35;
    padding: 8px 14px;
    margin: 0 14px 14px;
    border-radius: 20px;
    gap: 10px;
    color: #38bdf8;
    font-size: 13px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.announcement-icon {
    font-size: 14px;
    color: #ffd700;
    animation: speakerPulse 2s infinite ease-in-out;
}

@keyframes speakerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.announcement-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

/* Game Tabs (Segmented Control) */
.game-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #0a1128;
    padding: 6px;
    margin: 0 14px 14px;
    border-radius: 14px;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tab {
    background: none;
    border: 1px solid transparent;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.tab:active {
    transform: scale(0.94);
}

.tab.active {
    background: linear-gradient(180deg, rgba(0, 210, 180, 0.2) 0%, rgba(0, 210, 180, 0.05) 100%);
    color: #00d2b4;
    border-color: rgba(0, 210, 180, 0.35);
    box-shadow: 0 2px 10px rgba(0, 210, 180, 0.2);
}

.tab-clock-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.tab.active .tab-clock-img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(0, 210, 180, 0.5));
}

.tab span {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* Game Area */
.game-area {
    background: #0a1128;
    margin: 15px;
    border-radius: 12px;
    padding: 15px;
}

.ticket-timer-section {
    background: linear-gradient(90deg, #00d2b4, #00b4d8);
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    color: #0b1d3d;
}
.ticket-timer-section::before, .ticket-timer-section::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #0b1d3d; 
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.ticket-timer-section::before { left: -10px; }
.ticket-timer-section::after { right: -10px; }

.ticket-left {
    flex: 1;
    padding: 15px 10px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.btn-how-to-play {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #ffffff;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.game-name {
    font-weight: 600;
    font-size: 13px;
}
.last-draw-balls {
    display: flex;
    gap: 4px;
}
.ball {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 12px;
    box-shadow: inset -2px -2px 4px rgba(0,0,0,0.3), inset 2px 2px 4px rgba(255,255,255,0.5);
}
.ball.red { background: #ff4d4d; }
.ball.green { background: #00d2b4; }
.ball.violet { background: #b366ff; }
.ball.red-violet { background: linear-gradient(135deg, #ff4d4d 50%, #b366ff 50%); }
.ball.green-violet { background: linear-gradient(135deg, #00d2b4 50%, #b366ff 50%); }

.ticket-divider {
    border-left: 2px dashed rgba(11, 29, 61, 0.2);
    margin: 15px 0;
}
.ticket-right {
    flex: 1;
    padding: 15px 15px 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}
.timer-label-new {
    font-weight: 600;
    font-size: 12px;
}
.timer-display-new {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 18px;
    font-weight: bold;
    color: #00d2b4;
}
.digit-box {
    background: #0b1d3d;
    padding: 4px 6px;
    border-radius: 4px;
    clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
}
.colon {
    color: #0b1d3d;
    font-weight: bold;
}
.period-number-new {
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
}

/* Color Betting */
.color-bets {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.color-btn {
    flex: 1;
    padding: 12px 6px;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    user-select: none;
}

.color-btn:active {
    transform: scale(0.94);
}

.color-btn.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.color-btn.violet {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.color-btn.red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Number Grid (Lottery Spheres) */
.number-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.number-btn {
    aspect-ratio: 1;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: clamp(18px, 5vw, 22px);
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset -3px -3px 6px rgba(0,0,0,0.35), inset 3px 3px 6px rgba(255,255,255,0.65), 0 4px 8px rgba(0,0,0,0.35);
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    user-select: none;
    touch-action: manipulation;
}

.number-btn:active {
    transform: scale(0.92);
    box-shadow: inset 3px 3px 6px rgba(0,0,0,0.4), inset -2px -2px 4px rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.2);
}

.number-btn.green { background: #10b981; }
.number-btn.red { background: #ef4444; }
.number-btn.red-blue { background: linear-gradient(135deg, #ef4444 50%, #8b5cf6 50%); }
.number-btn.green-blue { background: linear-gradient(135deg, #10b981 50%, #8b5cf6 50%); }

/* Multipliers */
.multiplier-row {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-bottom: 12px;
    justify-content: flex-start;
    scrollbar-width: none;
}

.multiplier-row::-webkit-scrollbar {
    display: none;
}

.multiplier-btn {
    flex-shrink: 0;
    padding: 6px 14px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.multiplier-btn.active {
    background: #00d2b4;
    color: #061124;
    border-color: #00d2b4;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 210, 180, 0.35);
}

/* Big/Small Betting */
.size-bets {
    display: flex;
    gap: 10px;
}

.size-btn {
    flex: 1;
    padding: 13px;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease;
    user-select: none;
}

.size-btn:active {
    transform: scale(0.95);
}

.size-btn.big {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.size-btn.small {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

/* 5s Countdown Lock Overlay */
.betting-board {
    position: relative;
    overflow: visible;
}

.lock-overlay {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: rgba(6, 12, 30, 0.90);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    pointer-events: auto;
    animation: fadeInLock 0.15s ease-out;
}

.lock-cards-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    user-select: none;
}

.countdown-card {
    width: 96px;
    height: 148px;
    background: #1b386e;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.countdown-card span {
    color: #00d2b4;
    font-size: 92px;
    font-weight: 800;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    letter-spacing: -2px;
    display: inline-block;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 210, 180, 0.35);
}

@keyframes fadeInLock {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* History Section */
.history-tabs {
    display: flex;
    margin: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.htab {
    flex: 1;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.htab.active {
    color: #38bdf8;
    border-bottom-color: #38bdf8;
}

.history-list {
    background: #0a1128;
    margin: 0 15px;
    border-radius: 12px;
    padding: 15px;
}

.history-header, .history-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    text-align: center;
    padding: 10px 0;
    align-items: center;
}

.history-header {
    color: #94a3b8;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 10px;
}

.history-item {
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.h-num {
    font-weight: 700;
    font-size: 16px;
}
.h-num.red { color: #ef4444; }
.h-num.green { color: #10b981; }
.h-num.violet { color: #8b5cf6; }

.h-color {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.bg-red { background: #ef4444; }
.bg-green { background: #10b981; }
.bg-violet { background: #8b5cf6; }

/* Modal and Overlays */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: flex-end; /* Slide from bottom */
    justify-content: center;
}

.bet-modal {
    background: #0f172a;
    width: 100%;
    max-width: 420px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.modal-overlay.show {
    display: flex;
}
.modal-overlay.show .bet-modal {
    transform: translateY(0);
}

.modal-header {
    background: #f59e0b; /* default orange, changes based on bet */
    padding: 15px;
    text-align: center;
    color: white;
}
.modal-title { font-size: 14px; margin-bottom: 10px; }
.modal-subtitle { background: white; color: #000; padding: 10px; border-radius: 8px; font-weight: 700; font-size: 16px; margin: 0 20px; }
.modal-header.red-theme { background: #ef4444; }
.modal-header.green-theme { background: #10b981; }
.modal-header.violet-theme { background: #8b5cf6; }
.modal-header.orange-theme { background: #f59e0b; }
.modal-header.blue-theme { background: #3b82f6; }

.modal-body { padding: 20px; }
.bet-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.bet-row > span { white-space: nowrap; font-size: 13px; margin-right: 10px; }
.balance-options, .quantity-control, .multiplier-options { display: flex; gap: 5px; }

.b-opt, .m-opt { 
    background: #1e293b; color: #94a3b8; border: none; padding: 8px 12px; border-radius: 5px; cursor: pointer; font-size: 14px; 
}
.b-opt.active, .m-opt.active { background: #f59e0b; color: white; } /* Default active */
.red-active .b-opt.active, .red-active .m-opt.active, .red-active .btn-confirm { background: #ef4444 !important; }
.green-active .b-opt.active, .green-active .m-opt.active, .green-active .btn-confirm { background: #10b981 !important; }
.violet-active .b-opt.active, .violet-active .m-opt.active, .violet-active .btn-confirm { background: #8b5cf6 !important; }
.blue-active .b-opt.active, .blue-active .m-opt.active, .blue-active .btn-confirm { background: #3b82f6 !important; }

.quantity-control { display: flex; align-items: center; }
.q-btn { background: #f59e0b; color: white; border: none; width: 30px; height: 30px; font-size: 18px; cursor: pointer; border-radius: 4px; }
.quantity-control input { width: 65px; text-align: center; background: #060B1E; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 4px; color: white; height: 32px; margin: 0 6px; font-weight: bold; font-size: 15px; transition: all 0.2s ease; }
.quantity-control input:focus { outline: none; border-color: #00d2b4; box-shadow: 0 0 0 2px rgba(0, 210, 180, 0.3); background: #0b1d3d; }
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

.multiplier-options { flex-wrap: wrap; margin-bottom: 20px; }
.agreement { font-size: 14px; margin-bottom: 20px; color: #94a3b8; display: flex; align-items: center; gap: 10px; }
.rules-text { color: #ef4444; cursor: pointer; }

.modal-footer { display: flex; }
.btn-cancel { flex: 1; padding: 15px; background: #1e293b; color: #38bdf8; border: none; font-size: 16px; cursor: pointer; }
.btn-confirm { flex: 2; padding: 15px; background: #f59e0b; color: white; border: none; font-size: 16px; font-weight: 700; cursor: pointer; }
/* Lock Overlay - see main .lock-overlay above in betting-board section */
.lock-box {
    background: rgba(0,0,0,0.8);
    padding: 20px 40px;
    border-radius: 10px;
    text-align: center;
}
.lock-timer {
    font-size: 100px;
    font-weight: 700;
    color: #10b981;
    line-height: 1;
}
.game-area { position: relative; } /* needed for lock overlay positioning */

/* Result Popup Detailed (WinGo Victory Voucher) */
.result-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.result-box {
    width: 85%;
    max-width: 300px;
    border-radius: 28px;
    text-align: center;
    padding: 76px 16px 20px 16px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.result-box.win {
    background: linear-gradient(180deg, #ff8225 0%, #ff5518 55%, #f53810 100%);
    color: white;
}

.result-box.loss {
    background: linear-gradient(180deg, #475569 0%, #334155 100%);
    color: #e2e8f0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

/* Top Floating Header Graphic (3D Wings, Medallion & Ribbon) */
.result-header-graphic {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.win-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
    animation: floatTrophy 3s ease-in-out infinite alternate;
}

.result-box.loss .win-emblem-img {
    filter: grayscale(1) brightness(1.1) drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

@keyframes floatTrophy {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-3px) scale(1.015); }
}

.result-box h2 {
    margin: 0 0 14px 0;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.2px;
}

.result-box.loss h2 {
    color: #f1f5f9;
}

/* Lottery Results Row */
.lottery-results-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 13px;
}

.lr-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 13px;
    margin-right: 2px;
}

.lr-badge {
    background: #ea3829;
    color: white;
    padding: 3px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.lr-badge.num {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.result-box.loss .lr-badge.num {
    background: rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
}

/* Ticket Voucher */
.ticket-dispenser-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
}

.ticket-voucher {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 14px 16px 14px;
    width: 85%;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    text-align: center;
}

.result-box.loss .ticket-voucher {
    background: #ffffff;
}

.ticket-title {
    font-size: 14px;
    font-weight: 700;
    color: #ea3829;
    margin-bottom: 2px;
    text-transform: capitalize;
}

.result-box.loss .ticket-title {
    color: #64748b;
}

.ticket-amount {
    font-size: 32px;
    font-weight: 800;
    color: #ea3829;
    letter-spacing: -0.5px;
    margin: 3px 0 5px 0;
    line-height: 1.15;
}

.result-box.loss .ticket-amount {
    color: #475569;
    font-size: 26px;
}

.ticket-period {
    font-size: 11.5px;
    color: #2dd4bf;
    line-height: 1.4;
    font-weight: 500;
}

.result-box.loss .ticket-period {
    color: #94a3b8;
}

/* Floating 3D Mascot Orb on Ticket */
.ticket-mascot {
    position: absolute;
    bottom: -15px;
    right: -20px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
    transition: transform 0.25s ease;
}

.ticket-mascot:hover {
    transform: scale(1.1) rotate(6deg);
}

.dragon-mascot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Auto Close Row */
.auto-close-row {
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    user-select: none;
    padding: 6px 0 2px 0;
}

.custom-radio-circle {
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s ease;
}

.custom-radio-circle.checked {
    border-color: #ffffff;
}

/* Close Button (Circle Below Card) */
.btn-close-circle {
    background: #000000;
    border: 2px solid #ffffff;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.2s ease;
}

.btn-close-circle:hover {
    transform: scale(1.08);
}
@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* How to play styles */
.how-to-play-row {
    padding: 10px 15px 0;
    text-align: left;
}
.btn-how-to-play {
    background: transparent;
    border: 1px solid #1E90FF;
    color: #1E90FF;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-how-to-play i {
    font-size: 14px;
}
/* Rules Modal */
.rules-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rules-box {
    background: #1e1e2d;
    width: 90%;
    max-width: 350px;
    border-radius: 12px;
    overflow: hidden;
    color: #00e6b8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.rules-header {
    background: #00e6b8;
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}
.rules-body {
    padding: 15px;
    font-size: 12px;
    line-height: 1.5;
    max-height: 60vh;
    overflow-y: auto;
}
.rules-body p {
    margin-bottom: 10px;
}
.rules-footer {
    padding: 15px;
    text-align: center;
    background: #1e1e2d;
}
.btn-close-rules {
    background: #00e6b8;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}


/* Chart Styles */
.chart-header {
    display: flex;
    padding: 10px 15px;
    background: #1e293b;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
    color: #94a3b8;
}
.c-period {
    flex: 0 0 100px;
}
.c-nums {
    flex: 1;
    display: flex;
    justify-content: space-between;
}
.c-nums div {
    width: 20px;
    text-align: center;
}
.chart-row {
    display: flex;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
    align-items: center;
}
.c-row-period {
    flex: 0 0 100px;
}
.c-row-nums {
    flex: 1;
    display: flex;
    justify-content: space-between;
}
.c-num-cell {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #475569;
}
.c-num-cell.is-win {
    color: white;
    font-weight: bold;
    box-shadow: inset -2px -2px 4px rgba(0,0,0,0.3), inset 2px 2px 4px rgba(255,255,255,0.5);
}
.c-num-cell.is-win.red { background: #ff4d4d; }
.c-num-cell.is-win.green { background: #00d2b4; }
.c-num-cell.is-win.red-violet { background: linear-gradient(135deg, #ff4d4d 50%, #b366ff 50%); }
.c-num-cell.is-win.green-violet { background: linear-gradient(135deg, #00d2b4 50%, #b366ff 50%); }

/* My History Styles */
.my-history-item {
    background: #1e293b;
    margin: 10px 15px;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}
.mh-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 5px;
}
.mh-period {
    font-weight: bold;
}
.mh-status.won { color: #00d2b4; font-weight: bold; }
.mh-status.lost { color: #ff4d4d; }
.mh-status.pending { color: #f59e0b; }
.mh-details {
    display: flex;
    justify-content: space-between;
}
.mh-bet-info {
    color: #94a3b8;
}
.mh-win-amount {
    font-weight: bold;
}

/* Pagination Styles */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    margin-top: 10px;
}
.page-btn {
    background: #1e293b;
    border: none;
    color: #00d2b4;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.page-btn.next {
    background: #00d2b4;
    color: #0b1d3d;
}
.page-info {
    color: #94a3b8;
    font-size: 14px;
}


/* Custom Toast Notification */
.custom-toast { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0, 0, 0, 0.85); color: white; padding: 15px 20px; border-radius: 10px; font-size: 14px; text-align: center; z-index: 10005; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 320px; width: max-content; }
.custom-toast span { white-space: normal; word-wrap: break-word; text-align: left; line-height: 1.4; }
.custom-toast.show { opacity: 1; pointer-events: auto; }
.custom-toast i { font-size: 18px; color: #00d2b4; }
.custom-toast.error i { color: #ff4d4d; }

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b1d3d;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 210, 180, 0.25);
    border-radius: 50%;
    border-top-color: #00d2b4;
    animation: spin 1s ease-in-out infinite;
    margin-top: 10px;
}
.preloader-logo {
    height: 48px;
    max-width: 190px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 18px rgba(0, 210, 180, 0.6));
    animation: pulse 1.5s infinite;
}
.preloader-text {
    color: #00d2b4;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    animation: pulse 1.5s infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Custom Webkit Scrollbars for Modals and entire App */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent; 
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 180, 0.4); 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 210, 180, 0.8); 
}

.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.45);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}
@media (min-width: 421px) {
    .whatsapp-float {
        right: calc(50% - 210px + 20px);
    }
}

/* ==========================================================================
   PRO FINANCIAL MODALS (Deposit, PayNow, Withdrawal & Auth)
   ========================================================================== */
.pro-modal-box {
    background: #081329 !important;
    width: 100% !important;
    max-width: 440px !important;
    border-radius: 20px 20px 0 0 !important;
    overflow: hidden !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 210, 180, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: none !important;
    display: flex;
    flex-direction: column;
    max-height: 90vh !important;
}

@media (min-width: 441px) {
    .modal-overlay {
        align-items: center !important;
    }
    .pro-modal-box {
        border-radius: 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
}

.pro-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #0b1f3d 0%, #112a52 100%);
    border-bottom: 1px solid rgba(0, 210, 180, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pro-header.withdraw-header {
    background: linear-gradient(135deg, #240d18 0%, #3a1226 100%);
    border-bottom: 1px solid rgba(239, 68, 68, 0.3);
}
.pro-header.auth-header {
    background: linear-gradient(135deg, #0b1e3e 0%, #163668 100%);
    border-bottom: 1px solid rgba(0, 210, 180, 0.25);
}

.pro-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.pro-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pro-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: rgba(0, 210, 180, 0.15);
    color: #00d2b4;
    border: 1px solid rgba(0, 210, 180, 0.3);
    box-shadow: 0 0 10px rgba(0, 210, 180, 0.2);
}
.withdraw-header .pro-header-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}
.pro-header-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.3px;
}
.pro-header-subtitle {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
    padding-left: 46px;
}
.pro-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pro-pill-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.pro-pill-btn:hover {
    background: rgba(0, 210, 180, 0.2);
    color: #00d2b4;
    border-color: rgba(0, 210, 180, 0.4);
}
.pro-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.pro-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

.pro-body {
    padding: 18px 20px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Balance Bar */
.pro-balance-banner {
    background: linear-gradient(135deg, rgba(14, 34, 68, 0.8) 0%, rgba(9, 23, 48, 0.9) 100%);
    border: 1px solid rgba(0, 210, 180, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.pro-balance-banner-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pro-balance-banner-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.pro-balance-banner-label {
    font-size: 12px;
    color: #94a3b8;
}
.pro-balance-banner-val {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

/* Method Grid */
.pro-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pro-method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.pro-method-card {
    background: #0f2244;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}
.pro-method-card:hover {
    border-color: rgba(0, 210, 180, 0.4);
    background: #122850;
    transform: translateY(-1px);
}
.pro-method-card.active {
    border-color: #00d2b4 !important;
    background: linear-gradient(145deg, #112d59 0%, #0d2346 100%) !important;
    box-shadow: 0 0 16px rgba(0, 210, 180, 0.25), inset 0 0 12px rgba(0, 210, 180, 0.08) !important;
}
.pro-method-card.withdraw-card.active {
    border-color: #ef4444 !important;
    background: linear-gradient(145deg, #321323 0%, #1e0d16 100%) !important;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.25), inset 0 0 12px rgba(239, 68, 68, 0.08) !important;
}
.pro-method-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pro-method-badge {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
}
.pro-method-badge.jazzcash {
    background: linear-gradient(135deg, #eb1a23, #d00);
    color: white;
}
.pro-method-badge.easypaisa {
    background: linear-gradient(135deg, #00b050, #00873d);
    color: white;
}
.pro-method-badge.bank {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}
.pro-method-badge.crypto {
    background: linear-gradient(135deg, #00d2b4, #00a890);
    color: #071228;
}
.pro-method-badge.phonepe {
    background: linear-gradient(135deg, #6739b7, #512da8);
    color: white;
}
.pro-method-badge.paytm {
    background: linear-gradient(135deg, #00baf2, #0082c8);
    color: white;
}
.pro-method-badge.gpay {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
}
.pro-method-badge.upi {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: white;
}
.pro-method-badge.in_bank {
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    color: white;
}
.pro-method-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    transition: all 0.2s ease;
}
.pro-method-card.active .pro-method-check {
    background: #00d2b4;
    border-color: #00d2b4;
    color: #081329;
}
.pro-method-card.withdraw-card.active .pro-method-check {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}
.pro-method-name {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
.pro-method-tag {
    font-size: 11px;
    color: #94a3b8;
}
.pro-method-card.active .pro-method-tag {
    color: #00d2b4;
}
.pro-method-card.withdraw-card.active .pro-method-tag {
    color: #f87171;
}

/* Amount Input Box */
.pro-amount-container {
    background: #0b1a36;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}
.pro-amount-container:focus-within {
    border-color: #00d2b4;
    box-shadow: 0 0 0 3px rgba(0, 210, 180, 0.2);
    background: #0c1e3e;
}
.pro-amount-container.withdraw-input:focus-within {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}
.pro-currency-tag {
    background: rgba(0, 210, 180, 0.15);
    color: #00d2b4;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}
.pro-amount-container.withdraw-input .pro-currency-tag {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}
.pro-amount-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 10px 12px !important;
    width: 100% !important;
}
.pro-amount-input::placeholder {
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
}

/* Quick Chips */
.pro-chips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.pro-chip-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 9px 4px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}
.pro-chip-btn:hover {
    background: rgba(0, 210, 180, 0.15);
    color: #00d2b4;
    border-color: rgba(0, 210, 180, 0.35);
}
.pro-chip-btn.withdraw-chip:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.35);
}

/* Form Inputs */
.pro-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.pro-form-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pro-input-wrap {
    display: flex;
    align-items: center;
    background: #0b1a36;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}
.pro-input-wrap:focus-within {
    border-color: #00d2b4;
    box-shadow: 0 0 0 3px rgba(0, 210, 180, 0.18);
    background: #0c1e3e;
}
.pro-input-wrap.withdraw-focus:focus-within {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}
.pro-input-icon {
    padding: 0 12px;
    color: #64748b;
    font-size: 14px;
}
.pro-text-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    outline: none !important;
    font-family: inherit;
}
.pro-text-input::placeholder {
    color: #64748b;
}

/* PayNow Voucher Card */
.pro-voucher {
    background: linear-gradient(145deg, #0d2246 0%, #08162f 100%);
    border: 1px solid rgba(0, 210, 180, 0.3);
    border-radius: 16px;
    padding: 18px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}
.pro-voucher-amount-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    margin-bottom: 14px;
}
.pro-voucher-amount-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pro-voucher-amount-val {
    font-size: 22px;
    font-weight: 800;
    color: #00d2b4;
}
.pro-voucher-account-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.pro-voucher-account-info {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
    font-weight: 500;
}
.pro-copy-btn {
    background: #00d2b4;
    color: #071228;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 210, 180, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.pro-copy-btn:hover {
    background: #00e8c7;
    transform: scale(1.03);
}

/* ========================================================
   DEPOSIT QR CODE HERO & DOWNLOAD SYSTEM (JazzCash & EasyPaisa)
   ======================================================== */
.pro-qr-hero {
    background: linear-gradient(180deg, rgba(13, 34, 70, 0.75) 0%, rgba(6, 17, 38, 0.95) 100%);
    border: 1px solid rgba(0, 210, 180, 0.25);
    border-radius: 14px;
    padding: 16px 14px;
    margin-bottom: 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.pro-qr-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d2b4, #3b82f6, #10b981);
}

.pro-qr-badge-wrap {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.pro-qr-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    background: rgba(0, 210, 180, 0.15);
    border: 1px solid rgba(0, 210, 180, 0.4);
    color: #00d2b4;
}

.pro-qr-badge.badge-jazzcash {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(245, 158, 11, 0.25));
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ffb703;
}

.pro-qr-badge.badge-easypaisa {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(0, 210, 180, 0.25));
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
}

.pro-qr-badge.badge-crypto {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.25));
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #f59e0b;
}

.pro-qr-badge.badge-phonepe {
    background: linear-gradient(135deg, rgba(103, 57, 183, 0.25), rgba(81, 45, 168, 0.3));
    border: 1px solid rgba(139, 92, 246, 0.5);
    color: #c4b5fd;
}

.pro-qr-badge.badge-paytm {
    background: linear-gradient(135deg, rgba(0, 186, 242, 0.2), rgba(2, 132, 199, 0.25));
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #38bdf8;
}

.pro-qr-badge.badge-gpay {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(26, 115, 232, 0.25));
    border: 1px solid rgba(96, 165, 250, 0.5);
    color: #93c5fd;
}

.pro-qr-badge.badge-upi {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(194, 65, 12, 0.25));
    border: 1px solid rgba(251, 146, 60, 0.5);
    color: #fdba74;
}

/* Auth Country Selector Pills */
.auth-country-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.auth-country-btn {
    background: #0b1a36;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 9px 10px;
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.auth-country-btn:hover {
    border-color: rgba(0, 210, 180, 0.4);
    color: #e2e8f0;
}
.auth-country-btn.active {
    background: linear-gradient(145deg, rgba(0, 210, 180, 0.18), rgba(13, 35, 70, 0.95));
    border-color: #00d2b4;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(0, 210, 180, 0.22);
}

/* White High-Contrast QR Frame with Modern Reticle Corners */
.pro-qr-frame {
    width: 210px;
    height: 210px;
    margin: 0 auto 14px;
    background: #ffffff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Corner Reticle Accents for Scan Experience */
.pro-qr-scan-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: #00d2b4;
    border-style: solid;
    pointer-events: none;
}
.pro-qr-scan-corner.top-left {
    top: -3px;
    left: -3px;
    border-width: 3px 0 0 3px;
    border-top-left-radius: 6px;
}
.pro-qr-scan-corner.top-right {
    top: -3px;
    right: -3px;
    border-width: 3px 3px 0 0;
    border-top-right-radius: 6px;
}
.pro-qr-scan-corner.bottom-left {
    bottom: -3px;
    left: -3px;
    border-width: 0 0 3px 3px;
    border-bottom-left-radius: 6px;
}
.pro-qr-scan-corner.bottom-right {
    bottom: -3px;
    right: -3px;
    border-width: 0 3px 3px 0;
    border-bottom-right-radius: 6px;
}

/* Prominent QR Download Action Button */
.pro-qr-actions {
    margin: 12px 0 14px;
}

.pro-qr-download-btn {
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    padding: 12px 18px;
    background: linear-gradient(135deg, #00d2b4 0%, #00a892 100%);
    color: #061024;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 4px 15px rgba(0, 210, 180, 0.4);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pro-qr-download-btn:hover {
    background: linear-gradient(135deg, #00e8c7 0%, #00bfa7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 180, 0.6);
}

.pro-qr-download-btn:active {
    transform: translateY(0);
}

.pro-qr-download-btn.btn-jazzcash {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}
.pro-qr-download-btn.btn-jazzcash:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

.pro-qr-download-btn.btn-easypaisa {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.pro-qr-download-btn.btn-easypaisa:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* 3-Step Scan Guidance Pills */
.pro-qr-steps-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pro-qr-step-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 11.5px;
    color: #cbd5e1;
    line-height: 1.4;
}

.pro-qr-step-item .step-num {
    background: #00d2b4;
    color: #071228;
    font-weight: 800;
    font-size: 10px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.pro-qr-step-item strong {
    color: #ffffff;
}

/* Manual Transfer Divider & Section */
.pro-manual-transfer-section {
    margin-top: 14px;
}

.pro-manual-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 12px 0 10px;
}

.pro-manual-divider::before,
.pro-manual-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.pro-manual-divider span {
    padding: 0 10px;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Custom Receipt Upload Area */
.pro-upload-dropzone {
    border: 2px dashed rgba(0, 210, 180, 0.4);
    background: rgba(0, 210, 180, 0.03);
    border-radius: 12px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}
.pro-upload-dropzone:hover {
    border-color: #00d2b4;
    background: rgba(0, 210, 180, 0.08);
}
.pro-upload-icon {
    font-size: 28px;
    color: #00d2b4;
}
.pro-upload-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}
.pro-upload-hint {
    font-size: 11px;
    color: #94a3b8;
}
.pro-receipt-preview-box {
    margin-top: 10px;
    display: none;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 210, 180, 0.1);
    border: 1px solid rgba(0, 210, 180, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
}
.pro-receipt-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}
.pro-receipt-name {
    font-size: 12px;
    color: #00d2b4;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

/* Withdrawal Payout Breakdown */
.pro-payout-breakdown {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pro-breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
}
.pro-breakdown-row.total-row {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}
.pro-net-amount {
    color: #00d2b4;
    font-size: 16px;
    font-weight: 800;
}

/* Modal Footer */
.pro-modal-footer {
    padding: 14px 20px 20px;
    display: flex;
    gap: 10px;
    background: #081329;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pro-btn-cancel {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 13px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.pro-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.pro-btn-submit {
    flex: 2;
    background: linear-gradient(135deg, #00d2b4 0%, #00a890 100%);
    color: #071228;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 210, 180, 0.35);
    transition: all 0.2s ease;
}
.pro-btn-submit:hover {
    background: linear-gradient(135deg, #05e6c6 0%, #00baa0 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 210, 180, 0.45);
}
.pro-btn-submit.withdraw-submit {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}
.pro-btn-submit.withdraw-submit:hover {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
}

/* Save credentials & password toggle */
.save-creds-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 10px;
    user-select: none;
}
.save-creds-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
    cursor: pointer;
}
.save-creds-label input[type="checkbox"] {
    accent-color: #00d2b4;
    width: 17px;
    height: 17px;
    cursor: pointer;
}
.pwd-toggle-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 14px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}
.pwd-toggle-btn:hover {
    color: #00d2b4;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION DOCK (App Bar)
   ========================================================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: rgba(8, 17, 38, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 210, 180, 0.22);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 6px calc(6px + var(--safe-bottom));
    z-index: 990;
    height: calc(66px + var(--safe-bottom));
    user-select: none;
}

@media (max-width: 480px) {
    .mobile-bottom-nav {
        max-width: 100%;
        left: 0;
        transform: none;
    }
}

.mobile-bottom-nav .nav-item {
    background: none;
    border: none;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 6px;
    cursor: pointer;
    flex: 1;
    position: relative;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mobile-bottom-nav .nav-item:active {
    transform: scale(0.92);
}

.mobile-bottom-nav .nav-icon-wrap {
    font-size: 20px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-bottom-nav .nav-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.mobile-bottom-nav .nav-item.active {
    color: #00d2b4;
}

.mobile-bottom-nav .nav-item.active .nav-icon-wrap {
    transform: translateY(-2px);
    color: #00d2b4;
    filter: drop-shadow(0 0 8px rgba(0, 210, 180, 0.55));
}

.mobile-bottom-nav .nav-item.active .nav-label {
    color: #00d2b4;
    font-weight: 700;
}

/* Center Floating Highlighted Wallet Tab */
.mobile-bottom-nav .nav-item-wallet {
    position: relative;
    top: -12px;
}

.mobile-bottom-nav .nav-icon-center {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d2b4 0%, #00a890 100%);
    color: #061124;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(0, 210, 180, 0.5), 0 0 0 4px #060B1E;
    transition: all 0.2s ease;
}

.mobile-bottom-nav .nav-item-wallet:active .nav-icon-center {
    transform: scale(0.92);
}

.mobile-bottom-nav .nav-item-wallet .nav-label {
    margin-top: 3px;
    color: #00d2b4;
    font-weight: 700;
}

.mobile-bottom-nav .nav-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
    min-width: 15px;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

/* ==========================================================================
   MOBILE BOTTOM SHEET ENHANCEMENTS
   ========================================================================== */
.sheet-handle {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin: 10px auto 4px auto;
    flex-shrink: 0;
}

@keyframes slideUpSheet {
    from {
        transform: translateY(100%);
        opacity: 0.7;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-overlay {
    animation: fadeInOverlay 0.22s ease-out;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bet-modal, .pro-modal-box, .rules-box {
    animation: slideUpSheet 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Prevent iOS Auto-Zoom on form inputs */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
    font-size: 16px !important;
}

/* WhatsApp Floating Button Positioned above Bottom Dock */
.whatsapp-float {
    position: fixed;
    bottom: calc(76px + var(--safe-bottom));
    right: calc(50% - 215px + 16px);
    width: 48px;
    height: 48px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
    z-index: 980;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    animation: whatsappPulse 3s infinite;
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 16px;
        bottom: calc(76px + var(--safe-bottom));
    }
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45); }
    50% { transform: scale(1.08); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.65); }
}

/* Header Refresh Button Rotation */
.rotating {
    animation: spinRotate 0.7s linear infinite;
}

@keyframes spinRotate {
    100% { transform: rotate(360deg); }
}

/* Extra small devices (<= 360px) responsive refinements */
@media (max-width: 360px) {
    .game-tabs .tab span {
        font-size: 10px;
    }
    .card-balance-amount {
        font-size: 26px;
    }
    .ticket-left {
        padding: 10px 6px;
    }
    .ticket-right {
        padding: 10px 6px;
    }
    .number-grid {
        gap: 6px;
    }
    .qa-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

/* ========================================================
   INVITE FRIEND & GET 288 Rs PROMOTIONAL BANNER POPUP
   ======================================================== */
.promo-banner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 8, 24, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10005;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-banner-overlay.show {
    opacity: 1;
}

.promo-banner-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: linear-gradient(165deg, #0e1e3e 0%, #071329 55%, #0a1b38 100%);
    border: 2px solid rgba(255, 183, 3, 0.7);
    border-radius: 22px;
    padding: 0;
    box-shadow: 0 0 50px rgba(255, 183, 3, 0.35), 0 20px 50px rgba(0, 0, 0, 0.9);
    text-align: center;
    overflow: hidden;
    transform: scale(0.82) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-banner-overlay.show .promo-banner-card {
    transform: scale(1) translateY(0);
}

/* Card Top Corner Close */
.promo-card-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.promo-card-close:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Promo Banner Image Container */
.promo-banner-img-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
    cursor: pointer;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: #000;
}

.promo-banner-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-banner-img-wrap:active .promo-banner-main-img {
    transform: scale(0.98);
}

.promo-banner-body {
    padding: 14px 16px 14px 16px;
}

/* Homepage In-Feed Promotional Banner */
.home-promo-banner {
    margin: 12px 14px 14px 14px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    border: 1.5px solid rgba(255, 183, 3, 0.45);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-promo-banner:active {
    transform: scale(0.98);
}

.home-promo-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Top Event Ribbon */
.promo-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(255, 65, 108, 0.45);
    margin-bottom: 8px;
}

/* Artwork Wrap */
.promo-artwork-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 10px auto;
    width: 110px;
    height: 100px;
}

.promo-glow-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(255, 183, 3, 0.45) 0%, rgba(255, 183, 3, 0) 70%);
    border-radius: 50%;
    animation: promoGlowPulse 2.5s ease-in-out infinite alternate;
}

@keyframes promoGlowPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; }
}

.promo-trophy-img {
    position: relative;
    max-height: 85px;
    max-width: 95px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(255, 183, 3, 0.55));
    animation: promoFloat 3s ease-in-out infinite;
}

@keyframes promoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.promo-floating-coin {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #071329;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

.promo-floating-coin.coin-1 {
    top: 5px;
    left: -8px;
    animation: promoFloat 2.6s ease-in-out infinite 0.4s;
}

.promo-floating-coin.coin-2 {
    bottom: 8px;
    right: -8px;
    animation: promoFloat 3.2s ease-in-out infinite 0.8s;
}

/* Headings */
.promo-headings {
    margin-bottom: 12px;
}

.promo-subtext {
    font-size: 11px;
    font-weight: 700;
    color: #00d2b4;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.promo-title {
    font-size: 21px;
    font-weight: 950;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
    text-transform: uppercase;
}

.promo-gold-amount {
    background: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 26px;
    font-weight: 950;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(255, 183, 3, 0.4));
}

.promo-badge-tag {
    display: inline-block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

/* Perks List */
.promo-perks-box {
    background: rgba(11, 29, 61, 0.7);
    border: 1px solid rgba(0, 210, 180, 0.2);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.promo-perk-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.promo-perk-item .perk-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(0, 210, 180, 0.15);
    color: #00d2b4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 1px;
}

.promo-perk-item.highlight-perk .perk-icon {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.25), rgba(255, 140, 0, 0.25));
    color: #ffb703;
}

.promo-perk-item .perk-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promo-perk-item .perk-text strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.promo-perk-item .perk-text span {
    color: #94a3b8;
    font-size: 10.5px;
    line-height: 1.3;
}

/* Activity Ticker */
.promo-activity-ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    padding: 5px 12px;
    margin-bottom: 14px;
    font-size: 11px;
    color: #00d2b4;
}

.promo-activity-ticker i {
    color: #ffb703;
    font-size: 11px;
}

#promoTickerText {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #e2e8f0;
    font-weight: 500;
}

/* Action CTA Button */
.promo-action-wrap {
    margin-bottom: 10px;
}

.promo-invite-btn {
    width: 100%;
    padding: 13px 18px;
    background: linear-gradient(135deg, #ffb703 0%, #ff8c00 100%);
    color: #071329;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.42);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.promo-invite-btn:active {
    transform: scale(0.97);
    box-shadow: 0 3px 10px rgba(255, 183, 3, 0.3);
}

/* Don't show today */
.promo-footer-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-dont-show-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
}

.promo-dont-show-label input[type="checkbox"] {
    accent-color: #00d2b4;
    cursor: pointer;
}

/* Big Circle Close Button Below Card */
.promo-bottom-close-btn {
    margin-top: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(10, 20, 45, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.promo-bottom-close-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

/* ========================================================
   PWA INSTALL MODAL SHEET
   ======================================================== */
.pwa-badge-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(11, 29, 61, 0.75);
    border: 1px solid rgba(0, 210, 180, 0.25);
    border-radius: 16px;
    padding: 14px 16px;
    text-align: left;
}

.pwa-app-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.pwa-app-details {
    flex: 1;
}

.pwa-app-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
}

.pwa-app-ver {
    color: #00d2b4;
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}

.pwa-app-rating {
    color: #ffd700;
    font-size: 10px;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.pwa-app-rating span {
    color: #94a3b8;
    margin-left: 4px;
}

.pwa-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.pwa-feature-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pwa-feature-item i {
    font-size: 18px;
}

.pwa-feature-item span {
    font-size: 10.5px;
    color: #cbd5e1;
    font-weight: 600;
}

.pwa-modal-install-btn {
    background: linear-gradient(135deg, #00d2b4 0%, #00a892 100%);
    color: #071329;
    border: none;
    border-radius: 25px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 210, 180, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s ease;
}

.pwa-modal-install-btn:active {
    transform: scale(0.97);
}

/* ========================================================
   HOME PAGE 4 WINGO GAME LOBBY OPTIONS & DEDICATED GAME VIEW
   ======================================================== */
.header-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 210, 180, 0.14);
    border: 1px solid rgba(0, 210, 180, 0.35);
    color: #00d2b4;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-back-btn:active {
    transform: scale(0.94);
    background: rgba(0, 210, 180, 0.25);
}

.home-game-lobby {
    margin: 6px 14px 18px;
}

.lobby-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.lobby-title-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lobby-title-accent {
    width: 4px;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(180deg, #00d2b4 0%, #3b82f6 100%);
    box-shadow: 0 0 8px rgba(0, 210, 180, 0.6);
}

.lobby-title-left h2 {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.lobby-subtitle-pill {
    font-size: 11px;
    font-weight: 600;
    color: #00d2b4;
    background: rgba(0, 210, 180, 0.12);
    border: 1px solid rgba(0, 210, 180, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
}

.lobby-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.lobby-game-card {
    position: relative;
    background: linear-gradient(155deg, #10244a 0%, #09152e 65%, #0c1f42 100%);
    border: 1px solid rgba(0, 210, 180, 0.25);
    border-radius: 18px;
    padding: 16px 13px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 11px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lobby-game-card::before {
    content: '';
    position: absolute;
    top: -35px;
    right: -35px;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 180, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.lobby-game-card.card-30s {
    border-color: rgba(16, 185, 129, 0.35);
}
.lobby-game-card.card-1min {
    border-color: rgba(59, 130, 246, 0.35);
}
.lobby-game-card.card-3min {
    border-color: rgba(139, 92, 246, 0.35);
}
.lobby-game-card.card-5min {
    border-color: rgba(245, 158, 11, 0.38);
}

.lobby-game-card:hover,
.lobby-game-card:active {
    transform: translateY(-3px);
    border-color: #00d2b4;
    box-shadow: 0 12px 26px rgba(0, 210, 180, 0.22);
}

.lobby-card-badge {
    align-self: flex-start;
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

.lobby-card-badge.hot {
    background: rgba(239, 68, 68, 0.18);
    color: #ff6b6b;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.lobby-card-badge.popular {
    background: rgba(59, 130, 246, 0.18);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.lobby-card-badge.pro {
    background: rgba(139, 92, 246, 0.18);
    color: #c084fc;
    border: 1px solid rgba(139, 92, 246, 0.35);
}

.lobby-card-badge.vip {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.lobby-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}

.lobby-clock-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lobby-clock-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 210, 180, 0.3));
}

.lobby-time-tag {
    position: absolute;
    bottom: -3px;
    right: -5px;
    background: linear-gradient(135deg, #00d2b4 0%, #009e86 100%);
    color: #061124;
    font-size: 9.5px;
    font-weight: 900;
    padding: 1.5px 5px;
    border-radius: 6px;
    border: 1.5px solid #09152e;
}

.lobby-mini-balls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.m-ball {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.35), 0 2px 5px rgba(0,0,0,0.3);
}

.m-ball.green { background: linear-gradient(135deg, #34d399, #059669); }
.m-ball.red { background: linear-gradient(135deg, #f87171, #dc2626); }
.m-ball.violet { background: linear-gradient(135deg, #a78bfa, #7c3aed); }

.lobby-card-info h3 {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.lobby-card-info p {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.3;
}

.lobby-play-btn {
    width: 100%;
    background: linear-gradient(135deg, #00d2b4 0%, #00a890 100%);
    color: #061124;
    border: none;
    border-radius: 11px;
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 210, 180, 0.3);
    transition: transform 0.15s ease;
}

.lobby-play-btn i {
    font-size: 10px;
}

/* ========================================================
   WHEN GAME VIEW IS OPEN (body.in-game-view)
   Show ONLY: Balance, Game, and Results!
   Hide: Navigation Bar, Lobby Cards, Profile Header, Quick Grid, Marquee, Footer
   ======================================================== */
body.in-game-view .home-game-lobby,
body.in-game-view .quick-action-grid,
body.in-game-view .announcement,
body.in-game-view .footer-disclaimer,
body.in-game-view .mobile-bottom-nav,
body.in-game-view #mobileBottomNav,
body.in-game-view .whatsapp-float,
body.in-game-view .home-only-btn,
body.in-game-view .mobile-vip-card .card-top-row,
body.in-game-view .mobile-vip-card .card-commission-bar {
    display: none !important;
}

body.in-game-view .game-only-btn {
    display: inline-flex !important;
}

body.in-game-view #gameViewSection {
    display: block !important;
}

body.in-game-view .app-container {
    padding-bottom: 24px !important;
}

body.in-game-view .mobile-vip-card {
    margin: 10px 14px 12px;
    padding: 14px 16px;
}

body.in-game-view .mobile-vip-card .card-balance-section {
    padding: 0 0 8px 0;
}



