/* =====================================================
   登录 / 注册 — 海军金专业风（去骰子漂浮 / 青紫 / emoji）
   ===================================================== */

body.auth-page {
    background:
        radial-gradient(ellipse 90% 55% at 50% -15%, rgba(201, 162, 39, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 70% 45% at 100% 100%, rgba(26, 39, 68, 0.55) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 0% 80%, rgba(42, 58, 92, 0.35) 0%, transparent 45%),
        var(--bg-dark);
}

/* 安静背景：隐藏骰子，金色光斑弱化 */
body.auth-page .floating-dice {
    display: none !important;
}

body.auth-page .glow-orb.orb-1 {
    background: rgba(201, 162, 39, 0.45);
    opacity: 0.12;
}

body.auth-page .glow-orb.orb-2 {
    background: rgba(42, 58, 92, 0.8);
    opacity: 0.14;
}

body.auth-page .glow-orb.orb-3 {
    background: rgba(212, 175, 55, 0.35);
    opacity: 0.08;
}

body.auth-page .auth-card {
    background: linear-gradient(165deg, rgba(28, 36, 54, 0.96) 0%, rgba(14, 18, 30, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    padding: 2.25rem 1.5rem 1.75rem;
    animation: authCardIn 0.45s ease-out;
}

@keyframes authCardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

body.auth-page .logo-section {
    margin-bottom: 1.75rem;
}

body.auth-page .logo-icon {
    animation: none;
    margin-bottom: 0.75rem;
}

body.auth-page .auth-logo-img {
    width: 160px;
    max-height: 88px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

body.auth-page .logo-text {
    font-family: "Noto Sans SC", "PingFang SC", sans-serif !important;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #fff6d0 0%, #e8c547 45%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.auth-page .logo-subtitle {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
}

body.auth-page .auth-form {
    gap: 0.85rem;
}

body.auth-page .input-wrapper {
    gap: 0;
}

body.auth-page .input-icon {
    left: 0.9rem;
    width: 18px;
    height: 18px;
    font-size: 0 !important;
    z-index: 2;
    pointer-events: none;
}

body.auth-page .input-icon.ui-ico {
    background: linear-gradient(145deg, #f8ecc0 0%, #e0c35a 40%, #c9a227 100%);
    filter: none;
}

body.auth-page .input-wrapper input {
    padding: 0.85rem 2.75rem 0.85rem 2.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    font-size: 0.92rem;
    font-family: "Noto Sans SC", "PingFang SC", sans-serif;
}

body.auth-page .input-wrapper input:focus {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

body.auth-page .input-focus-border {
    display: none;
}

body.auth-page .toggle-password {
    right: 0.65rem;
    opacity: 0.55;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
}

body.auth-page .toggle-password.is-visible {
    opacity: 0.95;
}

body.auth-page .toggle-password .eye-icon.ui-ico,
body.auth-page .toggle-password .ui-ico {
    width: 18px;
    height: 18px;
    font-size: 0 !important;
    background: linear-gradient(145deg, #f8ecc0 0%, #e0c35a 40%, #c9a227 100%);
}

body.auth-page .captcha-row {
    gap: 0.5rem;
}

body.auth-page .captcha-row input {
    flex: 1;
    min-width: 0;
}

body.auth-page #captchaImage {
    height: 42px;
    width: auto;
    min-width: 96px;
    margin-left: 0 !important;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #fff;
    flex-shrink: 0;
}

body.auth-page .form-options {
    margin-top: 0.15rem;
    font-size: 0.82rem;
}

body.auth-page .checkmark {
    border-color: rgba(255, 255, 255, 0.22);
    border-radius: 5px;
}

body.auth-page .remember-me input:checked + .checkmark {
    background: linear-gradient(135deg, #2a3a5c 0%, #c9a227 130%);
    border-color: transparent;
}

body.auth-page .forgot-password,
body.auth-page .terms-link,
body.auth-page .register-link {
    color: #e0c35a;
}

body.auth-page .forgot-password:hover,
body.auth-page .terms-link:hover,
body.auth-page .register-link:hover {
    color: #f0d56a;
    text-shadow: none;
    text-decoration: underline;
}

body.auth-page .btn-primary {
    background: linear-gradient(135deg, #2a3a5c 0%, #c9a227 130%) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
    font-weight: 620;
    letter-spacing: 0.08em;
}

body.auth-page .btn-secondary,
body.auth-page .btn-demo {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.88);
    box-shadow: none;
}

body.auth-page .btn-secondary:hover,
body.auth-page .btn-demo:hover {
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(201, 162, 39, 0.1);
    transform: none;
    box-shadow: none;
}

body.auth-page .btn-demo.loading .btn-loader {
    border-color: rgba(212, 175, 55, 0.25);
    border-top-color: #e0c35a;
}

body.auth-page .auth-footer {
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    border-top-color: rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

body.auth-page .decoration-ring {
    border-color: rgba(212, 175, 55, 0.12);
    opacity: 0.35;
}

@media (max-width: 480px) {
    body.auth-page .auth-card {
        padding: 1.75rem 1.15rem 1.4rem;
    }

    body.auth-page .auth-logo-img {
        width: 140px;
        max-height: 76px;
    }

    body.auth-page .input-wrapper input {
        padding: 0.8rem 2.6rem 0.8rem 2.6rem;
        font-size: 0.9rem;
    }
}
