:root { 
            --bg-dark: #050505; 
            --gold-primary: #FFD700; 
            --gold-secondary: #B8860B; 
            --text-light: #f8f9fa; 
            --shadow-lux: 0 15px 35px rgba(0, 0, 0, 0.7); 
        }
        body { 
            background: var(--bg-dark);
            color: var(--text-light); 
            font-family: 'Roboto', sans-serif; 
            height: 100vh; 
            margin: 0;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        #particles-js {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
        .login-card {
            width: 100%; 
            max-width: 450px; 
            background: rgba(20, 20, 20, 0.95);
            border: 2px solid rgba(255, 215, 0, 0.4); 
            border-radius: 25px;
            padding: 50px; 
            box-shadow: var(--shadow-lux), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(25px);
            position: relative;
            z-index: 1;
            animation: slideInLux 1.2s ease-out;
        }
        .login-card::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, var(--gold-primary), var(--gold-secondary), #FFD700);
            border-radius: 27px;
            z-index: -1;
            opacity: 0.2;
            animation: glowPulse 3s infinite ease-in-out;
        }
        h3 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            text-align: center;
            margin-bottom: 30px;
            color: var(--gold-primary);
            letter-spacing: 2px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            animation: textGlow 2s ease-in-out infinite alternate;
        }
        .form-control {
            background: rgba(255, 255, 255, 0.05); 
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-light); 
            border-radius: 12px; 
            padding: 15px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        .form-control:focus {
            background: rgba(255, 255, 255, 0.1); 
            color: var(--text-light); 
            border-color: var(--gold-primary); 
            box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
            outline: none;
        }
        .form-control::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }
        label {
            font-weight: 500;
            color: var(--text-light);
            margin-bottom: 8px;
            display: block;
        }
        .btn-gold {
            background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary)); 
            color: #000;
            font-weight: 700; 
            border: none; 
            padding: 15px; 
            border-radius: 50px; 
            width: 100%;
            transition: all 0.3s ease;
            margin-top: 20px;
            position: relative;
            overflow: hidden;
            font-size: 1.1rem;
            letter-spacing: 1px;
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
        }
        .btn-gold:hover {
            transform: translateY(-3px) scale(1.02); 
            box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
        }
        .btn-gold:active {
            transform: translateY(0) scale(1);
        }
        .btn-gold::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.6s;
        }
        .btn-gold:hover::before {
            left: 100%;
        }
        .alert-custom { 
            background: rgba(255, 0, 0, 0.1); 
            border: 1px solid #ff4444; 
            color: #ff6b6b; 
            border-radius: 12px; 
            font-size: 0.9rem; 
            text-align: center;
            padding: 10px;
            animation: shake 0.5s ease-in-out;
        }
        .text-center.mt-4 {
            text-align: center;
            margin-top: 30px;
        }
        .text-center.mt-4 a {
            color: var(--gold-primary);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }
        .text-center.mt-4 a:hover {
            color: var(--gold-secondary);
            text-decoration: underline;
        }
        @keyframes slideInLux {
            from {
                opacity: 0;
                transform: translateY(50px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes glowPulse {
            0%, 100% { opacity: 0.2; }
            50% { opacity: 0.4; }
        }
        @keyframes textGlow {
            from { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }
            to { text-shadow: 0 2px 10px rgba(255, 215, 0, 0.8); }
        }
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }
        @media (max-width: 768px) {
            .login-card {
                padding: 30px;
                margin: 20px;
            }
            h3 {
                font-size: 1.8rem;
            }
        }
        .back-home{
    text-align:center;
    margin-bottom:20px;
}

.back-home a{
    font-size:14px;
    color:#FFD700;
    text-decoration:none;
}

.back-home a:hover{
    text-decoration:underline;
}
