
:root {
    --primary-color: #3498db;
    --primary-hover: #2980b9;
    --transition-speed: 0.3s;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.2) 100%);
    min-height: 100vh;
    font-family: 'Montserrat', Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
}

@keyframes backgroundShift {
    0% { background-position: center center; }
    50% { background-position: center 55%; }
    100% { background-position: center center; }
}

.pur-logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: all var(--transition-speed);
    z-index: 100;
}

.pur-logo-container:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.pur-logo {
    height: 50px;
    display: block;
    transition: transform var(--transition-speed);
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding-top: 120px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    position: relative;
    z-index: 50;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: rgba(255,255,255,0.95);
    transition: all var(--transition-speed);
    transform: translateY(0);
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.login-header {
    background-color: white;
    padding: 25px;
    border-bottom: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.login-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #2ecc71);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.login-card:hover .login-header::after {
    transform: scaleX(1);
}

.login-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    position: relative;
}

.login-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transition-delay: 0.2s;
}

.login-card:hover .login-title::after {
    transform: scaleX(1.5);
}

.card-body {
    padding: 25px;
}

.login-btn {
    background-color: var(--primary-color);
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 1rem;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.login-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn i {
    transition: transform 0.3s ease;
}

.login-btn:hover i {
    transform: translateX(3px);
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    pointer-events: none;
    opacity: 0.7;
    filter: blur(1px);
    background: rgba(52, 152, 219, 0.6); 
}

/*  FOOTER LEGAL (LOGIN) */
.login-legal-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    z-index: 100;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); 
}

.login-legal-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all var(--transition-speed);
    font-weight: 500;
}

.login-legal-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.login-legal-footer .separator {
    margin: 0 12px;
    opacity: 0.6;
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover; 
    z-index: -1;
    opacity: 0.8; 
}

@media (max-width: 576px) {
    .login-legal-footer {
        bottom: 15px;
        font-size: 11px;
    }
}

@keyframes float {
    0% {
        transform: translateY(110vh) translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 0.6; 
    }
    80% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-20vh) translateX(20px);
        opacity: 0; 
    }
}

@media (max-width: 576px) {
    .pur-logo-container {
        top: 10px;
        left: 10px;
        padding: 8px;
    }
    
    .pur-logo {
        height: 40px;
    }
    
    .login-container {
        padding: 100px 15px 0;
    }
}