/* ============================================
   UPPERCOIN — Design System Profesional
============================================ */
:root {
    --bg:        #0a0b0e;
    --bg-1:      #0f1116;
    --bg-2:      #151821;
    --bg-3:      #1c1f2b;
    --border:    #232838;
    --border-2:  #2d3346;
    --text:      #e8eaf0;
    --text-2:    #b8bdcc;
    --muted:     #6b7188;
    --brand:     #4d8dff;
    --brand-2:   #7c5cff;
    --success:   #3ddc84;
    --danger:    #ff5c5c;
    --warn:      #f5b942;
    --radius:    14px;
    --radius-sm: 10px;
    --shadow:    0 20px 50px -20px rgba(0,0,0,.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================
   NAV
============================================ */
.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 11, 14, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -.01em;
}
.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 15px;
}
.brand-name {
    font-size: 16px;
    letter-spacing: .02em;
}

.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}
.nav-user {
    font-size: 13px;
    color: var(--text-2);
    margin-right: 10px;
}

/* ============================================
   BOTONES
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .18s ease;
    white-space: nowrap;
    font-family: inherit;
}
.btn-lg { padding: 13px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 8px; font-weight: 600; }

.btn-primary {
    background: var(--brand);
    color: #fff;
}
.btn-primary:hover {
    background: #3f7fef;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -12px var(--brand);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-2);
}
.btn-ghost:hover {
    border-color: var(--brand);
    background: rgba(77,141,255,.06);
}

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #e64545; }
.btn-success { background: var(--success); color: #052a17; }
.btn-success:hover { background: #2fc470; }
.btn-warn { background: var(--warn); color: #2a1a00; }

/* ============================================
   HERO (landing)
============================================ */
.hero-section {
    padding: 90px 0 100px;
    background:
        radial-gradient(ellipse 800px 500px at 20% -10%, rgba(77,141,255,.14), transparent 60%),
        radial-gradient(ellipse 700px 500px at 90% 10%, rgba(124,92,255,.12), transparent 60%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    letter-spacing: .03em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-copy h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
    margin-bottom: 22px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    font-size: 17px;
    color: var(--text-2);
    max-width: 540px;
    margin-bottom: 32px;
    line-height: 1.65;
}
.lead b { color: var(--text); font-weight: 700; }

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero-meta {
    display: flex;
    gap: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.hero-meta > div {
    display: flex;
    flex-direction: column;
}
.hero-meta b {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.02em;
    margin-bottom: 2px;
}
.hero-meta span {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 500;
}

/* ============================================
   CREDENCIAL DE ACCESO (hero visual)
============================================ */
.hero-visual { display: flex; justify-content: flex-end; }

.access-card {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(160deg, var(--bg-2), var(--bg-3));
    border: 1px solid var(--border-2);
    border-radius: 20px;
    padding: 26px 26px 22px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.access-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(77,141,255,.16), transparent 55%),
        radial-gradient(circle at bottom left, rgba(124,92,255,.1), transparent 55%);
    pointer-events: none;
}
.access-card > * { position: relative; }

.access-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.access-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}
.access-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.access-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
    animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
}

.access-id {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--text);
    margin-bottom: 18px;
}
.access-id .blur {
    color: var(--muted);
    letter-spacing: .1em;
}

.access-tier {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(77,141,255,.08);
    border: 1px solid rgba(77,141,255,.18);
    margin-bottom: 22px;
}
.tier-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--brand);
    color: #fff;
    letter-spacing: .04em;
}
.tier-text {
    font-size: 13px;
    color: var(--text-2);
}

.access-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0 20px;
}

.access-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}
.access-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-2);
}
.access-perks li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--success);
}
.access-perks li.perk-hidden {
    color: var(--muted);
}
.access-perks li.perk-hidden svg {
    color: var(--muted);
}

.access-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 0 20px;
    border-top: 1px solid var(--border);
    margin-bottom: 18px;
}
.access-footer > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.meta-label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}
.meta-value {
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
}

