/* 密码保护样式 - 调整为与网站主题色调一致 */
#password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #191919;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.95));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#password-box {
    position: relative;
    background-color: #201f1f;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 15px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

#password-box h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

#password-box p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 300;
}

#password-input {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.15);
    background-color: rgba(255,255,255,0.05);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    margin-bottom: 25px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

#password-input:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.3);
}

#password-input::placeholder {
    color: rgba(255,255,255,0.4);
}

#password-submit {
    background-color: #ff6b00;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

#password-submit:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}

#password-error {
    color: #ff4d4d;
    font-size: 14px;
    margin-top: 15px;
    display: none;
    font-weight: 400;
}

.content-hidden {
    display: none;
}

/* 添加站点logo */
.password-logo {
    width: 120px;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* 添加渐变边框效果 */
#password-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, transparent, rgba(255,107,0,0.2), transparent);
    border-radius: 15px;
    z-index: -1;
}

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

