/* ========== 重置样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: linear-gradient(135deg, #fdf2f8 0%, #e8f4f8 100%);
    background-attachment: fixed;
    color: #5a6b8c;
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
    opacity: 0;
    animation: pageFadeIn 1.5s ease-in-out forwards;
    padding: 0; /* 重置body内边距，适配全屏布局 */
}

/* ========== 粒子特效容器 ========== */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ========== 全局加载动画 ========== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fdf2f8, #e8f4f8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 1s ease-out;
}

.loading-spot {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.9) 0%, rgba(186, 186, 255, 0.2) 70%, transparent 100%);
    animation: spotSpread 3s ease-in-out forwards;
    transform: scale(0);
    box-shadow: 0 0 60px rgba(255, 182, 193, 0.5);
}

@keyframes spotSpread {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== 进度条 ========== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #ff7eb9, #8884d8, #66c2ff, #8884d8, #ff7eb9);
    background-size: 200% 100%;
    animation: progressGradient 3s ease infinite;
    z-index: 9999;
    transition: width .2s ease;
    box-shadow: 0 2px 12px rgba(255, 126, 185, .3);
}

@keyframes progressGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ========== 顶部全屏Banner (核心布局优化) ========== */
.hero-banner {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    /*background: linear-gradient(135deg, rgba(253, 242, 248, 0.95), rgba(232, 244, 248, 0.95)),*/
    /*url('https://picsum.photos/1920/1080?random=100') center/cover no-repeat;*/
    z-index: 1;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 126, 185, 0.1) 0%, rgba(136, 132, 216, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-title {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 60px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #8884d8, #ff7eb9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(255, 126, 185, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    color: #8a9cb8;
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.6;
}

.hero-count {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-count-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 20px;
    min-width: 100px;
    box-shadow: 0 8px 25px rgba(200, 200, 255, 0.15);
}

.hero-count-num {
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(90deg, #ff7eb9, #8884d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-count-text {
    font-size: 14px;
    color: #8a9cb8;
}

.hero-scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #8884d8;
    font-size: 24px;
    animation: scrollDown 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 1;
    }
}

/* ========== 导航栏 (适配新布局) ========== */
.nav {
    width: 80%;
    max-width: 1000px;
    padding: 12px 2.5%;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    /*background: rgba(255, 255, 255, 0.4);*/
    /*backdrop-filter: blur(20px);*/
    -webkit-backdrop-filter: blur(20px);
    /*border: 1px solid rgba(255, 255, 255, 0.8);*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    border-radius: 60px;
    /*box-shadow: 0 8px 32px rgba(200, 200, 255, 0.12),*/
    /*inset 0 1px 0 rgba(255, 255, 255, 0.9),*/
    /*inset 0 -1px 0 rgba(200, 200, 255, 0.2);*/
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ff7eb9, #ffffff, #8884d8);
    border-radius: 62px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(4px);
}

.nav:hover::after {
    opacity: 1;
}

.nav.scroll {
    width: 90%;
    max-width: 1200px;
    padding: 8px 2.5%;
    top: 10px;
    /*background: rgba(255, 255, 255, 0.8);*/
    /*box-shadow: 0 10px 40px rgba(200, 200, 255, 0.18);*/
}

.author-info {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.5s ease;
}

.nav.scroll .author-info {
    gap: 5px;
}

.nav-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(200, 200, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-avatar::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, #ff7eb9, #8884d8, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: avatarRotate 8s linear infinite;
}

@keyframes avatarRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.nav-avatar:hover::after {
    opacity: 1;
}

.nav.scroll .nav-avatar {
    width: 34px;
    height: 34px;
}

.nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1);
}

.author-info:hover .nav-avatar {
    transform: rotate(5deg) scale(1.1);
}

.logo {
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
    background: linear-gradient(90deg, #ff7eb9, #8884d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav.scroll .logo {
    font-size: 16px;
    letter-spacing: 0.8px;
}

.logo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff7eb9, #8884d8);
    box-shadow: 0 1px 3px rgba(200, 200, 255, 0.8);
    transition: width 0.4s ease;
}

.author-info:hover .logo::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    transition: all 0.5s ease;
}

.nav-item {
    margin-left: 22px;
    text-decoration: none;
    color: #6a7b9c;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 6px 0;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.gradient-text {
    background: linear-gradient(90deg, #ff7eb9, #8884d8, #66c2ff) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    text-shadow: 0 0 15px rgba(255, 126, 185, 0.3) !important;
}

.nav.scroll .nav-item {
    margin-left: 16px;
    font-size: 13px;
}

.nav-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff7eb9, #8884d8);
    border-radius: 1px;
    box-shadow: 0 1px 4px rgba(200, 200, 255, 0.7);
    transition: width 0.4s ease;
}

