.login-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.login-form-container {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.login-gradient-container {
    width: 50%;
    display: none;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .login-gradient-container {
        display: block;
    }
}

.gradient-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
        #ff4500,
        #ff8c00,
        #ffd700,
        #ff8c00,
        #ff4500);
    background-size: 400% 400%;
    animation: gradientMove 20s ease infinite;
}

.gradient-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.login-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 2;
}

.flow-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flow-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%);
}

.flow-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: flowAnimation 3s linear infinite;
}

.access-point {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 3rem 0;
}

.access-point.entry {
    margin-bottom: 6rem;
}

.access-card {
    position: relative;
    width: 320px;
    height: 180px;
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.access-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.access-card:hover::before {
    transform: translateX(100%);
}

.access-card.entry {
    animation: slideInFromLeft 1s ease-out forwards;
    opacity: 0;
}

.access-card.exit {
    animation: slideInFromRight 1s ease-out forwards;
    opacity: 0;
}

@keyframes flowAnimation {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Effet de particules */
.particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.5;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: particleMove 15s linear infinite;
}

@keyframes particleMove {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Ajout dynamique des particules */
.login-gradient-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}
