* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a0a2e 50%, #16213e 100%);
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    overflow-x: hidden;
    position: relative;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 星空背景 */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* 烟花画布 */
#fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* 主容器 */
.container {
    position: relative;
    z-index: 20;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

/* 灯笼 */
.lanterns {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 5;
}

.lantern {
    position: absolute;
    top: -10px;
    font-size: 80px;
    animation: swing 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 100, 0, 0.6));
}

.lantern-left { left: 5%; animation-delay: 0s; }
.lantern-right { right: 5%; animation-delay: 1.5s; }

@keyframes swing {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

/* 标题区域 */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.year-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ff6b35, #ffd700);
    background-size: 200% 200%;
    animation: shimmer 3s ease infinite;
    padding: 15px 40px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.year-badge span {
    font-size: 24px;
    font-weight: bold;
    color: #1a0a2e;
}

.snake-decoration {
    font-size: 100px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.main-title {
    font-size: 72px;
    font-weight: bold;
    background: linear-gradient(135deg, #ffd700, #ff6b35, #ff1744, #ffd700);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 4s ease infinite;
    margin-bottom: 10px;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-size: 24px;
    color: rgba(255, 215, 0, 0.8);
    letter-spacing: 8px;
}

/* 卡片区域 */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card-glow {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover .card-glow {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 30px 60px rgba(255, 215, 0, 0.2);
}

.card-game {
    border-color: rgba(255, 23, 68, 0.3);
}

.card-game:hover {
    border-color: rgba(255, 23, 68, 0.6);
    box-shadow: 0 30px 60px rgba(255, 23, 68, 0.2);
}

.card-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
}

.card-title {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 15px;
    font-weight: bold;
}

.card-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.card-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ffd700, #ff6b35);
    color: #1a0a2e;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.card:hover .card-btn {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* 倒计时 */
.countdown-section {
    margin-top: 60px;
    text-align: center;
    padding: 40px 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.countdown-title {
    font-size: 18px;
    color: rgba(255, 215, 0, 0.8);
    margin-bottom: 15px;
}

.countdown-timer {
    font-size: 42px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    font-family: 'Courier New', monospace;
}

/* 页脚 */
.footer {
    margin-top: 60px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* 返回按钮 */
.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    color: #ffd700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.back-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateX(-5px);
}

/* 通用按钮 */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ff6b35);
    color: #1a0a2e;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ff1744, #ff6b35);
    color: white;
}

.btn-danger:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.4);
}

/* 响应式 */
@media (max-width: 768px) {
    .main-title { font-size: 48px; }
    .snake-decoration { font-size: 70px; }
    .lantern { font-size: 50px; }
    .countdown-timer { font-size: 28px; }
    .countdown-section { padding: 30px 20px; }
    .card { padding: 30px 20px; }
}
