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

body {
    font-family: "微软雅黑", "PingFang SC", sans-serif;
    background: linear-gradient(135deg, #FFF5F8 0%, #FFE6F2 50%, #FFD1DC 100%);
    min-height: 100vh;
    color: #333;
}

/* 封面样式 */
.cover {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #FFB6C1 0%, #FF69B4 100%);
    color: white;
    padding: 20px;
}

.cover h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.cover-name {
    font-size: 1.8em;
    margin: 15px 0;
}

.cover-age {
    font-size: 1.2em;
    margin: 15px 0;
    opacity: 0.9;
}

.btn-enter {
    margin-top: 30px;
    padding: 15px 40px;
    font-size: 1.1em;
    border: none;
    border-radius: 30px;
    background: white;
    color: #FF69B4;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-enter:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* 主内容 */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin: 40px 0;
}

h2 {
    text-align: center;
    font-size: 1.8em;
    color: #8B008B;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* 祝福卡片 */
.blessing-card {
    background: rgba(255,255,255,0.8);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#blessing-text {
    font-size: 1.2em;
    color: #4B0082;
    line-height: 1.8;
    margin-bottom: 15px;
}

.btn-change {
    padding: 10px 25px;
    border: none;
    border-radius: 20px;
    background: #FF69B4;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

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

/* 语录区 */
.quotes-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-item {
    background: rgba(255,255,255,0.7);
    border-left: 4px solid #FF69B4;
    padding: 15px 20px;
    border-radius: 0 15px 15px 0;
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

/* 照片墙 */
.photo-tip {
    text-align: center;
    color: #888;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.photo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.photo-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s;
    aspect-ratio: 1;
}

.photo-item:hover {
    transform: scale(1.03);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-item.playing::after {
    content: "🎵 播放中";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8em;
}

/* 底部 */
.footer {
    text-align: center;
    padding: 30px 0;
    color: #9370DB;
    font-size: 0.9em;
}

/* 手机适配 */
@media (max-width: 600px) {
    .cover h1 {
        font-size: 2.2em;
    }
    .cover-name {
        font-size: 1.4em;
    }
    .photo-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}