
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    animation: fadeInUp 0.8s ease-out;
}

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

.login-page-logo {
    width: 340px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.3));
    animation: logoPulse 3s ease-in-out infinite;
    mix-blend-mode: lighten;
    mask-image: radial-gradient(ellipse 85% 80% at center, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 80% at center, black 50%, transparent 100%);
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.2)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 0, 0, 0.4)); }
}

.login-box {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.98));
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 0, 0, 0.15);
    width: 400px;
    max-width: 90vw;
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(255, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.input-icon {
    position: absolute;
    left: 16px;
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.input-group:focus-within .input-icon {
    color: #ff2020;
}

.login-box input {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 12px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px 16px 48px;
    font-size: 15px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.login-box input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.login-box input:focus {
    border-color: rgba(255, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
}

.login-box input:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.07);
}

.login-box button {
    background: linear-gradient(135deg, #cc0000, #990000);
    color: white;
    border-radius: 12px;
    width: 100%;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Segoe UI', system-ui, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

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

.login-box button:hover::before {
    left: 100%;
}

.login-box button:hover {
    background: linear-gradient(135deg, #e00000, #aa0000);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.login-box button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.2);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.login-box button:hover .btn-arrow {
    transform: translateX(4px);
}

.login-footer {
    color: rgba(255, 255, 255, 0.15);
    font-size: 12px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

/* Mobile */
@media (max-width: 500px) {
    .login-page-logo {
        width: 260px;
    }
    .login-box {
        padding: 30px 24px;
    }
}
