/* 统一的基础样式 */
html, body {
    background-color: rgb(0, 0, 0);
    color: white;
    font-family: "Noto Serif SC", serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100%;
}

/* 确保文本元素可以被翻译 */
h1, h2, h3, h4, h5, h6, p, div, span, a {
    pointer-events: auto;
}

/* 内容容器样式 */
.content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    pointer-events: auto;
}

/* 标题样式 */
h1 {
    color: rgb(199, 228, 242);
    text-align: center;
}

h2, h3 {
    color: rgb(182, 224, 246);
}

/* 段落样式 */
p {
    font-style: italic;
    line-height: 1.6;
}

/* 链接样式 */
a {
    color: rgb(199, 228, 242);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: rgb(255, 255, 255);
    text-decoration: underline;
}

/* 水平线样式 */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgb(199, 228, 242), transparent);
    margin: 30px 0;
}

/* 表格样式 */
table {
    margin: auto;
    border-collapse: collapse;
    width: 100%;
    max-width: 600px;
}

th, td {
    border: 1px solid rgb(199, 228, 242);
    padding: 15px;
    text-align: center;
}

th {
    background-color: rgba(199, 228, 242, 0.1);
    color: rgb(199, 228, 242);
}

/* 视频样式 */
video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 按钮样式 */
button {
    background-color: rgba(199, 228, 242, 0.2);
    color: white;
    border: 1px solid rgb(199, 228, 242);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: "Noto Serif SC", serif;
    transition: all 0.3s ease;
}

button:hover {
    background-color: rgba(199, 228, 242, 0.3);
    transform: translateY(-2px);
}

/* 输入框样式 */
input {
    width: 300px;
    padding: 10px;
    margin: 10px;
    border: 1px solid rgb(199, 228, 242);
    border-radius: 8px;
    font-size: 16px;
    background-color: #1a1a1a;
    color: white;
    font-family: "Noto Serif SC", serif;
}

input::placeholder {
    color: #888;
}

input:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(199, 228, 242, 0.4);
}

/* 输入区域样式 */
.input-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

/* 列表样式 */
ul, ol {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

li {
    margin: 10px 0;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content {
        padding: 40px 15px;
    }
    
    input {
        width: 250px;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 10px;
    }
}

/* ========== 主页特殊样式 ========== */
/* 星空容器 */
.stars {
    position: fixed;
    color: #888;
    font-family: monospace;
    pointer-events: none;
    will-change: transform, opacity;
    animation: 
        twinkle 3s infinite ease-in-out,
        drift linear infinite;
}

/* 闪烁动画 */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.9; }
}

/* 漂移动画 */
@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(var(--drift-x, 50px), var(--drift-y, 50px)); }
}

/* ========== 花园页面特殊样式 ========== */
/* 花园元素容器 */
.garden-elements {
    position: fixed;
    color: #888;
    font-family: monospace;
    pointer-events: none;
    will-change: transform, opacity;
    animation: 
        float 4s infinite ease-in-out,
        sway linear infinite;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% { opacity: 0.4; transform: translateY(0px); }
    50% { opacity: 0.8; transform: translateY(-10px); }
}