.access-cta {
    margin-top: 4px;
}

/* ============================================
   SECCIONES
============================================ */
.section { padding: 90px 0; }
.section-alt {
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}
.section-head h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--text);
}
.section-head p {
    font-size: 16px;
    color: var(--text-2);
}

/* ============================================
   FEATURE CARDS
============================================ */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .25s ease;
}
.feature-card:hover {
    border-color: var(--border-2);
    transform: translateY(-3px);
    background: var(--bg-3);
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(77,141,255,.1);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}
.feature-card p b { color: var(--text); }

/* ============================================
   STEPS
============================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    position: relative;
}
.step {
    position: relative;
    padding-top: 24px;
    border-top: 2px solid var(--border-2);
}
.step-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: .05em;
    margin-bottom: 14px;
}
.step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}
.step p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}

/* ============================================
   CTA
============================================ */
.cta-section {
    padding: 90px 0;
    background:
        radial-gradient(ellipse 800px 400px at 50% 50%, rgba(77,141,255,.1), transparent 70%);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: 20px;
    padding: 48px 48px;
}
.cta-inner h2 {
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}
.cta-inner p {
    color: var(--text-2);
    font-size: 15px;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================
   FAQ
============================================ */
.faq {
    max-width: 780px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}
.faq details {
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
}
.faq summary {
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    font-size: 22px;
    color: var(--muted);
    font-weight: 400;
    transition: transform .2s;
}
.faq details[open] summary::after {
    content: '−';
    color: var(--brand);
}
.faq details p {
    margin-top: 14px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.7;
    max-width: 680px;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}
.footer-grid h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text);
    margin-bottom: 18px;
}
.footer-grid a {
    display: block;
    color: var(--text-2);
    font-size: 14px;
    margin-bottom: 10px;
    transition: color .2s;
}
.footer-grid a:hover { color: var(--brand); }
.footer-desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    margin-top: 16px;
    max-width: 320px;
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* ============================================
   INPUTS Y ALERTAS
============================================ */
input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-2);
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color .15s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(77,141,255,.14);
}

.input-select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-2);
    background: var(--bg-2);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    width: 100%;
    cursor: pointer;
}
.input-select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(77,141,255,.14);
}

.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 12px; }
.alert-error   { background: rgba(255,92,92,.1); color: var(--danger); border: 1px solid rgba(255,92,92,.25); }
.alert-success { background: rgba(61,220,132,.1); color: var(--success); border: 1px solid rgba(61,220,132,.25); }
.alert-info    { background: rgba(77,141,255,.1); color: var(--brand); border: 1px solid rgba(77,141,255,.25); }
.alert-warn    { background: rgba(245,185,66,.1); color: var(--warn); border: 1px solid rgba(245,185,66,.25); }

/* ============================================
   AUTH SPLIT-SCREEN
============================================ */
body.auth-body {
    overflow-x: hidden;
    background: var(--bg);
}

.auth-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    min-height: 100vh;
    background: var(--bg);
}

.auth-visual {
    position: relative;
    padding: 44px 48px;
    background:
        radial-gradient(ellipse 600px 400px at 20% 20%, rgba(77,141,255,.18), transparent 60%),
        radial-gradient(ellipse 500px 500px at 80% 80%, rgba(124,92,255,.15), transparent 60%),
        linear-gradient(160deg, var(--bg-2), var(--bg));
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    min-width: 0;
}
.auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.auth-visual .brand {
    position: relative;
    z-index: 1;
    align-self: flex-start;
}

.auth-visual-content {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-visual h2 {
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 18px;
    max-width: 420px;
}
.auth-visual .lead-text {
    color: var(--text-2);
    font-size: 15px;
    max-width: 400px;
    line-height: 1.65;
    margin-bottom: 36px;
}

.auth-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 420px;
}
.auth-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
}
.auth-features li strong {
    display: block;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 14px;
}
.auth-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--brand);
    margin-top: 2px;
}

