body {
    /* 添加渐变背景作为回退方案 */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: url('https://gss0.baidu.com/9fo3dSag_xI4khGko9WTAnF6hhy/zhidao/pic/item/86d6277f9e2f07088ab175d0e524b899a801f2ae.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 500px;
    margin: 80px auto;
    background: rgba(255,255,255,0.85);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 40px 32px 32px 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 2.4em;
    margin-bottom: 0.3em;
    color: #1a1a1a;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
    font-weight: bold;
    font-family: "Lucida Handwriting", "Microsoft YaHei", "SimHei", sans-serif;
}

h2 {
    font-size: 1.3em;
    font-weight: 500;
    color: #2d3a4b;
    margin-bottom: 1.2em;
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}

p {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 2em;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
    font-weight: 500;
}

/* 按钮网格布局 */
.button-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* 导航按钮通用样式 */
.nav-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.15));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 20px;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.4);
}

.nav-btn:active {
    transform: translateY(0);
}

/* 按钮图标 */
.btn-icon {
    font-size: 2.5em;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* 按钮文字 */
.btn-text {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 4px;
    color: #1a1a1a;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* 按钮描述 */
.btn-desc {
    font-size: 0.9em;
    opacity: 0.85;
    line-height: 1.3;
    color: #2d3a4b;
    text-shadow: 0 1px 1px rgba(255,255,255,0.6);
}

/* 各按钮特色背景 */
.nav-btn.lucky::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    opacity: 0.15;
    z-index: -1;
}

.nav-btn.task::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    opacity: 0.15;
    z-index: -1;
}

.nav-btn.tomato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    opacity: 0.15;
    z-index: -1;
}

.nav-btn.lucky:hover::before {
    opacity: 0.25;
}

.nav-btn.task:hover::before {
    opacity: 0.25;
}

.nav-btn.tomato:hover::before {
    opacity: 0.25;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .button-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.snowflake {
    position: fixed;
    top: -20px;
    z-index: 0;
    color: rgba(255, 255, 255, 0.9);
    pointer-events: none;
    user-select: none;
    animation: fall linear forwards;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes fall {
    0% {
        transform: translateY(-20px) translateX(0) rotateZ(0deg);
        opacity: 0.9;
    }
    25% {
        transform: translateY(25vh) translateX(calc(var(--drift, 0px) * 0.25)) rotateZ(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) translateX(calc(var(--drift, 0px) * 0.5)) rotateZ(180deg);
        opacity: 1;
    }
    75% {
        transform: translateY(75vh) translateX(calc(var(--drift, 0px) * 0.75)) rotateZ(270deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(calc(100vh + 20px)) translateX(var(--drift, 0px)) rotateZ(360deg);
        opacity: 0.2;
    }
} 