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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 75vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.3) 0%, rgba(232, 232, 232, 0.3) 100%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.date-text {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    font-family: 'Kalam', 'Dancing Script', cursive;
}

.title-cn {
    font-size: 80px;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-family: 'Ma Shan Zheng', 'ZCOOL KuaiLe', 'STXingkai', 'STKaiti', 'KaiTi', '楷体', '行楷', 'STKaiti', 'Kaiti SC', 'Xingkai SC', cursive, serif;
    margin-bottom: 8px;
    letter-spacing: 6px;
    line-height: 1.2;
    font-style: normal;
    white-space: nowrap;
    word-break: keep-all;
}

.title-en {
    font-size: 38px;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-style: italic;
    font-family: 'Dancing Script', 'Brush Script MT', 'Lucida Handwriting', 'Kalam', cursive;
}

/* 红色边框区域（在Hero区域内底部） */
.quote-box-red-border {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    border: none;
    border-radius: 12px;
    padding: 25px 30px;
    max-width: 90%;
    width: 100%;
    max-width: 600px;
    background: transparent;
    text-align: center;
    z-index: 4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 新人姓名 */
.quote-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 500;
}

.name-left,
.name-right {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.name-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.name-heart svg {
    filter: drop-shadow(0 4px 8px rgba(255, 71, 87, 0.4));
    transition: transform 0.3s ease;
}

.name-heart:hover svg {
    transform: scale(1.2);
    animation: heartPulse 0.6s ease-in-out;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1.05);
    }
}

@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

