/* Password Protection Styles */

/* Blur effect for locked content */
.content-locked {
    filter: blur(15px);
    transform: scale(1.02);
    transition: all 0.5s ease;
    pointer-events: none;
    user-select: none;
}

/* Password overlay */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    transition: opacity 0.5s ease;
}

/* Password modal */
.password-modal {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.5s ease;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.password-modal.password-success {
    animation: successPulse 0.5s ease;
}

/* Password content */
.password-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.password-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.6));
}

.password-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.1em;
    margin: 0;
}

.password-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.5rem 0;
}

/* Password form */
.password-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.password-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #FFFFFF;
    text-align: center;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
    outline: none;
}

.password-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 169, 97, 0.5);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.2);
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

/* Password submit button */
.password-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: rgba(201, 169, 97, 0.1);
    border: 2px solid rgba(201, 169, 97, 0.5);
    border-radius: 6px;
    color: #C9A961;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.password-submit:hover {
    background: rgba(201, 169, 97, 0.2);
    border-color: #C9A961;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.password-submit:active {
    transform: translateY(0);
}

/* Error message */
.password-error {
    color: #ff6b6b;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

/* Shake animation for wrong password */
.password-shake {
    animation: shake 0.5s ease;
    border-color: #ff6b6b !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .password-modal {
        padding: 2rem;
        width: 95%;
    }

    .password-logo {
        width: 150px;
    }

    .password-title {
        font-size: 1.5rem;
    }

    .password-subtitle {
        font-size: 0.9rem;
    }

    .password-input,
    .password-submit {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
}