/* 摇摆动画 */
@keyframes sway {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(var(--sway-x, 20px), var(--sway-y, 10px)) rotate(2deg); }
    50% { transform: translate(var(--sway-x, -15px), var(--sway-y, -5px)) rotate(-1deg); }
    75% { transform: translate(var(--sway-x, 10px), var(--sway-y, 15px)) rotate(1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* 花瓣飘落效果 */
.petals {
    position: fixed;
    color: #ccc;
    font-family: monospace;
    pointer-events: none;
    will-change: transform, opacity;
    animation: 
        fall 8s infinite linear,
        twirl 3s infinite ease-in-out;
}

@keyframes fall {
    0% { 
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0.8;
    }
    100% { 
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.2;
    }
}

@keyframes twirl {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* ========== 花园页面特殊样式 ========== */
/* 花园页面光辉效果 */
.garden-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 8%,
        rgba(255, 255, 255, 0.08) 15%,
        transparent 20%,
        transparent 80%,
        rgba(255, 255, 255, 0.08) 85%,
        rgba(255, 255, 255, 0.15) 92%,
        rgba(255, 255, 255, 0.25) 100%);
    z-index: 1;
    pointer-events: none;
    animation: visible-glow 3s ease-in-out infinite;
}

@keyframes visible-glow {
    0%, 100% { 
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% { 
        opacity: 0.9;
        transform: scaleY(1.03);
    }
}

/* ========== 门页面特殊样式 ========== */
/* 门页面背景动画 */
.door-page::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;

    background-image:
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 25px 25px;

    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    animation: door-twinkle 10s linear infinite;
}

@keyframes door-twinkle {
    0% { opacity: 0.1; }
    50% { opacity: 0.3; }
    100% { opacity: 0.1; }
}

/* ========== 坠页面特殊样式 ========== */
/* 坠页面中心发光效果 - 使用图片 */
.fall-page::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    
    background-image: url('../glow_effct.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
    z-index: 0;
    pointer-events: none;
    animation: image-glow-breathing 8s ease-in-out infinite, slow-rotation 150s linear infinite;
}

@keyframes image-glow-breathing {
    0%, 100% { 
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes slow-rotation {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 坠页面边框光辉效果 */
.fall-page::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.06) 8%,
        rgba(255, 255, 255, 0.03) 15%,
        transparent 20%,
        transparent 80%,
        rgba(255, 255, 255, 0.03) 85%,
        rgba(255, 255, 255, 0.06) 92%,
        rgba(255, 255, 255, 0.12) 100%);
    z-index: 1;
    pointer-events: none;
    animation: fall-border-glow 6s ease-in-out infinite;
}

@keyframes fall-border-glow {
    0%, 100% { 
        opacity: 0.5;
    }
    50% { 
        opacity: 0.8;
    }
}

/* ========== 梦页面特殊样式 ========== */
/* 梦页面星空背景 */
.dream-page {
    position: relative;
    overflow: hidden;
}

.dream-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 0;
    pointer-events: none;
}

.dream-star {
    position: absolute;
    color: white;
    font-size: 12px;
    opacity: 0.8;
    animation: dream-twinkle 3s ease-in-out infinite;
    user-select: none;
}

.dream-star.bright {
    font-size: 16px;
    opacity: 1;
    animation: dream-twinkle 2s ease-in-out infinite;
}

.dream-star.dim {
    font-size: 8px;
    opacity: 0.4;
    animation: dream-twinkle 4s ease-in-out infinite;
}

