body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: radial-gradient(circle at top, #4f46e5 0, #020617 50%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
}

.auth-root {
    width: 100%;
    max-width: 440px;
    padding: 24px 18px;
}

.auth-card {
    border-radius: 20px;
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(148,163,184,0.4);
    box-shadow: 0 24px 60px rgba(15,23,42,0.9);
    padding: 20px 18px 18px;
    position: relative;
    overflow: hidden;
}
.auth-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle at top, rgba(129,140,248,0.18), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}
.auth-card-inner {
    position: relative;
    z-index: 1;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.auth-badge {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #a5b4fc, #4f46e5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.auth-title-area {
    display: flex;
    flex-direction: column;
}
.auth-title {
    font-size: 1rem;
    font-weight: 600;
}
.auth-sub {
    font-size: 0.8rem;
    color: #9ca3af;
}

.auth-body {
    margin-top: 10px;
    font-size: 0.82rem;
    color: #d1d5db;
}

.auth-error {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(248,113,113,0.9);
    background: rgba(248,113,113,0.12);
    color: #fecaca;
    font-size: 0.78rem;
}

.auth-footer {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    color: #9ca3af;
}

.auth-btn {
    border: none;
    background: linear-gradient(135deg, #5865f2, #4f46e5);
    color: #f9fafb;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(79,70,229,0.8);
}
.auth-btn span:first-child {
    font-size: 1rem;
}
.auth-btn:hover {
    filter: brightness(1.03);
}


.auth-btn-discord {
    background: linear-gradient(135deg, #5865F2, #404EED);
    box-shadow: 0 18px 45px rgba(88,101,242,0.9);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.auth-btn-discord:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 60px rgba(88,101,242,0.95);
    filter: brightness(1.03);
}

.auth-btn-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-btn-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
