body {
    font-family: Arial, sans-serif;
    background-color: #f9e3e3;
    color: #d14a7a;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden; /* 防止滚动条出现 */
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1; /* 确保内容在樱花上方 */
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

p {
    font-size: 1.5em;
    margin: 10px 0;
}

button {
    background-color: #d14a7a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #b03a6a;
}

.message {
    transition: all 0.5s ease;
}

.hidden {
    height: 0;
    opacity: 0;
    transform: translateY(20px); /* 初始位置 */
}

.visible {
    height: auto;
    opacity: 1;
    transform: translateY(0); /* 最终位置 */
}

/* 樱花飘落效果 */
.sakura {
    position: absolute;
    top: -50px;
    animation: fall linear infinite;
    z-index: 0; /* 确保樱花在内容下方 */
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}