.nav-item:hover {
    color: #ff7eb9;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(200, 200, 255, 0.3);
}

.nav-item:hover::before {
    width: 80%;
}

.nav-item.active {
    color: #8884d8;
    text-shadow: 0 2px 4px rgba(200, 200, 255, 0.3);
}

.nav-item.active::before {
    width: 80%;
}

/* ========== 内容容器 (新布局) ========== */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 36px;
    background: linear-gradient(180deg, #8884d8, #ff7eb9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff7eb9, #8884d8);
    border-radius: 3px;
}

/* ========== 情侣卡片 (优化布局) ========== */
.couple-section {
    margin-bottom: 100px;
}

.couple-card {
    /*background: rgba(255, 255, 255, 0.95);*/
    /*backdrop-filter: blur(20px);*/
    border-radius: 32px;
    padding: 60px 40px;
    margin-bottom: 40px;
    /*border: 1px solid rgba(255, 255, 255, 0.9);*/
    /*box-shadow: 0 20px 60px rgba(200, 200, 255, 0.15);*/
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    text-align: center;
    transition: all .5s ease;
    position: relative;
    overflow: hidden;
}

.couple-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 240, 245, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.couple-card:hover {
    box-shadow: 0 25px 70px rgba(200, 200, 255, 0.25);
    transform: translateY(-8px);
}

.person-box {
    transition: all .4s ease;
    padding: 30px;
    border-radius: 24px;
    position: relative;
    z-index: 2;
}

.person-box:first-child:hover {
    transform: translateY(-8px);
    background: rgba(136, 132, 216, 0.08);
}

.person-box:last-child:hover {
    transform: translateY(-8px);
    background: rgba(255, 126, 185, 0.08);
}

.person-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(200, 200, 255, 0.2);
    transition: all .5s ease;
    position: relative;
}

.person-avatar::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    z-index: -1;
}

.person-box:first-child .person-avatar {
    border: 4px solid #8884d8;
}

.person-box:last-child .person-avatar {
    border: 4px solid #ff7eb9;
}

.person-box:hover .person-avatar {
    transform: rotate(5deg) scale(1.08);
    box-shadow: 0 15px 30px rgba(200, 200, 255, 0.3);
}

.person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05);
}

.person-name {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 32px;
    color: #8884d8;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(200, 200, 255, 0.3);
}

.person-box:last-child .person-name {
    color: #ff7eb9;
}

.person-tag {
    font-size: 16px;
    color: #8a9cb8;
    margin-bottom: 8px;
    font-weight: 500;
}

.person-star {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.person-box:first-child .person-star {
    color: #8884d8;
}

.person-box:last-child .person-star {
    color: #ff7eb9;
}



.heart-middle {
    font-size: 60px;
    background: linear-gradient(180deg, #ff7eb9, #8884d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: heartBeat 1.5s infinite, heartFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(255, 126, 185, 0.3);
}

/* 独立心跳动画，不冲突 */
@keyframes loveHeartBeat {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    50% { transform: scale(1.2); }
    70% { transform: scale(1.5); }
    100% { transform: scale(1); }
}
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes heartFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ========== 纪念日模块 (重点修改：垂直列表布局) ========== */
.memory-section {
    margin-bottom: 100px;
}

.memory-card {
    /*background: rgba(255, 255, 255, 0.95);*/
    border-radius: 32px;
    padding: 60px 40px;
    margin-bottom: 40px;
    /*border: 1px solid rgba(255, 255, 255, 0.9);*/
    /*box-shadow: 0 20px 60px rgba(200, 200, 255, 0.15);*/
    transition: all .5s ease;
    position: relative;
    overflow: hidden;
}

.memory-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 70%, rgba(255, 240, 245, 0.08) 0%, transparent 70%);
    z-index: 1;
}

.memory-card:hover {
    box-shadow: 0 25px 70px rgba(200, 200, 255, 0.25);
    transform: translateY(-8px);
}

.memory-title {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 28px;
    color: #8884d8;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(200, 200, 255, 0.2);
}

