@charset "UTF-8";
:root {
    --primary: #00e6b8;
    --primary-dark: #00b38f;
    --primary-light: #33ffcc;
    --gold: #ffd700;
    --gold-light: #ffe44d;
    --bg: #0d1211;
    --bg-card: #151e1c;
    --bg-card2: #1a2522;
    --bg-deep: #080b0a;
    --text-white: #f5f5f5;
    --text-gray: #969799;
    --text-muted: #646566;
    --border-color: #3a3a3c;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --nav-height: 56px;
    --header-height: 52px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body { padding-top: var(--header-height); padding-bottom: var(--nav-height); }
#app { min-height: 100vh; }

a { color: var(--primary); cursor: pointer; text-decoration: none; }
a:hover { color: var(--primary-light); }

/* ===== HEADER ===== */
.app-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-height);
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-left { display: flex; align-items: center; gap: 12px; }
.menu-btn {
    background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; gap: 4px; padding: 4px;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--text-white); border-radius: 2px; transition: 0.3s; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 24px; color: var(--primary); filter: drop-shadow(0 0 8px rgba(255,34,0,0.5)); }
.logo-text { font-size: 18px; font-weight: 700; background: linear-gradient(135deg, #fff, var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.btn-icon { background: none; border: none; color: var(--text-white); font-size: 20px; cursor: pointer; position: relative; padding: 8px; }
.badge { position: absolute; top: 2px; right: 2px; background: var(--primary); color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 10px; }

/* ===== SIDEBAR ===== */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; }
.sidebar-overlay.show { display: block; }
.sidebar {
    position: fixed; top: 0; left: -280px; width: 280px; height: 100vh;
    background: var(--bg-card); z-index: 201; transition: left 0.3s ease;
    overflow-y: auto; border-right: 1px solid var(--border-color);
}
.sidebar.open { left: 0; }
.sidebar-header { padding: 40px 20px 20px; text-align: center; background: linear-gradient(135deg, rgba(255,34,0,0.15), transparent); }
.user-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-card2); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; border: 2px solid var(--primary); }
.user-name { font-size: 16px; font-weight: 600; }
.user-level { font-size: 12px; color: var(--gold); margin-top: 4px; }
.sidebar-menu { padding: 12px 0; }
.menu-item { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: var(--text-white); cursor: pointer; transition: background 0.2s; font-size: 14px; }
.menu-item:hover, .menu-item.active { background: rgba(255,34,0,0.1); color: var(--primary); }
.menu-divider { border: none; border-top: 1px solid var(--border-color); margin: 8px 20px; }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-height);
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: space-around;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.nav-item {
    background: none; border: none; color: var(--text-gray);
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    cursor: pointer; padding: 6px 12px; font-size: 10px; transition: 0.2s;
}
.nav-item.active, .nav-item:hover { color: var(--primary); }
.nav-icon { font-size: 20px; }

/* ===== MAIN CONTENT ===== */
.main-content { padding: 0 16px 20px; }
.page { animation: fadeIn 0.3s ease; }
.page-center { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 140px); }
.page-header { text-align: center; padding: 20px 0 12px; }
.page-header h2 { font-size: 22px; font-weight: 700; }
.page-header p { color: var(--text-gray); font-size: 13px; margin-top: 4px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== AUTH ===== */
.auth-card {
    background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px 24px;
    width: 100%; max-width: 400px; box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.logo-icon-lg { font-size: 48px; color: var(--primary); filter: drop-shadow(0 0 16px rgba(255,34,0,0.5)); display: block; margin-bottom: 12px; }
.auth-logo h1 { font-size: 24px; font-weight: 700; }
.auth-logo p { color: var(--text-gray); font-size: 13px; margin-top: 4px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-gray); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text-gray); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); color: var(--text-white); font-size: 14px; outline: none;
    transition: border 0.2s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23969799' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.form-group small { color: var(--text-muted); font-size: 12px; margin-top: 4px; display: block; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border: none; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.2s;
    text-decoration: none; gap: 8px;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-light), var(--primary)); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,34,0,0.4); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: rgba(255,34,0,0.1); }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold), #e6b800); color: #000; }

