/* ============================================ */
/* BITMINE PRO - COMPLETE STYLESHEET           */
/* WITH ALL BUTTONS ANIMATED                   */
/* ============================================ */

:root {
    --bg: #06080c;
    --card: #111827;
    --card2: #1a1f2e;
    --border: #1f2937;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --gold: #f59e0b;
    --green: #10b981;
    --emerald: #059669;
    --red: #ef4444;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --violet: #7c3aed;
    --pink: #ec4899;
    --orange: #f97316;
    --teal: #14b8a6;
    --indigo: #6366f1;
    --gradient-gold: linear-gradient(135deg, #f59e0b, #f97316);
    --gradient-blue: linear-gradient(135deg, #3b82f6, #06b6d4);
    --gradient-green: linear-gradient(135deg, #10b981, #059669);
    --gradient-purple: linear-gradient(135deg, #8b5cf6, #ec4899);
    --gradient-pink: linear-gradient(135deg, #ec4899, #f43f5e);
    --gradient-cyan: linear-gradient(135deg, #06b6d4, #0ea5e9);
    --gradient-teal: linear-gradient(135deg, #14b8a6, #10b981);
    --gradient-indigo: linear-gradient(135deg, #6366f1, #8b5cf6);
    --shadow-gold: 0 8px 30px rgba(245,158,11,0.15);
    --shadow-blue: 0 8px 30px rgba(59,130,246,0.15);
    --shadow-green: 0 8px 30px rgba(16,185,129,0.15);
    --shadow-purple: 0 8px 30px rgba(139,92,246,0.15);
    --shadow-pink: 0 8px 30px rgba(236,72,153,0.15);
    --shadow-cyan: 0 8px 30px rgba(6,182,212,0.15);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.5);
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-full: 50px;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(245,158,11,0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139,92,246,0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59,130,246,0.03) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.gold-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }

/* ===== LANDING ===== */
.landing-header {
    padding: 14px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(6,8,12,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 36px; height: 36px;
    background: var(--gradient-gold); border-radius: var(--radius-xs);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #000; box-shadow: var(--shadow-gold);
}
.logo-text { font-size: 19px; font-weight: 800; }
.logo-text span {
    background: var(--gradient-gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-section { padding: 36px 16px 20px; text-align: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3);
    color: var(--green); padding: 7px 14px;
    border-radius: var(--radius-full); font-size: 11px; font-weight: 600;
    margin-bottom: 14px;
}
.hero-title { font-size: 30px; font-weight: 900; line-height: 1.2; margin-bottom: 10px; }
.hero-desc { color: var(--muted); font-size: 13px; margin-bottom: 22px; line-height: 1.5; }
.hero-buttons { display: flex; flex-direction: column; gap: 8px; max-width: 300px; margin: 0 auto; }

/* HOME INFO BOXES */
.home-info-boxes {
    display: flex; flex-direction: column; gap: 12px;
    padding: 0 16px; margin-bottom: 24px;
}
.home-info-box {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px;
    display: flex; align-items: center; gap: 14px;
    transition: 0.3s;
}
.home-info-box:hover { border-color: var(--gold); transform: translateY(-2px); }
.home-info-icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.home-info-box:nth-child(1) .home-info-icon { background: rgba(245,158,11,0.1); color: var(--gold); }
.home-info-box:nth-child(2) .home-info-icon { background: rgba(59,130,246,0.1); color: var(--blue); }
.home-info-box:nth-child(3) .home-info-icon { background: rgba(16,185,129,0.1); color: var(--green); }
.home-info-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.home-info-content p { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* STATS */
.stats-row-landing { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 0 16px; margin-bottom: 24px; }
.stat-card-landing {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 6px; text-align: center;
}
.stat-icon-landing { font-size: 20px; margin-bottom: 4px; color: var(--gold); }
.stat-card-landing h3 { font-size: 16px; font-weight: 800; }
.stat-card-landing p { font-size: 10px; color: var(--muted); }

.section-title { text-align: center; font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.features-grid-landing { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 28px; }
.feature-card-landing {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 12px; text-align: center;
}
.feature-icon-landing {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 8px; font-size: 20px;
    background: rgba(245,158,11,0.1); color: var(--gold);
}
.feature-card-landing h4 { font-size: 14px; margin-bottom: 3px; }
.feature-card-landing p { font-size: 10px; color: var(--muted); }
.landing-footer { text-align: center; padding: 18px 0; color: var(--muted); font-size: 10px; border-top: 1px solid var(--border); }

/* ===== HEADER (Dashboard) ===== */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(17,24,39,0.92); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); padding: 10px 16px;
    display: flex; justify-content: space-between; align-items: center;
}
.header-right { display: flex; align-items: center; gap: 8px; }
.balance-pill {
    background: rgba(245,158,11,0.08); border: 1.5px solid rgba(245,158,11,0.25);
    padding: 7px 14px; border-radius: var(--radius-full);
    font-size: 11px; font-weight: 700; color: var(--gold); white-space: nowrap;
}

/* ===== BUTTONS — ALL BUTTONS ANIMATED ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: var(--radius-sm); font-weight: 700;
    font-size: 14px; cursor: pointer; border: none; font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn:active { transform: scale(0.96); }
.btn:hover { transform: translateY(-3px); filter: brightness(1.05); }
.btn-block { width: 100%; }

/* Button Ripple Effect */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}
.btn:active::after {
    width: 200px;
    height: 200px;
}

/* Button Gradient Animation */
.btn-gold, .btn-blue, .btn-green, .btn-purple, .btn-pink, .btn-cyan, .btn-teal, .btn-indigo, .btn-fire, .btn-ocean, .btn-sunset, .btn-nature, .btn-galaxy {
    background-size: 200% 200%;
    animation: btnShimmer 3s ease infinite;
}
@keyframes btnShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Button Pulse on Focus */
.btn:focus {
    outline: none;
    animation: btnPulse 0.4s ease;
}
@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Button Icon Animation */
.btn i {
    transition: all 0.25s ease;
}
.btn:hover i {
    transform: scale(1.15);
}
.btn:active i {
    transform: scale(0.9);
}

/* Button Variants */
.btn-gold { background: var(--gradient-gold); color: #000; box-shadow: var(--shadow-gold); }
.btn-blue { background: var(--gradient-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-green { background: var(--gradient-green); color: #fff; box-shadow: var(--shadow-green); }
.btn-purple { background: var(--gradient-purple); color: #fff; box-shadow: var(--shadow-purple); }
.btn-pink { background: var(--gradient-pink); color: #fff; box-shadow: var(--shadow-pink); }
.btn-cyan { background: var(--gradient-cyan); color: #fff; box-shadow: var(--shadow-cyan); }
.btn-teal { background: var(--gradient-teal); color: #fff; }
.btn-indigo { background: var(--gradient-indigo); color: #fff; }
.btn-red { background: #ef4444; color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm {
    padding: 8px 15px; border-radius: var(--radius-xs); border: 1.5px solid var(--border);
    background: var(--card); color: var(--text); font-size: 12px; font-weight: 700;
    cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-family: inherit;
    transition: all 0.25s ease;
}
.btn-sm:hover { transform: translateY(-2px); }
.btn-sm:active { transform: translateY(1px); }
.btn-sm.logout-btn { border-color: var(--red); color: var(--red); }
.btn-sm.logout-btn:hover { background: rgba(239,68,68,0.15); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(239,68,68,0.2); }

/* Outline Button Hover */
.btn-outline:hover {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.05);
    transform: translateY(-2px);
}

/* Block Button Shine */
.btn-block {
    position: relative;
    overflow: hidden;
}
.btn-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn-block:hover::before {
    left: 100%;
}

/* Quick Row Buttons */
.quick-row button {
    flex: 1; min-width: 48px; padding: 10px 6px;
    background: var(--card2); border: 1.5px solid var(--border);
    border-radius: var(--radius-xs); color: var(--text);
    font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit;
    transition: all 0.2s ease;
}
.quick-row button:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.quick-row button:active {
    transform: translateY(1px);
}

/* Copy Button */
.copy-btn {
    background: var(--gradient-blue); color: #fff; border: none;
    padding: 8px 14px; border-radius: 8px; font-size: 11px;
    cursor: pointer; font-weight: 700; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 5px;
    transition: all 0.2s ease;
}
.copy-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 15px rgba(59,130,246,0.3);
}
.copy-btn:active {
    transform: translateY(1px) scale(0.98);
}
.copy-btn.copied { background: var(--green); animation: btnSuccessPop 0.3s ease; }
@keyframes btnSuccessPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Refresh Button */
.refresh-btn {
    border-color: var(--blue);
    color: var(--blue);
    margin-right: 4px;
    transition: all 0.3s ease;
}
.refresh-btn:hover {
    background: rgba(59,130,246,0.15);
    transform: rotate(15deg) scale(1.05);
}
.refresh-btn:active i {
    animation: spinRefresh 0.5s ease;
}
@keyframes spinRefresh {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Nav Buttons */
.nav-item {
    flex: 1; padding: 8px 2px; background: none; border: none;
    color: var(--muted); cursor: pointer; display: flex;
    flex-direction: column; align-items: center; gap: 3px; font-family: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-item:hover {
    transform: translateY(-2px);
}
.nav-item:active {
    transform: translateY(1px);
}
.nav-item i {
    font-size: 20px;
    transition: all 0.25s ease;
}
.nav-item:hover i {
    transform: scale(1.15);
    color: var(--gold);
}
.nav-item span { font-size: 9px; font-weight: 700; }
.nav-item.active { color: var(--gold); }
.nav-item.active i { transform: scale(1.15); animation: iconBounce 0.3s ease; }
@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Modal Close Button */
.modal-close {
    position: absolute; top: 10px; right: 14px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    color: var(--muted); width: 32px; height: 32px; border-radius: 50%;
    font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
}
.modal-close:hover {
    background: rgba(239,68,68,0.1);
    color: var(--red);
    border-color: var(--red);
    transform: rotate(90deg) scale(1.1);
}

/* Header Buttons */
.header-btns {
    display: flex;
    gap: 8px;
    align-items: center;
}
.header-btns .btn-sm {
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 25px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.header-btns .btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.header-btns .btn-sunset {
    background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6);
    background-size: 200% 200%;
    animation: btnShine 3s ease infinite;
    color: #fff;
    border: none;
}
.header-btns .btn-ocean {
    background: linear-gradient(135deg, #06b6d4, #3b82f6, #8b5cf6);
    background-size: 200% 200%;
    animation: btnShine 3s ease infinite 0.5s;
    color: #fff;
    border: none;
}
@keyframes btnShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Button Variants */
.btn-galaxy { background: linear-gradient(135deg, #8b5cf6, #6366f1, #3b82f6); background-size: 200% 200%; animation: gradientShift 3s ease infinite; color: #fff; }
.btn-fire { background: linear-gradient(135deg, #f97316, #ef4444, #ec4899); background-size: 200% 200%; animation: gradientShift 3s ease infinite 0.5s; color: #fff; }
.btn-ocean { background: linear-gradient(135deg, #06b6d4, #3b82f6, #8b5cf6); background-size: 200% 200%; animation: gradientShift 3s ease infinite 1s; color: #fff; }
.btn-sunset { background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6); background-size: 200% 200%; animation: gradientShift 3s ease infinite 1.5s; color: #fff; }
.btn-nature { background: linear-gradient(135deg, #10b981, #14b8a6, #06b6d4); background-size: 200% 200%; animation: gradientShift 3s ease infinite 2s; color: #fff; }
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Gold Button Extra Glow */
.btn-gold {
    animation: btnShimmer 3s ease infinite, goldPulse 2s ease infinite;
}
@keyframes goldPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(245, 158, 11, 0.15); }
    50% { box-shadow: 0 8px 40px rgba(245, 158, 11, 0.4); }
}

/* Disabled Button */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.btn:disabled:hover {
    transform: none;
}

/* Button Row Buttons */
.btn-row .btn {
    flex: 1;
    transition: all 0.25s ease;
}
.btn-row .btn:hover {
    transform: translateY(-2px);
}
.btn-row .btn:active {
    transform: translateY(1px);
}

/* ===== MODALS ===== */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.9); z-index: 300;
    justify-content: center; align-items: center; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
    background: var(--card); border: 2px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px 18px;
    width: 100%; max-width: 380px; text-align: center;
    position: relative; animation: modalSlideIn 0.3s ease;
    box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto;
}
@keyframes modalSlideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.modal-subtitle { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.auth-icon-circle {
    width: 56px; height: 56px; background: var(--gradient-gold);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; font-size: 24px; color: #000; box-shadow: var(--shadow-gold);
}

/* ===== INPUTS ===== */
.input-group { position: relative; margin-bottom: 12px; }
.input-group i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
.input-group input {
    width: 100%; padding: 13px 14px 13px 40px;
    background: var(--bg); border: 2px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text); font-size: 15px; outline: none; font-family: inherit;
}
.input-group input:focus { border-color: var(--gold); }
label {
    display: block; font-size: 12px; font-weight: 700; color: var(--muted);
    margin-bottom: 4px; text-align: left; text-transform: uppercase; letter-spacing: 0.5px;
}
input, select, textarea {
    width: 100%; padding: 12px 14px; margin-bottom: 10px;
    background: var(--bg); border: 2px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text); font-size: 14px; outline: none; font-family: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { resize: vertical; min-height: 80px; }
select {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
select option { background: var(--card); color: var(--text); }

/* ===== MAIN CONTENT ===== */
.main-content { padding: 14px; padding-bottom: 90px; position: relative; z-index: 1; }
.section { display: none; animation: fadeIn 0.3s ease; }
.section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== DEPOSIT BALANCE ===== */
.dep-bal-small {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 10px 14px;
    margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center;
}
.dep-bal-small-left { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.dep-bal-small-left i { color: var(--blue); font-size: 14px; }
.dep-bal-small-right { font-size: 16px; font-weight: 800; color: var(--blue); }

/* ===== MINING BOX ===== */
.mining-box {
    background: var(--card); border: 2px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px; text-align: center; margin-bottom: 14px;
}
.mining-box-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mining-box-header h2 { font-size: 17px; font-weight: 700; }
.status-badge {
    padding: 6px 14px; border-radius: var(--radius-full);
    font-size: 10px; font-weight: 700; text-transform: uppercase;
}
.status-badge.inactive { background: rgba(148,163,184,0.08); color: var(--muted); border: 1px solid var(--border); }
.status-badge.active {
    background: rgba(16,185,129,0.1); color: var(--emerald);
    border: 1px solid rgba(16,185,129,0.3); animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
    0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,0.3)}50%{box-shadow:0 0 0 10px rgba(16,185,129,0)}
}
.big-balance { margin: 10px 0 16px; }
.big-balance-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; }
.big-balance-value {
    font-size: 36px; font-weight: 900;
    background: var(--gradient-gold); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1;
}
.mining-live-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3); border-radius: var(--radius-full);
    font-size: 11px; color: var(--green); font-weight: 600; margin-bottom: 16px;
}
.no-mining-text { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.no-mining-text strong { color: var(--gold); }
.info-tags { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.info-tag {
    background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.15);
    padding: 12px 6px; border-radius: var(--radius-sm); font-size: 11px;
    font-weight: 700; color: var(--gold); text-align: center;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.stat-cell {
    background: var(--card2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px; text-align: center;
}
.stat-label { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; display: block; }
.stat-value { font-size: 17px; font-weight: 800; }
.stat-cell.gold .stat-value{color:var(--gold)}.stat-cell.blue .stat-value{color:var(--blue)}
.stat-cell.green .stat-value{color:var(--green)}.stat-cell.purple .stat-value{color:var(--violet)}

.progress-bar-wrap { margin: 10px 0 16px; text-align: left; }
.progress-bar { height: 7px; background: var(--bg); border-radius: 7px; overflow: hidden; margin-bottom: 4px; }
.progress-fill { height: 100%; background: var(--gradient-gold); border-radius: 7px; transition: width 0.6s; width: 0%; }
.progress-info { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.btn-row { display: flex; gap: 8px; }

/* ===== MINI LOGS ===== */
.mini-logs {
    background: var(--card2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px; max-height: 400px; overflow-y: auto;
}
.mini-logs h4 { font-size: 13px; color: var(--gold); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.log-line {
    display: flex; justify-content: space-between; padding: 9px 0;
    border-bottom: 1px solid var(--border); font-size: 11px; color: var(--muted);
}
.log-line:last-child { border-bottom: none; }
.log-line .amount { color: var(--green); font-weight: 700; }

/* ===== CARDS ===== */
.card {
    background: var(--card); border: 2px solid var(--border);
    border-radius: var(--radius-lg); padding: 18px; margin-bottom: 14px;
}
.card h2 { font-size: 18px; font-weight: 800; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.card-subtitle { font-size: 12px; color: var(--muted); margin-bottom: 16px; }

/* ===== CALCULATOR ===== */
.calc-results { margin-top: 10px; }
.calc-row {
    display: flex; justify-content: space-between; padding: 8px 0;
    border-bottom: 1px solid var(--border); font-size: 13px;
}
.calc-row:last-child { border-bottom: none; }
.calc-row.highlight { background: rgba(245,158,11,0.05); padding: 8px 10px; border-radius: 6px; margin-top: 4px; }

/* ===== DEPOSIT ACCOUNTS WITH COPY BUTTON ===== */
.deposit-accounts { margin-bottom: 16px; }
.acc-card {
    background: var(--card2); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px; margin-bottom: 8px;
    position: relative;
}
.acc-card .acc-method {
    font-weight: 700; color: var(--gold); font-size: 14px;
    display: flex; align-items: center; gap: 6px;
}
.acc-card .acc-holder { font-size: 12px; color: var(--text); margin: 4px 0; }
.acc-card .acc-addr-row {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg); border-radius: 8px; padding: 8px 10px; margin-top: 6px;
}
.acc-card .acc-addr {
    font-size: 12px; color: var(--cyan); word-break: break-all; flex: 1;
}

/* ===== QUICK ROW ===== */
.quick-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

/* ===== PREVIEW / BALANCE CHECK ===== */
.preview-box {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 12px; margin-bottom: 14px; font-size: 13px;
}
.preview-box p { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); }
.preview-box p:last-child { border-bottom: none; }
.balance-check {
    margin-bottom: 14px; padding: 14px;
    background: rgba(59,130,246,0.05); border: 1px solid rgba(59,130,246,0.15);
    border-radius: var(--radius-sm);
}
.balance-card {
    background: var(--card2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px; margin-bottom: 14px;
    display: flex; justify-content: space-between; align-items: center; font-size: 14px;
}
.balance-card strong { font-size: 18px; font-weight: 800; color: var(--gold); }
.note-box {
    background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.2);
    border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 10px;
    font-size: 11px; color: var(--blue); display: flex; align-items: center; gap: 8px;
}

/* ===== ACCOUNT ===== */
.account-info { margin-bottom: 16px; }
.account-row {
    display: flex; justify-content: space-between; padding: 14px 0;
    border-bottom: 1px solid var(--border); font-size: 14px;
}
.account-row .acc-label { color: var(--muted); }
.account-row .acc-value { font-weight: 700; }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 480px; display: flex;
    background: rgba(17,24,39,0.97); backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1.5px solid var(--border); z-index: 100; padding: 2px 0 6px;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .header-btns { gap: 6px; }
    .header-btns .btn-sm { padding: 8px 12px; font-size: 11px; }
}

/* ===== HEADER FIX — LOGO + BUTTONS NO OVERLAP ===== */
.landing-header {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(6,8,12,0.95);
    backdrop-filter: blur(20px);
    z-index: 10;
    gap: 10px;
}

/* ===== LOGO — BOX ANIMATED, ICON STILL ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    animation: logoGlow 3s ease-in-out infinite;
}
@keyframes logoGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(245,158,11,0.3); transform: scale(1); }
    50% { box-shadow: 0 0 30px rgba(245,158,11,0.7); transform: scale(1.05); }
}
.logo-text {
    font-size: 19px;
    font-weight: 800;
}
.logo-text span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-icon i { /* ICON STILL — NO ANIMATION */ }

/* Header buttons inner */
.header-btns .btn-sm {
    padding: 8px 12px;
    font-size: 11px;
    border-radius: 20px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    z-index: 5;
    position: relative;
}
.header-btns .btn-sm:active { transform: scale(0.95); }

/* ===== MISC ===== */
.auth-switch { margin-top: 12px; font-size: 12px; color: var(--muted); }
.auth-switch a { color: var(--gold); font-weight: 700; text-decoration: none; }
.empty-msg { text-align: center; color: var(--muted); padding: 24px 16px; font-size: 13px; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

@media (min-width: 400px) {
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
/* ============================================= */
/* ONLY ACTIVE MINING BADGE - NO OTHER BUTTON   */
/* ============================================= */

/* Ye SIRF mining-live-badge par effect karega */
.mining-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px 8px 30px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 40px;
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 18px;
    position: relative;
    backdrop-filter: blur(2px);
    animation: miningStatusPulse 2s ease infinite;
}

/* Online Dot - Sirf isi ke liye */
.mining-live-badge::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    animation: miningDotPulse 1.5s ease infinite;
}

/* Pulse Animation - Sirf isi ke liye */
@keyframes miningStatusPulse {
    0%, 100% {
        background: rgba(16, 185, 129, 0.08);
        border-color: rgba(16, 185, 129, 0.3);
    }
    50% {
        background: rgba(16, 185, 129, 0.15);
        border-color: rgba(16, 185, 129, 0.6);
    }
}

/* Dot Pulse - Sirf isi ke liye */
@keyframes miningDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
        transform: translateY(-50%) scale(1);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
        transform: translateY(-50%) scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        transform: translateY(-50%) scale(1);
    }
}

/* Icon Animation - Sirf isi ke liye */
.mining-live-badge i {
    font-size: 11px;
    animation: miningIconBlink 2s ease infinite;
}

@keyframes miningIconBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Hover Effect - Sirf isi ke liye */
.mining-live-badge:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
    cursor: default;
}

/* Inactive State - Jab mining band ho */
.mining-live-badge.inactive {
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.3);
    color: #94a3b8;
    animation: none;
}

.mining-live-badge.inactive::before {
    background: #94a3b8;
    box-shadow: none;
    animation: none;
}

.mining-live-badge.inactive i {
    animation: none;
}

/* Active mining me dot blink */
.mining-live-badge.active::before {
    animation: miningDotPulse 1.5s ease infinite;
}

/* Slide In Effect */
@keyframes miningBadgeAppear {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mining-live-badge {
    animation: miningBadgeAppear 0.3s ease;
}