@keyframes dream-twinkle {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

.dream-star.dim {
    animation: dream-dim-twinkle 4s ease-in-out infinite;
}

@keyframes dream-dim-twinkle {
    0%, 100% { 
        opacity: 0.2;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* 梦页面下半部分背景图片 */
.dream-page::after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 40%;
    background-image: url('../kids.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

/* 导航按钮样式 */
.navigation-buttons a {
    display: inline-block;
    margin: 0 20px;
}

/* ========== 花园2页面特殊样式 ========== */
/* 花园2页面使用门页面的呼吸灯设计 */
.garden2-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 25px 25px;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    animation: garden2-twinkle 10s linear infinite;
}

@keyframes garden2-twinkle {
    0% { opacity: 0.1; }
    50% { opacity: 0.3; }
    100% { opacity: 0.1; }
}

/* ========== 废墟页面特殊样式 ========== */
/* 废墟页面背景 - 纯色背景，无边框 */
.ruin-page {
    background: rgba(0, 0, 0, 0.95);
    min-height: 100vh;
}

/* 废墟页面漂浮字符 */
.ruin-floating-chars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ruin-char {
    position: absolute;
    color: rgba(200, 200, 200, 0.6);
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    animation: ruin-float 8s linear infinite;
    pointer-events: none;
}

.ruin-char.large {
    font-size: 24px;
    color: rgba(220, 220, 220, 0.7);
}

.ruin-char.medium {
    font-size: 18px;
    color: rgba(200, 200, 200, 0.6);
}

.ruin-char.small {
    font-size: 12px;
    color: rgba(180, 180, 180, 0.5);
}

@keyframes ruin-float {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}


/* ========== 纸条页面特殊样式 ========== */
/* 纸条页面背景效果 */
.paper-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.02) 0%,
        transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: paper-glow 8s ease-in-out infinite;
}

@keyframes paper-glow {
    0%, 100% { 
        opacity: 0.3;
    }
    50% { 
        opacity: 0.6;
    }
}

/* ========== 海页面特殊样式 ========== */
/* 海页面呼吸灯背景 */
.ocean-page {
    background: 
        /* 上边框 */
        linear-gradient(to bottom, rgba(0, 100, 150, 0.15) 0%, rgba(0, 100, 150, 0.05) 12%, transparent 20%),
        /* 下边框 */
        linear-gradient(to top, rgba(0, 80, 120, 0.15) 0%, rgba(0, 80, 120, 0.05) 12%, transparent 20%),
        /* 左边框 */
        linear-gradient(to right, rgba(0, 60, 100, 0.15) 0%, rgba(0, 60, 100, 0.05) 12%, transparent 20%),
        /* 右边框 */
        linear-gradient(to left, rgba(0, 100, 150, 0.15) 0%, rgba(0, 100, 150, 0.05) 12%, transparent 20%),
        /* 基础背景 */
        rgba(0, 0, 0, 0.95);
    animation: ocean-breathing 6s ease-in-out infinite;
    min-height: 100vh;
}

@keyframes ocean-breathing {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* 海页面漂浮字符 */
.ocean-floating-chars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ocean-char {
    position: absolute;
    color: rgba(150, 200, 255, 0.6);
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    animation: ocean-float 10s linear infinite;
    pointer-events: none;
}

.ocean-char.large {
    font-size: 24px;
    color: rgba(170, 220, 255, 0.7);
}

.ocean-char.medium {
    font-size: 18px;
    color: rgba(150, 200, 255, 0.6);
}

.ocean-char.small {
    font-size: 12px;
    color: rgba(130, 180, 255, 0.5);
}

@keyframes ocean-float {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* ========== 废墟2页面特殊样式 ========== */
/* 废墟2页面使用门页面的呼吸灯设计 */
.ruin2-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 25px 25px;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    animation: ruin2-twinkle 10s linear infinite;
}

@keyframes ruin2-twinkle {
    0% { opacity: 0.1; }
    50% { opacity: 0.3; }
    100% { opacity: 0.1; }
}

/* ========== 亭页面特殊样式 ========== */
/* 亭页面四个边框光辉效果 */
.temple-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(255,255,255,0.15) 0%, transparent 3%, transparent 97%, rgba(255,255,255,0.15) 100%),
        linear-gradient(0deg, rgba(255,255,255,0.15) 0%, transparent 3%, transparent 97%, rgba(255,255,255,0.15) 100%);
    z-index: 0;
    pointer-events: none;
    animation: temple-border-glow 4s ease-in-out infinite;
}

/* 亭页面特殊样式 */
.temple-page h1,
.temple-page a,
.temple-page hr {
    color: rgb(199, 228, 242);
}

.temple-page hr {
    background: linear-gradient(90deg, transparent, rgb(199, 228, 242), transparent);
}

.temple-page .description {
    margin: 50px 0;
    line-height: 1.8;
}

.temple-page .temple-description {
    margin: 40px 0;
    line-height: 1.6;
    font-style: italic;
    color: white;
}

.temple-page .navigation-buttons {
    margin-top: 60px;
}

.temple-page .navigation-buttons a {
    display: inline-block;
    margin: 0 20px 15px 20px;
    padding: 10px 0;
}

/* 亭页面漂浮的shining.gif元素 */
.temple-shining {
    position: fixed;
    width: 30px;
    height: 30px;
    background-image: url('shining.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
    animation: temple-shining-float 8s ease-in-out infinite;
}

@keyframes temple-shining-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.9;
    }
}

