@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ══════════════════════════════════════
   EVERMONEY GOLD PREMIUM DESIGN SYSTEM
══════════════════════════════════════ */
:root {
    /* Gold Palette */
    --gold-100: #fffbeb;
    --gold-300: #fde68a;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;
    --gold-700: #b45309;

    /* Deep Background */
    --bg-900: #080608;
    --bg-800: #0f0d10;
    --bg-700: #171320;
    --bg-card: rgba(255, 255, 255, 0.032);
    --bg-card-hover: rgba(255, 255, 255, 0.055);

    /* Gold Glow */
    --gold-glow: rgba(251, 191, 36, 0.22);
    --gold-glow-sm: rgba(251, 191, 36, 0.12);
    --gold-border: rgba(251, 191, 36, 0.22);
    --glass-border: rgba(255, 255, 255, 0.07);

    /* Accent Colors */
    --green: #10b981;
    --green-glow: rgba(16, 185, 129, 0.2);
    --red: #ef4444;
    --red-glow: rgba(239, 68, 68, 0.2);
    --purple: #8b5cf6;

    /* Text */
    --text-primary: #f5f0e8;
    --text-secondary: rgba(245, 240, 232, 0.5);
    --text-muted: rgba(245, 240, 232, 0.3);

    /* Radius & Shadow */
    --r-xl: 20px;
    --r-lg: 14px;
    --r-md: 10px;
    --r-sm: 7px;
    --shadow-gold: 0 8px 40px rgba(251, 191, 36, 0.15), 0 2px 8px rgba(0, 0, 0, 0.6);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ─── Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-900);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
}

/* ─── Animated Background ─────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 85% 5%, rgba(251, 191, 36, 0.09) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 10% 90%, rgba(139, 92, 246, 0.07) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(251, 191, 36, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: bgPulse 12s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* ─── Utilities ───────────────────────────────────────── */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.w-full {
    width: 100%;
}

.text-sm {
    font-size: 0.85rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-success {
    color: var(--green);
}

.text-danger {
    color: var(--red);
}

.text-gold {
    color: var(--gold-400);
}

.text-secondary {
    color: var(--text-secondary);
}

.font-bold {
    font-weight: 700;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.pb-nav {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

/* ─── Gold Shimmer Animation ──────────────────────────── */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.gold-text {
    background: linear-gradient(135deg, #f59e0b, #fde68a, #f59e0b, #d97706);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.gold-text-static {
    background: linear-gradient(135deg, #fbbf24, #fde68a, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Glass Card ──────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
    position: relative;
    z-index: 1;
    transition: border-color 0.25s, background 0.25s;
}

.card:hover {
    background: var(--bg-card-hover);
}

.card-gold {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.07), rgba(245, 158, 11, 0.04));
    border: 1px solid var(--gold-border);
    box-shadow: 0 4px 24px rgba(251, 191, 36, 0.08);
}

/* ─── Form Controls ───────────────────────────────────── */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-md);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    width: 100%;
}

.form-control:focus {
    border-color: var(--gold-500);
    background: rgba(251, 191, 36, 0.06);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.12);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.82rem 1.5rem;
    border: none;
    border-radius: var(--r-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    width: 100%;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.2s;
}

.btn:hover::after {
    background: rgba(255, 255, 255, 0.07);
}

.btn:active {
    transform: scale(0.98);
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 45%, #d97706 100%);
    color: #1a0f00;
    box-shadow: 0 4px 20px var(--gold-glow), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-gold:hover {
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.4), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    box-shadow: 0 4px 20px var(--green-glow);
}

.btn-success:hover {
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    box-shadow: 0 4px 20px var(--red-glow);
}

.btn-danger:hover {
    box-shadow: 0 8px 28px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.45);
    transform: translateY(-1px);
}

/* Loading */
.btn-loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.75;
    }
}

/* ─── Toast ───────────────────────────────────────────── */
#toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 340px;
    pointer-events: none;
}

