body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('images/zhen.webp') no-repeat center center fixed;
    background-size: cover;
    opacity: 1; /* 确保透明度为 1，即完全不透明 */
}

.gallery-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.gallery-a4-img {
    width: 300px;
    height: 350px;
    margin: 10px;
    opacity:0.4;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-a4-img:hover {
    transform: scale(1.1);
    cursor: pointer;
    opacity:1.0;
}

.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.gallery-modal-img {
    max-width: 90%;
    max-height: 90%;
}

.gallery-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.gallery-pagination {       
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    color: white;
    text-shadow: 0 0 10px gold,0 0 20px gold,0 0 30px gold,0 0 40px gold;
}

.gallery-pagination button {

    opacity:0.4;
    margin: 0 100px;
    font-size: 20px;
    font-family: "Smiley Sans Oblique";
    cursor: pointer;
    align-content: center;
    align-items: center;
    text-align: center;
    height: 5vh;
    width: 10vh;
    background-color: #CCC;
    color: #111;
    border: 1px solid #777;
    border-radius: 5px;
    transition: 0.2s ease;
}

/* 悬停效果 */
.gallery-pagination button:hover {
    opacity:1;
    background-color: #111; /* 背景变为黑色 */
    color: #FFF; /* 文字变为白色 */
}



#pageIndicator {
    font-size: 18px;
}



        .gallery-textzhenxie {
            position: fixed;
            bottom: 20px;
            left: 20px;
        }

        .gallery-textzhenxie button {
            opacity: 0.4;
            font-size: 20px;
            font-family: "Smiley Sans Oblique";
            cursor: pointer;
            text-align: center;
            height: 7vh;
            width: 25vh;
            background-color: #CCC;
            color: #111;
            border: 1px solid #777;
            border-radius: 5px;
            transition: 0.2s ease;
        }

        .gallery-textzhenxie button:hover {
            opacity: 1;
            background-color: #111; /* 背景变为黑色 */
            color: #FFF; /* 文字变为白色 */

        }

        /* 额外文字的显示样式 */
        .gallery-textzhenxie button:hover::after {
            content: "道友，为何你那人皇幡库库往外冒黑烟啊\A你懂什么！此乃先天至宝人皇幡！\A什么黑气？此乃鸿蒙紫气，只因我这法宝强大，紫气过于浓郁略显发黑罢了！";
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            white-space: pre-line;
            font-size: 18px;
            color: #FFF;
            text-shadow: 0 0 10px red,0 0 20px red,0 0 30px red,0 0 40px red;
        }








        .gallery-textR18G{
            position: fixed;
            bottom: 20px;
            left: 600PX;
        }

        .gallery-textR18G button {
            opacity: 0.4;
            font-size: 20px;
            font-family: "Smiley Sans Oblique";
            cursor: pointer;
            text-align: center;
            height: 7vh;
            width: 25vh;
            background-color: #CCC;
            color: #111;
            border: 1px solid #777;
            border-radius: 5px;
            transition: 0.2s ease;
        }

        .gallery-textR18G button:hover {
            opacity: 1;
            background-color: #111; /* 背景变为黑色 */
            color: #FFF; /* 文字变为白色 */

        }

        /* 额外文字的显示样式 */
        .gallery-textR18G button:hover::after {
            content: "R18G";
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            white-space: pre-line;
            font-size: 18px;
            color: #FFF;
            text-shadow: 0 0 10px red,0 0 20px red,0 0 30px red,0 0 40px red;
        }




/* 现有的 CSS 样式 */

/* 密码提示样式 */
#password-prompt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100; /* 确保它覆盖在内容之上 */
}

#password-prompt h2 {
    color: white;
    margin-bottom: 20px;
}

#password-input {
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
}

#password-prompt button {
    padding: 10px 20px;
    font-size: 16px;
}

.gallery-video {
    width: 200px;
    height: auto;
    margin: 10px;
}
