/* ========================================================
   PEPE OROCHI — Premium Design System v5.0
   Deep Green | Crypto-Modern | Mobile-First
   ======================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
    /* ── BRAND: Deep Green ── */
    --primary:        #16a34a;
    --primary-hover:  #15803d;
    --primary-dark:   #14532d;
    --primary-light:  rgba(22, 163, 74, 0.10);
    --primary-glow:   rgba(22, 163, 74, 0.28);

    /* Secondary: Teal / Mint */
    --accent:         #10b981;
    --accent-light:   rgba(16, 185, 129, 0.10);
    --accent2:        #34d399;
    --accent2-light:  rgba(52, 211, 153, 0.10);
    --neon:           #6ee7b7;

    /* Gradients */
    --grad-main:  linear-gradient(135deg, #16a34a 0%, #10b981 100%);
    --grad-hero:  linear-gradient(135deg, #14532d 0%, #166534 40%, #15803d 100%);
    --grad-card:  linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    --grad-soft:  linear-gradient(135deg, rgba(22,163,74,0.07) 0%, rgba(16,185,129,0.04) 100%);
    --grad-dark:  linear-gradient(135deg, #052e16 0%, #14532d 100%);

    /* Status */
    --success:        #16a34a;
    --success-light:  rgba(22, 163, 74, 0.10);
    --warning:        #d97706;
    --warning-light:  rgba(217, 119, 6, 0.10);
    --danger:         #dc2626;
    --danger-light:   rgba(220, 38, 38, 0.10);
    --info:           #0891b2;
    --info-light:     rgba(8, 145, 178, 0.10);

    /* Backgrounds */
    --bg:          #f0fdf4;
    --bg-card:     #ffffff;
    --bg-card2:    #f0fdf4;
    --bg-input:    #f0fdf4;
    --border:      rgba(22, 163, 74, 0.12);
    --border-hover:rgba(22, 163, 74, 0.35);
    --border-light:rgba(0, 0, 0, 0.07);

    /* Text */
    --text:        #052e16;
    --text-muted:  #4b7a5e;
    --text-dim:    #86b892;

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(22,163,74,0.07), 0 1px 3px rgba(0,0,0,0.04);
    --shadow:     0 4px 20px rgba(22,163,74,0.12), 0 2px 8px rgba(0,0,0,0.05);
    --shadow-lg:  0 8px 40px rgba(22,163,74,0.18), 0 4px 16px rgba(0,0,0,0.08);
    --shadow-primary: 0 4px 20px rgba(22,163,74,0.35);
    --shadow-glow:    0 0 32px rgba(22,163,74,0.30);

    /* Glass */
    --glass-bg:     rgba(255,255,255,0.85);
    --glass-border: rgba(255,255,255,0.65);

    /* Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius:    14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* Transition */
    --transition: all 0.22s cubic-bezier(0.4,0,0.2,1);

    /* Layout */
    --navbar-h:     62px;
    --bottom-nav-h: 68px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.page-wrap  { width: 100%; max-width: 700px; margin: 0 auto; padding: 0 16px; }

/* ════════════════════════ BUTTONS ════════════════════════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 11px 22px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 14px; border: none; cursor: pointer;
    transition: var(--transition); white-space: nowrap; text-decoration: none;
    line-height: 1; -webkit-tap-highlight-color: transparent;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
    background: var(--grad-main);
    color: #fff;
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover:not(:disabled) {
    box-shadow: 0 8px 28px rgba(22,163,74,0.50);
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn-accent {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16,185,129,0.35);
}
.btn-accent:hover:not(:disabled) { box-shadow: 0 8px 24px rgba(16,185,129,0.50); transform: translateY(-2px); }

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover:not(:disabled) { background: var(--bg-card2); border-color: var(--primary); }

.btn-ghost { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border-light); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-card2); border-color: var(--primary); color: var(--primary); }

.btn-danger  { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(220,38,38,0.2); }
.btn-danger:hover:not(:disabled)  { background: var(--danger); color: white; }

.btn-success { background: var(--success-light); color: var(--success); border: 1px solid rgba(22,163,74,0.2); }
.btn-success:hover:not(:disabled) { background: var(--success); color: white; }

.btn-sm    { padding: 7px 14px; font-size: 12px; }
.btn-lg    { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-round { border-radius: 50px; }

/* ════════════════════════ CARDS ════════════════════════ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.card + .card { margin-top: 14px; }

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ════════════════════════ FORMS ════════════════════════ */
.form-group { margin-bottom: 16px; }

.form-label {
    display: block; font-size: 12px; font-weight: 600;
    color: var(--text-muted); margin-bottom: 7px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

.form-control {
    width: 100%; padding: 12px 14px;
    background: var(--bg-input);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text); font-size: 15px; font-family: inherit;
    transition: var(--transition); outline: none;
    -webkit-appearance: none; appearance: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); background: white; }
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 96px; }

.input-group { position: relative; display: flex; align-items: center; }
.input-group .input-icon { position: absolute; left: 13px; color: var(--text-dim); font-size: 15px; pointer-events: none; }
.input-group .form-control { padding-left: 40px; }

.form-hint { font-size: 12px; color: var(--text-dim); margin-top: 5px; }

.form-check {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 13px; background: var(--bg-card2);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
}
.form-check:hover { border-color: var(--primary); background: var(--primary-light); }
.form-check input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.form-check > div strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; color: var(--text); }
.form-check > div small  { color: var(--text-muted); font-size: 12px; }

