/* ==========================================================================
   DECCAN CLUB - MASTER CONSOLIDATED STYLESHEET
   ========================================================================== */

/* ==========================================================================
   1. UNIVERSAL STYLES (GLOBAL VARIABLES & CORE BASE)
   ========================================================================== */
:root {
    --bg-dark: #050608;
    --bg-main: #06070a;
    --bg-card: #0d0f17;
    --bg-card-dark: #12141d;
    --card-bg: #12131a;
    --card-border: #232736;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(255, 215, 0, 0.35);
    --gold-border: rgba(255, 215, 0, 0.3);
    --gold-glow: rgba(255, 215, 0, 0.35);
    --dot-color: rgba(255, 215, 0, 0.15);
    
    --gold-primary: #ffd700;
    --gold-accent: #f5d670;
    --accent-gold: #c79518;
    --gold-gradient: linear-gradient(135deg, #f5d670 0%, #c79518 100%);
    --gold-grad: linear-gradient(180deg, #ffe899 0%, #f1b31c 100%);
    --gold-btn: linear-gradient(180deg, #f0c341 0%, #c79518 100%);
    
    --deposit-orange: #f39c12;
    --withdraw-green: #2ecc71;
    --red-accent: #ff5252;
    --green-accent: #22c55e;
    --color-deposit: #2ed573;
    --color-withdraw: #ff4747;
    --color-bonus: #ffd700;
    --color-cancelled: #88888b;
    --color-pending: #f97316;
    
    --text-muted: #8e95a5;
    --input-bg: #0e111a;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --header-bg: rgba(5, 6, 8, 0.98);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body, html {
    background-color: var(--bg-main);
    color: #ffffff;
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

#authLoader {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(6, 7, 10, 0.9); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.growth-loader-frame {
    position: relative;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.growth-radar-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3.5px solid rgba(245, 214, 112, 0.08);
    border-top: 3.5px solid #f5d670;
    border-bottom: 3.5px solid #c79518;
    border-radius: 50%;
    animation: radarSpin 1.1s linear infinite;
}

.growth-rocket-center {
    font-size: 28px;
    color: #f5d670;
    filter: drop-shadow(0 0 10px rgba(199, 149, 24, 0.6));
    animation: rocketPulse 1.4s ease-in-out infinite;
}

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

@keyframes rocketPulse {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.95; }
    50% { transform: scale(1.1) translateY(-3px); opacity: 1; }
}

.loading-text {
    color: #f5d670;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 20px;
    text-align: center;
    line-height: 1.5;
    max-width: 260px;
}


/* ==========================================================================
   2. INDEX PAGE & HOME DASHBOARD
   ========================================================================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #090a0f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-btn {
    background: #181a26;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gold-primary);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
}

.menu-btn:active {
    transform: scale(0.92);
    background: #202334;
}

.header-title {
    font-size: 18px;
    font-weight: 900;
    color: #e6c660;
    letter-spacing: 0.5px;
    margin: 0;
}

.wallet-pill {
    background: #181a26;
    border: 1px solid var(--border-gold);
    padding: 6px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.main-wrapper {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.fixed-home-area {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-main);
    z-index: 900;
    padding: 14px 12px 10px 12px;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
}

.home-banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border-gold);
    margin-bottom: 12px;
    background: #14151f;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.banner-slides {
    display: flex;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.banner-slide {
    min-width: 100%;
}

.banner-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 6;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.banner-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.banner-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: all 0.25s ease;
}

.banner-dot.active {
    background: var(--gold-primary);
    width: 16px;
    border-radius: 10px;
}

.financial-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
    width: 100%;
}

.dw-card {
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dw-card:active {
    transform: scale(0.96);
    opacity: 0.9;
}

.deposit-card {
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    color: #ffffff;
}

.withdraw-card {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #ffffff;
}

.dw-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.dw-details {
    display: flex;
    flex-direction: column;
}

.dw-title {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.dw-sub {
    font-size: 10px;
    opacity: 0.85;
    font-weight: 600;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
}

.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 10px 4px;
    min-height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease;
}

.action-card:active {
    transform: scale(0.94);
    background: var(--bg-card-dark);
}

.action-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.05);
}

.spin-card .action-icon-wrapper {
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.lottery-card .action-icon-wrapper {
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.chat-card .action-icon-wrapper {
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.telegram-card .action-icon-wrapper {
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.action-content h3 {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

.market-list {
    padding: 12px 12px 110px 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    height: calc(100vh - 65px - 68px - var(--home-area-height, 365px));
    margin-top: var(--home-area-height, 365px);
}

.market-card {
    background: #11131c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.market-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.market-title {
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

.market-status-pill {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.status-open {
    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.35);
}

.status-closed {
    background: rgba(231, 76, 60, 0.12);
    color: #ff5252;
    border: 1px solid rgba(231, 76, 60, 0.35);
}

.market-mid-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.market-result-box {
    background: #090a10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.result-number {
    font-size: 16px;
    font-weight: 900;
    color: var(--gold-primary);
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.market-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.chart-btn {
    background: #181b28;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--gold-primary);
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.15s ease;
}

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

.play-btn {
    background: var(--gold-gradient);
    border: none;
    color: #000000;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    transition: transform 0.15s ease, opacity 0.2s ease;
}

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

.play-btn.disabled {
    background: #252836;
    color: #6c7283;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
}

.market-footer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #090a10;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.floating-refresh-btn {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #000000;
    border: 1px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.floating-refresh-btn:active {
    transform: scale(0.9);
}

.floating-refresh-btn i.spinning {
    animation: spinRotate 0.8s linear infinite;
}

.push-notification-popup {
    background: rgba(18, 20, 31, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1.5px solid rgba(245, 214, 112, 0.4) !important;
    border-radius: 20px !important;
    padding: 18px !important;
    box-shadow: 0px 16px 40px rgba(0, 0, 0, 0.85), 0px 0px 25px rgba(199, 149, 24, 0.2) !important;
    width: 330px !important;
    max-width: 92% !important;
}


/* ==========================================================================
   3. PASSBOOK PAGE (TRANSACTIONS & TIMELINE)
   ========================================================================== */
.stats-card-premium {
    position: fixed !important;
    top: 65px !important;
    left: 50% !important;
    transform: translateX(-50%) translate3d(0, 0, 0) !important;
    -webkit-transform: translateX(-50%) translate3d(0, 0, 0) !important;
    z-index: 99999 !important;
    background-color: var(--bg-dark, #050608) !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    max-width: 600px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    touch-action: none !important;
}

.stat-box-modern {
    background: #111218;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 4px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    transition: all 0.2s ease;
}

.stat-box-modern.active-filter {
    border: 1px solid var(--accent-gold, #c79518);
    background: linear-gradient(180deg, rgba(199, 149, 24, 0.15) 0%, #111218 100%);
    box-shadow: 0 0 10px rgba(199, 149, 24, 0.25);
}

.stat-val-text {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

#tabAll .stat-val-text { color: #ffe899; }
#tabDeposit .stat-val-text { color: var(--color-deposit, #2ed573); }
#tabWithdraw .stat-val-text { color: var(--color-withdraw, #ff4747); }

.stat-lbl-text {
    font-size: 9px;
    font-weight: 700;
    color: #86868b;
    text-transform: uppercase;
    margin-top: 3px;
    letter-spacing: 0.5px;
}

.history-container {
    position: relative !important;
    z-index: 1 !important;
    padding: 16px 16px 120px 48px !important;
    margin: 0 auto !important;
    max-width: 600px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Timeline Vertical Line */
.history-container::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 120px;
    left: 24px;
    width: 2px;
    background: linear-gradient(180deg, #c79518 0%, rgba(199, 149, 24, 0.1) 100%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    z-index: 2;
    width: 100%;
}

/* Timeline Dots */
.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    left: -29px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    box-shadow: 0 0 8px currentColor;
    flex-shrink: 0;
}

.dot-deposit { background-color: #22c55e; color: #22c55e; }
.dot-withdraw { background-color: #ef4444; color: #ef4444; }
.dot-bonus { background-color: #ffd700; color: #ffd700; }
.dot-pending { background-color: #f97316; color: #f97316; }
.dot-cancelled { background-color: #7d8292 !important; color: #7d8292 !important; box-shadow: 0 0 6px #7d8292 !important; }

/* Image Style Cards */
.tx-card-modern {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #11131e;
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
    min-width: 0;
}

.tx-left-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.tx-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tx-title-text {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.tx-desc-text {
    font-size: 11px;
    color: #8e95a5;
    font-weight: 500;
}

/* 🕒 CLOCK ICON & ORANGE/GOLD DATE HIGHLIGHTING */
.tx-time-stamp {
    font-size: 11px;
    color: #f59e0b !important;
    font-weight: 700 !important;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tx-time-stamp i {
    color: #ffd700 !important;
    font-size: 11.5px;
}

.tx-right-block {
    font-size: 16px;
    font-weight: 900;
    text-align: right;
    white-space: nowrap;
    margin-left: 10px;
}

/* 🎯 BADGES & PILLS STYLING */
.tx-badge-pill {
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-block;
}

.status-success { 
    background: rgba(34, 197, 94, 0.15) !important; 
    color: #22c55e !important; 
    border: 1px solid rgba(34, 197, 94, 0.35) !important; 
}

.status-cashback, .status-bonus { 
    background: rgba(255, 215, 0, 0.15) !important; 
    color: #ffd700 !important; 
    border: 1px solid rgba(255, 215, 0, 0.35) !important; 
}

.status-pending { 
    background: rgba(249, 115, 22, 0.15) !important; 
    color: #f97316 !important; 
    border: 1px solid rgba(249, 115, 22, 0.35) !important; 
}

.status-cancelled_by_user, .status-cancelled, .status-rejected { 
    background: rgba(239, 68, 68, 0.15) !important; 
    color: #ef4444 !important; 
    border: 1px solid rgba(239, 68, 68, 0.35) !important; 
}


/* 🚫 CANCELLED INDICATOR PILL (Red Pill) */
.cancelled-badge-pill, .cancelled-indicator-pill, [class*="cancelled-badge"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #ef4444 !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    margin-top: 4px !important;
    width: fit-content !important;
}

.cancelled-badge-pill *, .cancelled-indicator-pill *, [class*="cancelled-badge"] * {
    color: #ef4444 !important;
    font-size: 10px !important;
}

/* Cancel Button */
.btn-cancel-withdraw {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #ef4444;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 5px;
    width: fit-content;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-cancel-withdraw:active {
    background: rgba(239, 68, 68, 0.25);
}

/* Amount Colors & Cancelled Line-through */
.amt-deposit { color: #22c55e !important; }
.amt-withdraw { color: #ef4444 !important; }
.amt-bonus, .amt-cashback { color: #ffd700 !important; }
.amt-pending { color: #f97316 !important; }
.amt-cancelled, .tx-card-modern:has(.status-cancelled_by_user) .tx-right-block, .tx-card-modern:has(.status-cancelled) .tx-right-block { 
    color: #838896 !important; 
    text-decoration: line-through !important; 
    opacity: 0.85;
}

/* 🌟 POPUP CONFIRMATION MODAL */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 20px;
    box-sizing: border-box;
}

.custom-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.custom-modal-box {
    background: linear-gradient(145deg, #181a26 0%, #0d0e17 100%) !important;
    border: 1.5px solid rgba(255, 215, 0, 0.4) !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 215, 0, 0.15) !important;
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-modal-overlay.active .custom-modal-box {
    transform: scale(1);
}

.custom-modal-icon {
    font-size: 38px;
    color: #f97316;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 8px rgba(249, 115, 22, 0.4));
}

.custom-modal-title {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.custom-modal-msg {
    font-size: 12.5px;
    color: #9a9ea8;
    line-height: 1.5;
    margin-bottom: 22px;
    font-weight: 600;
}

.custom-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.custom-modal-btn {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.custom-modal-btn:active {
    transform: scale(0.96);
}

.btn-modal-cancel {
    background: #252836 !important;
    color: #b0b5c5 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.btn-modal-confirm {
    background: linear-gradient(135deg, #f5d670 0%, #c79518 100%) !important;
    color: #000000 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
}

/* 🎁 BONUS TAG PILL (IMAGE 2 MATCHING STYLE) */
.bonus-tag-pill, [class*="bonus-pill"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: rgba(180, 83, 9, 0.25) !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
    color: #f59e0b !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 10px !important;
    border-radius: 8px !important;
    margin-top: 4px !important;
    width: fit-content !important;
}

.bonus-tag-pill i, [class*="bonus-pill"] i {
    color: #ffd700 !important;
    font-size: 11px !important;
}

/* 🔘 LOAD MORE BUTTON STYLING FOR PASSBOOK */
.load-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 30px 0;
    width: 100%;
}

.btn-load-more-passbook {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(10, 11, 16, 0.9) 100%);
    border: 1.5px solid #ffd700;
    color: #ffd700;
    font-size: 13px;
    font-weight: 800;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    outline: none;
}

.btn-load-more-passbook:active {
    transform: scale(0.95);
    background: rgba(255, 215, 0, 0.22);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.btn-load-more-passbook i.spinning {
    animation: spinRotate 0.8s linear infinite;
}

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


    

/* ==========================================================================
   4. PROFILE PAGE (PROFILE & REFERRAL NETWORK)
   ========================================================================== */
.content-wrapper {
    padding: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.profile-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #12131a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 2px solid var(--gold-border);
    box-shadow: 0 4px 15px var(--gold-glow);
}

.avatar-container i {
    font-size: 36px;
    color: var(--gold-primary);
}

.profile-name {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.card-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.info-card {
    background: #12131a;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #08090c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 14px;
}

.info-details {
    flex: 1;
}

.info-label {
    font-size: 10px;
    color: #86868b;
    font-weight: 700;
    text-transform: uppercase;
}

.info-val {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.refer-desc {
    font-size: 11px;
    color: #86868b;
    margin-bottom: 12px;
}

.refer-card {
    background: rgba(199, 149, 24, 0.08);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: inset 0 0 15px rgba(199, 149, 24, 0.05);
}

.refer-subtitle {
    font-size: 11px;
    color: #86868b;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.refer-code-val {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--gold-primary);
}

.btn-copy-gold {
    background: var(--gold-grad);
    color: #000000;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.25);
    transition: transform 0.2s;
}

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

.share-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-share-social {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    transition: transform 0.2s;
}

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

.btn-share-social.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-share-social.telegram {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.compact-earnings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.stat-card-compact {
    background: #12131a;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gold-glow);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.stat-meta {
    display: flex;
    flex-direction: column;
}

.stat-meta .val {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.stat-meta .lbl {
    font-size: 9.5px;
    font-weight: 700;
    color: #86868b;
    text-transform: uppercase;
}

.strip-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.strip-node {
    background: #12131a;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 8px;
    padding: 8px 4px;
    text-align: center;
}

.strip-node .num {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
}

.strip-node .lbl {
    font-size: 9px;
    font-weight: 700;
    color: #86868b;
    text-transform: uppercase;
    margin-top: 2px;
}

.rule-banner-compact {
    background: #12131a;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 20px;
}

.rule-banner-compact span strong {
    color: var(--gold-primary);
}

.history-tabs-nav {
    display: flex;
    background: #12131a;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.tab-trigger {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #86868b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-trigger.active {
    background: #1b1c26;
    color: var(--gold-primary);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.pane-view { display: none; }
.pane-view.active { display: block; }

.table-scroll-shield {
    background: #12131a;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    overflow-x: auto;
}

.ref-master-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}

.ref-master-table th {
    padding: 10px;
    font-weight: 800;
    color: #86868b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    font-size: 10px;
    text-transform: uppercase;
}

.ref-master-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    font-weight: 600;
    color: #ffffff;
}

.empty-table-msg {
    text-align: center;
    color: #86868b;
    padding: 15px;
}

.badge-status-pill {
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-status-pill.active { background: rgba(34, 197, 94, 0.15); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.2); }
.badge-status-pill.pending { background: rgba(249, 115, 22, 0.15); color: #f97316; border: 1px solid rgba(249, 115, 22, 0.2); }

.text-green { color: #22c55e !important; }
.text-orange { color: #f97316 !important; }
.text-muted { color: #86868b !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

.toast-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #181a24;
    color: #ffffff;
    border: 1px solid var(--gold-border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}


/* ==========================================================================
   5. CASHBACK PAGE (CASHBACK HUB & MILESTONES)
   ========================================================================== */
.cb-page-container {
    padding: 14px 14px 100px;
    box-sizing: border-box;
    max-width: 600px;
    margin: 0 auto;
}

.cb-hero-card {
    background: linear-gradient(135deg, #1d1d28 0%, #101017 100%);
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.cb-hero-icon {
    font-size: 32px;
    color: #ffd54f;
    margin-bottom: 4px;
}

.cb-hero-title {
    font-size: 20px;
    font-weight: 900;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    margin: 0;
}

.cb-hero-subtitle {
    font-size: 11px;
    color: #8fa0c1;
    margin: 4px 0 14px 0;
    font-weight: 500;
}

.cb-pool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.cb-pool-box {
    background: rgba(255,255,255,0.02);
    padding: 12px 6px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.04);
}

.cb-pool-box .amount {
    font-size: 24px;
    font-weight: 900;
}

.cb-pool-label {
    font-size: 9px;
    font-weight: 700;
    color: #8fa0c1;
    text-transform: uppercase;
    margin-top: 2px;
}

.cb-lifetime-box {
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.cb-lifetime-label {
    font-size: 11px;
    color: #8fa0c1;
    font-weight: 600;
    text-transform: uppercase;
}

.cb-lifetime-val {
    color: #22c55e;
    font-weight: 800;
    font-size: 14px;
}

.cb-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cb-action-btn {
    background: rgba(255,255,255,0.03);
    color: #4b5563;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cb-card-box {
    background: #15151f;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 16px;
    box-sizing: border-box;
    margin-bottom: 16px;
}

.cb-card-title {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cb-card-desc {
    font-size: 11px;
    color: #8fa0c1;
    margin: 0 0 14px 0;
    font-weight: 500;
    line-height: 1.4;
}

.cb-input-wrapper {
    margin-bottom: 14px;
}

.cb-code-input {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px;
    box-sizing: border-box;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    outline: none;
    transition: border 0.2s ease;
}

.cb-code-input:focus {
    border-color: #3b82f6;
}

.cb-claim-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    border: none;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.1s ease;
}

.cb-claim-btn:active {
    transform: scale(0.98);
}

.cb-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.cb-stat-box {
    background: #15151f;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 12px 6px;
    text-align: center;
}

.cb-stat-val {
    font-size: 18px;
    font-weight: 900;
    margin: 0;
}

.cb-stat-label {
    font-size: 9px;
    font-weight: 800;
    color: #8fa0c1;
    text-transform: uppercase;
    margin: 4px 0 0 0;
}

.cb-matrix-list {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cb-matrix-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 6px;
}

.cb-matrix-row.no-border {
    border-bottom: none;
    padding-bottom: 2px;
}

.cb-matrix-label {
    color: #8fa0c1;
}

.cb-matrix-val {
    color: #ffffff;
    font-weight: 700;
}

.cb-text-blue { color: #3b82f6; }
.cb-text-green { color: #22c55e; }
.cb-text-red { color: #e11d48; }
.cb-text-yellow { color: #eab308; }
.cb-icon-blue { color: #3b82f6; margin-right: 6px; }
.cb-icon-gold { color: #ffd54f; margin-right: 6px; }


/* ==========================================================================
   6. CHANGE PASSWORD PAGE
   ========================================================================== */
body.cp-page-scope {
    background-color: var(--bg-dark, #050608) !important;
    padding-top: 85px !important;
    padding-bottom: 30px !important;
    min-height: 100vh;
}

body.cp-page-scope .dc-master-header.cp-custom-header {
    justify-content: flex-start !important;
    gap: 16px !important;
    padding: 0 16px !important;
}

body.cp-page-scope .page-container {
    padding: 10px 16px 40px 16px;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
}

body.cp-page-scope .card.cp-card {
    background: #12131a;
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 215, 0, 0.2);
}

body.cp-page-scope .card.cp-card h2 {
    font-size: 17px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.2);
    padding-bottom: 12px;
}

body.cp-page-scope .input-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.cp-page-scope .input-group label {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

body.cp-page-scope .input-group input {
    width: 100%;
    height: 50px;
    background: #08090c;
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 12px;
    padding: 0 16px;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

body.cp-page-scope .input-group input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
    background: #0c0e14;
}

body.cp-page-scope .input-group input::placeholder {
    color: #4a4d5d;
}

body.cp-page-scope .change-btn {
    width: 100%;
    height: 52px;
    margin-top: 10px;
    background: var(--gold-grad);
    border: none;
    border-radius: 14px;
    color: #000000;
    font-size: 15px;
    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, 215, 0, 0.35);
    transition: all 0.2s ease;
}

body.cp-page-scope .change-btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

body.cp-page-scope .change-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/* ==========================================================================
   7. SPIN WHEEL PAGE
   ========================================================================== */
body.spin-page-scope {
    background-color: var(--bg-dark) !important;
    color: #f8fafc;
}

.spin-main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 15px;
    gap: 15px;
    padding-bottom: 50px;
    max-width: 600px;
    margin: 0 auto;
}

.chances-card {
    background: linear-gradient(135deg, #12131a, #08090c);
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    width: 100%;
    box-sizing: border-box;
}

.chances-card p {
    margin: 0;
    font-size: 12px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.chances-card h3 {
    margin: 4px 0 0 0;
    font-size: 22px;
    color: #f8fafc;
    font-weight: 800;
}

.chances-count {
    color: var(--gold-primary);
    font-size: 26px;
    font-weight: 900;
}

.wheel-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-pointer {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 26px solid var(--gold-primary);
    z-index: 30;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
}

.wheel-frame {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffe899, #ffd700, #c79518, #ffe899);
    border: 5px solid #8e6203;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.25), inset 0 0 15px rgba(0, 0, 0, 0.8);
    position: relative;
    padding: 14px;
    box-sizing: border-box;
}

.wheel-frame::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 8px dotted #ffffff;
    box-shadow: 0 0 10px #ffffff, inset 0 0 10px #ffffff;
    z-index: 5;
    pointer-events: none;
}

#wheelCanvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    transition: transform 4.5s cubic-bezier(0.15, 0.85, 0.15, 1);
}

.wheel-center-cap {
    position: absolute;
    width: 42px;
    height: 42px;
    background: radial-gradient(circle, #ffe899 0%, #c79518 100%);
    border: 3px solid #ffffff;
    border-radius: 50%;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 16px;
}

.spin-action-btn {
    background: var(--gold-grad);
    color: #000000;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 900;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.2s ease;
    width: 100%;
    max-width: 320px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.spin-action-btn:active {
    transform: scale(0.97);
}

.spin-action-btn:disabled {
    background: #1e202d;
    color: #4a4d5d;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.info-guide-card {
    background: #12131a;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 14px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
}

.info-guide-card h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-guide-list li {
    font-size: 12.5px;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.info-guide-list li i {
    color: var(--gold-primary);
    margin-top: 3px;
}

.reward-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

.reward-modal.active {
    display: flex;
}

.modal-card {
    background: #12131a;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    max-width: 320px;
    width: 100%;
    border: 1px solid var(--gold-border);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.95), 0 0 20px rgba(255, 215, 0, 0.15);
    animation: modalPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-icon {
    font-size: 48px;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.modal-title {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-text {
    color: #86868b;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.modal-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gold-grad);
    color: #000000;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
    width: 100%;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.modal-close-btn {
    background: #27272a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
}


/* ==========================================================================
   8. WALLET CENTER PAGE (DEPOSIT & WITHDRAW)
   ========================================================================== */
.wallet-main-wrapper {
    width: 100%;
    max-width: 550px;
    margin: 0 auto !important;
    padding: 0px 14px 12px 14px !important;
    box-sizing: border-box;
}

.app-page { display: none; }
.app-page.active-page { 
    display: block; 
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.wc-card-section, 
.withdraw-content-card {
    background: #10131d;
    border: 1px solid #1a1e2d;
    border-radius: 20px;
    padding: 18px 16px;
    margin-top: 0 !important;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.wc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.wc-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.wc-badge-min {
    background: rgba(199, 149, 24, 0.12);
    border: 1px solid rgba(199, 149, 24, 0.3);
    color: var(--gold-primary);
    font-size: 10px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.deposit-input-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 16px !important;
}

.amount-input, 
.custom-input-field {
    width: 100% !important;
    background: var(--input-bg) !important;
    border: 1.5px solid #282d3f !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4) !important;
}

.amount-input {
    padding-right: 135px !important;
}

.amount-input:focus, 
.custom-input-field:focus {
    border-color: #f0c341 !important;
    box-shadow: 0 0 10px rgba(240, 195, 65, 0.25), inset 0 2px 4px rgba(0,0,0,0.4) !important;
}

.extra-bonus-tag {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--green-accent) !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    z-index: 10 !important;
}

.amount-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px 10px !important;
    margin-bottom: 20px !important;
}

.amt-btn-card {
    position: relative !important;
    background: #181c28 !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 12px !important;
    padding: 14px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
}

.amt-btn-card.active {
    border-color: #f0c341 !important;
    background: rgba(240, 195, 65, 0.1) !important;
}

.bonus-pill {
    position: absolute !important;
    top: -7px !important;
    right: 6px !important;
    background: var(--green-accent) !important;
    color: #000000 !important;
    font-weight: 900 !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
    border-radius: 20px !important;
    line-height: 1 !important;
    z-index: 2 !important;
}

.amt-val {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

.gold-action-btn {
    width: 100%;
    background: var(--gold-btn);
    color: #000000;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(240, 195, 65, 0.25);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.gold-action-btn:active {
    transform: scale(0.98);
}

/* 💳 WITHDRAWAL AVAILABLE BALANCE CARD (PREMIUM REDESIGN) */
.balance-container-card {
    background: linear-gradient(145deg, #121522 0%, #080a10 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.35) !important;
    border-radius: 22px !important;
    padding: 26px 18px 20px 18px !important;
    text-align: center;
    margin-bottom: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), inset 0 0 20px rgba(255, 215, 0, 0.05) !important;
}

.current-balance-amt {
    font-size: 46px !important;
    font-weight: 900 !important;
    background: linear-gradient(180deg, #ffffff 0%, #ffd700 60%, #f59e0b 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 16px !important;
    line-height: 1 !important;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.3)) !important;
}

.info-row-flex {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    color: #a0a5b5 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 16px !important;
    width: fit-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.notice-green-box {
    background: rgba(34, 197, 94, 0.08) !important;
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    color: #22c55e !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

.section-sub-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #8e94a5;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    will-change: transform; /* लेआउट शिफ्ट को रोकता है */
}

.method-btn {
    background: #000000;
    border: 1px solid #1a1d26;
    border-radius: 16px;
    aspect-ratio: 1 / 1;
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-sizing: border-box; /* फिक्स्ड साइजिंग */
    transform: translateZ(0); /* स्मूथ रेंडरिंग के लिए */
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.method-btn:hover {
    border-color: #232736;
}

.method-btn.active {
    border: 1.5px solid #ffd700 !important;
    background: #000000 !important;
    box-shadow: none !important;
}

.icon-img-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
}

.icon-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.method-btn span {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.1;
}

.input-box {
    margin-bottom: 12px;
}

.input-box label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}


/* ==========================================================================
   GUIDE PILL BANNER (HOW TO DEPOSIT / WITHDRAW - CLEAN & MODERN)
   ========================================================================== */

.guide-pill-wrapper {
    width: 100%;
    margin-bottom: 16px;
}

.guide-pill-banner {
    background: linear-gradient(135deg, #101422 0%, #080910 100%);
    border: 1px dashed rgba(255, 215, 0, 0.45);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.guide-pill-banner:active {
    transform: scale(0.98);
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.8);
}

.guide-pill-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.guide-play-icon {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.25);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
}

.guide-pill-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.guide-pill-text h4 {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.guide-pill-text p {
    font-size: 11px;
    font-weight: 600;
    color: #8e95a5;
    margin: 0;
    line-height: 1.2;
}

.guide-arrow-icon {
    color: rgba(255, 215, 0, 0.6);
    font-size: 12px;
    transition: transform 0.2s ease;
}

.guide-pill-banner:hover .guide-arrow-icon {
    transform: translateX(3px);
    color: #ffd700;
}


/* 📌 IMPORTANT INSTRUCTION BOX FIX (4 CLEAN LINES WITH BLUE DOTS) */
.instruction-card {
    background: #0f121d;
    border: 1px solid #1f2436;
    border-radius: 20px;
    padding: 18px 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.instruction-card h3 {
    font-size: 13px;
    font-weight: 900;
    color: var(--gold-primary, #ffd700);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.instruction-text-box {
    font-size: 12px;
    color: #b0b5c3;
    line-height: 1.6;
}

.instruction-text-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px; /* Lines ke beech proper space */
}

.instruction-text-box li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 0;
    font-size: 12px;
    color: #b0b5c3;
    line-height: 1.5;
}

/* Blue Diamond Dot styling for every new line */
.instruction-text-box li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 0;
    color: #38bdf8; /* Soft Neon Blue Dot */
    font-size: 10px;
}


.popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

.popup-card-box {
    background: #13151f;
    border: 1.5px solid #383c4a;
    border-radius: 24px;
    padding: 28px 20px 22px 20px;
    width: 100%;
    max-width: 340px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0,0,0,0.8);
}

.popup-success-icon {
    width: 54px;
    height: 54px;
    background: #22c55e;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    margin: 0 auto 16px auto;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.popup-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.popup-amount {
    font-size: 34px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 20px;
}

.popup-details-table {
    background: #0b0d13;
    border: 1px dashed #232838;
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.popup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.popup-row:last-child {
    border-bottom: none;
}

.popup-row span:first-child {
    color: var(--text-muted);
}

.popup-row span:last-child {
    color: #ffffff;
    font-weight: 700;
}

.gold-text { color: #ffd700 !important; }
.status-pending-text { color: #f97316 !important; }

/* 🌟 TOP SHIFTED GLASS GLOW PREMIUM TOAST */
.premium-toast {
    position: fixed !important;
    top: 65px !important; /* Header के ठीक नीचे टॉप पोजीशन */
    left: 50% !important;
    transform: translateX(-50%) translateY(-150px) !important; /* ऊपर से स्लाइड-इन एनिमेशन */
    background: linear-gradient(145deg, rgba(24, 27, 38, 0.98), rgba(12, 14, 22, 0.98)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1.5px solid #ff4747 !important;
    border-radius: 16px !important;
    padding: 12px 16px !important;
    width: 90% !important;
    max-width: 340px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 71, 71, 0.2) !important;
    z-index: 9999999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease !important;
}

.premium-toast.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.toast-eng {
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    color: #ff4747 !important;
    letter-spacing: 0.5px !important;
}

.toast-hin {
    font-size: 11px !important;
    color: #a0a0ab !important;
    font-weight: 600 !important;
    margin-top: 2px !important;
    line-height: 1.3 !important;
}

.video-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
    z-index: 999999; display: flex; align-items: center; justify-content: center;
    padding: 16px; box-sizing: border-box; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}

.video-modal-overlay.active { opacity: 1; pointer-events: auto; }

.video-modal-card { 
    background: #12151e; 
    border: 1.5px solid #c79518; 
    border-radius: 20px; 
    width: 100%; 
    max-width: 360px; 
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.video-modal-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 12px 16px; 
    background: #181b26; 
}

.video-modal-title { 
    color: #fff; 
    font-size: 14px; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.video-modal-close { 
    background: rgba(255,255,255,0.1); 
    border: none; 
    color: #fff; 
    width: 30px; 
    height: 30px; 
    border-radius: 50%; 
    cursor: pointer; 
}

.video-modal-body { 
    padding: 8px; 
    background: #000; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-body video { 
    width: 100%; 
    max-height: 70vh;
    border-radius: 12px; 
    object-fit: contain;
}


/* ==========================================================================
   EXACT MATCH NEON GREEN PUSH NOTIFICATION POPUP (IMAGE ACCURATE)
   ========================================================================== */
.push-notification-popup {
    background: #0b0e17 !important;
    border: 2px solid #22c55e !important;
    border-radius: 26px !important;
    padding: 24px 20px 20px 20px !important;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.95), 0px 0px 25px rgba(34, 197, 94, 0.35) !important;
    width: 340px !important;
    max-width: 90% !important;
    text-align: center !important;
    color: #ffffff !important;
}

.neon-pop-title {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #22c55e !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    letter-spacing: 0.3px !important;
}

.neon-icon {
    font-size: 22px !important;
}

.neon-pop-desc {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #f8fafc !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.neon-pop-btn {
    width: 100% !important;
    background: #22c55e !important;
    color: #000000 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    padding: 13px !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4) !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
}

.neon-pop-btn:active {
    transform: scale(0.96) !important;
    background: #16a34a !important;
}