.name-heart {
    color: #d32f2f;
    font-size: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 引言文字 */
.quote-text-content {
    text-align: center;
}

.quote-text-content .quote-cn {
    font-size: 16px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.quote-text-content .quote-en {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.decorative-line {
    position: absolute;
    width: 140%;
    height: 100px;
    top: 50%;
    left: -20%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
    transform: rotate(-8deg);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 100' preserveAspectRatio='none'%3E%3Cpath d='M 0,50 Q 200,-20 400,50 T 800,50 T 1200,50 T 1400,50' stroke='%23d32f2f' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center;
    background-size: 100% 100%;
}

.nav-icons {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 确保音乐按钮的伪元素不被icon-btn影响 */
.icon-btn.music-btn.paused::before,
.icon-btn.music-btn.paused::after {
    position: absolute !important;
}


/* Music Section */
.music-section {
    background: #fff;
    padding: 40px 20px;
    position: relative;
}

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.record-player {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.record-disc {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(45deg, #333 0%, #000 100%);
    border: 2px solid #444;
    /* 如果设置了背景图片，会覆盖渐变背景 */
    transition: transform 0.3s ease;
}

/* 音乐播放时旋转动画 */
.record-disc.playing {
    animation: discRotate 3s linear infinite;
}

@keyframes discRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.music-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: #999 !important;
    color: #fff !important;
    transition: transform 0.3s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
}

/* 播放时旋转动画 */
.music-btn.playing {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 播放和暂停图标样式 */
.music-btn.playing img,
.music-btn.paused img {
    display: block;
    width: 24px;
    height: 24px;
}

/* 确保图标居中 */
.music-btn img {
    pointer-events: none;
}

/* Invitation Title */
.invitation-title-section {
    background: #fff;
    padding: 30px 20px 40px 20px;
    text-align: center;
}

.invitation-title {
    font-size: 36px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
    margin-top: -10px;
    font-family: 'Ma Shan Zheng', 'ZCOOL KuaiLe', 'STXingkai', 'STKaiti', 'KaiTi', '楷体', '行楷', 'STKaiti', 'Kaiti SC', 'Xingkai SC', cursive, serif;
    letter-spacing: 2px;
}

.invitation-subtitle {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    white-space: pre-line;
}

/* Photo Grid */
.photo-grid {
    background: #fff;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* 拼贴布局：前3张照片的特殊布局 */
.photo-grid.collage-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 15px;
}

.photo-grid.collage-layout .first-photo {
    grid-column: 1 / -1 !important; /* 第1张照片占满整行 */
    grid-row: 1 !important;
    width: 100%;
}

.photo-grid.collage-layout .bottom-photo {
    grid-row: 2 !important;
    width: 100% !important;
    grid-column: auto !important; /* 确保bottom-photo不占满整行 */
}

.photo-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    opacity: 0;
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}

/* 第10张照片单排展示容器 */
.photo-single-container {
    width: 100%;
    margin-bottom: 20px;
    grid-column: 1 / -1 !important; /* 在collage-layout中占满整行 */
}

.photo-single-container .photo-single {
    width: 100%;
    display: block;
    margin-bottom: 15px;
}

/* 照片下方文字样式 */
.photo-text-below {
    text-align: center;
    padding: 0 20px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Ma Shan Zheng', 'ZCOOL KuaiLe', 'STXingkai', 'STKaiti', 'KaiTi', '楷体', '行楷', cursive, serif;
}

/* 红色文字样式 */
.photo-text-red {
    color: #d32f2f;
    font-size: 25px;
    line-height: 1.8;
    margin-bottom: 8px;
    white-space: pre-line;
    font-weight: 500;
}

/* 灰色文字样式 */
.photo-text-gray {
    color: #757575;
    font-size: 16px;
    line-height: 1.8;
    white-space: pre-line;
}

/* 第11张照片 - 扇形日历容器 */
.photo-fan-calendar-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    grid-column: 1 / -1 !important;
}

/* 扇形日历卡片 */
.fan-calendar-card {
    position: relative;
    width: 90%;
    max-width: 500px;
    aspect-ratio: 3/4;
    border-radius: 50% 50% 8px 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #f5f5f5;
    opacity: 1 !important;
}

/* 确保扇形卡片动画后也保持可见 */
.fan-calendar-card.animate {
    opacity: 1 !important;
}

/* 背景照片 */
.fan-calendar-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.8 !important;
    z-index: 1 !important;
    display: block !important;
}

/* 半透明遮罩 */
.fan-calendar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 2;
}

/* 日历内容容器 */
.fan-calendar-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 年月显示 */
.fan-calendar-year-month {
    font-size: 36px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-family: 'Kalam', 'Dancing Script', sans-serif;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

/* 日期网格 */
.fan-calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px 8px;
    width: 100%;
    max-width: 350px;
    padding: 0 5px;
}

/* 星期标题 */
.fan-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 350px;
    margin-bottom: 12px;
    padding: 0 5px 12px 5px;
    border-bottom: 2px solid #333;
}

.fan-calendar-weekday {
    font-size: 18px;
    color: #333;
    text-align: center;
    font-weight: 600;
}

/* 日期项 */
.fan-calendar-date {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
}

/* 占位符（空日期） */
.fan-calendar-date.empty {
    visibility: hidden;
}

/* 普通日期 */
.fan-calendar-date.normal {
    color: #333;
    font-weight: 500;
}

/* 高亮日期（婚礼日期） - 红心形状 */
.fan-calendar-date.highlight {
    background: transparent;
    color: #fff;
    font-weight: 700;
    transform: scale(1.15);
    position: relative;
    font-size: 16px;
    z-index: 10;
}

/* 红心背景 */
.fan-calendar-date.highlight::before {
    content: '♥';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: #d32f2f;
    z-index: -1;
    filter: drop-shadow(0 4px 8px rgba(211, 47, 47, 0.4));
}

/* 移除原来的爱心标记 */
.fan-calendar-date.highlight::after {
    content: none;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .fan-calendar-card {
        width: 95%;
    }
    
    .fan-calendar-year-month {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .fan-calendar-dates {
        gap: 10px 6px;
        max-width: 300px;
    }
    
    .fan-calendar-weekdays {
        gap: 6px;
        max-width: 300px;
        margin-bottom: 10px;
        padding: 0 5px 10px 5px;
    }
    
    .fan-calendar-date {
        font-size: 13px;
    }
    
    .fan-calendar-weekday {
        font-size: 16px;
        font-weight: 600;
    }
}

/* 左滑入动画 */
.photo-item.slide-in-left {
    transform: translateX(-100px);
}

.photo-item.slide-in-left.animate {
    transform: translateX(0);
    opacity: 1;
}

/* 右滑入动画 */
.photo-item.slide-in-right {
    transform: translateX(100px);
}

.photo-item.slide-in-right.animate {
    transform: translateX(0);
    opacity: 1;
}

.photo-grid.three-grid {
    grid-template-columns: 1fr;
}

.photo-grid.three-grid img:first-child {
    grid-column: 1;
}

@media (min-width: 768px) {
    .photo-grid.three-grid {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    .photo-grid.three-grid img:first-child {
        grid-row: 1 / 3;
    }
}

/* Love Quote */
.love-quote-section {
    background: #fff;
    padding: 50px 20px;
    text-align: center;
}

.love-quote-en {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #333;
}

/* Message Section */
.message-section {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.message-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: #fff;
    padding: 40px 20px;
}

.contact-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 30px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
}

.contact-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    flex: 0 0 auto !important;
}

.contact-photo {
    width: 180px !important;
    height: 120px !important;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-btn {
    width: 140px !important;
    padding: 8px 15px !important;
    background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px !important;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(183, 28, 28, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(183, 28, 28, 0.4);
}

.contact-btn:active {
    transform: translateY(0);
}

.contact-icon {
    font-size: 18px;
}

@media (max-width: 768px) {
    .contact-container {
        gap: 15px;
    }
    
    .contact-photo {
        width: 180px;
        height: 120px;
    }
    
    .contact-btn {
        width: 180px;
        font-size: 14px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .contact-photo {
        width: 240px;
        height: 160px;
    }
    
    .contact-btn {
        width: 240px;
    }
}

/* Buttons Section */
.buttons-section {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.action-btn {
    width: 100%;
    max-width: 300px;
    padding: 15px 30px;
    background: #b71c1c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px auto;
    display: block;
    transition: background 0.3s;
}

.action-btn:hover {
    background: #c62828;
}

.action-btn:active {
    background: #a01515;
}

.button-message {
    margin-top: -50px;
    text-align: center;
    line-height: 2.2;
}

.button-message p {
    font-size: 18px;
    color: #999;
    margin: 10px 0;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    letter-spacing: 1px;
}

/* Map Section */
.map-section {
    background: #fff;
    padding: 40px 20px;
}

/* 地图上方照片容器 */
.map-photo-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-photo {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 照片上的文字覆盖层 */
.map-photo-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.map-text-large {
    font-size: 48px;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 0 0 15px 0;
    font-family: 'Ma Shan Zheng', 'ZCOOL KuaiLe', 'STXingkai', 'STKaiti', 'KaiTi', '楷体', '行楷', cursive, serif;
    letter-spacing: 4px;
}

.map-text-small {
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 0;
    font-family: 'Ma Shan Zheng', 'ZCOOL KuaiLe', 'STXingkai', 'STKaiti', 'KaiTi', '楷体', '行楷', cursive, serif;
    letter-spacing: 2px;
}

@media (max-width: 480px) {
    .map-photo {
        height: 250px;
    }
    
    .map-text-large {
        font-size: 36px;
        letter-spacing: 3px;
    }
    
    .map-text-small {
        font-size: 22px;
        letter-spacing: 1px;
    }
}

.map-container {
    display: none;
}

.event-info {
    text-align: center;
    margin-bottom: 30px;
}

.event-date {
    font-size: 24px;
    font-weight: 400;
    color: #999;
    margin-bottom: 8px;
    line-height: 1.6;
}

.event-lunar {
    font-size: 20px;
    font-weight: 400;
    color: #999;
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-location {
    font-size: 20px;
    color: #666;
    text-align: center;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.location-icon {
    font-size: 18px;
    display: inline-block;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.countdown-item {
    background: #d32f2f;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 70px;
}

.countdown-value {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 12px;
    opacity: 0.9;
}

/* RSVP Section */
.rsvp-section {
    background: #fff;
    padding: 20px 80px;
}

.rsvp-header {
    text-align: center;
    margin-bottom: 30px;
}

.rsvp-count {
    font-size: 16px;
    color: #666;
}

.rsvp-count span {
    color: #d32f2f;
    font-weight: 600;
    font-size: 20px;
}

.rsvp-form {
    max-width: 400px;
    margin: 0 auto;
}

.rsvp-field {
    margin-bottom: 20px;
}

.rsvp-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.rsvp-required {
    color: #d32f2f;
    margin-right: 2px;
}

.rsvp-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.rsvp-input:focus {
    border-color: #000;
}

.rsvp-submit {
    width: 100%;
    padding: 15px;
    background: #a0522d;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.rsvp-submit:hover {
    background: #8b4513;
}

.rsvp-welcome {
    text-align: center;
    margin-top: 30px;
    font-size: 20px;
    color: #d4a5a5;
    font-style: italic;
}

/* Final Section */
.final-section {
    background: #fff;
    padding: 0 0 60px 0;
}

.final-photo {
    width: 90%;
    max-width: 1200px;
    height: 250px;
    background: #f5f5f5;
    margin: 20px auto;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.final-quote {
    padding: 0 20px 40px;
    text-align: center;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    font-style: italic;
}

/* Responsive */
@media (max-width: 480px) {
    .hero-content {
        top: 40%;
    }
    
    .date-text {
        font-size: 24px;
        letter-spacing: 3px;
    }
    
    .title-cn {
        font-size: 58px;
        letter-spacing: 4px;
    }
    
    .title-en {
        font-size: 32px;
        letter-spacing: 4px;
    }
    
    .quote-box-red-border {
        bottom: 15px;
        padding: 20px;
        max-width: 85%;
    }
    
    .quote-names {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .name-heart svg {
        width: 32px;
        height: 28px;
    }
    
    .quote-text-content .quote-cn {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .quote-text-content .quote-en {
        font-size: 12px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 12px 15px;
    }
    
    .countdown-value {
        font-size: 20px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out;
}

/* 音乐播放引导遮罩层 */
.music-play-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease-out;
}

.music-play-overlay.hidden {
    display: none;
}

.music-play-modal {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease-out;
}

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

.music-icon-large {
    font-size: 64px;
    color: #d32f2f;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.music-play-modal h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.music-play-modal p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-start-music {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-start-music:hover {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.btn-start-music:active {
    transform: translateY(0);
}

/* 玫瑰花瓣飘落效果 */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #dc143c 0%, #ff1744 50%, #ff5252 100%);
    border-radius: 50% 0 50% 0;
    transform: rotate(45deg);
    opacity: 0.8;
    animation: fall linear infinite;
    pointer-events: none;
}

.petal::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff1744 0%, #dc143c 50%, #ff5252 100%);
    border-radius: 0 50% 0 50%;
    transform: rotate(90deg);
}

@keyframes fall {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(calc(50vh)) translateX(50px) rotate(180deg);
        opacity: 0.6;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* 不同大小的花瓣 */
.petal-small {
    width: 15px;
    height: 15px;
}

.petal-medium {
    width: 20px;
    height: 20px;
}

.petal-large {
    width: 25px;
    height: 25px;
}

