/* VOLTIX PREMIUM DESIGN SYSTEM */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@700;800&display=swap');

:root {
    --bg-space: #070913;
    --bg-page: #0B0E1E;
    --card-bg: rgba(20, 24, 46, 0.6);
    --card-border: rgba(0, 242, 254, 0.15);
    --card-border-hover: rgba(0, 242, 254, 0.4);
    
    --primary: #00F2FE;
    --secondary: #00F5A0;
    --primary-gradient: linear-gradient(135deg, #00F2FE 0%, #00F5A0 100%);
    --primary-glow: 0 0 20px rgba(0, 242, 254, 0.35);
    
    --text-main: #F1F4F9;
    --text-muted: #8E9AAF;
    --text-dark: #121824;
    
    --danger: #FF4E6E;
    --danger-gradient: linear-gradient(135deg, #FF4E6E 0%, #FF2A54 100%);
    --danger-glow: 0 0 20px rgba(255, 78, 110, 0.3);
    
    --warning: #FFB800;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    background: var(--bg-space);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
}

/* Centered Mobile Shell */
.shell-page {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background: var(--bg-page);
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 100px rgba(0, 242, 254, 0.05);
    display: flex;
    flex-direction: column;
    padding-bottom: 74px; /* Space for bottom nav */
    overflow-y: auto;
}

/* Custom Scrollbars */
.shell-page::-webkit-scrollbar {
    width: 4px;
}
.shell-page::-webkit-scrollbar-track {
    background: transparent;
}
.shell-page::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.2);
    border-radius: 10px;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    margin: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, rgba(0, 242, 254, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

/* Glowing Typography */
.text-glow {
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}
.text-glow-green {
    text-shadow: 0 0 10px rgba(0, 245, 160, 0.5);
}

/* Header Banner & Logo */
.hero-banner {
    position: relative;
    height: 220px;
    background: linear-gradient(180deg, rgba(0, 242, 254, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 35px 35px;
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    overflow: hidden;
}

/* Background animated glow matrix */
.hero-matrix {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
    z-index: 0;
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; }
}

.hero-logo-wrap {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hero-logo-wrap img {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.6));
    animation: floatLogo 6s ease-in-out infinite;
}

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

.hero-logo-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
}

.hero-badge {
    position: absolute;
    bottom: 15px;
    background: rgba(0, 245, 160, 0.15);
    border: 1px solid rgba(0, 245, 160, 0.3);
    color: var(--secondary);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 245, 160, 0.1);
}

/* Tabs: Login / Register */
.auth-tabs {
    display: flex;
    margin: -25px 20px 0;
    position: relative;
    z-index: 10;
    background: rgba(15, 20, 42, 0.95);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.auth-tab {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.auth-tab.active {
    background: var(--primary-gradient);
    color: var(--text-dark);
    font-weight: 700;
    box-shadow: var(--primary-glow);
}

/* Form inputs & fields */
.field-wrap {
    margin-bottom: 16px;
}
.field-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.input-shell {
    display: flex;
    align-items: center;
    background: rgba(10, 12, 22, 0.8);
    border: 1.5px solid var(--card-border);
    border-radius: 14px;
    padding: 0 16px;
    position: relative;
    overflow: hidden;
}
.input-shell:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
    background: rgba(15, 18, 34, 0.9);
}
.input-shell .prefix {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 12px;
    margin-right: 10px;
}
.input-shell i.field-icon {
    font-size: 16px;
    color: var(--primary);
    margin-right: 12px;
}
.input-shell input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}
.input-shell input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
}
.eye-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 8px;
    font-size: 15px;
}
.eye-btn:hover {
    color: var(--primary);
}

/* Captcha Design */
.captcha-row {
    display: flex;
    gap: 12px;
}
.captcha-box {
    flex-shrink: 0;
    min-width: 120px;
    background: var(--primary-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: var(--primary-glow);
    padding: 0 10px;
}
.captcha-num {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--text-dark);
}
.captcha-ic {
    font-size: 12px;
    color: var(--text-dark);
}
.match-hint {
    display: none;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
    align-items: center;
    gap: 5px;
}
.match-hint.show {
    display: inline-flex;
}
.match-hint.ok {
    color: var(--secondary);
}
.match-hint.no {
    color: var(--danger);
}

/* Action Buttons */
.btn-glow {
    width: 100%;
    background: var(--primary-gradient);
    color: var(--text-dark);
    border: none;
    padding: 15px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--primary-glow);
    transition: all 0.3s ease;
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.5);
}
.btn-glow:active {
    transform: translateY(0);
}
.btn-glow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Danger Button variant */
.btn-danger-glow {
    background: var(--danger-gradient);
    box-shadow: var(--danger-glow);
    color: #fff;
}
.btn-danger-glow:hover {
    box-shadow: 0 0 25px rgba(255, 78, 110, 0.5);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    padding: 20px 20px 30px;
    font-size: 13px;
    color: var(--text-muted);
}
.auth-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

