/* Luxury MLM - Auth CSS - Dark & Gold Theme */
:root {
    --color-dark: #0a0a0a;
    --color-charcoal: #1a1a1a;
    --color-gold: #D4AF37;
    --color-gold-light: #F4D03F;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    --color-text-primary: #ffffff;
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
    font-size: 16px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(244, 208, 63, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    animation: floatLux 30s infinite ease-in-out;
    filter: blur(80px);
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(212, 175, 55, 0.08);
    top: -300px;
    left: -300px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(244, 208, 63, 0.08);
    bottom: -250px;
    right: -250px;
    animation-delay: 10s;
}

@keyframes floatLux {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 100px) scale(1.1); }
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
    margin: 20px;
}

.auth-card {
    background: var(--color-charcoal);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    padding: 50px 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.1);
    animation: slideUp 0.6s ease-out;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: var(--color-dark);
    animation: pulseGold 2s infinite;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

@keyframes pulseGold {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 60px rgba(212, 175, 55, 0.7);
    }
}

.auth-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.auth-header p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--color-gold);
    font-size: 17px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}

.form-control {
    width: 100%;
    padding: 16px 20px 16px 55px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    font-size: 17px;
    transition: all 0.3s ease;
    background: rgba(42, 42, 42, 0.5);
    color: var(--color-text-primary);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1), var(--shadow-gold);
    background: rgba(42, 42, 42, 0.7);
}

.form-control:focus + .input-icon {
    color: var(--color-gold);
}

.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    color: rgba(212, 175, 55, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: var(--color-gold);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-gold);
}

.remember-me label {
    margin: 0;
    cursor: pointer;
    font-size: 16px;
    color: var(--color-text-primary);
}

.forgot-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.btn-auth {
    width: 100%;
    padding: 18px;
    background: var(--gradient-gold);
    color: var(--color-dark);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-auth:hover::before {
    left: 100%;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
}

.divider span {
    position: relative;
    background: var(--color-charcoal);
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    flex: 1;
    padding: 14px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    background: rgba(42, 42, 42, 0.5);
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-gold);
}

.social-btn i {
    font-size: 22px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold);
    background: rgba(42, 42, 42, 0.8);
}

.auth-footer {
    text-align: center;
    font-size: 17px;
}

.auth-footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.auth-footer a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
    body {
        font-size: 18px;
    }
    
    .auth-card {
        padding: 40px 30px;
    }
    
    .logo {
        width: 75px;
        height: 75px;
        font-size: 38px;
    }
    
    .auth-header h1 {
        font-size: 28px;
    }
    
    .form-control {
        font-size: 18px;
    }
    
    .btn-auth {
        font-size: 19px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 19px;
    }
    
    .auth-card {
        padding: 35px 25px;
    }
    
    .logo {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
    
    .auth-header h1 {
        font-size: 26px;
    }
    
    .form-control {
        font-size: 19px;
        padding: 20px 20px 20px 55px;
    }
    
    .btn-auth {
        font-size: 20px;
        padding: 22px;
    }
    
    .social-login {
        flex-direction: column;
    }
}
