/* ============================================================
   SUPER AREA — LOGIN STYLES (Luxury Black & Gold Mobile UI)
   ============================================================ */

:root {
    --gold: #D4AF37;
    --gold-soft: #F5D061;
    --gold-deep: #A37F1E;
    --bg-black: #0A0A0C;
    --card-bg: rgba(18, 18, 22, 0.92);
    --card-border: rgba(212, 175, 55, 0.35);
    --input-bg: rgba(28, 28, 35, 0.85);
    --input-border: rgba(212, 175, 55, 0.25);
    --text-primary: #F8FAFC;
    --text-muted: #A1A1AA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-color: var(--bg-black);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.18), transparent 65%),
                radial-gradient(circle at 100% 100%, rgba(163, 127, 30, 0.12), transparent 50%),
                linear-gradient(135deg, #050507 0%, #111116 100%);
    position: relative;
}

/* Luxury Ambient Blobs */
body::before, body::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    z-index: 0;
}

body::before {
    width: 320px;
    height: 320px;
    top: -60px;
    right: -60px;
    background: rgba(212, 175, 55, 0.22);
}

body::after {
    width: 280px;
    height: 280px;
    bottom: -60px;
    left: -60px;
    background: rgba(163, 127, 30, 0.15);
}

/* Card Container */
.login-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 38px 28px 28px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 
                0 0 35px rgba(212, 175, 55, 0.15);
    text-align: center;
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Top Crown/Shield Icon (Gold Theme) */
.badge-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-icon i {
    font-size: 28px;
    color: #0A0A0C;
}

/* Typography */
.brand-title {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #FFFFFF;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.brand-title span {
    color: var(--gold-soft);
}

.subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 26px;
    line-height: 1.4;
}

/* Error Notification */
.login-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #FCA5A5;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Form Styles */
.form-group {
    text-align: left;
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-soft);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field {
    width: 100%;
    padding: 15px 44px 15px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #FFFFFF;
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
    border-radius: 14px;
    outline: none;
    transition: all 0.25s ease;
}

.input-field::placeholder {
    color: #71717A;
    font-weight: 400;
}

.input-field:focus {
    border-color: var(--gold);
    background: rgba(28, 28, 35, 1);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
}

.input-wrapper i {
    position: absolute;
    right: 16px;
    font-size: 1.15rem;
    color: var(--gold);
    pointer-events: none;
}

/* Submit Button (Luxury Gold Gradient) */
.btn-login {
    width: 100%;
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0A0A0C;
    background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.38);
    transition: all 0.25s ease;
    margin-top: 8px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #FFE082 0%, var(--gold-soft) 50%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(212, 175, 55, 0.5);
}

.btn-login:active {
    transform: translateY(0) scale(0.98);
}

/* Footer & Privacy Link */
.login-footer {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-soft);
    transition: all 0.2s ease;
    padding: 7px 14px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.privacy-link:hover {
    color: #FFFFFF;
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--gold);
    text-decoration: none;
}

.copyright {
    margin-top: 14px;
    font-size: 0.725rem;
    color: #71717A;
}

/* Responsive Scaling for Mobile Screens */
@media (max-width: 480px) {
    body {
        padding: 12px;
    }
    
    .login-wrapper {
        padding: 30px 20px 24px;
        border-radius: 20px;
    }

    .badge-icon {
        width: 60px;
        height: 60px;
        border-radius: 18px;
        margin-bottom: 14px;
    }

    .badge-icon i {
        font-size: 24px;
    }

    .brand-title {
        font-size: 1.45rem;
    }

    .subtitle {
        font-size: 0.825rem;
        margin-bottom: 22px;
    }

    .input-field {
        padding: 14px 40px 14px 14px;
        font-size: 0.98rem;
    }

    .btn-login {
        padding: 15px 16px;
        font-size: 0.875rem;
    }
}
