body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #ff9a9e, #fad0c4);
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
}

.container {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease;
    max-width: 800px;
    margin: 20px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.birthday-cake {
    font-size: 5rem;
    margin: 1rem 0;
    animation: bounce 2s infinite;
}

.message {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 1.5rem 0;
}

.age {
    font-size: 3rem;
    color: #ff6b6b;
    font-weight: bold;
    margin: 1rem 0;
    animation: pulse 1.5s infinite;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0;
}

.countdown-item {
    background: rgba(255, 107, 107, 0.1);
    padding: 1rem;
    border-radius: 10px;
    min-width: 80px;
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b6b;
}

.countdown-label {
    font-size: 0.9rem;
    color: #666;
}

.birthday-content {
    display: none;
}

.countdown-content {
    display: none;
}

.show {
    display: block;
}

.skip-button, .share-button, .music-button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.skip-button:hover, .share-button:hover, .music-button:hover {
    background: #ff5252;
    transform: scale(1.05);
}

.music-button {
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    padding: 5px 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 添加粒子容器样式 */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 添加气球样式 */
.balloon {
    position: fixed;
    animation: floatBalloon 15s ease-in-out infinite;
    opacity: 0.6;
    z-index: -1;
}

.balloon:nth-child(2n) {
    animation-duration: 17s;
    animation-delay: 2s;
}

.balloon:nth-child(3n) {
    animation-duration: 19s;
    animation-delay: 4s;
}

@keyframes floatBalloon {
    0%, 100% {
        transform: translateY(100vh) translateX(0);
    }
    50% {
        transform: translateY(-10vh) translateX(100px);
    }
}

.truth-button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.truth-button:hover {
    background: #ff5252;
    transform: scale(1.05);
}

.unlock-button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.unlock-button:hover {
    background: #ff5252;
    transform: scale(1.05);
}

input[type="text"] {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-top: 1rem;
    font-size: 1rem;
    width: calc(100% - 22px);
    max-width: 300px;
}

.heart-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.heart {
    position: absolute;
    bottom: -10vh;
    color: #ff6b6b;
    font-size: 2rem;
    animation: floatHeart 7s infinite;
    opacity: 0.8;
}

.heart::before {
    content: "❤️";
}

@keyframes floatHeart {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-100vh) scale(1.5);
    }
}