:root {
    --auth-bg: #061018;
    --auth-panel: #0c1624;
    --auth-card: #101c2e;
    --auth-line: rgba(255, 255, 255, 0.12);
    --auth-text: #f4f7fb;
    --auth-muted: #b7c3d3;
    --auth-label: #d5deea;
    --auth-usdt: #2ecf98;
    --auth-usdt-2: #26a17b;
    --auth-gold: #f5c542;
    --auth-input: #172338;
    --auth-danger: #ff8b8b;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.auth-body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
    background: var(--auth-bg);
    color: var(--auth-text);
    min-height: 100vh;
    min-height: 100dvh;
}

.auth-stage {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr;
}

.auth-showcase {
    display: none;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(46, 207, 152, 0.22), transparent 34%),
        radial-gradient(circle at 88% 80%, rgba(245, 197, 66, 0.12), transparent 32%),
        linear-gradient(165deg, #0a1a22 0%, #07131c 48%, #0b1f28 100%);
    padding: 48px 56px;
    color: var(--auth-text);
}
.auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}
.auth-orb-1 { width: 280px; height: 280px; background: rgba(38, 161, 123, 0.28); top: -80px; right: -40px; }
.auth-orb-2 { width: 220px; height: 220px; background: rgba(245, 197, 66, 0.14); bottom: 40px; left: -60px; }
.auth-showcase-inner { position: relative; z-index: 1; max-width: 460px; }
.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-family: "Space Grotesk", Inter, sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 36px;
}
.auth-brand img { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.auth-kicker {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(46, 207, 152, 0.14);
    border: 1px solid rgba(46, 207, 152, 0.35);
    color: var(--auth-usdt);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.auth-headline {
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: clamp(2.1rem, 3vw, 3.2rem);
    line-height: 1.12;
    margin: 0 0 16px;
    color: #fff;
    font-weight: 700;
}
.auth-lead {
    margin: 0 0 28px;
    color: var(--auth-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 420px;
}
.auth-points { list-style: none; margin: 0; padding: 0; }
.auth-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e8eef6;
    font-size: 0.98rem;
    margin-bottom: 12px;
}
.auth-points i {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 207, 152, 0.14);
    color: var(--auth-usdt);
    flex-shrink: 0;
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px 36px;
    background: var(--auth-panel);
}
.auth-panel-card {
    width: min(440px, 100%);
}
.auth-mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #fff;
    text-decoration: none;
    font-family: "Space Grotesk", Inter, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
}
.auth-mobile-brand img { width: 40px; height: 40px; border-radius: 10px; }
.auth-title {
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: 1.85rem;
    color: #fff;
    margin: 0 0 8px;
    font-weight: 700;
}
.auth-subtitle {
    margin: 0 0 24px;
    color: var(--auth-muted);
    font-size: 0.98rem;
    line-height: 1.55;
}
.auth-alert {
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 139, 139, 0.35);
    color: var(--auth-danger);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 0.92rem;
}
.auth-field { margin-bottom: 16px; }
.auth-label {
    display: block;
    color: var(--auth-label);
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 7px;
}
.auth-input {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1px solid var(--auth-line);
    background: var(--auth-input);
    color: #fff;
    font-size: 1rem;
    padding: 0 14px;
    outline: none;
    font-family: inherit;
}
.auth-input::placeholder { color: #8ea0b6; }
.auth-input:focus {
    border-color: var(--auth-usdt-2);
    box-shadow: 0 0 0 4px rgba(38, 161, 123, 0.18);
}
.auth-submit {
    width: 100%;
    height: 52px;
    margin-top: 8px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--auth-usdt-2), var(--auth-usdt));
    color: #06241c;
    font-size: 1.02rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}
.auth-submit:hover { filter: brightness(1.06); }
.auth-switch {
    text-align: center;
    margin: 18px 0 0;
    color: var(--auth-muted);
    font-size: 0.95rem;
}
.auth-switch a {
    color: var(--auth-gold);
    font-weight: 700;
    text-decoration: none;
}
.auth-switch a:hover { text-decoration: underline; }
.auth-note {
    text-align: center;
    margin: 14px 0 0;
    color: #93a3b7;
    font-size: 0.82rem;
}
.auth-home {
    display: inline-block;
    margin-top: 18px;
    color: #9aabc0;
    text-decoration: none;
    font-size: 0.88rem;
}
.auth-home:hover { color: #fff; }

@media (min-width: 960px) {
    .auth-stage { grid-template-columns: minmax(420px, 1.05fr) minmax(480px, 0.95fr); }
    .auth-showcase { display: flex; align-items: center; }
    .auth-mobile-brand { display: none; }
    .auth-panel { padding: 48px 56px; background: #0b1522; }
    .auth-panel-card {
        width: 100%;
        max-width: 440px;
        background: var(--auth-card);
        border: 1px solid var(--auth-line);
        border-radius: 24px;
        padding: 36px 32px 32px;
        box-shadow: 0 24px 80px rgba(0,0,0,0.35);
    }
}

@media (max-width: 959px) {
    .auth-panel { min-height: 100vh; min-height: 100dvh; }
}