@keyframes temple-border-glow {
    0%, 100% { 
        opacity: 0.6;
    }
    50% { 
        opacity: 1;
    }
}

/* ========== 夜空页面特殊样式 ========== */
/* 夜空页面漂浮的shining.gif元素 */
.night-sky-shining {
    position: fixed;
    width: 30px;
    height: 30px;
    background-image: url('shining.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
    animation: night-sky-shining-float 20s ease-in-out infinite;
}

/* 夜空页面漂浮的shining2.gif元素 */
.night-sky-shining2 {
    position: fixed;
    width: 30px;
    height: 30px;
    background-image: url('shining2.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
    animation: night-sky-shining2-float 20s ease-in-out infinite;
}

@keyframes night-sky-shining-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.9;
    }
}

@keyframes night-sky-shining2-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-25px) rotate(-90deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-15px) rotate(-180deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-35px) rotate(-270deg);
        opacity: 0.8;
    }
}

/* ========== 陶罐页面特殊样式 ========== */
.treasure-page {
    background-color: rgb(0, 0, 0);
}

.treasure-page h1 {
    color: rgb(199, 228, 242);
    margin: 40px 0;
    line-height: 1.8;
}

.treasure-page hr {
    background: linear-gradient(90deg, transparent, rgb(199, 228, 242), transparent);
    height: 1px;
    border: none;
    margin: 20px 0;
}

.treasure-image {
    margin: 40px 0;
    text-align: center;
}

.treasure-image img {
    max-width: 500px;
    height: auto;
    border-radius: 10px;
}

.treasure-page .navigation-buttons {
    margin-top: 50px;
}

.treasure-page .navigation-buttons a {
    display: inline-block;
    margin: 0 20px 15px 20px;
    padding: 10px 0;
    color: rgb(199, 228, 242);
    text-decoration: none;
    transition: color 0.3s ease;
}

.treasure-page .navigation-buttons a:hover {
    color: white;
}

/* ========== 陶罐2页面特殊样式 ========== */
.treasure2-page {
    background-color: rgb(0, 0, 0);
}

.treasure2-page h1 {
    color: rgb(199, 228, 242);
    margin: 40px 0;
    line-height: 1.8;
}

.treasure2-page hr {
    background: linear-gradient(90deg, transparent, rgb(199, 228, 242), transparent);
    height: 1px;
    border: none;
    margin: 20px 0;
}

.treasure2-page .description {
    margin: 40px 0;
    line-height: 1.8;
}