.toast {
    padding: 0.85rem 1.1rem;
    border-radius: var(--r-md);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: toastIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.toast.success {
    background: #052e16dd;
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.toast.error {
    background: #1f0000dd;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.toast.info {
    background: #1a0f00dd;
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: var(--gold-300);
}

@keyframes toastIn {
    from {
        transform: translateX(60px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

/* ─── Auth Screen ─────────────────────────────────────── */
#auth-screen {
    position: relative;
    min-height: 100vh;
    display: block;
    background: var(--bg-900);
    overflow-x: hidden;
}

.auth-wrap {
    position: relative;
    width: 100%;
    padding: 2rem 1.25rem 3rem;
    background: linear-gradient(180deg, #080c18 0%, #0d0a0c 100%);
    border-top: 1px solid rgba(251, 191, 36, 0.1);
}

/* Remove decorative rings (now handled by hero orbs) */
.auth-wrap::before,
.auth-wrap::after {
    display: none;
}

.auth-box {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 0 36px rgba(251, 191, 36, 0.4), 0 4px 12px rgba(0, 0, 0, 0.4);
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 17px;
    background: linear-gradient(135deg, #fbbf24, transparent, #d97706);
    z-index: -1;
    opacity: 0.5;
}

.auth-logo h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    padding: 4px;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    padding: 0.6rem 0;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--r-sm);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.22s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1a0f00;
    box-shadow: 0 2px 12px var(--gold-glow);
}

/* ─── App Layout ──────────────────────────────────────── */
#app-screen {
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* fallback */
    height: 100dvh;
    /* shrinks when browser chrome appears on mobile */
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* app-main scrolls internally */
}

/* Header */
.app-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
    background: rgba(8, 6, 8, 0.85);
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
    backdrop-filter: blur(24px);
    z-index: 50;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-sm {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.3);
}

.header-logo h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: #1a0f00;
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.3);
    flex-shrink: 0;
    border: 2px solid rgba(251, 191, 36, 0.3);
}

.agent-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1a0f00;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

/* ─── Main Content ────────────────────────────────────── */
.app-main {
    flex: 1;
    min-height: 0;
    /* critical: allows flex child to shrink & overflow-scroll */
    padding: 1.25rem;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* ─── Balance Card ────────────────────────────────────── */
.balance-card {
    border-radius: var(--r-xl);
    padding: 1.75rem;
    background: linear-gradient(145deg, #1a1208, #0f0a04);
    border: 1px solid var(--gold-border);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 70%);
}

.balance-card::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08), transparent 70%);
}

.balance-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 0.5rem;
}

.balance-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fde68a, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.balance-sub {
    font-size: 0.78rem;
    color: rgba(251, 191, 36, 0.5);
}

.balance-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.balance-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.7rem 0.5rem;
    border-radius: var(--r-md);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.balance-action-btn .icon {
    font-size: 1.25rem;
}

.bab-deposit {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
}

.bab-withdraw {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.22);
    color: #fca5a5;
}

.bab-invest {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.25);
    color: #fbbf24;
}

.bab-invite {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #c4b5fd;
}

.balance-action-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

/* ─── Stats Row ───────────────────────────────────────── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    padding: 1rem 0.75rem;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
}

.stat-card:hover {
    border-color: var(--gold-border);
    background: rgba(251, 191, 36, 0.04);
}

.stat-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

.stat-lbl {
    font-size: 0.68rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ─── Section Title ───────────────────────────────────── */
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::before {
    content: '';
    display: block;
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, #fbbf24, #d97706);
    border-radius: 2px;
}

/* ─── Info Box ────────────────────────────────────────── */
.info-box {
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: var(--r-lg);
    padding: 1.1rem;
}

.info-box .info-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-400);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ─── Investment Level Cards ──────────────────────────── */
.level-card {
    border-radius: var(--r-xl);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.level-card:hover {
    transform: translateY(-3px);
}

.level-card.level-1 {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.08);
}

.level-card.level-2 {
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 4px 24px rgba(251, 191, 36, 0.1);
}

.level-card.level-3 {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.12), rgba(109, 40, 217, 0.06));
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.1);
}

.level-card.locked {
    opacity: 0.55;
}

