@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    /* --- 🎨 COLOR PALETTE (Gold, Charcoal & Marble Style) --- */
    --bg-body: #252628;       /* Dark Charcoal (Grid Base) */
    --bg-card: #2d2e30;       /* Slightly Lighter Charcoal */
    --bg-input: #1a1b1d;      /* Deep Dark Input */
    
    --primary: #d29f22;       /* Royal Gold */
    --primary-light: #f1c40f; /* Bright Gold */
    --primary-glow: rgba(210, 159, 34, 0.4); /* Gold Glow */
    
    --accent-copper: #a38560; /* Copper Accent */
    
    --border-color: #4a3b2a;  /* Dark Gold/Brown Border */
    
    --text-main: #FFFFFF;     /* Pure White Text */
    --text-muted: #b0a090;    /* Warm Grey/Goldish Text */
    
    --radius: 20px;           /* More Rounded for Bubble Effect */
}

/* --- 🚫 DISABLE SELECT & ZOOM (Security) --- */
* {
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

body {
    /* Background mein Charcoal + Gridlines (Matching Header) */
    background-color: var(--bg-body);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex; flex-direction: column;
}

/* --- 🔐 LOGIN STYLES --- */
.auth-container {
    display: flex; flex-direction: column; justify-content: center;
    flex: 1; padding: 20px;
}

.auth-card {
    width: 100%; max-width: 380px; margin: 0 auto;
    background: transparent; 
}

/* BRAND LOGO AREA */
.brand-logo { text-align: center; margin-bottom: 30px; }
.brand-logo img { height: 60px; margin-bottom: 10px; filter: drop-shadow(0 2px 5px rgba(210, 159, 34, 0.5)); }
.brand-logo h1 { font-size: 26px; margin: 0; color: var(--primary); font-weight: 800; letter-spacing: 1px; }
.brand-logo p { color: var(--text-muted); font-size: 14px; margin: 5px 0 0; }

/* TABS (Login/Register Switch) - Bubble Style */
.nav-tabs {
    display: flex; 
    background: #1a1b1d; 
    padding: 5px; border-radius: 50px; margin-bottom: 25px;
    border: 1px solid var(--border-color); 
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}
.nav-item {
    flex: 1; text-align: center; padding: 12px;
    font-size: 14px; font-weight: 600; color: #7a7a7a;
    border-radius: 50px; cursor: pointer; transition: 0.3s;
}
.nav-item.active {
    background: linear-gradient(135deg, #d29f22, #b7891b); 
    color: #000;
    border: 1px solid #ffd700;
    /* Bubble Highlight */
    box-shadow: inset 0 2px 2px rgba(255,255,255,0.3), 0 4px 10px rgba(0,0,0,0.3);
}

/* INPUTS */
.input-group { position: relative; margin-bottom: 15px; }

.input-group input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid #333; 
    border-radius: var(--radius);
    padding: 18px 18px 18px 50px;
    color: #fff; font-size: 15px; font-weight: 500;
    transition: 0.3s;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3); /* Depth */
}

/* Focus State - Gold Glow */
.input-group input:focus {
    background: #202124;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(210, 159, 34, 0.2);
}

.input-icon {
    position: absolute; left: 20px; top: 18px;
    color: #7a7a7a; font-size: 18px;
    pointer-events: none; transition: 0.3s;
}
.input-group input:focus + .input-icon { color: var(--primary); }

.password-toggle {
    position: absolute; right: 20px; top: 18px;
    color: #7a7a7a; cursor: pointer; font-size: 18px;
}

/* LINKS & BUTTONS */
.forgot-link {
    display: block; text-align: right;
    color: var(--text-muted); font-size: 13px;
    text-decoration: none; margin-bottom: 20px; transition: 0.3s;
}
.forgot-link:hover { color: var(--primary); }