/* 重点修改：纪念日改为垂直列表布局，取消网格，改为单列 */
.memory-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.memory-item {
    padding: 25px 30px;
    background: rgba(200, 200, 255, 0.1);
    border-radius: 20px;
    border-left: 4px solid #8884d8;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(200, 200, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 新增：纪念日日期标签样式 */
.memory-date-tag {
    background: linear-gradient(90deg, #8884d8, #ff7eb9);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(136, 132, 216, 0.2);
}

.memory-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(200, 200, 255, 0.15);
    transition: height .4s ease;
    z-index: 0;
}

.memory-item:hover::before {
    height: 100%;
}

.memory-item:hover {
    transform: translateY(-5px);
    border-left-color: #ff7eb9;
    box-shadow: 0 10px 25px rgba(200, 200, 255, 0.18);
}

.memory-date {
    display: none; /* 隐藏原有日期，使用新的日期标签 */
}

.memory-name {
    color: #5a6b8c;
    font-size: 17px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    flex: 1;
}

/* ========== 甜蜜语录 (优化布局) ========== */
.quote-section {
    margin-bottom: 100px;
}

.love-quote-block {
    /*background: rgba(255, 255, 255, 0.95);*/
    border-radius: 32px;
    padding: 60px 40px;
    margin-bottom: 40px;
    /*border: 1px solid rgba(255, 255, 255, 0.9);*/
    /*box-shadow: 0 20px 60px rgba(200, 200, 255, 0.15);*/
    transition: all .5s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.love-quote-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(240, 248, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.love-quote-block:hover {
    box-shadow: 0 25px 70px rgba(200, 200, 255, 0.25);
    transform: translateY(-8px);
}

.love-quote-title {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 28px;
    color: #8884d8;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(200, 200, 255, 0.2);
}

.love-quote-content {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 28px;
    background: linear-gradient(90deg, #ff7eb9, #8884d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    padding: 40px 20px;
    transform: rotate(.5deg);
    animation: quoteFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    line-height: 1.8;
    text-shadow: 0 0 20px rgba(255, 126, 185, 0.2);
}

@keyframes quoteFloat {
    0%, 100% {
        transform: rotate(.5deg) scale(1);
    }
    50% {
        transform: rotate(-.5deg) scale(1.03);
    }
}

/* ========== 祝福模块 (优化布局) ========== */
.blessing-section {
    margin-bottom: 100px;
}

.blessing-card {
    /*background: rgba(255, 255, 255, 0.95);*/
    border-radius: 32px;
    padding: 60px 40px;
    margin-bottom: 40px;
    /*border: 1px solid rgba(255, 255, 255, 0.9);*/
    /*box-shadow: 0 20px 60px rgba(200, 200, 255, 0.15);*/
    transition: all .5s ease;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.blessing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 40% 40%, rgba(255, 240, 245, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.blessing-card:hover {
    box-shadow: 0 25px 70px rgba(200, 200, 255, 0.25);
    transform: translateY(-8px);
}

.blessing-title {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 28px;
    color: #8884d8;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(200, 200, 255, 0.2);
}

.blessing-form-row {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.blessing-name-input, .blessing-email-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 20px;
    border: 1px solid rgba(200, 200, 255, 0.4);
    background: rgba(255, 255, 255, 0.9);
    color: #5a6b8c;
    font-size: 15px;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(200, 200, 255, 0.1);
}

.blessing-name-input:focus, .blessing-email-input:focus {
    outline: none;
    border-color: #8884d8;
    box-shadow: 0 0 0 4px rgba(136, 132, 216, 0.15);
}

.blessing-input {
    width: 100%;
    min-height: 120px;
    padding: 15px 20px;
    border-radius: 20px;
    border: 1px solid rgba(200, 200, 255, 0.4);
    background: rgba(255, 255, 255, 0.9);
    color: #5a6b8c;
    font-size: 15px;
    resize: none;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(200, 200, 255, 0.1);
}

.blessing-input:focus {
    outline: none;
    border-color: #8884d8;
    box-shadow: 0 0 0 4px rgba(136, 132, 216, 0.15);
}

.blessing-submit-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

.blessing-tips {
    font-size: 13px;
    color: #8a9cb8;
    font-weight: 500;
}

.blessing-submit {
    padding: 12px 30px;
    background: linear-gradient(120deg, #ff7eb9, #8884d8);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 5px 15px rgba(255, 126, 185, 0.2);
    font-weight: 500;
}

.blessing-submit:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 126, 185, 0.3);
}

.blessing-show-title {
    font-size: 18px;
    color: #8884d8;
    margin: 40px 0 25px;
    text-align: center;
    font-family: 'Ma Shan Zheng', cursive;
    position: relative;
    z-index: 2;
}

.blessing-show-list {
    display: grid;
    gap: 25px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.blessing-show-item {
    display: flex;
    gap: 20px;
    padding: 30px 25px;
    background: linear-gradient(145deg, #fff, #f8f9ff);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(200, 200, 255, 0.1);
    transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.blessing-show-item:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 15px 35px rgba(200, 200, 255, 0.25);
}

.blessing-show-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: rgba(200, 200, 255, 0.15);
    border-radius: 0 0 25px 0;
    z-index: 0;
}

.blessing-item-avatar {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.blessing-item-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f8ff;
    transition: all .3s ease;
    box-shadow: 0 5px 15px rgba(200, 200, 255, 0.2);
}

.blessing-show-item:hover .blessing-item-avatar img {
    transform: rotate(8deg);
    border-color: #8884d8;
}

.blessing-item-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.blessing-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.blessing-show-name {
    font-size: 16px;
    color: #8884d8;
    font-weight: 600;
    transition: all .3s ease;
}

.blessing-show-item:hover .blessing-show-name {
    color: #ff7eb9;
}

.blessing-show-time {
    font-size: 12px;
    color: #66c2ff;
    font-weight: 500;
}

.blessing-show-email {
    font-size: 11px;
    color: #8a9cb8;
    margin-bottom: 8px;
    display: none;
}

.blessing-show-text {
    font-size: 15px;
    color: #8a9cb8;
    line-height: 1.7;
    margin-bottom: 10px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border-left: 4px solid #f0f8ff;
    transition: all .3s ease;
}

.blessing-show-item:hover .blessing-show-text {
    border-left-color: #8884d8;
    background: rgba(255, 255, 255, 0.95);
}

.blessing-item-footer {
    text-align: right;
}

.blessing-like {
    font-size: 13px;
    color: #8a9cb8;
    cursor: pointer;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blessing-like:hover {
    color: #ff7eb9;
    transform: scale(1.05);
}

.blessing-like.liked {
    color: #ff7eb9;
}

.blessing-like.liked i {
    animation: heartBeat 0.6s ease;
}

.blessing-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.page-btn {
    padding: 8px 15px;
    border-radius: 15px;
    border: 1px solid rgba(200, 200, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: #8a9cb8;
    font-size: 14px;
    cursor: pointer;
    transition: all .3s ease;
    font-weight: 500;
}

.page-btn:hover:not(:disabled) {
    background: rgba(200, 200, 255, 0.15);
    transform: scale(1.08);
}

.page-btn.current {
    background: linear-gradient(120deg, #ff7eb9, #8884d8);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 126, 185, 0.2);
}

.page-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* ========== 谈心模块 (优化布局) ========== */
.chat-section {
    margin-bottom: 100px;
}

.chat-card {
    /*background: rgba(255, 255, 255, 0.95);*/
    border-radius: 32px;
    padding: 60px 40px;
    margin-bottom: 40px;
    /*border: 1px solid rgba(255, 255, 255, 0.9);*/
    /*box-shadow: 0 20px 60px rgba(200, 200, 255, 0.15);*/
    transition: all .5s ease;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.chat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 60%, rgba(240, 248, 255, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.chat-card:hover {
    box-shadow: 0 25px 70px rgba(200, 200, 255, 0.25);
    transform: translateY(-8px);
}

.chat-title {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 28px;
    color: #8884d8;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(200, 200, 255, 0.2);
}

.chat-lock-wrap {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(145deg, #f8f9ff, #fff);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(200, 200, 255, 0.1);
}

.chat-lock-icon {
    font-size: 40px;
    background: linear-gradient(180deg, #ff7eb9, #8884d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(255, 126, 185, 0.3);
}

.chat-lock-input {
    width: 80%;
    max-width: 350px;
    padding: 15px 20px;
    border-radius: 25px;
    border: 1px solid rgba(200, 200, 255, 0.4);
    background: rgba(255, 255, 255, 0.9);
    color: #5a6b8c;
    font-size: 15px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(200, 200, 255, 0.1);
}

.chat-lock-input:focus {
    outline: none;
    border-color: #8884d8;
    box-shadow: 0 0 0 4px rgba(136, 132, 216, 0.15);
}

.chat-lock-btn {
    padding: 12px 35px;
    background: linear-gradient(120deg, #ff7eb9, #8884d8);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: all .3s ease;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255, 126, 185, 0.2);
    font-weight: 500;
}

.chat-lock-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 126, 185, 0.3);
}

.chat-lock-tips {
    font-size: 13px;
    color: #8a9cb8;
    font-weight: 500;
}

.chat-loading {
    text-align: center;
    padding: 40px 0;
    color: #8a9cb8;
    font-size: 15px;
    font-family: 'Ma Shan Zheng', cursive;
    position: relative;
    z-index: 2;
}

.chat-record-title {
    font-size: 18px;
    color: #8884d8;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Ma Shan Zheng', cursive;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(200, 200, 255, 0.2);
}

.chat-timeline-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 0 15px 15px;
    margin-bottom: 25px;
    scrollbar-width: thin;
    scrollbar-color: #8884d8 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.chat-timeline-container::-webkit-scrollbar {
    width: 8px;
}

.chat-timeline-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.chat-timeline-container::-webkit-scrollbar-thumb {
    background: #8884d8;
    border-radius: 4px;
    transition: all .3s ease;
}

.chat-timeline-container::-webkit-scrollbar-thumb:hover {
    background: #ff7eb9;
}

.chat-timeline {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 15px 0 30px;
    box-sizing: border-box;
}

.chat-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(to bottom,
    rgba(255, 126, 185, 0.8) 0%,
    rgba(136, 132, 216, 0.4) 100%);
    z-index: 1;
    border-radius: 3px;
}

.chat-timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    display: flex;
    box-sizing: border-box;
}

.chat-timeline-item.female {
    justify-content: flex-end;
}

.chat-timeline-item.male {
    justify-content: flex-start;
}

.chat-timeline-dot {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #8884d8;
    box-shadow: 0 0 0 6px rgba(200, 200, 255, 0.2);
    z-index: 2;
    transition: all .3s ease;
}

.chat-timeline-item:hover .chat-timeline-dot {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 8px rgba(200, 200, 255, 0.3);
}

.chat-timeline-content-wrap {
    width: calc(50% - 35px);
    box-sizing: border-box;
}

.chat-timeline-content {
    padding: 22px 25px;
    background: linear-gradient(145deg, #fff, #f8f9ff);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(200, 200, 255, 0.12);
    transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.chat-timeline-item.female .chat-timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #f8f9ff;
    z-index: 1;
}

.chat-timeline-item.female .chat-timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -12px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(255, 126, 185, 0.2);
    z-index: 0;
}

.chat-timeline-item.male .chat-timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #f8f9ff;
    z-index: 1;
}

.chat-timeline-item.male .chat-timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -12px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid rgba(136, 132, 216, 0.2);
    z-index: 0;
}

.chat-timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(200, 200, 255, 0.22);
}

.chat-timeline-name {
    font-size: 15px;
    color: #8884d8;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gender-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    color: #fff;
    font-weight: normal;
    box-shadow: 0 2px 8px rgba(200, 200, 255, 0.2);
}

.female-tag {
    background: #ff7eb9;
}

.male-tag {
    background: #8884d8;
}

.chat-timeline-theme {
    font-size: 12px;
    color: #66c2ff;
    margin-bottom: 12px;
    display: inline-block;
    padding: 3px 10px;
    background: rgba(200, 200, 255, 0.15);
    border-radius: 8px;
    font-weight: 500;
}

.chat-timeline-text {
    font-size: 14px;
    color: #8a9cb8;
    line-height: 1.7;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.chat-timeline-time {
    font-size: 11px;
    color: #8a9cb8;
    opacity: .9;
    text-align: right;
    font-weight: 500;
}

.chat-timeline-item.male .chat-timeline-time {
    text-align: left;
}

.chat-load-more-wrap {
    text-align: center;
    margin-top: 15px;
    position: relative;
    z-index: 2;
}

.chat-load-more-btn {
    padding: 12px 30px;
    background: linear-gradient(120deg, #ff7eb9, #8884d8);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(255, 126, 185, 0.2);
    font-weight: 500;
}

.chat-load-more-btn:hover:not(:disabled) {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 126, 185, 0.3);
}

.chat-load-more-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========== 侧边装饰 & 弹幕 (适配新布局) ========== */
.page-side-text {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    font-size: 18px;
    font-family: "Ma Shan Zheng", cursive;
    letter-spacing: 10px;
    writing-mode: vertical-rl;
    animation: textFloat 10s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 126, 185, 0.3);
    background: linear-gradient(180deg, #8884d8, #ff7eb9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.8;
}

@keyframes textFloat {
    0% {
        opacity: 0.7;
        transform: translateY(-50%) rotate(0deg);
    }
    25% {
        opacity: 0.9;
        transform: translateY(-55%) rotate(0.5deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50%) rotate(0deg);
    }
    75% {
        opacity: 0.9;
        transform: translateY(-45%) rotate(-0.5deg);
    }
    100% {
        opacity: 0.7;
        transform: translateY(-50%) rotate(0deg);
    }
}

.side-text-left {
    left: 60px;
}

.side-text-right {
    right: 60px;
}

.side-decoration {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 0;
    pointer-events: none;
    opacity: .3;
    display: none;
}

.side-left {
    left: 0;
    background: linear-gradient(to right, rgba(136, 132, 216, .2), transparent);
}

.side-right {
    right: 0;
    background: linear-gradient(to left, rgba(255, 126, 185, .2), transparent);
}

.decoration-petal {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50% 0;
    animation: petalFloatVertical linear infinite;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(200, 200, 255, .6);
}

.side-left .decoration-petal {
    background: #8884d8;
}

.side-right .decoration-petal {
    background: #ff7eb9;
}

/* 花瓣动画位置定义 */
.side-left .decoration-petal:nth-child(1) {
    top: 10%;
    left: 30px;
    animation-duration: 20s;
}

.side-left .decoration-petal:nth-child(2) {
    top: 25%;
    left: 60px;
    animation-duration: 25s;
    animation-delay: 5s;
}

.side-left .decoration-petal:nth-child(3) {
    top: 40%;
    left: 20px;
    animation-duration: 18s;
    animation-delay: 2s;
}

.side-left .decoration-petal:nth-child(4) {
    top: 55%;
    left: 70px;
    animation-duration: 22s;
    animation-delay: 8s;
}

.side-left .decoration-petal:nth-child(5) {
    top: 70%;
    left: 40px;
    animation-duration: 19s;
    animation-delay: 4s;
}

.side-left .decoration-petal:nth-child(6) {
    top: 85%;
    left: 50px;
    animation-duration: 24s;
    animation-delay: 10s;
}

.side-right .decoration-petal:nth-child(1) {
    top: 10%;
    right: 30px;
    animation-duration: 19s;
    animation-delay: 1s;
}

.side-right .decoration-petal:nth-child(2) {
    top: 25%;
    right: 60px;
    animation-duration: 23s;
    animation-delay: 6s;
}

.side-right .decoration-petal:nth-child(3) {
    top: 40%;
    right: 20px;
    animation-duration: 21s;
    animation-delay: 3s;
}

.side-right .decoration-petal:nth-child(4) {
    top: 55%;
    right: 70px;
    animation-duration: 24s;
    animation-delay: 9s;
}

.side-right .decoration-petal:nth-child(5) {
    top: 70%;
    right: 40px;
    animation-duration: 20s;
    animation-delay: 5s;
}

.side-right .decoration-petal:nth-child(6) {
    top: 85%;
    right: 50px;
    animation-duration: 22s;
    animation-delay: 11s;
}

@keyframes petalFloatVertical {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: rotate(45deg) scale(1.1);
    }
    50% {
        transform: rotate(45deg) translate(0, 75px) scale(1.05);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translate(0, 150px) scale(.9);
        opacity: 0;
    }
}

.decoration-text {
    position: absolute;
    writing-mode: vertical-rl;
    font-size: 16px;
    opacity: .8;
    letter-spacing: 12px;
    font-style: italic;
    font-weight: 500;
    top: 50%;
    transform: translateY(-50%);
    animation: textBreath 4s ease-in-out infinite;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    z-index: 0;
}

.side-left .decoration-text {
    left: 40px;
    background: linear-gradient(180deg, #66c2ff, #8884d8);
}

.side-right .decoration-text {
    right: 40px;
    background: linear-gradient(180deg, #ff7eb9, #ff61a6);
}

@keyframes textBreath {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* 弹幕容器 (适配新布局) */
.barrage-container {
    position: fixed;
    top: 30%;
    left: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.barrage-item {
    position: absolute;
    right: -100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 8px 12px;
    animation: barrageRoll 18s linear forwards;
    font-family: "Noto Sans SC", sans-serif;
    line-height: 1.4;
    pointer-events: auto;
    transform-origin: center;
    /*background: rgba(255, 255, 255, 0.8);*/
    border-radius: 50px;
    /*backdrop-filter: blur(10px);*/
    /*border: 1px solid rgba(255, 255, 255, 0.9);*/
    /*box-shadow: 0 4px 15px rgba(200, 200, 255, 0.15);*/
}

@keyframes barrageRoll {
    0% {
        right: -100%;
    }
    100% {
        right: 110%;
    }
}

.barrage-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.barrage-pink {
    color: #ff7eb9;
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 15px;
}

.barrage-blue {
    color: #8884d8;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 14px;
}

.barrage-dark {
    color: #66c2ff;
    font-size: 15px;
    font-weight: 500;
}

.barrage-gradient {
    background: linear-gradient(90deg, #ff7eb9, #8884d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}

.barrage-item:hover {
    animation-play-state: paused;
    cursor: default;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(200, 200, 255, 0.25);
}

.barrage-item:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 200, 255, 0.2);
    border-radius: 50px;
    z-index: -1;
    animation: heartbeat 0.8s ease-in-out infinite alternate;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* ========== 悬浮组件 (适配新布局) ========== */
.floating-card {
    position: fixed;
    left: 20px;
    bottom: 20px;
    /*background: rgba(255, 255, 255, 0.9);*/
    border-radius: 24px;
    padding: 25px 20px;
    width: 200px;
    text-align: center;
    animation: floatCardCycle 8s ease-in-out infinite 1.8s;
    opacity: 1;
    z-index: 998;
    /*border: 1px solid rgba(255, 255, 255, 0.9);*/
    /*box-shadow: 0 10px 30px rgba(200, 200, 255, 0.2);*/
    transition: all .4s ease;
    /*backdrop-filter: blur(15px);*/
}

.floating-card:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(200, 200, 255, 0.3);
}

@keyframes floatCardCycle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

.floating-card .card-icon {
    font-size: 30px;
    background: linear-gradient(180deg, #ff7eb9, #8884d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    animation: heartBeat 1.5s infinite;
    text-shadow: 0 0 20px rgba(255, 126, 185, 0.3);
}

.floating-card .card-text {
    display: block;
    font-size: 18px;
    color: #8884d8;
    font-family: 'Ma Shan Zheng', cursive;
    margin-bottom: 8px;
    font-weight: 500;
}

.floating-card .card-subtext {
    display: block;
    font-size: 14px;
    color: #8a9cb8;
    line-height: 1.5;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #ff7eb9;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 998;
    font-size: 24px;
    transition: all .3s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(200, 200, 255, 0.2);
}

.back-to-top.show {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

.back-to-top:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(200, 200, 255, 0.3);
    background: rgba(255, 255, 255, 1);
    color: #8884d8;
}

.footer {
    text-align: center;
    padding: 80px 20px 40px;
    color: #8a9cb8;
    font-size: 16px;
    animation: footerFade 4s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
    font-weight: 500;
    background: linear-gradient(180deg, transparent, rgba(253, 242, 248, 0.5));
    margin-top: 50px;
}

@keyframes footerFade {
    0% {
        opacity: .8;
    }
    100% {
        opacity: 1;
    }
}

/* ========== 移动端适配 (优化) ========== */
@media (max-width: 768px) {
    .hero-banner {
        height: 80vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-count {
        gap: 15px;
    }

    .hero-count-item {
        padding: 10px 15px;
        min-width: 80px;
    }

    .hero-count-num {
        font-size: 24px;
    }

    .content-container {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .couple-card {
        gap: 40px;
        padding: 40px 20px;
    }

    .person-avatar {
        width: 120px;
        height: 120px;
    }

    .person-name {
        font-size: 28px;
    }

    .heart-middle {
        font-size: 40px;
    }

    /* 移动端纪念日列表适配 */
    .memory-list {
        gap: 15px;
    }

    .memory-item {
        padding: 20px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .memory-date-tag {
        width: 100%;
        margin-bottom: 5px;
    }

    .love-quote-content {
        font-size: 24px;
        padding: 20px 10px;
    }

    .blessing-card, .chat-card {
        padding: 40px 20px;
    }

    .blessing-show-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }

    .blessing-item-avatar {
        text-align: center;
    }

    .blessing-item-avatar img {
        width: 60px;
        height: 60px;
    }

    .blessing-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .chat-lock-input {
        width: 100%;
    }

    .chat-timeline-container {
        max-height: 400px;
    }

    .chat-timeline::before {
        left: 30px;
        transform: none;
    }

    .chat-timeline-dot {
        left: 30px;
        transform: translateX(-50%);
    }

    .chat-timeline-item:hover .chat-timeline-dot {
        transform: translateX(-50%) scale(1.2);
    }

    .chat-timeline-item,
    .chat-timeline-item.male,
    .chat-timeline-item.female {
        justify-content: flex-start;
        padding-left: 65px;
    }

    .chat-timeline-content-wrap {
        width: 100%;
    }

    .chat-timeline-item.female .chat-timeline-content::after,
    .chat-timeline-item.male .chat-timeline-content::after {
        left: -10px;
        right: auto;
        border-right: 10px solid #f8f9ff;
        border-left: none;
    }

    .chat-timeline-item.female .chat-timeline-content::before,
    .chat-timeline-item.male .chat-timeline-content::before {
        left: -12px;
        right: auto;
        border-right: 10px solid rgba(200, 200, 255, 0.2);
        border-left: none;
    }

    .chat-timeline-item.male .chat-timeline-time {
        text-align: right;
    }

    .page-side-text {
        display: none;
    }

    .nav {
        width: 95% !important;
        max-width: none !important;
        padding: 8px 15px !important;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .nav.scroll {
        width: 92% !important;
        padding: 6px 12px !important;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-item {
        margin-left: 0 !important;
        font-size: 12px !important;
        padding: 4px 6px;
    }

    .nav-avatar {
        width: 34px !important;
        height: 34px !important;
    }

    .logo {
        font-size: 16px !important;
    }

    .barrage-container {
        top: 25%;
        height: 150px;
    }

    .barrage-item {
        font-size: 12px !important;
        padding: 6px 10px;
    }

    .barrage-avatar {
        width: 20px;
        height: 20px;
    }

    .floating-card {
        width: 160px;
        padding: 20px 15px;
        left: 10px;
        bottom: 10px;
    }
}

/* 右侧悬浮留言引导框 */
.floating-message-tip {
    position: fixed;
    top: 20%;
    right: 6%;
    transform: translateY(-50%);
    z-index: 999;
    /*background: rgba(255, 255, 255, 0.95);*/
    /*backdrop-filter: blur(12px);*/
    padding: 18px 16px;
    border-radius: 20px;
    /*box-shadow: 0 8px 25px rgba(255, 126, 185, 0.15);*/
    /*border: 1px solid rgba(255, 182, 193, 0.3);*/
    width: 140px;
    text-align: center;
    animation: floatTip 6s ease-in-out infinite;
    cursor: pointer;
}

@keyframes floatTip {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-52%) translateX(-3px);
    }
}

.floating-message-tip:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 126, 185, 0.25);
}

.floating-message-icon {
    font-size: 26px;
    color: #ff7eb9;
    margin-bottom: 8px;
    animation: heartBeat 1.4s infinite;
}

.floating-message-text {
    font-size: 14px;
    color: #8884d8;
    font-weight: 500;
    line-height: 1.4;
}


/*光效动画样式 4个小卡片*/
@keyframes glassShine {
    0% {
        transform: rotate(30deg) translateX(-100%);
    }
    100% {
        transform: rotate(30deg) translateX(100%);
    }
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1),
    0 0 30px rgba(var(--card-color-rgb), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-card:hover div:first-of-type {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(var(--card-color-rgb), 0.5),
    inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

/* 4个小卡片 梦幻呼吸跳动动画 —— 更明显版 */
@keyframes dreamBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }  /* 放大更多，更明显 */
    100% { transform: scale(1); }
}

/* 挨个依次跳动，延迟拉大，节奏感超强 */
.feature-card:nth-child(1) { animation: dreamBeat 3s ease-in-out infinite; }
.feature-card:nth-child(2) { animation: dreamBeat 3s ease-in-out infinite 0.8s; }
.feature-card:nth-child(3) { animation: dreamBeat 3s ease-in-out infinite 1.6s; }
.feature-card:nth-child(4) { animation: dreamBeat 3s ease-in-out infinite 2.4s; }

/* 移动端适配 */
@media (max-width: 768px) {
    .feature-cards-section .feature-card {
        width: 45%;
        height: 160px;
        margin-bottom: 20px;
        padding: 20px 15px;
    }

    .feature-card div:first-of-type {
        width: 50px;
        height: 50px;
    }

    .feature-card div:first-of-type i {
        font-size: 20px;
    }

    .feature-card h3 {
        font-size: 18px;
    }

    .feature-card p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .feature-cards-section .feature-card {
        width: 100%;
    }
}



/* 回到顶部（强制覆盖所有冲突） */
.back-to-top {
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 9999999 !important;
}
.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
}
.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 126, 185, 0.4);
}

/* ========== 情侣相册模块 (新增) ========== */
.album-section {
    margin-bottom: 100px;
}

.album-card {
    border-radius: 32px;
    padding: 60px 40px;
    margin-bottom: 40px;
    transition: all .5s ease;
    position: relative;
    overflow: hidden;
}

.album-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 60%, rgba(255, 240, 245, 0.08) 0%, transparent 70%);
    z-index: 1;
}

.album-card:hover {
    box-shadow: 0 25px 70px rgba(200, 200, 255, 0.25);
    transform: translateY(-8px);
}

.album-title {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 28px;
    color: #8884d8;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(200, 200, 255, 0.2);
}

/* 相册网格布局 */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

/* 相册图片项 */
.album-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 25px rgba(200, 200, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.album-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(200, 200, 255, 0.25);
}

.album-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.album-item:hover::before {
    opacity: 1;
}

.album-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.album-item:hover .album-img {
    transform: scale(1.1);
}

/* 图片描述文字 */
.album-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: white;
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 18px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.album-item:hover .album-caption {
    transform: translateY(0);
}

/* 相册查看更多按钮 */
.album-more-btn {
    display: block;
    margin: 40px auto 0;
    padding: 12px 35px;
    background: linear-gradient(120deg, #ff7eb9, #8884d8);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 5px 15px rgba(255, 126, 185, 0.2);
    font-weight: 500;
    font-family: 'Ma Shan Zheng', cursive;
    position: relative;
    z-index: 2;
}

.album-more-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 126, 185, 0.3);
}

/* 相册弹窗样式 */
.album-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.album-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.album-modal-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 126, 185, 0.3);
}

.album-modal-close {
    position: absolute;
    top: 30px;
    right: -40px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.album-modal-close:hover {
    color: #ff7eb9;
    transform: rotate(90deg);
}

.album-modal-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 22px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .album-card {
        padding: 40px 20px;
    }

    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .album-caption {
        font-size: 14px;
        padding: 15px;
    }

    .album-modal-close {
        top: 30px;
        right: 0;
        font-size: 28px;
    }
}


