/* Lock Screen Styles */
.lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* More vibrant animated background */
    background: radial-gradient(circle at 50% 50%, #2a2a4e 0%, #050505 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

/* Floating background particles */
.lock-screen::before,
.lock-screen::after,
.lock-particle {
    content: "🎵";
    position: absolute;
    font-size: 15rem;
    opacity: 0.15;
    /* Increased from 0.03 */
    animation: floatParticle 25s linear infinite;
    pointer-events: none;
    filter: blur(4px);
    /* Less blur for definition */
    color: rgba(255, 255, 255, 0.1);
}

.lock-screen::before {
    top: 5%;
    left: 5%;
    animation-duration: 30s;
    color: rgba(37, 244, 238, 0.2);
    /* Cyan tint */
}

.lock-screen::after {
    bottom: 10%;
    right: 10%;
    animation-duration: 35s;
    animation-delay: -5s;
    content: "🛒";
    color: rgba(254, 44, 85, 0.2);
    /* Pink tint */
    font-size: 18rem;
}

/* Extra particle via pseudo-element if needed, or just keep simple */

@keyframes floatParticle {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-40px) rotate(15deg) scale(1.1);
    }

    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

.lock-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.lock-content {
    background: rgba(30, 30, 35, 0.7);
    /* Slightly lighter for contrast */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(37, 244, 238, 0.15);
    /* Cyan glow */
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 2;
}

.lock-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: pulse 3s infinite ease-in-out;
    filter: drop-shadow(0 0 15px rgba(254, 44, 85, 0.5));
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.lock-content h2 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.lock-content p {
    color: #aaa;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.lock-content input {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1.2rem;
    border-radius: 12px;
    width: 100%;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
    letter-spacing: 4px;
    transition: all 0.3s ease;
}

.lock-content input:focus {
    outline: none;
    border-color: #25f4ee;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(37, 244, 238, 0.3);
}

.lock-content button {
    background: linear-gradient(135deg, #fe2c55 0%, #ff0050 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(254, 44, 85, 0.3);
}

.lock-content button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(254, 44, 85, 0.5);
    filter: brightness(1.1);
}

.error-msg {
    color: #ff4d4d !important;
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 24px;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.3);
}