.auth-visual .quote {
    position: relative;
    z-index: 1;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    font-style: italic;
    max-width: 420px;
}
.auth-visual .quote strong {
    display: block;
    color: var(--text);
    font-style: normal;
    font-weight: 600;
    margin-top: 8px;
    font-size: 13px;
}

.auth-form-side {
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0;
    background: var(--bg);
}
.auth-form-inner {
    width: 100%;
    max-width: 380px;
}

.auth-form-inner h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 6px;
    line-height: 1.2;
}
.auth-form-inner .sub {
    color: var(--text-2);
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.5;
}

.auth-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
}
.field input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-2);
    background: var(--bg-2);
    color: var(--text);
    font-size: 14px;
    width: 100%;
    font-family: inherit;
    transition: all .15s;
}
.field input:focus {
    outline: none;
    border-color: var(--brand);
    background: var(--bg-3);
    box-shadow: 0 0 0 4px rgba(77,141,255,.1);
}
.field .hint {
    font-size: 12px;
    color: var(--muted);
}

.auth-submit {
    margin-top: 8px;
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all .18s;
    font-family: inherit;
}
.auth-submit:hover {
    background: #3f7fef;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -12px var(--brand);
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--text-2);
    margin-top: 24px;
}
.auth-switch a {
    color: var(--brand);
    font-weight: 600;
}
.auth-switch a:hover { text-decoration: underline; }

.auth-back {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-top: 12px;
}
.auth-back a { color: var(--muted); }
.auth-back a:hover { color: var(--text); }

/* ============================================
   DASHBOARD
============================================ */
.dash-wrap {
    padding: 40px 0 80px;
}

.dash-greeting {
    margin-bottom: 32px;
}
.dash-greeting h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 6px;
}
.dash-greeting p {
    color: var(--text-2);
    font-size: 15px;
}

.balance-hero {
    background: linear-gradient(140deg, var(--bg-2), var(--bg-3));
    border: 1px solid var(--border-2);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.balance-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(77,141,255,.18), transparent 55%),
        radial-gradient(circle at bottom left, rgba(124,92,255,.12), transparent 55%);
    pointer-events: none;
}
.balance-hero > * { position: relative; }

.balance-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 8px;
}
.balance-amount {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 4px;
}
.balance-amount small {
    font-size: 20px;
    color: var(--muted);
    font-weight: 600;
    margin-left: 6px;
}
.balance-sub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
}
.balance-sub b { color: var(--success); }

