/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: #000;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* 密码输入界面样式 */
#password-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: pink;
}

#password-screen h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 36px;
    text-transform: uppercase;
    font-weight: bold;
}

#password-screen input[type="password"] {
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 18px;
    width: 200px;
}

#password-screen button#enter-password-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 18px;
}

#password-screen #password-error {
    color: red;
    margin-top: 10px;
    display: none;
}

#password-screen #password-hint {
    color: #666;
    margin-top: 5px;
    font-size: 14px;
    text-transform: lowercase;
    font-style: italic;
}

/* 纪念展示界面（3D 效果展示相关样式） */
#memorial-screen {
    display: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    margin-top: 250px; /* 恢复到之前往下调整后的 margin-top 值 */
    margin-bottom: 80px; /* 恢复到之前往下调整后的 margin-bottom 值 */
    padding-top: 30px; /* 恢复到之前的内边距值 */
}

#box {
    position: relative;
    display: flex;
    width: 130px;
    height: 200px;
    margin: auto;
    transform-style: preserve-3d;
    transform: rotateX(-10deg);
}

#box>div {
    transform-style: preserve-3d;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 200px;
    font-size: 50px;
    text-align: center;
    box-shadow: 0 0 10px #fff;
    -webkit-box-reflect: below 10px -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0,.8) 100%);
}

#box p {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 1200px;
    height: 1200px;
    background: -webkit-radial-gradient(center center, 600px 600px, rgba(50, 50, 50, 1), rgba(0, 0, 0, 0));
    border-radius: 50%;
    transform: rotateX(90deg) translate3d(-600px, 0, -105px);
}

/* 照片放大展示样式 */
.large-photo-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.large-photo {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}