/* Features list in Auth */
.features-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 10px 20px 30px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 14px 18px;
}
.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.feature-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}
.feature-info p {
    font-size: 11px;
    color: var(--text-muted);
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 74px;
    background: rgba(11, 14, 30, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    padding: 0 10px;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    padding: 10px 0;
    border-radius: 12px;
}
.nav-item i {
    font-size: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
}
.nav-item.active {
    color: var(--primary);
    font-weight: 700;
}
.nav-item.active i {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.5));
}

/* Header bar for internal views */
.view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(11, 14, 30, 0.4);
}
.view-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.view-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}
.view-action-btn:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Dashboard Asset Card */
.dashboard-assets {
    background: linear-gradient(135deg, rgba(20, 24, 46, 0.9) 0%, rgba(10, 12, 22, 0.9) 100%);
    border: 1.5px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15), inset 0 0 15px rgba(0, 242, 254, 0.1);
}
.asset-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.asset-balance-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 8px 0;
}
.asset-currency {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}
.asset-amount {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.asset-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-val {
    font-size: 16px;
    font-weight: 700;
}

/* Dashboard Action Buttons Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 10px 20px;
}
.action-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 12px 6px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
}
.action-box:hover {
    background: rgba(0, 242, 254, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.action-box:active {
    transform: translateY(0);
}
.action-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.action-box.danger .action-icon {
    background: rgba(255, 78, 110, 0.1);
    color: var(--danger);
}
.action-box.danger:hover {
    background: rgba(255, 78, 110, 0.08);
    border-color: var(--danger);
}
.action-box span {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

/* Earning claim card animation */
.claim-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.06) 0%, rgba(20, 24, 46, 0.6) 100%);
    border-color: rgba(0, 245, 160, 0.2);
}
.claim-info {
    display: flex;
    flex-direction: column;
}
.claim-amount-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 4px;
}
.claim-amount-box span {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
}
.btn-claim {
    background: linear-gradient(135deg, #00F5A0 0%, #00D28A 100%);
    color: var(--text-dark);
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 245, 160, 0.3);
    animation: claimPulse 2s infinite;
}

@keyframes claimPulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0, 245, 160, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 4px 25px rgba(0, 245, 160, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0, 245, 160, 0.3); }
}

/* Live transaction simulation feed */
.ticker-card {
    padding: 12px 20px;
}
.ticker-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ticker-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.ticker-item {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
    animation: slideUpTicker 0.5s ease-out;
}

@keyframes slideUpTicker {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ticker-phone {
    font-weight: 600;
}
.ticker-desc {
    color: var(--text-muted);
}
.ticker-val {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--secondary);
}
.ticker-val.out {
    color: var(--danger);
}

/* Plan Cards in Invest View */
.plan-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
}
.plan-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 20px;
    margin: 0 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.plan-card.active-purchased {
    border-color: var(--secondary);
}
.plan-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
}
.plan-card.hot .plan-badge {
    background: rgba(255, 78, 110, 0.1);
    border-color: rgba(255, 78, 110, 0.3);
    color: var(--danger);
    animation: heartPulse 1.5s infinite alternate;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.plan-icon-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.plan-avatar {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}
.plan-title h3 {
    font-size: 16px;
    font-weight: 700;
}
.plan-title p {
    font-size: 11px;
    color: var(--text-muted);
}
.plan-stats-table {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    background: rgba(10, 12, 22, 0.6);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 15px;
}
.plan-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.plan-stat-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}
.plan-stat-val {
    font-size: 13px;
    font-weight: 700;
}
.plan-limit-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
}
.plan-limit-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Deposit Screen Quick chips */
.chip-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.amount-chip {
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 5px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    cursor: pointer;
}
.amount-chip.active {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    width: 170px;
    margin: 15px auto;
}
.qr-box img {
    width: 140px;
    height: 140px;
}
.upi-info {
    text-align: center;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Team view design */
.team-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.team-stat-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
}
.team-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.team-stat-num {
    font-size: 20px;
    font-weight: 800;
}
.team-stat-num.cyan {
    color: var(--primary);
}
.team-stat-num.green {
    color: var(--secondary);
}