.balance-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all .2s;
}
.stat-card:hover {
    border-color: var(--border-2);
}
.stat-card .stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 8px;
}
.stat-card .stat-value {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text);
    line-height: 1.2;
}
.stat-card .stat-value.success { color: var(--success); }
.stat-card .stat-value.danger  { color: var(--danger); }
.stat-card .stat-value.brand   { color: var(--brand); }
.stat-card .stat-hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.interest-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(140deg, rgba(61,220,132,.08), rgba(61,220,132,.02));
    border: 1px solid rgba(61,220,132,.25);
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.interest-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--success), #2bb673);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 24px;
    flex-shrink: 0;
}
.interest-info { flex: 1; min-width: 180px; }
.interest-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.interest-amount {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--success);
    line-height: 1.15;
}
.interest-sub {
    font-size: 13px;
    color: var(--text-2);
    margin-top: 4px;
}
.interest-sub b { color: var(--text); }
.interest-pct {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.interest-pct b {
    font-size: 28px;
    font-weight: 900;
    color: var(--success);
    letter-spacing: -.03em;
    line-height: 1;
}
.interest-pct span {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

.ref-card {
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
}
.ref-card h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ref-card .ref-desc {
    color: var(--text-2);
    font-size: 14px;
    margin-bottom: 20px;
}
.ref-code-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
}
.ref-code-box .ref-code-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 600;
}
.ref-code-box .ref-code-value {
    flex: 1;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 15px;
    color: var(--text);
    font-weight: 600;
    user-select: all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ref-link-box {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.ref-link-box input {
    flex: 1;
    font-size: 13px;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    color: var(--text-2);
    font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.ref-link-box button {
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
    font-family: inherit;
}
.ref-link-box button:hover {
    background: #3f7fef;
    transform: translateY(-1px);
}
.ref-link-box button.copied {
    background: var(--success);
    color: #062a10;
}

.crypto-card {
    background: linear-gradient(140deg, var(--bg-2), var(--bg-3));
    border: 1px solid var(--border-2);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.crypto-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f7931a, #ffb84d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 24px;
    flex-shrink: 0;
}
.crypto-info {
    flex: 1;
    min-width: 180px;
}
.crypto-name {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.crypto-price {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text);
    line-height: 1.15;
}
.crypto-change {
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
}
.crypto-change.up   { color: var(--success); }
.crypto-change.down { color: var(--danger); }

.crypto-meta {
    text-align: right;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

.warn-box {
    background: rgba(255,92,92,.06);
    border: 1px solid rgba(255,92,92,.3);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 24px;
}
.warn-box h3 {
    color: var(--danger);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.warn-box p {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.6;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.qa-btn {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 14px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all .2s;
}
.qa-btn:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
    background: var(--bg-3);
}
.qa-btn .qa-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(77,141,255,.1);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qa-btn .qa-icon svg { width: 18px; height: 18px; }
.qa-btn .qa-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.qa-btn .qa-desc {
    font-size: 12px;
    color: var(--muted);
}

.withdraw-cards-mobile { display: none; }
.withdraw-table-desktop { display: block; }

.withdraw-card {
    background: var(--bg);
    border: 1px solid var(--border-2);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.withdraw-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.withdraw-card-amount {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text);
    line-height: 1.15;
}
.withdraw-card-date {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}
.withdraw-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.withdraw-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.withdraw-card-row span { color: var(--muted); }
.withdraw-card-row b { color: var(--text); font-weight: 600; }

/* ============================================
   ADMIN
============================================ */
.admin-wrap {
    padding: 40px 0 80px;
}

.admin-nav {
    display: flex;
    gap: 6px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.admin-nav a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: all .15s;
}
.admin-nav a:hover {
    color: var(--text);
    background: var(--bg-2);
}
.admin-nav a.active {
    color: #fff;
    background: var(--brand);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.admin-header h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}
.admin-stat {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    transition: all .2s;
}
.admin-stat:hover {
    border-color: var(--border-2);
    transform: translateY(-2px);
}
.admin-stat .as-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 8px;
}
.admin-stat .as-value {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text);
    line-height: 1.15;
}
.admin-stat .as-value.brand   { color: var(--brand); }
.admin-stat .as-value.success { color: var(--success); }
.admin-stat .as-value.warn    { color: var(--warn); }
.admin-stat .as-value.danger  { color: var(--danger); }
.admin-stat .as-hint {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.admin-table th {
    text-align: left;
    padding: 12px 10px;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.admin-table td {
    padding: 14px 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
    vertical-align: middle;
}
.admin-table tr:hover td {
    background: var(--bg-3);
}
.admin-table .text-right { text-align: right; }
.admin-table .text-center { text-align: center; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}
.badge-admin   { background: rgba(245,185,66,.15); color: var(--warn); }
.badge-user    { background: rgba(77,141,255,.15); color: var(--brand); }
.badge-active  { background: rgba(61,220,132,.15); color: var(--success); }
.badge-banned  { background: rgba(255,92,92,.15); color: var(--danger); }
.badge-pending { background: rgba(245,185,66,.15); color: var(--warn); }
.badge-paid    { background: rgba(61,220,132,.15); color: var(--success); }
.badge-approved{ background: rgba(77,141,255,.15); color: var(--brand); }
.badge-rejected{ background: rgba(255,92,92,.15); color: var(--danger); }

.settings-section {
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
}
.settings-section h2 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.settings-section .section-desc {
    color: var(--text-2);
    font-size: 14px;
    margin-bottom: 22px;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.setting-row:last-child {
    border-bottom: none;
}
.setting-info {
    flex: 1;
    min-width: 200px;
}
.setting-info label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.setting-info small {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}
.setting-control {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 140px;
}
.setting-control input[type="number"],
.setting-control input[type="text"] {
    width: 140px;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid var(--border-2);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
}
.setting-control input:focus {
    outline: none;
    border-color: var(--brand);
}
.setting-control .suffix {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--border-2);
    border-radius: 26px;
    transition: .25s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: .25s;
}
.toggle-switch input:checked + .toggle-slider {
    background: var(--success);
}
.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-visual { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .nav-links { display: none; }
    .cta-inner { padding: 36px 28px; text-align: center; justify-content: center; }

    .auth-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .auth-visual {
        padding: 32px 24px 40px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .auth-visual-content { padding: 24px 0; }
    .auth-visual h2 { font-size: 24px; margin-bottom: 12px; }
    .auth-visual .lead-text { margin-bottom: 24px; }
    .auth-visual .quote { display: none; }
    .auth-form-side { padding: 40px 24px 60px; }
}

@media (max-width: 900px) {
    .admin-table { font-size: 13px; }
    .admin-table th,
    .admin-table td { padding: 10px 6px; }
}

@media (max-width: 700px) {
    input, select, textarea,
    .field input,
    .input-select {
        font-size: 16px !important;
    }

    .nav-user { display: none; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    .stat-card { padding: 14px 12px; }
    .stat-card .stat-label { font-size: 10px; letter-spacing: .04em; }
    .stat-card .stat-value { font-size: 18px; }
    .stat-card .stat-hint { font-size: 10px; }

    .dash-wrap { padding: 24px 0 60px; }
    .container { padding: 0 18px; }

    .dash-greeting h1 { font-size: 22px; }
    .dash-greeting p { font-size: 14px; }

    .ref-card { padding: 20px 16px; border-radius: 16px; }
    .balance-hero { padding: 24px; }
    .crypto-card { padding: 20px; }
    .crypto-meta { text-align: left; width: 100%; }
    .ref-link-box { flex-direction: column; }
    .ref-link-box button { width: 100%; }

    .interest-card { padding: 18px; gap: 14px; }
    .interest-icon { width: 44px; height: 44px; font-size: 20px; }
    .interest-amount { font-size: 20px; }
    .interest-pct b { font-size: 22px; }

    .auth-submit { padding: 14px; font-size: 15px; }

    .warn-box { padding: 18px; }
    .warn-box h3 { font-size: 14px; }
    .warn-box p { font-size: 13px; }

    .withdraw-table-desktop { display: none; }
    .withdraw-cards-mobile { display: flex; flex-direction: column; gap: 12px; }

    .nav { height: 60px; }
    .brand-name { font-size: 14px; }
    .btn { padding: 9px 14px; font-size: 13px; }

    .alert { font-size: 13px; padding: 12px 14px; }

    /* Admin mobile */
    .admin-wrap { padding: 24px 0 60px; }
    .admin-header h1 { font-size: 22px; }
    .admin-nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 12px; }
    .admin-nav a { white-space: nowrap; font-size: 13px; }
    .settings-section { padding: 20px 16px; }
    .setting-row { flex-direction: column; align-items: stretch; }
    .setting-control { justify-content: flex-start; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .admin-stat .as-value { font-size: 20px; }
}

@media (max-width: 600px) {
    .hero-meta { gap: 24px; flex-wrap: wrap; }
    .nav-cta .btn-ghost { display: none; }
    .section { padding: 60px 0; }
    .hero-section { padding: 60px 0 70px; }

    .auth-visual { padding: 24px 20px 32px; }
    .auth-visual h2 { font-size: 22px; }
    .auth-form-side { padding: 32px 20px 50px; }
    .auth-form-inner h1 { font-size: 22px; }
    .auth-form-inner .sub { margin-bottom: 22px; }
    .auth-form-fields { gap: 14px; }
}