/* ════════════════════════ BADGES ════════════════════════ */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: var(--warning); }
.badge-danger  { background: var(--danger-light);  color: var(--danger);  }
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-accent  { background: var(--accent-light);  color: var(--accent);  }
.badge-info    { background: var(--info-light);    color: var(--info);    }
.badge-muted   { background: rgba(75,122,94,0.10); color: var(--text-muted); }

/* ════════════════════════ ALERTS ════════════════════════ */
.alert {
    display: flex; align-items: flex-start; gap: 11px;
    padding: 14px 16px; border-radius: var(--radius-sm);
    margin-bottom: 16px; font-size: 14px; line-height: 1.5;
}
.alert i { margin-top: 1px; flex-shrink: 0; }
.alert-success { background: var(--success-light); border: 1px solid rgba(22,163,74,0.25); color: #14532d; }
.alert-danger  { background: var(--danger-light);  border: 1px solid rgba(220,38,38,0.25); color: #991b1b; }
.alert-warning { background: var(--warning-light); border: 1px solid rgba(217,119,6,0.25); color: #92400e; }
.alert-info    { background: var(--info-light);    border: 1px solid rgba(8,145,178,0.25); color: #0c4a6e;  }

/* ════════ NAVBAR ════════ */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: var(--navbar-h);
    display: flex; align-items: center;
    box-shadow: 0 2px 16px var(--primary-glow);
}
.navbar .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 0 16px; max-width: 1200px; margin: 0 auto;
}
.nav-brand {
    font-size: 19px; font-weight: 900; letter-spacing: -0.5px;
    background: var(--grad-main);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.nav-brand i { -webkit-text-fill-color: var(--primary); font-size: 17px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
    color: var(--text-muted); padding: 7px 12px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-links a.active { font-weight: 600; }

.nav-balance-pill {
    display: flex; align-items: center; gap: 6px;
    background: var(--primary-light); border: 1.5px solid rgba(22,163,74,0.25);
    border-radius: 50px; padding: 5px 13px;
    font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap;
}

/* ════════════ BOTTOM NAV ════════════ */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    display: none; grid-template-columns: repeat(5, 1fr);
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    box-shadow: 0 -4px 20px var(--primary-glow);
}
.bottom-nav .bn-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 5px 4px; color: var(--text-dim); font-size: 9px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.3px; transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav .bn-item i { font-size: 19px; transition: var(--transition); }
.bottom-nav .bn-item.active { color: var(--primary); }
.bottom-nav .bn-item.active i { filter: drop-shadow(0 0 6px var(--primary-glow)); }

.bottom-nav .bn-center { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: -20px; }
.bottom-nav .bn-center .bn-fab {
    width: 52px; height: 52px; background: var(--grad-main); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: white; box-shadow: var(--shadow-primary);
    border: 3px solid var(--bg); transition: var(--transition);
}
.bottom-nav .bn-center .bn-fab:hover { transform: scale(1.08); }
.bottom-nav .bn-center span { font-size: 9px; font-weight: 600; color: var(--text-dim); }

.page-content { padding-top: 12px; padding-bottom: 16px; }

@media (max-width: 768px) {
    .bottom-nav { display: grid; }
    .page-content { padding-bottom: calc(var(--bottom-nav-h) + 12px); }
    .nav-links { display: none; }
}
@media (min-width: 769px) { .page-content { padding-bottom: 40px; } }

/* ════════════ BALANCE HERO ════════════ */
.balance-hero { border-radius: var(--radius-xl); padding: 2px; margin-bottom: 20px; box-shadow: var(--shadow-primary); background: var(--grad-main); }
.balance-hero-inner {
    background: linear-gradient(135deg, #15803d 0%, #166534 45%, #14532d 100%);
    border-radius: calc(var(--radius-xl) - 2px);
    padding: 32px 24px; color: white; text-align: center; position: relative; overflow: hidden;
}
.balance-hero-inner::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 35%, rgba(134,231,172,0.18) 0%, transparent 60%);
    pointer-events: none;
}
.balance-label { font-size: 13px; opacity: 0.80; margin-bottom: 6px; font-weight: 500; }
.balance-amount { font-size: clamp(38px, 9vw, 56px); font-weight: 900; letter-spacing: -2px; line-height: 1; }
.balance-currency { font-size: 14px; opacity: 0.75; margin-top: 6px; font-weight: 500; }

/* ════════════ STATS ════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 16px 14px; text-align: center;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-icon { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; margin: 0 auto 10px; }
.stat-icon.green  { background: var(--primary-light); color: var(--primary); }
.stat-icon.teal   { background: var(--accent-light);  color: var(--accent);  }
.stat-icon.yellow { background: var(--warning-light); color: var(--warning); }
.stat-icon.red    { background: var(--danger-light);  color: var(--danger);  }
.stat-icon.mint   { background: var(--accent2-light); color: #059669; }
.stat-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.stat-value { font-size: 22px; font-weight: 800; color: var(--text); margin: 4px 0 2px; }
.stat-sub   { font-size: 11px; color: var(--text-dim); }

/* ════════════ MINING CARD ════════════ */
.mining-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); padding: 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-bottom: 20px; box-shadow: var(--shadow-sm); transition: var(--transition); flex-wrap: wrap;
}
.mining-card:hover { box-shadow: var(--shadow); }
.mining-info { display: flex; align-items: center; gap: 14px; flex: 1; }
.mining-icon { width: 52px; height: 52px; border-radius: var(--radius); background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary); flex-shrink: 0; }
.mining-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.mining-sub   { font-size: 13px; color: var(--text-muted); }