.invite-share-card {
    text-align: center;
}
.invite-share-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
}
.invite-share-card p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.level-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
}
.level-tab {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
.level-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100px;
}
.team-list-empty {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 30px;
}
.team-member-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 13px;
}
.member-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.member-phone {
    font-weight: 600;
}
.member-date {
    font-size: 10px;
    color: var(--text-muted);
}
.member-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.member-status {
    font-size: 11px;
    font-weight: 600;
    color: var(--secondary);
}
.member-status.inactive {
    color: var(--text-muted);
}
.member-commission {
    font-size: 10px;
    color: var(--text-muted);
}

/* Profile Mine Screen */
.profile-card {
    display: flex;
    align-items: center;
    gap: 15px;
}
.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    padding: 2px;
    box-shadow: var(--primary-glow);
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-page);
    object-fit: cover;
}
.profile-meta h3 {
    font-size: 18px;
    font-weight: 700;
}
.profile-meta p {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}
.profile-refcode {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 20px;
}
.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 16px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    margin-bottom: 8px;
    cursor: pointer;
}
.menu-item:hover {
    background: rgba(0, 242, 254, 0.04);
    border-color: var(--primary);
}
.menu-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.menu-left i {
    font-size: 18px;
    color: var(--primary);
    width: 24px;
    text-align: center;
}
.menu-item span {
    font-size: 14px;
    font-weight: 500;
}
.menu-item i.chevron {
    font-size: 12px;
    color: var(--text-muted);
}

/* History Log List styling */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px 18px;
    border-radius: 14px;
}
.history-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.history-title {
    font-size: 13px;
    font-weight: 600;
}
.history-date {
    font-size: 10px;
    color: var(--text-muted);
}
.history-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.history-val {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 14px;
}
.history-val.plus {
    color: var(--secondary);
}
.history-val.minus {
    color: var(--danger);
}
.history-status {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.history-status.completed {
    background: rgba(0, 245, 160, 0.1);
    color: var(--secondary);
}
.history-status.pending {
    background: rgba(255, 184, 0, 0.1);
    color: var(--warning);
}
.history-status.failed {
    background: rgba(255, 78, 110, 0.1);
    color: var(--danger);
}

/* Helper utilities */
.text-center { text-align: center; }
.hidden { display: none !important; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }

/* Custom SweetAlert Customization for Obsidian Theme */
.swal2-popup.dark-swal {
    background: #0B0E1E !important;
    border: 1px solid var(--primary) !important;
    border-radius: 20px !important;
    color: var(--text-main) !important;
    box-shadow: var(--primary-glow) !important;
}
.swal2-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
}
.swal2-confirm.swal2-styled {
    background: var(--primary-gradient) !important;
    color: var(--text-dark) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    box-shadow: var(--primary-glow) !important;
}

/* Home Carousel / Slideshow */
.carousel-container {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
}
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
}
.carousel-slide.active {
    opacity: 1;
}
.carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 9, 19, 0.3) 0%, rgba(11, 14, 30, 0.9) 100%);
}
.slide-content {
    z-index: 2;
}
.slide-content h2 {
    font-size: 20px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.slide-content p {
    font-size: 11px;
    color: var(--text-muted);
}
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}
.carousel-dots .dot.active {
    background: var(--primary);
    width: 14px;
    border-radius: 3px;
}

/* Horizontal Text Marquee */
.marquee-container {
    background: rgba(0, 242, 254, 0.05);
    border-top: 1px solid rgba(0, 242, 254, 0.1);
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
    padding: 8px 15px;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--primary);
}
.marquee-container i {
    flex-shrink: 0;
    z-index: 2;
}
.marquee-text-wrap {
    width: 100%;
    overflow: hidden;
}
.marquee-text {
    display: inline-block;
    animation: scrollMarquee 20s linear infinite;
    padding-left: 100%;
}
@keyframes scrollMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Home Quick Action Grid (6 Columns) */
.home-grid-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 15px 20px 5px;
}

/* Daily Sign-In Card */
.signin-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.06) 0%, rgba(20, 24, 46, 0.6) 100%);
    border-color: rgba(255, 184, 0, 0.2);
}
.btn-signin {
    background: linear-gradient(135deg, #FFB800 0%, #E09F00 100%);
    color: var(--text-dark);
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.25);
}
.btn-signin:disabled {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
}

/* My Active Node Leases */
.active-leases-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px 20px;
}
.lease-item-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.lease-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.lease-name {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lease-status-badge {
    font-size: 9px;
    font-weight: 700;
    background: rgba(0, 245, 160, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(0, 245, 160, 0.2);
    padding: 2px 8px;
    border-radius: 99px;
}
.lease-meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: rgba(10, 12, 22, 0.5);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 11px;
    margin-bottom: 10px;
}
.lease-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lease-countdown-label {
    font-size: 10px;
    color: var(--text-muted);
}
.lease-countdown-val {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--primary);
}