.level-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.level-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.level-1 .level-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.level-2 .level-badge {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.level-3 .level-badge {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
}

.level-pct {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.level-1 .level-pct {
    color: #10b981;
}

.level-2 .level-pct {
    color: #fbbf24;
}

.level-3 .level-pct {
    color: #a78bfa;
}

.level-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

.level-range {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.range-pill {
    font-size: 0.74rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    color: var(--text-secondary);
}

.level-lock-msg {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--red);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--r-sm);
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* My Investment Item */
.invest-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    transition: border-color 0.2s;
}

.invest-item:hover {
    border-color: var(--gold-border);
}

.invest-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.2);
    flex-shrink: 0;
}

.invest-info {
    flex: 1;
    min-width: 0;
}

.invest-name {
    font-size: 0.88rem;
    font-weight: 700;
}

.invest-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

.invest-profit {
    text-align: right;
}

.invest-profit-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--green);
}

.invest-status {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold-400);
    margin-top: 0.1rem;
}

/* ─── Transaction Items ───────────────────────────────── */
.tx-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tx-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--r-lg);
    transition: border-color 0.2s, background 0.2s;
}

.tx-item:hover {
    border-color: rgba(251, 191, 36, 0.15);
    background: rgba(251, 191, 36, 0.02);
}

.tx-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.tx-icon.deposit {
    background: rgba(16, 185, 129, 0.15);
}

.tx-icon.withdraw {
    background: rgba(239, 68, 68, 0.12);
}

.tx-icon.bonus,
.tx-icon.welcome,
.tx-icon.profit {
    background: rgba(251, 191, 36, 0.13);
}

.tx-icon.investment {
    background: rgba(139, 92, 246, 0.15);
}

.tx-icon.fee {
    background: rgba(239, 68, 68, 0.1);
}

.tx-info {
    flex: 1;
    min-width: 0;
}

.tx-desc {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tx-date {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.tx-amount {
    font-weight: 800;
    font-size: 0.92rem;
    white-space: nowrap;
}

.tx-amount.credit {
    color: var(--green);
}

.tx-amount.debit {
    color: var(--red);
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
}

/* ─── Referral Card ───────────────────────────────────── */
.referral-card {
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.07), rgba(217, 119, 6, 0.04));
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--r-xl);
    padding: 1.25rem;
}

.referral-link-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--r-md);
    padding: 0.65rem 0.9rem;
    margin-bottom: 0.85rem;
}

.referral-link-text {
    flex: 1;
    font-size: 0.78rem;
    color: var(--gold-400);
    word-break: break-all;
}

.copy-btn {
    background: rgba(251, 191, 36, 0.18);
    border: none;
    color: var(--gold-400);
    padding: 0.35rem 0.65rem;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: rgba(251, 191, 36, 0.3);
}

.share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.locked-referral {
    text-align: center;
    padding: 1.5rem 1rem;
}

.lock-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* Commission Table */
.commission-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.commission-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.85rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--r-sm);
    font-size: 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.commission-val {
    font-weight: 800;
    color: var(--green);
}

/* ─── Modal ───────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 0 0;
    animation: fadeIn 0.2s ease;
}

@media (min-width: 480px) {
    .modal-overlay {
        align-items: center;
        padding: 1.5rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-box {
    background: #12100f;
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: 1.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 -8px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(251, 191, 36, 0.08);
    animation: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
}

@media (min-width: 480px) {
    .modal-box {
        border-radius: var(--r-xl);
        animation: popIn 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

.modal-handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 auto 1.25rem;
}

@media (min-width: 480px) {
    .modal-handle {
        display: none;
    }
}

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: var(--text-secondary);
    padding: 0.4rem 0.65rem;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.modal-hint {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}

/* Deposit Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.step-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.step-dot.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1a0f00;
    border-color: #fbbf24;
    box-shadow: 0 0 12px var(--gold-glow);
}

.step-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* Admin Phone Box */
.admin-phone-box {
    background: rgba(251, 191, 36, 0.07);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: var(--r-lg);
    padding: 1.25rem;
    text-align: center;
    margin: 0.75rem 0;
}

.admin-phone-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #fde68a, #fbbf24, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-phone-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
}