.btn-primary {
    width: 100%; padding: 16px;
    /* Gold Gradient Bubble */
    background: linear-gradient(135deg, #d29f22 0%, #f1c40f 100%);
    color: #252628; /* Dark Text */
    font-weight: 800; font-size: 16px; border: none;
    border-radius: var(--radius); cursor: pointer;
    
    /* 3D Bubble Effect */
    box-shadow: 
        inset 0 2px 3px rgba(255,255,255,0.5), 
        inset 0 -2px 3px rgba(0,0,0,0.2), 
        0 5px 15px rgba(210, 159, 34, 0.3);
        
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:active { 
    transform: scale(0.96); 
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

.register-link { text-align: center; margin-top: 25px; color: #7a7a7a; font-size: 14px; }
.register-link a { color: var(--primary); text-decoration: none; font-weight: 700; }      

/* =========================================
   🏠 HOME / DASHBOARD CSS 
   ========================================= */

/* --- HEADER --- */
.header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px;
    background: rgba(37, 38, 40, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(10px);
}
.logo img { height: 35px; }

.balance-box {
    background: #1a1b1d; border: 1px solid var(--border-color);
    padding: 6px 14px; border-radius: 50px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}
.balance-box span { font-size: 14px; font-weight: 700; color: var(--primary); }

.btn-add {
    background: var(--primary); color: #000;
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: bold; text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* --- SLIDER --- */
.slider-container { width: 100%; overflow: hidden; margin-top: 15px; }
.slider-wrapper {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 10px; padding: 0 15px; scrollbar-width: none;
}
.slider-wrapper::-webkit-scrollbar { display: none; }
.slide {
    flex: 0 0 100%; scroll-snap-align: center;
    border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color);
}
.slide img { width: 100%; height: 180px; object-fit: cover; display: block; }

/* --- GAMES GRID --- */
.section-title {
    padding: 20px 20px 10px; font-size: 13px; font-weight: 800;
    color: var(--text-muted); text-transform: uppercase;
    display: flex; align-items: center; gap: 10px;
}
.section-title::before {
    content: ''; display: block; width: 4px; height: 16px;
    background: var(--primary); border-radius: 2px;
    box-shadow: 0 0 5px var(--primary);
}

.games-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 0 20px; }

.game-card {
    background: #2d2e30; border: 1px solid var(--border-color);
    border-radius: 16px; overflow: hidden; position: relative;
    transition: 0.2s; 
    /* Card Shadow */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.game-card:active { transform: scale(0.96); border-color: var(--primary); }
.game-card.featured { grid-column: span 2; } 
.game-img { width: 100%; height: 110px; object-fit: cover; display: block; }
.game-card.featured .game-img { height: 160px; }
.game-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 12px; background: linear-gradient(to top, #1a1b1d, transparent); }
.game-title { margin: 0; color: #fff; font-size: 15px; font-weight: 700; }

/* --- LEGAL TEXT (Footer) --- */
.legal-section {
    padding: 30px 20px; margin-top: 20px;
    background: #1a1b1d; border-top: 1px solid var(--border-color);
}
.legal-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.legal-text { font-size: 11px; color: #888; line-height: 1.6; margin-bottom: 15px; text-align: justify; }
.legal-links { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 15px; }
.legal-links a { font-size: 11px; color: #b0a090; border-bottom: 1px solid var(--border-color); }
.legal-footer { text-align: center; font-size: 12px; color: #555; margin-top: 20px; padding-top: 20px; border-top: 1px dashed #333; }

/* --- BOTTOM NAV --- */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: #1a1b1d; border-top: 1px solid var(--border-color);
    display: flex; justify-content: space-around;
    padding: 10px 0 15px 0; z-index: 999;
}

.nav-item-link {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none !important; border: none;
    color: #777; font-size: 10px; font-weight: 600; gap: 4px;
}

.nav-item-link:hover, .nav-item-link:focus {
    text-decoration: none !important; background: transparent;
}

.nav-item-link i { font-size: 20px; }
.nav-item-link.active { 
    color: var(--primary); 
    text-shadow: 0 0 5px rgba(210, 159, 34, 0.5);
}

/* =========================================
   🏢 REAL APP DARK THEME (Profile)
   ========================================= */

:root {
    --accent-gold: #d29f22; 
}

body.profile-page-bg {
    background-color: var(--bg-body);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    min-height: 100vh;
}

/* --- 1. PRO HEADER --- */
.real-header {
    background: var(--bg-card);
    padding: 25px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center; gap: 15px;
}

.real-avatar {
    width: 65px; height: 65px;
    background: #252628; border-radius: 50%;
    border: 2px solid var(--primary);
    padding: 2px;
}
.real-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar-fallback {
    width: 100%; height: 100%; border-radius: 50%; background: #1a1b1d;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; color: var(--primary);
}

.real-info h2 { margin: 0; font-size: 18px; font-weight: 700; color: #fff; }
.real-info p { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); }

.vip-badge-solid {
    margin-left: auto;
    background: linear-gradient(135deg, #d29f22, #f1c40f); color: #000;
    font-size: 11px; font-weight: 800; padding: 5px 12px;
    border-radius: 10px; letter-spacing: 0.5px;
    /* Bubble Glow */
    box-shadow: 0 0 10px rgba(210, 159, 34, 0.4);
}

/* --- 2. ASSET CARD (Glossy Marble Look) --- */
.asset-card {
    background: linear-gradient(180deg, #3a3b3d 0%, #252628 100%);
    margin: 20px; padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    position: relative; overflow: hidden;
}

/* Shiny effect overlay */
.asset-card::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.ac-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }
.ac-balance { font-size: 34px; font-weight: 700; color: #fff; margin: 8px 0 20px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

.ac-actions { display: flex; gap: 12px; position: relative; z-index: 2; }

.ac-btn {
    flex: 1; padding: 14px; border-radius: 15px;
    text-align: center; text-decoration: none;
    font-size: 14px; font-weight: 700;
    transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-solid-green { 
    background: linear-gradient(135deg, #d29f22, #b7891b); 
    color: #000; 
    box-shadow: 0 4px 10px rgba(210, 159, 34, 0.2);
}
.btn-solid-grey { 
    background: #1a1b1d; color: #fff; border: 1px solid #333; 
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

/* --- 3. DETAILED BUTTONS GRID --- */
.section-label { padding: 0 20px 10px; font-size: 13px; font-weight: 700; color: var(--text-muted); }

.detail-grid {
    display: grid; grid-template-columns: 1fr; gap: 12px;
    padding: 0 20px 25px;
}

.detail-card {
    background: var(--bg-card);
    padding: 15px; border-radius: 15px;
    border: 1px solid var(--border-color);
    display: flex; align-items: center; gap: 15px;
    text-decoration: none; transition: 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.detail-card:active { background: #1a1b1d; border-color: var(--primary); }

.dc-icon { width: 45px; height: 45px; object-fit: contain; }

.dc-content h4 { margin: 0; font-size: 14px; color: #fff; font-weight: 600; }
.dc-content p { margin: 3px 0 0; font-size: 11px; color: var(--text-muted); }
.dc-arrow { margin-left: auto; color: #7a7a7a; font-size: 14px; }

/* --- 4. SETTINGS LIST --- */
.settings-list-solid {
    background: var(--bg-card);
    margin: 0 20px 30px; border-radius: 15px;
    border: 1px solid var(--border-color); overflow: hidden;
}

.sl-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; text-decoration: none;
    border-bottom: 1px solid #333;
}
.sl-item:last-child { border-bottom: none; }
.sl-item:active { background: #1a1b1d; }

.sl-left { display: flex; align-items: center; gap: 15px; }
.sl-icon-img { width: 24px; height: 24px; object-fit: contain; }
.sl-text { font-size: 14px; font-weight: 500; color: #d0d0d0; }

/* Logout */
.logout-solid {
    margin: 0 20px 100px; padding: 15px;
    text-align: center; border: 1px solid #b91d1d;
    background: rgba(185, 29, 29, 0.1); color: #ff6b6b;
    border-radius: 12px; text-decoration: none; font-weight: 700; display: block;
}

/* =========================================
   💳 DEPOSIT PAGE STYLES (Clean & Professional)
   ========================================= */

/* --- PAGE BACKGROUND --- */
.deposit-page {
    background: var(--bg-body);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    padding-bottom: 90px; 
}

/* --- 1. COMPACT WALLET HEADER --- */
.dep-header-container {
    background: var(--bg-body);
    padding: 15px 20px 0;
}

.compact-card {
    background: linear-gradient(135deg, #2d2e30, #1a1b1d);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    position: relative; overflow: hidden;
}

/* Subtle Gold Line Indicator */
.compact-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: var(--primary);
}

.cc-left { display: flex; flex-direction: column; gap: 4px; }
.cc-label { 
    font-size: 11px; color: var(--text-muted); 
    text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; 
}
.cc-balance { 
    font-size: 26px; font-weight: 700; color: #fff; letter-spacing: 0.5px; 
}

.cc-icon {
    width: 45px; height: 45px;
    background: rgba(210, 159, 34, 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 20px;
}

/* --- 2. INPUT SECTION --- */
.amount-section {
    background: var(--bg-card);
    margin: 20px 20px 25px; 
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.input-label {
    font-size: 12px; color: var(--text-muted); font-weight: 600; 
    margin-bottom: 15px; display: block; letter-spacing: 0.5px;
}

.input-wrapper {
    display: flex; align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    transition: 0.2s;
}
.input-wrapper:focus-within { border-color: var(--primary); }

.curr-symbol { font-size: 28px; color: #fff; font-weight: 600; margin-right: 10px; }

.clean-input {
    width: 100%; background: transparent; border: none;
    font-size: 32px; color: #fff; font-weight: 700;
    outline: none;
}
.clean-input::placeholder { color: #4a3b2a; }

/* Min Limit Warning */
.min-limit-text { 
    font-size: 11px; color: #ff6b6b; margin-top: 8px; display: none; 
}

/* --- 3. CHIPS GRID --- */
.chips-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    margin-top: 20px;
}

.d-chip {
    background: #1a1b1d; border: 1px solid #333;
    padding: 12px 5px; border-radius: 12px;
    text-align: center; color: #d0d0d0; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: 0.2s;
}
.d-chip:active { transform: scale(0.98); }
.d-chip.active {
    background: var(--primary); 
    color: #000; border-color: var(--primary);
    box-shadow: 0 2px 10px rgba(210, 159, 34, 0.3);
}

/* --- 4. METHOD CARD --- */
.method-card {
    background: var(--bg-card);
    margin: 0 20px 20px; padding: 15px;
    border-radius: 15px; border: 1px solid var(--border-color);
    display: flex; align-items: center; gap: 15px;
}

.qr-icon-box {
    width: 45px; height: 45px;
    background: #fff; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.qr-icon-box i { font-size: 24px; color: #000; }

.m-details h4 { margin: 0; font-size: 14px; color: #fff; font-weight: 600; }
.m-details p { margin: 3px 0 0; font-size: 11px; color: var(--text-muted); }
.m-check { margin-left: auto; color: var(--primary); font-size: 18px; }

/* --- 5. TRUST FOOTER --- */
.trust-row {
    text-align: center; margin-top: 15px;
    display: flex; align-items: center; justify-content: center; gap: 15px;
    opacity: 0.6;
}
.trust-item { font-size: 10px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }

/* --- 6. FIXED BOTTOM BUTTON --- */
.pay-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: #1a1b1d; padding: 20px;
    border-top: 1px solid var(--border-color);
    z-index: 100;
}

.btn-pay-secure {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, #d29f22, #f1c40f); color: #000;
    border: none; border-radius: 15px;
    font-size: 16px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    cursor: pointer; transition: 0.2s;
    /* Bubble/3D Shadow */
    box-shadow: 
        inset 0 2px 2px rgba(255,255,255,0.4),
        0 5px 15px rgba(210, 159, 34, 0.3);
}
.btn-pay-secure:active { transform: scale(0.98); }
.btn-pay-secure:disabled { background: #333; color: #666; cursor: not-allowed; box-shadow: none; }

/* =========================================
   💸 WITHDRAW PAGE STYLES
   ========================================= */

/* --- 1. METHOD TOGGLE (iOS Style) --- */
.wd-toggle-box {
    background: #1a1b1d;
    margin: 20px; padding: 5px;
    border-radius: 50px;
    border: 1px solid #333;
    display: flex; position: relative;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

.wd-option {
    flex: 1; text-align: center;
    padding: 12px; border-radius: 40px;
    font-size: 13px; font-weight: 600; color: #7a7a7a;
    cursor: pointer; transition: 0.3s; z-index: 2;
}

.wd-option.active {
    background: var(--primary); /* Gold */
    color: #000;
    box-shadow: 0 4px 10px rgba(210, 159, 34, 0.3);
}

/* --- 2. FORM CONTAINER --- */
.wd-form-card {
    background: var(--bg-card);
    margin: 0 20px 20px; padding: 25px;
    border-radius: 20px; border: 1px solid var(--border-color);
    display: none; /* Hidden by default */
    animation: fadeIn 0.3s ease;
}
.wd-form-card.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* Inputs styling reuse from Deposit, plus specific ones */
.wd-input-group { margin-bottom: 20px; }

.wd-label {
    font-size: 11px; color: var(--text-muted); font-weight: 700; 
    margin-bottom: 8px; display: block; letter-spacing: 0.5px;
}

.wd-field {
    width: 100%; background: #1a1b1d;
    border: 1px solid #333; border-radius: 12px;
    padding: 14px; color: #fff; font-size: 15px; font-weight: 500;
    transition: 0.2s;
}
.wd-field:focus { border-color: var(--primary); outline: none; }

/* --- 3. NOTICE CARD --- */
.notice-card {
    background: rgba(210, 159, 34, 0.1); 
    border: 1px solid rgba(210, 159, 34, 0.2);
    margin: 0 20px 100px; padding: 15px;
    border-radius: 15px; display: flex; gap: 12px;
}
.notice-icon { color: var(--primary); font-size: 18px; margin-top: 2px; }
.notice-text h4 { margin: 0; font-size: 13px; color: var(--primary); font-weight: 700; }
.notice-text p { margin: 2px 0 0; font-size: 11px; color: #d0d0d0; line-height: 1.4; }

/* =========================================
   🎮 GAME HISTORY STYLES (Premium)
   ========================================= */

/* --- STATS OVERVIEW --- */
.gh-stats-row {
    display: flex; gap: 15px; padding: 20px;
}

.gh-stat-card {
    flex: 1; background: var(--bg-card);
    padding: 15px; border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.gh-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.gh-value { font-size: 18px; font-weight: 700; color: #fff; margin-top: 5px; }

/* --- HISTORY LIST --- */
.gh-list-header {
    padding: 0 20px 10px; font-size: 13px; font-weight: 700; 
    color: var(--text-muted); text-transform: uppercase;
}

.gh-list {
    background: var(--bg-card); margin: 0 20px 100px;
    border-radius: 20px; border: 1px solid var(--border-color);
    overflow: hidden;
}

.gh-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px; border-bottom: 1px solid #333;
    transition: 0.2s;
}
.gh-item:last-child { border-bottom: none; }
.gh-item:active { background: #1a1b1d; }

/* Left Side: Image & Name */
.gh-left { display: flex; align-items: center; gap: 15px; }

.gh-img-box {
    width: 45px; height: 45px;
    background: #1a1b1d; border-radius: 12px;
    border: 1px solid #333;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 5px;
}
.gh-img { width: 100%; height: 100%; object-fit: contain; }

.gh-details h4 { margin: 0; font-size: 14px; color: #fff; font-weight: 600; text-transform: capitalize; }
.gh-details p { margin: 3px 0 0; font-size: 11px; color: var(--text-muted); }

/* Right Side: Amount */
.gh-right { text-align: right; }

.gh-amount { font-size: 14px; font-weight: 700; color: var(--primary); display: block; }

.gh-status { font-size: 11px; font-weight: 600; margin-top: 4px; display: block; }
.st-win { color: #2ecc71; } /* Green */
.st-loss { color: #ef4444; } /* Red */
.st-pending { color: #eab308; } /* Yellow */

/* Empty State */
.gh-empty {
    text-align: center; padding: 60px 20px; color: var(--text-muted);
}
.gh-empty i { font-size: 40px; margin-bottom: 15px; opacity: 0.5; }

/* =========================================
   🎁 REFER & EARN PAGE STYLES
   ========================================= */

/* Gradient Hero Section */
.refer-hero {
    background: linear-gradient(135deg, #252628, #3a3b3d); 
    padding: 30px 20px 60px; /* Extra padding bottom for overlap */
    text-align: center; color: #fff;
    border-bottom-left-radius: 25px; border-bottom-right-radius: 25px;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.refer-hero img { 
    width: 100px; margin-bottom: 10px; 
    filter: drop-shadow(0 5px 5px rgba(210, 159, 34, 0.2)); 
}
.refer-hero h2 { margin: 0; font-size: 24px; font-weight: 800; color: var(--primary); }
.refer-hero p { margin: 5px 0 0; font-size: 13px; opacity: 0.9; font-weight: 500; }

/* Overlapping Code Box */
.code-container { margin: -40px 20px 20px; position: relative; z-index: 10; }

.code-box {
    background: var(--bg-card); /* Matches Card Theme */
    border: 2px dashed var(--primary);
    border-radius: 20px; padding: 25px; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.code-label { 
    font-size: 11px; color: var(--text-muted); 
    text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; 
}
.my-code { 
    font-size: 32px; font-weight: 800; color: var(--primary); 
    margin: 10px 0 20px; letter-spacing: 2px; text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.copy-btn {
    background: var(--primary); color: #000; border: none; padding: 12px 30px;
    border-radius: 50px; font-weight: 800; cursor: pointer; font-size: 13px;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 5px 15px rgba(210, 159, 34, 0.3);
    transition: 0.2s;
}
.copy-btn:active { transform: scale(0.95); opacity: 0.9; }

/* Stats Grid */
.stats-grid { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; 
    padding: 0 20px; margin-bottom: 25px; 
}
.stat-card {
    background: var(--bg-card); padding: 15px; border-radius: 15px;
    text-align: center; border: 1px solid var(--border-color);
}
.stat-val { font-size: 22px; font-weight: 800; color: #fff; }
.stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 5px; font-weight: 600; }

/* Share Buttons */
.share-btns { display: flex; gap: 10px; padding: 0 20px; margin-bottom: 30px; }

.s-btn {
    flex: 1; padding: 14px; border-radius: 15px; border: none;
    color: #fff; font-size: 14px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; transition: 0.2s;
}
.s-btn:active { transform: scale(0.96); }
.btn-wa { background: #25D366; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2); }
.btn-tg { background: #229ED9; box-shadow: 0 5px 15px rgba(34, 158, 217, 0.2); }

/* Referral List */
.ref-list-box { padding: 0 20px 100px; }

.list-header-ref { 
    font-size: 14px; font-weight: 800; margin-bottom: 15px; 
    color: #fff; border-left: 4px solid var(--primary); padding-left: 10px; 
    text-transform: uppercase;
}

.ref-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px; background: var(--bg-card);
    border-radius: 15px; margin-bottom: 8px;
    border: 1px solid #333;
}
.u-info { font-weight: 700; font-size: 14px; color: #fff; }
.u-date { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.u-status { 
    color: var(--primary); font-size: 11px; font-weight: 800; 
    background: rgba(210, 159, 34, 0.1); padding: 3px 8px; border-radius: 4px; 
}

/* =========================================
   🔐 CHANGE PASSWORD & SECURITY STYLES
   ========================================= */

/* Main Container */
.security-container {
    padding: 20px;
}

/* Security Card */
.sec-card {
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    text-align: center;
}

/* Lock Icon Animation */
.sec-icon-box {
    width: 60px; height: 60px;
    background: rgba(210, 159, 34, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary); font-size: 24px;
    border: 1px solid rgba(210, 159, 34, 0.2);
}

.sec-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.sec-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 25px; }

/* Form Fields */
.sec-input-group { text-align: left; margin-bottom: 15px; }

.sec-label {
    font-size: 11px; color: var(--text-muted); font-weight: 700; 
    margin-bottom: 8px; display: block; text-transform: uppercase;
}

.sec-input {
    width: 100%; background: #1a1b1d;
    border: 1px solid #333; border-radius: 12px;
    padding: 14px; color: #fff; font-size: 14px;
    transition: 0.2s;
}
.sec-input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 2px rgba(210, 159, 34, 0.2); }

/* Update Button */
.btn-update {
    width: 100%; padding: 15px; margin-top: 10px;
    background: var(--primary); color: #000;
    border: none; border-radius: 15px;
    font-size: 14px; font-weight: 700;
    cursor: pointer; transition: 0.2s;
    box-shadow: 0 4px 10px rgba(210, 159, 34, 0.3);
}
.btn-update:active { transform: scale(0.98); }

/* Back Link */
.back-link {
    display: block; text-align: center; margin-top: 20px;
    color: var(--text-muted); font-size: 13px; text-decoration: none; font-weight: 600;
}

/* =========================================
   💼 WALLET - PREMIUM ICONS UPDATE
   ========================================= */

/* --- 1. WALLET HEADER (Same as you liked) --- */
.wallet-top-section {
    background: var(--bg-body);
    padding: 15px 20px 0;
}

.real-wallet-card {
    background: linear-gradient(135deg, #2d2e30, #1a1b1d);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.rwc-left { display: flex; flex-direction: column; gap: 5px; }
.rwc-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.rwc-balance { font-size: 30px; font-weight: 800; color: #fff; }

.rwc-icon-img { width: 55px; height: 55px; object-fit: contain; filter: drop-shadow(0 5px 5px rgba(0,0,0,0.4)); }

/* --- 2. PREMIUM ACTION GRID --- */
.action-img-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px;
    padding: 25px 20px;
}

.act-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center; text-decoration: none;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: relative; overflow: hidden;
}

/* Hover/Active Effect */
.act-card:active { transform: scale(0.96); border-color: var(--primary); }

/* Subtle Glow Background */
.act-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(210, 159, 34, 0.03) 0%, transparent 70%);
}

.act-img { 
    width: 55px; height: 55px; object-fit: contain; 
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); 
    transition: 0.2s;
}
.act-card:active .act-img { transform: scale(1.1); }

.act-title { font-size: 15px; font-weight: 700; color: #fff; z-index: 1; }
.act-desc { font-size: 11px; color: var(--text-muted); z-index: 1; margin-top: -2px; }

/* --- 3. TRANSACTION LIST --- */
.trans-title {
    padding: 0 20px 10px; font-size: 13px; font-weight: 700; 
    color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;
    display: flex; justify-content: space-between; align-items: center;
}
.trans-link { color: var(--primary); text-decoration: none; font-size: 11px; }

.real-trans-list {
    background: var(--bg-card); margin: 0 20px 100px;
    border-radius: 20px; border: 1px solid var(--border-color);
    overflow: hidden;
}

.rt-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px; border-bottom: 1px solid #333;
}
.rt-item:last-child { border-bottom: none; }

.rt-left { display: flex; align-items: center; gap: 12px; }
.rt-icon-box {
    width: 42px; height: 42px;
    background: #1a1b1d; border-radius: 12px;
    border: 1px solid #333;
    display: flex; align-items: center; justify-content: center; padding: 8px;
}
.rt-img { width: 100%; height: 100%; object-fit: contain; }

.rt-info h4 { margin: 0; font-size: 14px; font-weight: 600; color: #fff; }
.rt-info p { margin: 3px 0 0; font-size: 11px; color: var(--text-muted); }

.rt-right { text-align: right; }
.rt-amount { font-size: 15px; font-weight: 700; display: block; }
.rt-status { font-size: 10px; font-weight: 700; display: block; margin-top: 2px; text-transform: uppercase; }

.c-green { color: #2ecc71; }
.c-red { color: #ef4444; }
.c-yellow { color: #eab308; }