/* ════════════ QUICK ACTIONS ════════════ */
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 10px; margin-bottom: 20px; }
.quick-action-btn {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 16px 10px; border-radius: var(--radius); font-size: 11px; font-weight: 700;
    text-align: center; color: var(--text-muted); background: var(--bg-card);
    border: 1.5px solid var(--border-light); transition: var(--transition); box-shadow: var(--shadow-sm);
}
.quick-action-btn i { font-size: 22px; }
.quick-action-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quick-action-btn.green  { color: var(--primary); }
.quick-action-btn.green:hover  { background: var(--primary-light); border-color: var(--primary); }
.quick-action-btn.teal   { color: var(--accent);  }
.quick-action-btn.teal:hover   { background: var(--accent-light);  border-color: var(--accent);  }
.quick-action-btn.yellow { color: var(--warning); }
.quick-action-btn.yellow:hover { background: var(--warning-light); border-color: var(--warning); }
.quick-action-btn.red    { color: var(--danger);  }
.quick-action-btn.red:hover    { background: var(--danger-light);  border-color: var(--danger);  }
.quick-action-btn.mint   { color: #059669; }
.quick-action-btn.mint:hover   { background: rgba(5,150,105,0.10); border-color: #059669; }

/* Backward compat aliases */
.quick-action-btn.purple { color: var(--primary);  }
.quick-action-btn.purple:hover { background: var(--primary-light); border-color: var(--primary); }
.quick-action-btn.cyan   { color: var(--info);     }
.quick-action-btn.cyan:hover   { background: var(--info-light);    border-color: var(--info);    }

/* ════════════ TABLES ════════════ */
.table-container { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.table-header, .table-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border-light); background: var(--bg-card2); flex-wrap: wrap; gap: 8px; }
.table-title, .table-top-title { font-size: 14px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table, table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, table thead th { padding: 12px 20px; text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); background: var(--bg-card2); border-bottom: 1px solid var(--border-light); white-space: nowrap; }
.data-table td, table tbody td { padding: 13px 20px; border-bottom: 1px solid var(--border-light); color: var(--text); }
.data-table tr:last-child td, table tbody tr:last-child td { border-bottom: none; }
.data-table tr:hover td, table tbody tr:hover td { background: var(--bg-card2); }

/* ════════════ EMPTY STATE ════════════ */
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-dim); }
.empty-state i { font-size: 40px; margin-bottom: 12px; display: block; }
.empty-state h3 { font-size: 16px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
.empty-state p { font-size: 14px; }

/* ════════════ SECTION HEADINGS ════════════ */
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; margin-top: 22px; }
.section-title { font-size: 15px; font-weight: 700; color: var(--text); }

