/* 冬季动画效果样式 */

/* 雪粒子容器 */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

/* 雪粒子 */
.snowflake {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    animation: fall linear infinite;
}

/* 下雪动画 */
@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* 冬季模糊效果 */
.winter-mode .slider-container {
    filter: blur(3px);
    transition: filter 2s ease-in-out;
    background: transparent !important;
}

/* 冬季标题动画 */
.winter-title {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: bold;
    /* 冰蓝色渐变背景 */
    background: linear-gradient(135deg, #87CEFA, #1E90FF);
    /* 文字裁剪实现圆角文字效果 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* 添加冰蓝色文字阴影增强效果 */
    text-shadow: 0 0 10px rgba(135, 206, 250, 0.8), 0 0 30px rgba(30, 144, 255, 0.6);
    /* 添加边框效果增强立体感 */
    -webkit-text-stroke: 2px rgba(135, 206, 250, 0.3);
    z-index: 1001;
    opacity: 1;
    animation: winterTitleFade 5s ease-in-out forwards;
    pointer-events: none;
}

/* 冬季标题模糊到清晰再淡出动画 */
@keyframes winterTitleFade {
    0% {
        opacity: 1;
        font-size: 8rem;
        filter: blur(10px);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.5);
    }
    50% {
        opacity: 0.8;
        font-size: 8rem;
        filter: blur(0px);
        text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.8);
    }
    100% {
        opacity: 0;
        font-size: 8rem;
        filter: blur(0px);
        text-shadow: 0 0 40px rgba(255, 255, 255, 1), 0 0 80px rgba(255, 255, 255, 0.8);
    }
}

/* 冬季模式下的页面背景 */
.winter-mode {
    background-color: #1f2937;
    color: #ffffff;
}

/* 冬季模式下的链接和文本颜色 */
.winter-mode a {
    color: #93c5fd;
}

.winter-mode .forum-category-btn {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.winter-mode .forum-category-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.winter-mode .hint-text h3, .winter-mode .hint-text p {
    color: #ffffff;
}

/* 冬季模式下的音乐播放器 */
body.winter-mode .music-player {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
}

body.winter-mode .music-player h4 {
    color: #ffffff !important;
}

body.winter-mode .music-info h5 {
    color: #ffffff !important;
}

body.winter-mode .progress-bar {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

body.winter-mode .progress {
    background-color: #4ade80 !important;
}

body.winter-mode .time-display {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.winter-mode .control-btn {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

body.winter-mode .control-btn:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.4) !important;
}

body.winter-mode .play-btn {
    background-color: #3b82f6 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
}

body.winter-mode .play-btn:hover {
    background-color: #60a5fa !important;
}

/* 冬季模式下的面包屑导航 */
.winter-mode .breadcrumb {
    color: #93c5fd;
}

.winter-mode .breadcrumb a {
    color: #93c5fd;
}

/* 冬季模式下的操作提示区域 */
.winter-mode .operation-hint {
    background: transparent;
    border: none;
}

body.winter-mode .hint-box {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
}

body.winter-mode .hint-box:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
}

/* 平滑过渡效果 */
body {
    transition: background-color 1s ease-in-out;
}

/* 冬季模式下的页脚样式 */
body.winter-mode .site-footer {
    background-color: rgba(31, 41, 55, 0.9); /* 深色半透明背景 */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* 淡色边框 */
    color: #ffffff;
}

body.winter-mode .footer-heading {
    color: #87CEFA; /* 冰蓝色标题 */
    text-shadow: 0 0 8px rgba(135, 206, 250, 0.6);
}

body.winter-mode .social-link {
    background-color: rgba(255, 255, 255, 0.1); /* 半透明背景 */
    border: 1px solid rgba(135, 206, 250, 0.3); /* 冰蓝色边框 */
    color: #87CEFA; /* 冰蓝色图标 */
}

body.winter-mode .social-link:hover {
    background-color: rgba(135, 206, 250, 0.2); /* 冰蓝色半透明背景 */
    border-color: #87CEFA; /* 冰蓝色边框 */
    color: #ffffff; /* 白色图标 */
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(135, 206, 250, 0.4); /* 冰蓝色阴影 */
}

body.winter-mode .footer-link {
    color: #87CEFA; /* 冰蓝色链接 */
}

body.winter-mode .footer-link:hover {
    color: #ffffff; /* 白色链接 */
    text-decoration: underline;
    text-decoration-color: #87CEFA;
}

body.winter-mode .footer-copyright {
    color: rgba(255, 255, 255, 0.6); /* 半透明白色版权信息 */
}