.treasure2-page .letter-content {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(199, 228, 242, 0.2);
    font-family: "Courier New", monospace;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(199, 228, 242, 0.8);
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.treasure2-page .navigation-buttons {
    margin-top: 50px;
}

.treasure2-page .navigation-buttons a {
    display: inline-block;
    margin: 0 20px 15px 20px;
    padding: 10px 0;
    color: rgb(199, 228, 242);
    text-decoration: none;
    transition: color 0.3s ease;
}

.treasure2-page .navigation-buttons a:hover {
    color: white;
}

/* ========== 烛台页面特殊样式 ========== */
.light-page {
    background-color: rgb(0, 0, 0);
}

.light-page h1 {
    color: rgb(199, 228, 242);
    margin: 40px 0;
    line-height: 1.8;
}

.light-page hr {
    background: linear-gradient(90deg, transparent, rgb(199, 228, 242), transparent);
    height: 1px;
    border: none;
    margin: 20px 0;
}

.light-page .description {
    margin: 40px 0;
    line-height: 1.8;
}

.light-page .inscription-content {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(199, 228, 242, 0.2);
    font-family: "Courier New", monospace;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(199, 228, 242, 0.9);
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

.light-page .navigation-buttons {
    margin-top: 50px;
}

.light-page .navigation-buttons a {
    display: inline-block;
    margin: 0 20px 15px 20px;
    padding: 10px 0;
    color: rgb(199, 228, 242);
    text-decoration: none;
    transition: color 0.3s ease;
}

.light-page .navigation-buttons a:hover {
    color: white;
}

/* ========== 戒指页面特殊样式 ========== */
.ring-page {
    background-color: rgb(0, 0, 0);
}

.ring-page h1 {
    color: rgb(199, 228, 242);
    margin: 40px 0;
    line-height: 1.8;
}

.ring-page hr {
    background: linear-gradient(90deg, transparent, rgb(199, 228, 242), transparent);
    height: 1px;
    border: none;
    margin: 20px 0;
}

.ring-page .description {
    margin: 40px 0;
    line-height: 1.8;
}

.ring-page .inscription-content {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(199, 228, 242, 0.2);
    font-family: "Courier New", monospace;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(199, 228, 242, 0.9);
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

.ring-page .navigation-buttons {
    margin-top: 50px;
}

.ring-page .navigation-buttons a {
    display: inline-block;
    margin: 0 20px 15px 20px;
    padding: 10px 0;
    color: rgb(199, 228, 242);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ring-page .navigation-buttons a:hover {
    color: white;
}

/* ========== 怀表页面特殊样式 ========== */
.clock-page {
    background-color: rgb(0, 0, 0);
}

.clock-page h1 {
    color: rgb(199, 228, 242);
    margin: 40px 0;
    line-height: 1.8;
}

.clock-page hr {
    background: linear-gradient(90deg, transparent, rgb(199, 228, 242), transparent);
    height: 1px;
    border: none;
    margin: 20px 0;
}

.clock-page .description {
    margin: 40px 0;
    line-height: 1.8;
}

.clock-page .inscription-content {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(199, 228, 242, 0.2);
    font-family: "Courier New", monospace;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(199, 228, 242, 0.9);
    text-align: center;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
}

.clock-page .navigation-buttons {
    margin-top: 50px;
}

.clock-page .navigation-buttons a {
    display: inline-block;
    margin: 0 20px 15px 20px;
    padding: 10px 0;
    color: rgb(199, 228, 242);
    text-decoration: none;
    transition: color 0.3s ease;
}

.clock-page .navigation-buttons a:hover {
    color: white;
}

/* 看星星页面视频样式 */
.night-sky-page video {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* 看星星页面eye.gif样式 */
.night-sky-eye {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
}

.night-sky-eye.show {
    opacity: 1;
}

.night-sky-eye img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========== 迷失的灵魂页面特殊样式 ========== */
.lost-soul-page {
    background-color: rgb(0, 0, 0);
}

.lost-soul-page h1 {
    color: rgb(199, 228, 242);
    margin: 40px 0;
    line-height: 1.8;
}

.lost-soul-page hr {
    background: linear-gradient(90deg, transparent, rgb(199, 228, 242), transparent);
    height: 1px;
    border: none;
    margin: 20px 0;
}

.lost-soul-page .description {
    margin: 40px 0;
    line-height: 1.8;
}

.lost-soul-page .navigation-buttons {
    margin-top: 50px;
}

.lost-soul-page .navigation-buttons a {
    display: inline-block;
    margin: 0 20px 15px 20px;
    padding: 10px 0;
    color: rgb(199, 228, 242);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lost-soul-page .navigation-buttons a:hover {
    color: white;
}

/* 海页面标题点击效果 */
#ocean-title {
    transition: transform 0.1s ease, opacity 0.3s ease;
}

/* ========== 深海页面特殊样式 ========== */
.the-ocean-page {
    background-color: rgb(0, 0, 0);
    position: relative;
}

.the-ocean-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(0, 100, 200, 0.15) 0%, transparent 2%, transparent 98%, rgba(0, 100, 200, 0.15) 100%),
        linear-gradient(0deg, rgba(0, 100, 200, 0.15) 0%, transparent 2%, transparent 98%, rgba(0, 100, 200, 0.15) 100%);
    pointer-events: none;
    z-index: 1;
    animation: the-ocean-border-glow 4s ease-in-out infinite;
}

@keyframes the-ocean-border-glow {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.the-ocean-page h1 {
    color: rgb(199, 228, 242);
    margin: 40px 0;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.the-ocean-page hr {
    background: linear-gradient(90deg, transparent, rgb(199, 228, 242), transparent);
    height: 1px;
    border: none;
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.the-ocean-page .description {
    margin: 40px 0;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.the-ocean-page .navigation-buttons {
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.the-ocean-page .navigation-buttons a {
    display: inline-block;
    margin: 0 20px 15px 20px;
    padding: 10px 0;
    color: rgb(199, 228, 242);
    text-decoration: none;
    transition: color 0.3s ease;
}

.the-ocean-page .navigation-buttons a:hover {
    color: white;
}

/* ========== 新的梦页面样式（梦的长廊） ========== */
.dream-page-new {
    background-color: rgb(0, 0, 0);
    position: relative;
}

.dream-page-new::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    animation: dream-mist 8s ease-in-out infinite;
}

.dream-page-new::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, transparent 8%, transparent 92%, rgba(255, 255, 255, 0.15) 100%);
    pointer-events: none;
    z-index: 1;
    animation: dream-border-mist 6s ease-in-out infinite;
}

@keyframes dream-mist {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes dream-border-mist {
    0%, 100% {
        opacity: 0.4;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.7;
        transform: scaleX(1.1);
    }
}

.dream-page-new h1 {
    color: rgb(199, 228, 242);
    margin: 40px 0;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.dream-page-new hr {
    background: linear-gradient(90deg, transparent, rgb(199, 228, 242), transparent);
    height: 1px;
    border: none;
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.dream-page-new .description {
    margin: 40px 0;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.dream-page-new .navigation-buttons {
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.dream-page-new .navigation-buttons a {
    display: inline-block;
    margin: 0 20px 15px 20px;
    padding: 10px 0;
    color: rgb(199, 228, 242);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dream-page-new .navigation-buttons a:hover {
    color: white;
}

/* ========== 雨页面特殊样式 ========== */
.rain-page {
    background-color: rgb(0, 0, 0);
    position: relative;
}

.rain-drops {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.rain-drop {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    animation: rain-fall linear infinite;
    pointer-events: none;
}

.rain-drop.fast {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    animation-duration: 1.5s;
}

.rain-drop.medium {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    animation-duration: 2s;
}

.rain-drop.slow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    animation-duration: 3s;
}

@keyframes rain-fall {
    0% {
        transform: translateY(-100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(20px);
        opacity: 0;
    }
}

.rain-page h1 {
    color: rgb(199, 228, 242);
    margin: 40px 0;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.rain-page hr {
    background: linear-gradient(90deg, transparent, rgb(199, 228, 242), transparent);
    height: 1px;
    border: none;
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.rain-page .description {
    margin: 40px 0;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.rain-page .navigation-buttons {
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.rain-page .navigation-buttons a {
    display: inline-block;
    margin: 0 20px 15px 20px;
    padding: 10px 0;
    color: rgb(199, 228, 242);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rain-page .navigation-buttons a:hover {
    color: white;
}

/* ========== 地狱页面特殊样式 ========== */
.hell-page {
    background-color: rgb(0, 0, 0);
    position: relative;
}

.hell-page h1 {
    color: rgb(255, 0, 0);
    margin: 40px 0;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-size: 2.5em;
    text-align: center;
}

.hell-page hr {
    background: linear-gradient(90deg, transparent, rgb(255, 0, 0), transparent);
    height: 1px;
    border: none;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.hell-page .description {
    margin: 40px 0;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    color: rgb(200, 200, 200);
}

.hell-page .navigation-buttons {
    margin-top: 50px;
    position: relative;
}

.hell-page .navigation-buttons a {
    display: inline-block;
    margin: 0 20px 15px 20px;
    padding: 10px 0;
    color: rgb(255, 0, 0);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hell-page .navigation-buttons a:hover {
    color: rgb(255, 100, 100);
}