/* ════════════ ANNOUNCEMENT ════════════ */
.announcement-bar {
    background: linear-gradient(135deg, rgba(22,163,74,0.08), rgba(16,185,129,0.05));
    border: 1px solid rgba(22,163,74,0.18);
    border-radius: var(--radius); padding: 14px 18px;
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 14px;
}
.announcement-bar i { color: var(--primary); font-size: 16px; margin-top: 1px; flex-shrink: 0; }

/* ════════════ REFERRAL ════════════ */
.referral-link-box { display: flex; align-items: center; gap: 10px; background: var(--bg-input); border: 1.5px solid var(--border-light); border-radius: var(--radius); padding: 11px 14px; font-size: 13px; color: var(--text-muted); word-break: break-all; }
.referral-link-box span { flex: 1; }
.social-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; transition: var(--transition); }
.social-btn.telegram  { background: #e3f2fd; color: #229ED9; }
.social-btn.telegram:hover  { background: #229ED9; color: white; transform: translateY(-2px); }
.social-btn.whatsapp  { background: #e8f5e9; color: #25D366; }
.social-btn.whatsapp:hover  { background: #25D366; color: white; transform: translateY(-2px); }

/* ════════════ AUTH PAGES ════════════ */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; position: relative; }
.auth-page::before { content: ''; position: fixed; top: -20%; right: -20%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(22,163,74,0.07) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.auth-card { width: 100%; max-width: 420px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 36px 32px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
@media (max-width: 480px) { .auth-card { padding: 28px 20px; border-radius: var(--radius-lg); } }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo-icon { width: 64px; height: 64px; background: var(--grad-main); border-radius: var(--radius-lg); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; color: white; margin-bottom: 12px; box-shadow: var(--shadow-primary); }
.auth-title    { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.auth-subtitle { font-size: 14px; color: var(--text-muted); }

/* ════════════ GRADIENT TEXT ════════════ */
.gradient-text { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ════════════ SPIN WHEEL ════════════ */
.spin-count-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); border: 1.5px solid rgba(22,163,74,0.22); border-radius: 50px; padding: 8px 20px; font-size: 15px; font-weight: 700; color: var(--primary); margin: 16px auto; }
#spinCanvas { border-radius: 50%; box-shadow: 0 8px 40px var(--primary-glow), 0 0 0 4px white, 0 0 0 6px rgba(22,163,74,0.18); max-width: 100%; display: block; }

/* ════════════ FOOTER ════════════ */
.site-footer { background: var(--grad-dark); color: #d1fae5; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-brand-name { font-size: 20px; font-weight: 900; margin-bottom: 12px; background: linear-gradient(135deg, #86efac, #34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: flex; align-items: center; gap: 8px; }
.footer-brand-name i { -webkit-text-fill-color: #34d399; }
.footer-desc    { font-size: 14px; color: #6ee7b7; line-height: 1.7; }
.footer-heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #4ade80; margin-bottom: 14px; }
.footer-links   { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #86efac; display: flex; align-items: center; gap: 7px; transition: var(--transition); }
.footer-links a:hover { color: #d1fae5; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #4ade80; }

/* ════════════ LANDING PAGE ════════════ */
.landing-navbar { background: transparent !important; border-bottom: none !important; box-shadow: none !important; }
.landing-navbar.scrolled { background: rgba(255,255,255,0.96) !important; border-bottom: 1px solid var(--border) !important; box-shadow: 0 2px 16px var(--primary-glow) !important; }

.hero { padding: 100px 0 80px; position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; top: -200px; left: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(22,163,74,0.10) 0%, transparent 70%); pointer-events: none; }
.hero::after  { content: ''; position: absolute; bottom: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%); pointer-events: none; }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 768px) { .hero { padding: 70px 0 50px; min-height: auto; } .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero-visual { display: none; } }

.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--primary-light); border: 1px solid rgba(22,163,74,0.25); color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.3px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: pulse-dot 2s infinite; }
.hero-title    { font-size: clamp(30px, 6vw, 62px); font-weight: 900; line-height: 1.10; letter-spacing: -2px; margin-bottom: 18px; color: var(--text); }
.hero-subtitle { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; max-width: 460px; }
.hero-cta      { display: flex; gap: 12px; flex-wrap: wrap; }

.section { padding: 80px 0; }
.section-alt { background: white; }
.section-label { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 4px 14px; border-radius: 50px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-title-big { font-size: clamp(26px, 5vw, 44px); font-weight: 900; letter-spacing: -1px; margin-bottom: 12px; color: var(--text); }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 520px; margin: 0 auto 40px; }

.steps-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 32px; }
.step-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px 24px; transition: var(--transition); box-shadow: var(--shadow-sm); }
.step-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.step-number { width: 48px; height: 48px; background: var(--grad-main); color: white; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; margin-bottom: 16px; box-shadow: var(--shadow-primary); }
.step-title   { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step-desc    { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; transition: var(--transition); box-shadow: var(--shadow-sm); }
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon  { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ════════════ ANIMATIONS ════════════ */
@keyframes fade-in    { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes float      { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes pulse-dot  { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.7); } }
@keyframes spin       { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
@keyframes glow-pulse { 0%,100% { box-shadow:var(--shadow-primary); } 50% { box-shadow:var(--shadow-glow); } }
@keyframes bounce-in  { 0% { transform:scale(0.3); opacity:0; } 50% { transform:scale(1.05); } 70% { transform:scale(0.9); } 100% { transform:scale(1); } }
@keyframes shake      { 0%,100% { transform:translateX(0); } 20%,60% { transform:translateX(-4px); } 40%,80% { transform:translateX(4px); } }
@keyframes confettiFall { to { transform:translateY(100vh) rotate(720deg); opacity:0; } }

.fade-in   { animation: fade-in 0.5s ease both; }
.fade-in-2 { animation: fade-in 0.5s ease 0.1s both; }
.fade-in-3 { animation: fade-in 0.5s ease 0.2s both; }
.mining-active { animation: glow-pulse 1.5s ease-in-out infinite; }

/* ════════════ MISC ════════════ */
.mb-20 { margin-bottom: 20px; }
.mb-10 { margin-bottom: 10px; }
.mt-20 { margin-top: 20px; }

/* Profile icon fix */
.nav-profile-btn {
    width: 36px; height: 36px;
    background: var(--primary-light);
    border: 2px solid rgba(22,163,74,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 18px;
    transition: var(--transition); flex-shrink: 0;
}
.nav-profile-btn:hover { background: var(--primary); color: white; }

/* Profile page avatar */
.profile-avatar-big {
    width: 64px; height: 64px;
    background: var(--grad-main);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 800; color: white;
    box-shadow: var(--shadow-primary);
    flex-shrink: 0;
}

/* Task card styles */
.tasks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.task-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.task-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.task-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.task-type-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.task-type-icon.youtube   { background: rgba(255,0,0,0.10);    color: #ff0000; }
.task-type-icon.telegram  { background: rgba(34,158,217,0.10); color: #229ED9; }
.task-type-icon.facebook  { background: rgba(24,119,242,0.10);  color: #1877F2; }
.task-type-icon.twitter   { background: rgba(29,161,242,0.10);  color: #1DA1F2; }
.task-type-icon.instagram { background: rgba(228,64,95,0.10);   color: #e4405f; }
.task-type-icon.globe     { background: var(--primary-light);   color: var(--primary); }
.task-reward-badge { background: var(--primary-light); color: var(--primary); border-radius: 50px; padding: 4px 12px; font-size: 12px; font-weight: 800; }
.task-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.task-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.task-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.task-hint { font-size: 11px; color: var(--text-dim); width: 100%; margin-top: 4px; }

/* Upload zone */
.upload-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--bg-card2); }
.upload-zone:hover { border-color: var(--primary); background: var(--primary-light); }
.upload-zone input[type="file"] { display: none; }
.preview-img { display: none; width: 100%; border-radius: var(--radius); margin-top: 12px; max-height: 220px; object-fit: cover; }

/* Modal */
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.5); backdrop-filter:blur(6px); z-index:99998; align-items:center; justify-content:center; padding:16px; }
.modal-overlay.active { display:flex; }
.modal { background:white; border-radius:var(--radius-xl); padding:28px; width:100%; max-width:420px; box-shadow:var(--shadow-lg); max-height:90vh; overflow-y:auto; }
.modal-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.modal-title  { font-size:17px; font-weight:800; color:var(--text); }
.modal-close  { width:32px; height:32px; background:var(--bg-card2); border:none; border-radius:8px; cursor:pointer; font-size:18px; color:var(--text-muted); display:flex; align-items:center; justify-content:center; transition:var(--transition); }
.modal-close:hover { background:var(--danger-light); color:var(--danger); }

/* Referral card */
.referral-link-card { background:var(--bg-card); border:1.5px solid var(--border-light); border-radius:var(--radius-lg); padding:20px; box-shadow:var(--shadow-sm); }