/* Confirm Identity Box */
.identity-box {
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.18);
    border-radius: var(--r-md);
    padding: 0.9rem;
    margin-bottom: 1.1rem;
}

.identity-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 0.35rem;
}

/* ─── Bottom Navigation ───────────────────────────────── */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(8, 6, 8, 0.95);
    border-top: 1px solid rgba(251, 191, 36, 0.1);
    backdrop-filter: blur(24px);
    display: flex;
    z-index: 50;
    padding: 0.4rem 0 calc(0.4rem + env(safe-area-inset-bottom));
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.45rem 0.25rem;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 0.2s;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.nav-icon {
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.nav-item:hover .nav-icon {
    transform: translateY(-2px);
}

.nav-item.active {
    color: var(--gold-400);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* ─── Page Transitions ────────────────────────────────── */
.page {
    animation: pageIn 0.25s ease;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ─── Profile ─────────────────────────────────────────── */
.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.6rem;
    color: #1a0f00;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.3);
    border: 3px solid rgba(251, 191, 36, 0.3);
    flex-shrink: 0;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-row-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 380px) {
    .balance-amount {
        font-size: 1.6rem;
    }

    .balance-card {
        padding: 1.35rem;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .balance-actions {
        gap: 0.5rem;
    }

    .balance-action-btn {
        font-size: 0.65rem;
    }
}

@media (min-width: 680px) {
    .app-main {
        padding: 1.75rem;
    }

    .balance-card {
        padding: 2rem 2.25rem;
    }

    .modal-box {
        padding: 2rem;
    }
}

@media (min-width: 900px) {
    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ─── Investment Items ─────────────────────────────────── */
.items-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0.75rem 0 0.4rem;
}

.items-row {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.items-row::-webkit-scrollbar { display: none; }

.item-card {
    flex-shrink: 0;
    width: 130px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    padding: 0.85rem 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    scroll-snap-align: start;
    transition: border-color 0.2s, background 0.2s;
    cursor: default;
}

.item-card.owned {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.06);
}

.item-card:not(.owned):hover {
    background: rgba(251, 191, 36, 0.06);
    border-color: rgba(251, 191, 36, 0.25);
}

.item-emoji {
    font-size: 2rem;
    line-height: 1;
}

.item-name {
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.25;
}

.item-price {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold-400);
    text-align: center;
}

.item-return-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--green);
    font-size: 0.63rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 20px;
    white-space: nowrap;
}

.item-buy-btn {
    margin-top: 0.35rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1a0f00;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.item-buy-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}
.item-buy-btn:disabled {
    background: rgba(255,255,255,0.08);
    color: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.item-owned-tag {
    margin-top: 0.3rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* ─── My Items Grid ───────────────────────────────────── */
.my-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.my-item-card {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--r-md);
    padding: 0.8rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.my-item-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.my-item-info {
    flex: 1;
    min-width: 0;
}

.my-item-name {
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-item-earn {
    font-size: 0.67rem;
    color: var(--green);
    font-weight: 600;
    margin-top: 0.1rem;
}

.my-item-total {
    font-size: 0.64rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════
   LANDING HERO — MOBILE FIRST
═══════════════════════════════════════════════════════ */
.landing-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 100% 50% at 50% -5%, rgba(251,191,36,0.14) 0%, transparent 65%),
                linear-gradient(180deg, #0a0806 0%, #080c18 100%);
    padding: 2.5rem 1.25rem 2rem;
    text-align: center;
}

/* Glowing background orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.3;
}
.orb-1 {
    width: 220px; height: 220px;
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
    top: -60px; left: -50px;
    animation: orbFloat 8s ease-in-out infinite;
}
.orb-2 {
    width: 180px; height: 180px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -30px; right: -30px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(14px) scale(1.05); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

/* ── Logo ── */
.hero-logo {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.hero-logo-icon { font-size: 1.5rem; }
.hero-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Headline ── */
.hero-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.65rem, 8vw, 2.2rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin: 0;
}
.hero-highlight {
    background: linear-gradient(135deg, #fde68a 20%, #f59e0b 60%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Sub text ── */
.hero-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 340px;
    margin: 0;
}

/* ── Stats pill ── */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 40px;
    padding: 0.6rem 1.1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-stat { text-align: center; }
.hero-stat-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gold-400);
    line-height: 1;
}
.hero-stat-lbl {
    font-size: 0.62rem;
    color: var(--text-secondary);
    margin-top: 0.18rem;
    white-space: nowrap;
}
.hero-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.1);
}

