* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ff003c 0%, #ff6b35 50%, #f7931e 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* 背景装饰 */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.container {
    text-align: center;
    z-index: 1;
    position: relative;
}

/* 主标题 */
h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
                 0 0 40px rgba(255, 215, 0, 0.5),
                 0 0 60px rgba(255, 215, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 215, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.3); }
    to { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 215, 0, 0.8), 0 0 90px rgba(255, 215, 0, 0.5); }
}

/* 倒计时容器 */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.time {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    min-width: 120px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.8);
    animation: bounce 1s ease-out;
}

.time:nth-child(1) { animation-delay: 0.1s; }
.time:nth-child(2) { animation-delay: 0.2s; }
.time:nth-child(3) { animation-delay: 0.3s; }
.time:nth-child(4) { animation-delay: 0.4s; }

@keyframes bounce {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 数字样式 */
.time span {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: #ff003c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* 标签样式 */
.time .label {
    font-size: 1rem;
    color: #333;
    margin-top: 0.5rem;
    font-weight: bold;
}

/* 音乐控制按钮 */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.music-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.music-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.music-btn:active {
    transform: scale(0.95);
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .time {
        min-width: 90px;
        padding: 1rem;
    }
    
    .time span {
        font-size: 2rem;
    }
    
    .time .label {
        font-size: 0.9rem;
    }
}

.blessing {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.8);
    animation: slideUp 1s ease-out;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    text-align: left;
    font-weight: 500;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .time {
        min-width: 90px;
        padding: 1rem;
    }
    
    .time span {
        font-size: 2rem;
    }
    
    .time .label {
        font-size: 0.9rem;
    }
    
    .blessing {
        padding: 1.5rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .countdown {
        gap: 0.8rem;
    }
    
    .time {
        min-width: 70px;
        padding: 0.8rem;
    }
    
    .time span {
        font-size: 1.5rem;
    }
    
    .time .label {
        font-size: 0.8rem;
    }
    
    .music-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .blessing {
        padding: 1rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }
}