/* ===== HOME ===== */
.home-hero { position: relative; padding: 20px 0; }
.hero-bg { position: absolute; top: -60px; left: -20px; right: -20px; height: 280px; background: radial-gradient(ellipse at center, rgba(255,34,0,0.2), transparent 70%); pointer-events: none; }
.balance-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
    border-radius: var(--radius-lg); padding: 24px; text-align: center;
    border: 1px solid var(--border-color); box-shadow: var(--shadow);
}
.balance-label { font-size: 13px; color: var(--text-gray); }
.balance-amount {
    font-size: 36px; font-weight: 700; margin: 8px 0;
    background: linear-gradient(135deg, #fff5cc, var(--gold-light), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.balance-sub { display: flex; justify-content: center; gap: 20px; font-size: 12px; color: var(--text-gray); }
.balance-sub b { color: var(--text-white); }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.quick-btn {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 16px 8px; text-align: center;
    color: var(--text-white); cursor: pointer; transition: 0.2s; font-size: 12px;
}
.quick-btn:hover { border-color: var(--primary); background: rgba(255,34,0,0.05); }
.quick-icon { font-size: 24px; display: block; margin-bottom: 6px; }

.section { margin-top: 20px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.section-header h3 { font-size: 16px; font-weight: 600; }
.see-all { font-size: 13px; color: var(--primary); }

/* ===== PLANS ===== */
.plans-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.plans-scroll::-webkit-scrollbar { display: none; }
.plan-card-mini {
    flex: 0 0 200px; background: var(--bg-card); border-radius: var(--radius);
    padding: 16px; border: 1px solid var(--border-color); cursor: pointer; transition: 0.2s;
}
.plan-card-mini:hover { border-color: var(--primary); transform: translateY(-2px); }
.plan-card-mini .plan-name { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.plan-card-mini .plan-price { font-size: 18px; font-weight: 700; color: var(--gold); }
.plan-card-mini .plan-daily { font-size: 12px; color: var(--text-gray); margin-top: 4px; }

.plans-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.plan-card {
    background: var(--bg-card); border-radius: var(--radius); padding: 20px;
    border: 1px solid var(--border-color); cursor: pointer; transition: 0.2s;
    display: flex; gap: 16px; align-items: center;
}
.plan-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(255,34,0,0.15); }
.plan-icon { font-size: 40px; width: 60px; height: 60px; background: var(--bg-card2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.plan-info { flex: 1; }
.plan-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.plan-info .plan-meta { font-size: 12px; color: var(--text-gray); }
.plan-price-col { text-align: right; }
.plan-price-col .price { font-size: 18px; font-weight: 700; color: var(--gold); }
.plan-price-col .daily { font-size: 12px; color: var(--primary); margin-top: 4px; }

/* Mining Info Bar */
.mining-info-bar {
    display: flex; gap: 12px; margin-bottom: 16px;
}
.info-item {
    flex: 1; background: var(--bg-card); border-radius: var(--radius-sm);
    padding: 12px; text-align: center; border: 1px solid var(--border-color);
}
.info-label { font-size: 11px; color: var(--text-gray); display: block; }
.info-value { font-size: 16px; font-weight: 700; color: var(--gold); }

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-card { background: var(--bg-card); border-radius: var(--radius); padding: 20px; text-align: center; border: 1px solid var(--border-color); }
.stat-value { font-size: 20px; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 12px; color: var(--text-gray); margin-top: 4px; }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; gap: 16px; align-items: center; background: var(--bg-card); border-radius: var(--radius); padding: 16px; border: 1px solid var(--border-color); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.step-info h4 { font-size: 14px; font-weight: 600; }
.step-info p { font-size: 12px; color: var(--text-gray); margin-top: 2px; }

/* ===== WALLET ===== */
.wallet-balance-card {
    background: linear-gradient(135deg, rgba(255,34,0,0.15), var(--bg-card));
    border-radius: var(--radius-lg); padding: 24px; text-align: center;
    border: 1px solid var(--border-color); margin-bottom: 16px;
}
.wallet-bal-label { font-size: 13px; color: var(--text-gray); }
.wallet-bal-amount { font-size: 32px; font-weight: 700; color: var(--text-white); margin: 8px 0 16px; }
.wallet-bal-actions { display: flex; gap: 12px; justify-content: center; }

.tabs { display: flex; gap: 0; margin-bottom: 16px; background: var(--bg-card); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border-color); }
.tab {
    flex: 1; padding: 10px; background: transparent; border: none; color: var(--text-gray);
    font-size: 13px; font-weight: 500; cursor: pointer; transition: 0.2s;
}
.tab.active { background: var(--primary); color: #fff; }
.tab-content { animation: fadeIn 0.3s ease; }

.deposit-address-box {
    background: var(--bg-card); border-radius: var(--radius-sm); padding: 16px;
    border: 1px solid var(--border-color); margin-bottom: 16px; text-align: center;
}
.deposit-address-box label { font-size: 12px; color: var(--text-gray); display: block; margin-bottom: 8px; }
.address-display {
    font-family: monospace; font-size: 13px; color: var(--gold);
    background: var(--bg); padding: 12px; border-radius: var(--radius-sm);
    word-break: break-all; margin-bottom: 8px;
}
.fee-info { color: var(--text-muted); font-size: 12px; display: block; margin-top: 4px; }
.notice-box { background: rgba(255,34,0,0.08); border: 1px solid rgba(255,34,0,0.2); border-radius: var(--radius-sm); padding: 12px; margin-top: 16px; }
.notice-box p { font-size: 12px; color: var(--text-gray); line-height: 1.5; }

/* ===== HISTORY ===== */
.history-list { display: flex; flex-direction: column; gap: 8px; }
.history-item {
    background: var(--bg-card); border-radius: var(--radius-sm); padding: 14px;
    border: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center;
}
.history-item .h-left { flex: 1; }
.history-item .h-type { font-size: 14px; font-weight: 500; }
.history-item .h-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.history-item .h-amount { font-size: 14px; font-weight: 600; }
.history-item .h-amount.positive { color: #07c160; }
.history-item .h-amount.negative { color: var(--primary); }
.history-item .h-status { font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-top: 4px; display: inline-block; }
.h-status.pending { background: rgba(255,215,0,0.15); color: var(--gold); }
.h-status.completed { background: rgba(7,193,96,0.15); color: #07c160; }
.h-status.failed { background: rgba(255,34,0,0.15); color: var(--primary); }

/* ===== TEAM ===== */
.invite-card {
    background: linear-gradient(135deg, rgba(255,34,0,0.1), var(--bg-card));
    border-radius: var(--radius); padding: 20px; text-align: center;
    border: 1px solid var(--border-color); margin-bottom: 16px;
}
.invite-label { font-size: 13px; color: var(--text-gray); margin-bottom: 8px; }
.invite-code { font-size: 28px; font-weight: 700; letter-spacing: 4px; color: var(--gold); margin-bottom: 12px; }
.team-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.team-stat { background: var(--bg-card); border-radius: var(--radius-sm); padding: 16px; text-align: center; border: 1px solid var(--border-color); }
.team-stat-value { font-size: 20px; font-weight: 700; }
.team-stat-label { font-size: 11px; color: var(--text-gray); margin-top: 4px; }

.commission-table { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color); }
.commission-row { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border-color); }
.commission-row:last-child { border-bottom: none; }
.commission-row span:first-child { color: var(--text-gray); font-size: 13px; }
.commission-row span:last-child { color: var(--gold); font-weight: 600; font-size: 13px; }

/* ===== ORDERS ===== */
.orders-list { display: flex; flex-direction: column; gap: 8px; }
.order-item {
    background: var(--bg-card); border-radius: var(--radius-sm); padding: 16px;
    border: 1px solid var(--border-color);
}
.order-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.order-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-gray); }
.order-meta .active { color: #07c160; }
.order-earnings { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; font-size: 13px; }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 300;
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-content { background: var(--bg-card); border-radius: var(--radius-lg); width: 100%; max-width: 400px; max-height: 80vh; overflow-y: auto; border: 1px solid var(--border-color); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border-color); }
.modal-header h3 { font-size: 16px; }
.modal-close { background: none; border: none; color: var(--text-gray); font-size: 24px; cursor: pointer; }
.modal-body { padding: 20px; }
.plan-detail-img { text-align: center; font-size: 64px; margin-bottom: 20px; }
.plan-detail-specs { margin-bottom: 20px; }
.spec-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.spec-row span:first-child { color: var(--text-gray); font-size: 13px; }
.spec-value { font-weight: 600; font-size: 13px; }
.spec-value.highlight { color: var(--gold); }

/* ===== NOTIFICATIONS ===== */
.notifications-list { display: flex; flex-direction: column; gap: 8px; }
.notif-item {
    background: var(--bg-card); border-radius: var(--radius-sm); padding: 14px;
    border: 1px solid var(--border-color);
}
.notif-item h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.notif-item p { font-size: 12px; color: var(--text-gray); line-height: 1.5; }
.notif-item .notif-time { font-size: 11px; color: var(--text-muted); margin-top: 6px; }

/* ===== SETTINGS ===== */
.settings-list { display: flex; flex-direction: column; gap: 1px; background: var(--border-color); border-radius: var(--radius); overflow: hidden; }
.settings-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; background: var(--bg-card); cursor: pointer; transition: 0.2s;
}
.settings-item:hover { background: var(--bg-card2); }
.settings-item span:first-child { font-size: 14px; }
.settings-item span:last-child { color: var(--text-gray); font-size: 13px; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 14px; }

/* ===== TOAST ===== */
.toast {
    position: fixed; top: 70px; left: 50%; transform: translateX(-50%) translateY(-20px);
    background: var(--bg-card2); color: var(--text-white); padding: 12px 24px;
    border-radius: var(--radius-sm); font-size: 13px; z-index: 10000;
    opacity: 0; transition: 0.3s; pointer-events: none;
    border: 1px solid var(--border-color); max-width: 90%; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: #07c160; }
.toast.error { border-color: var(--primary); }

/* ===== LOADING ===== */
.loading-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 400;
    display: flex; align-items: center; justify-content: center;
}
.spinner {
    width: 40px; height: 40px; border: 3px solid var(--border-color);
    border-top-color: var(--primary); border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }

/* ===== TRADING MARKETS ===== */
.markets-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.market-card {
    background: var(--bg-card); border-radius: var(--radius); padding: 16px;
    border: 1px solid var(--border-color); transition: 0.2s;
    text-align: left;
}
.market-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.market-symbol { font-size: 16px; font-weight: 700; }
.market-price { font-size: 18px; font-weight: 600; margin: 8px 0; }
.market-change { font-size: 12px; padding: 2px 8px; border-radius: 4px; display: inline-block; }
.market-change.up { background: rgba(7,193,96,0.15); color: #07c160; }
.market-change.down { background: rgba(255,34,0,0.15); color: var(--primary); }

/* ===== TRADING PAGE ===== */
.trading-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; border-bottom: 1px solid var(--border-color);
}
.trading-chart-container {
    height: 350px; width: 100%; background: var(--bg-deep); border-bottom: 1px solid var(--border-color);
}
.trading-panel { padding: 16px; }
.trading-balance { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-gray); margin-bottom: 16px; }
.trading-balance span:last-child { color: var(--text-white); font-weight: 600; }
.trading-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.btn-buy { background: #07c160; color: #fff; }
.btn-buy:hover { background: #06ad56; transform: translateY(-1px); }
.btn-sell { background: var(--primary); color: #fff; }
.btn-sell:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ===== NEW HOME HERO ===== */
.home-hero-new { padding: 40px 20px 20px; text-align: center; position: relative; }
.hero-content h1 { font-size: 28px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.hero-content h1 span { color: var(--primary); }
.hero-content p { color: var(--text-gray); font-size: 14px; margin-bottom: 24px; line-height: 1.5; }
.hero-actions { display: flex; gap: 16px; justify-content: center; }
.hero-actions .btn { padding: 12px 32px; border-radius: 24px; font-size: 15px; }

/* ===== GLOBE SECTION ===== */
.globe-section { position: relative; padding: 20px 0; overflow: hidden; }
.globe-steps { position: relative; z-index: 2; text-align: center; }
.globe-steps h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.globe-steps p.sub { color: var(--primary); font-size: 13px; margin-bottom: 24px; }
.v-steps { display: flex; flex-direction: column; gap: 24px; text-align: left; background: var(--bg-card); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border-color); }
.v-step { display: flex; gap: 16px; }
.v-step-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #000; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 12px var(--primary-dark); }
.v-step-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--text-white); }
.v-step-text p { font-size: 12px; color: var(--text-gray); line-height: 1.4; }

/* ===== NEW VERTICAL PLANS ===== */
.section-header.center { text-align: center; display: block; margin-bottom: 20px; }
.section-header.center h3 { font-size: 18px; margin-bottom: 4px; }
.section-header.center p.sub { color: var(--text-gray); font-size: 13px; }

.v-plans-list { display: flex; flex-direction: column; gap: 16px; }
.v-plan-card {
    background: linear-gradient(145deg, #0a1f1a 0%, #0d3329 100%);
    border-radius: var(--radius-lg); padding: 24px;
    border: 1px solid rgba(0, 230, 184, 0.2);
    position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.v-plan-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.vp-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.vp-icon { width: 24px; height: 24px; background: var(--gold); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.vp-name { font-size: 14px; font-weight: 600; color: var(--text-gray); }
.vp-price { font-size: 28px; font-weight: 700; margin-bottom: 16px; color: var(--text-white); }
.vp-price span { font-size: 14px; color: var(--text-gray); font-weight: 400; }
.vp-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 16px; }
.vp-detail-item { display: flex; justify-content: space-between; font-size: 13px; }
.vp-detail-item span:first-child { color: var(--text-gray); }
.vp-detail-item span:last-child { color: var(--text-white); font-weight: 500; }
.btn-white { background: #fff; color: #000; font-weight: 700; border-radius: 24px; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }

/* ===== ABOUT & BANNER ===== */
.about-section { padding: 40px 0; }
.about-grid { display: flex; flex-direction: column; gap: 16px; }
.about-card { background: var(--bg-card); padding: 24px; border-radius: var(--radius-lg); text-align: center; border: 1px solid var(--border-color); }
.about-icon { font-size: 32px; margin-bottom: 16px; color: var(--primary); }
.about-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.about-card p { font-size: 13px; color: var(--text-gray); }

.ready-banner { background: linear-gradient(180deg, var(--bg-card) 0%, var(--primary-dark) 100%); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; margin: 40px 0; }
.ready-banner h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text-white); }
.ready-banner p { font-size: 14px; color: var(--text-white); opacity: 0.8; margin-bottom: 24px; }


/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .main-content { max-width: 480px; margin: 0 auto; }
    .bottom-nav { max-width: 480px; left: 50%; transform: translateX(-50%); }
}

/* Mobile chart fixes */
.chart-toolbar-mobile {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 12px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.chart-toolbar-mobile::-webkit-scrollbar { display: none; }
.chart-toolbar-mobile span {
    flex-shrink: 0;
    white-space: nowrap;
}

.chart-container-flex {
    flex: 1;
    min-height: 250px;
    max-height: 50vh;
    width: 100%;
    position: relative;
    background: #1a1f2e;
}

.chart-container-flex canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

@media (max-width: 767px) {
    .chart-container-flex {
        min-height: 220px;
        max-height: 45vh;
    }
    .markets-grid {
        gap: 8px;
    }
    .market-card {
        padding: 10px;
    }
}


.miner-animation {
    display: inline-block;
    animation: minerRock 1s ease-in-out infinite;
    transform-origin: bottom center;
}
.miner-pickaxe {
    display: inline-block;
    animation: pickaxeSwing 1s ease-in-out infinite;
    transform-origin: bottom left;
}
.bitcoin-coin {
    animation: coinPulse 2s ease-in-out infinite;
}
@keyframes minerRock {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}
@keyframes pickaxeSwing {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-45deg); }
}
@keyframes coinPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
@keyframes minerBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}


