body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fce4ec; /* 浅粉色背景 */
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #e91e63; /* 鲜艳的粉色 */
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

#hero {
    text-align: center;
    margin-bottom: 2rem;
    padding: 3rem 0;
    background: linear-gradient(to right, #f8bbd0, #f06292);
    color: white;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#quotes {
    background-color: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quote-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quote {
    font-style: italic;
    color: #777;
    border-left: 3px solid #e91e63;
    padding-left: 1rem;
}

#surprise-quotes .quote {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

#achievements {
    background-color: #f0f0f0;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.achievement-item {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 2rem;
    margin-top: 0.5rem;
    display: block;
}

#celebration {
    background-color: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#celebration ul {
    list-style: none;
    padding: 0;
}

#celebration li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

#celebration li::before {
    content: "🌸"; /* 使用 Unicode 字符 */
    position: absolute;
    left: 0;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #333;
    color: white;
    position: fixed; /* 固定在底部 */
    bottom: 0;
    left: 0;
    width: 100%;
}
#copyright {
    font-size: 0.8rem;
}
.surprise-button {
    background-color: #f06292;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
    display: inline-block; /* 确保能够设置 margin */
    text-decoration: none; /* 移除链接的下划线 */
}

.surprise-button:hover {
    background-color: #e91e63;
}

.surprise-message {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    text-align: center;
}

.hidden {
    display: none;
}


/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .achievement-grid {
        grid-template-columns: 1fr; /* 在小屏幕上堆叠 */
    }
}
#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* 避免遮挡其他元素 */
    z-index: -1; /* 置于底层 */
}
#surprise-quotes {
    padding: 2rem;
    text-align: center;
}
