.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 50px;
    margin: -50px;
    background-image: url('https://tc-new.z.wiki/autoupload/f/psmpKOKkqNsLYQfgjt2XBmShhF5SO20rmYlH2FEEX4iyl5f0KlZfm6UsKj-HyTuv/20250810/55Td/3840X2160/stsr.png'); /* 替换为您的背景图片URL */
    background-size: cover;
    background-position: center;
    z-index: 0;
    background-color: #0a0a0a;
}

body {
    font-family: 'Arial', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* 为了在背景上添加遮罩层 */
    color: #e0e0e0; /* 默认文本颜色 */
    overflow: hidden; /* 隐藏滚动条 */
}

.blur-background {
    filter: blur(8px);
    transition: filter 0.5s ease;
}
h1 {
    font-size: 36px;
    margin-bottom: 10px;
}
h1:hover {
    transform: scale(1.02);
}
.countdown {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}
.countdown:hover {
    transform: scale(1.03);
}
.greeting {
    font-size: 24px;
    margin-top: 20px;
    display: none;
    color: #f0f0f0;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}
.hitokoto {
    font-size: 20px;
    margin-top: 30px;
    font-style: italic;
    color: #d0d0d0;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.5); /* 深色遮罩 */
    z-index: 1;
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    z-index: 2; /* 设置页脚的z-index，高于遮罩层 */
    color: #d0d0d0;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
}
.content {
    position: relative;
    z-index: 2;
    padding-bottom: 60px; /* 根据页脚高度调整 */
}
.cheer-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    filter: none !important;
}

.blur-background {
    filter: blur(5px);
    transition: filter 0.3s ease;
}
/* 逐行显示动画 */
.content > * {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

h1 {
    animation-delay: 0.1s;
}
.countdown {
    animation-delay: 0.3s;
}
.greeting {
    animation-delay: 0.5s;
}
.hitokoto {
    animation-delay: 0.7s;
}
.dynamic-color {
    animation: colorChange 15s infinite ease-in-out;
}
@keyframes colorChange {
    0% { color: #ff4444; }
    12.5% { color: #ff9900; }
    25% { color: #ffee00; }
    37.5% { color: #66ff66; }
    50% { color: #66ccff; }
    62.5% { color: #9966ff; }
    75% { color: #cc66ff; }
    87.5% { color: #ff66cc; }
    100% { color: #ff4444; }
}
.auto-color {
    color: #f0f0f0; /* 浅灰色文字 */
    transition: color 0.5s ease, text-shadow 0.5s ease, transform 0.3s ease;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
  transform: scale(0);
  animation: ripple 0.8s cubic-bezier(0.21, 0.98, 0.6, 0.99);
  pointer-events: none;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes ripple {
  to {
    transform: scale(6);
    opacity: 0;
  }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}