/* ── Feature cards — 1 col on small phones ── */
.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    width: 100%;
}
.hero-feat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: border-color 0.2s, background 0.2s;
}
.hero-feat:hover {
    background: rgba(251,191,36,0.05);
    border-color: rgba(251,191,36,0.2);
}
.hero-feat-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.hero-feat-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}
.hero-feat-desc {
    font-size: 0.71rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* ── CTA hint ── */
.hero-cta-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}
.hero-arrow {
    font-size: 1.1rem;
    color: var(--gold-400);
    animation: bounceArrow 1.6s ease-in-out infinite;
}
@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

/* ── Auth wrap — full width on mobile ── */
.auth-wrap {
    width: 100%;
    padding: 2rem 1.25rem calc(3rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #080c18 0%, #0d0a0c 100%);
    border-top: 1px solid rgba(251, 191, 36, 0.1);
}

/* Limit auth box width on mobile */
.auth-box {
    max-width: 420px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   TABLET (≥ 540px): 2-column feature cards, wider hero
═══════════════════════════════════════════════════════ */
@media (min-width: 540px) {
    .landing-hero { padding: 3rem 2rem 2.5rem; }
    .hero-features { grid-template-columns: repeat(2, 1fr); }
    .hero-feat { text-align: center; flex-direction: column; align-items: center; gap: 0.4rem; }
    .hero-sub { max-width: 400px; }
    .hero-headline { font-size: clamp(1.9rem, 6vw, 2.4rem); }
}

/* ═══════════════════════════════════════════════════════
   DESKTOP (≥ 900px): Two-column layout — hero left, auth right
═══════════════════════════════════════════════════════ */
@media (min-width: 900px) {

    /* Side-by-side layout */
    #auth-screen {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        min-height: 100vh;
    }

    .landing-hero {
        flex: 1 1 55%;
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding: 4rem 3rem;
        text-align: left;
        border-right: 1px solid rgba(251,191,36,0.1);
    }

    .hero-inner {
        align-items: flex-start;
        max-width: 540px;
    }

    .hero-sub { max-width: 100%; }

    .hero-headline { font-size: clamp(2rem, 3.5vw, 2.8rem); }

    .hero-stats {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    /* 3-column cards on desktop */
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-feat {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 1rem;
    }

    .hero-cta-hint { align-items: flex-start; }

    /* Auth panel — sticky right column */
    .auth-wrap {
        flex: 0 0 45%;
        max-width: 480px;
        min-height: 100vh;
        display: flex;
        align-items: center;
        border-top: none;
        border-left: 1px solid rgba(251,191,36,0.08);
        padding: 3rem 2.5rem;
        background: linear-gradient(180deg, #0d0a0c 0%, #080608 100%);
    }

    .auth-box {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .orb-1 { width: 320px; height: 320px; opacity: 0.4; }
    .orb-2 { width: 260px; height: 260px; opacity: 0.35; }
}

/* ═══════════════════════════════════════════════════════
   LARGE DESKTOP (≥ 1280px): more breathing room
═══════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
    .landing-hero { padding: 5rem 4rem; }
    .hero-headline { font-size: 3rem; }
    .auth-wrap { padding: 4rem 3rem; }
}

/* ═══════════════════════════════════════════════════════
   VERY SMALL PHONES (≤ 360px): compact
═══════════════════════════════════════════════════════ */
@media (max-width: 360px) {
    .hero-stats {
        flex-direction: column;
        gap: 0.4rem;
        border-radius: 16px;
        padding: 0.75rem 1rem;
    }
    .hero-stat-divider { width: 40px; height: 1px; }
    .hero-features { grid-template-columns: 1fr; }
    .hero-headline { font-size: 1.55rem; }
}