/* Lucky Draw Wheel */
.wheel-container { position: relative; width: 250px; height: 250px; margin: 0 auto; }
.wheel { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; position: relative; transition: transform 4s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 0 15px rgba(255,255,255,0.2); border: 2px solid var(--primary); }
.wheel-segment { position: absolute; top: 0; left: 0; width: 50%; height: 50%; transform-origin: 100% 100%; background: var(--bg); transform: rotate(calc(60deg * (var(--i) - 1))) skewY(30deg); border: 1px solid rgba(0,0,0,0.1); }
.wheel-segment span { position: absolute; top: 35%; left: 35%; transform: skewY(-30deg) rotate(30deg); color: #fff; font-size: 14px; font-weight: bold; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); }
.wheel-pointer { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 25px solid #fff; z-index: 10; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5)); }
.modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); display: none; z-index: 9999; padding: 16px; overflow-y: auto; }
.modal-content { background: var(--bg-card); padding: 20px; border-radius: 12px; width: 90%; max-width: 400px; position: relative; max-height: 85vh; overflow-y: auto; margin: auto; }
.close-btn { position: absolute; top: 10px; right: 15px; font-size: 24px; color: #fff; cursor: pointer; }

/* Order Cards */
.order-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border-color);
}
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.order-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}
.order-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
}
.status-active {
    background: rgba(0,230,184,0.15);
    color: var(--primary);
}
.status-expired {
    background: rgba(255,77,77,0.15);
    color: #ff4d4d;
}
.order-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-gray);
}
.order-row span:last-child {
    color: #fff;
    font-weight: 500;
}
.order-row .positive {
    color: var(--primary);
    font-weight: 600;
}
.order-row .negative {
    color: #ff4d4d;
    font-weight: 600;
}

/* Notif items */
.notif-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
}
.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.notif-header h4 {
    font-size: 14px;
    color: #fff;
    margin: 0;
}
.notif-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(0,230,184,0.15);
    color: var(--primary);
}
.notif-item p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0 0 8px 0;
    line-height: 1.4;
}
.notif-time {
    font-size: 11px;
    color: var(--text-muted);
}
.team-level-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
    color: var(--text-gray);
}
.team-level-row:last-child {
    border-bottom: none;
}

/* History items */
.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.history-item:last-child {
    border-bottom: none;
}
.h-left {
    flex: 1;
}
.h-type {
    font-size: 13px;
    color: #fff;
    margin-bottom: 4px;
}
.h-time {
    font-size: 11px;
    color: var(--text-muted);
}
.h-amount {
    font-size: 14px;
    font-weight: 600;
}
.h-amount.positive {
    color: var(--primary);
}
.h-amount.negative {
    color: #ff4d4d;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
    font-size: 14px;
}