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

/* 🔥 全局统一呼吸动画（温柔治愈版） */
@keyframes universalBreath {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.005);
    }
}

/* 🔥 全屏加载动画 */
.loading-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fdfaf6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

.loading-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-text {
    font-size: 18px;
    background: linear-gradient(90deg, #d4a8a8, #b88888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: breath 2s ease-in-out infinite;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.loading-petal {
    width: 20px;
    height: 20px;
    border-radius: 50% 0;
    background: rgba(212, 168, 168, 0.3);
    transform: rotate(45deg);
    animation: petalLoad 3s linear infinite;
}

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

@keyframes petalLoad {
    0% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: rotate(65deg) translateY(-15px);
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.5;
    }
}

/* 全局优化：温柔渐变背景 + 超丝滑淡入 */
body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background-color: #fdfaf6;
    background-image: radial-gradient(rgba(212, 168, 168, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    color: #6d5b5b;
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: 20px;
    opacity: 0;
    animation: pageFadeIn 1.5s ease-in-out forwards;
    padding-bottom: 100px;
}

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

/* 悬浮卡片（本站建设中）不加呼吸动画 */
.floating-card {
    position: fixed;
    left: 20px;
    bottom: 20px;
    top: auto;
    transform: none;
    z-index: 998;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 18px 14px;
    width: 155px;
    text-align: center;
    animation: floatCardCycle 8s ease-in-out infinite 1.8s;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes floatCardCycle {
    0% {
        opacity: 0;
        transform: translateX(-30px) translateY(20px);
    }
    10% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
    50% {
        opacity: 0;
        transform: translateX(-10px) translateY(10px);
    }
    100% {
        opacity: 0;
        transform: translateX(-10px) translateY(10px);
    }
}

.floating-card:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 30px rgba(212, 168, 168, 0.18);
    border-color: rgba(212, 168, 168, 0.6);
    animation-play-state: paused;
}

.floating-card .card-icon {
    font-size: 24px;
    background: linear-gradient(180deg, #d4a8a8, #b88888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    display: block;
    transition: transform 0.6s ease-in-out;
}

@keyframes breathRotate {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.12) rotate(6deg);
    }
}

.floating-card:hover .card-icon {
    animation: breathRotate 2s ease-in-out infinite;
}

.floating-card .card-text {
    font-size: 13px;
    color: #8c7676;
    line-height: 1.5;
    font-weight: 500;
}

.floating-card .card-subtext {
    font-size: 11px;
    color: #a89696;
    margin-top: 6px;
    display: block;
}

/* 导航栏样式 */
.nav {
    width: 95%;
    max-width: 1200px;
    padding: 0px 3%;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    /*background: rgba(255, 255, 255, 0.25);*/
    /*backdrop-filter: blur(20px);*/
    /*-webkit-backdrop-filter: blur(20px);*/
    /*border: 1px solid rgba(255, 255, 255, 0.6);*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    border-radius: 60px;
    /*box-shadow: 0 8px 32px rgba(212, 168, 168, 0.08),*/
    /*inset 0 1px 0 rgba(255, 255, 255, 0.8);*/
    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, #d4a8a8, #f3e0e0, #d4a8a8);
    border-radius: 62px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.nav.scroll {
    width: 85%;
    max-width: 800px;
    padding: 1px 3%;
    top: 15px;
    box-shadow: 0 10px 40px rgba(212, 168, 168, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

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

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

.nav-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(212, 168, 168, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.logo {
    font-size: 18px;
    background: linear-gradient(90deg, #d4a8a8, #b88888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scroll .logo {
    font-size: 18px;
    letter-spacing: 1px;
}

.logo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #d4a8a8, #b88888);
    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-menu a {
    margin-left: 35px;
    text-decoration: none;
    color: #8a7a7a;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
    font-size: 14px;
    text-shadow: 0 1px 2 rgba(255, 255, 255, 0.8);
}

.nav.scroll .nav-menu a {
    margin-left: 25px;
    font-size: 14px;
}

.nav-menu a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a8a8, #b88888);
    border-radius: 1px;
    transition: width 0.4s ease;
}

.nav-menu a:hover {
    color: #d4a8a8;
    transform: translateY(-2px);
}

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

/* 移动端适配 */
@media (max-width: 992px) {
    .floating-card {
        display: none;
    }

    .main-content {
        flex-direction: column;
        gap: 30px;
    }

    /* 横向时间轴移动端适配 - 优化滚动条样式 */
    .horizontal-timeline {
        overflow-x: auto;
        padding-bottom: 10px;
        /* 显示自定义滚动条 */
        -ms-overflow-style: auto;
        scrollbar-width: auto;
    }
    .horizontal-timeline::-webkit-scrollbar {
        display: block;
        height: 6px;
    }
    .horizontal-timeline::-webkit-scrollbar-track {
        background: rgba(212, 168, 168, 0.1);
        border-radius: 3px;
    }
    .horizontal-timeline::-webkit-scrollbar-thumb {
        background: #d4a8a8;
        border-radius: 3px;
    }

    .timeline-card {
        width: 100%;
        position: static;
        max-height: none;
    }

    .timeline-content-wrap {
        max-height: none;
    }

    .interact-links {
        flex-wrap: wrap;
        gap: 15px;
    }

    .interact-links a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .category-tag {
        padding: 3px 8px;
        font-size: 11px;
    }

    .decor-area {
        min-height: 120px;
        padding: 40px 5%;
    }

    .more-btn-container {
        text-align: center;
    }

    .message-card, .comment-card {
        padding: 25px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    /* 4个卡片移动端适配 */
    .cards-container {
        flex-direction: column;
        gap: 20px !important;
    }
    .feature-card {
        width: 100% !important;
        max-width: none !important;
        cursor: pointer;
    }

    /* 喜欢本站卡片移动端适配 */
    .like-site-btn {
        width: 80% !important;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 26px;
    }

    .subtitle-container {
        font-size: 16px;
    }

    .motto {
        font-size: 13px;
    }

    .avatar {
        width: 110px;
        height: 110px;
    }

    .header-bottom {
        margin-top: 60px;
    }

    .blog-card {
        padding: 25px;
    }

    .card-title {
        font-size: 17px;
    }

    .nav {
        padding: 15px 4%;
        border-radius: 40px;
    }

    .nav.scroll {
        padding: 10px 4%;
        width: 90%;
    }

    .nav-menu a {
        margin-left: 15px;
        font-size: 13px;
    }

    .nav.scroll .nav-menu a {
        margin-left: 12px;
        font-size: 12px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-avatar {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 24px;
    }

    .subtitle-container {
        font-size: 15px;
    }

    .nav-menu a {
        margin-left: 8px;
        font-size: 12px;
        padding: 5px 0;
    }

    .nav.scroll .nav-menu a {
        margin-left: 6px;
        font-size: 11px;
    }

    .logo {
        font-size: 16px;
    }

    .nav-avatar {
        width: 35px;
        height: 35px;
    }
}

/* 头部区域样式 */
.header-wrapper {
    height: 121vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    position: relative;
}

.header-main {
    text-align: center;
    max-width: 700px;
    width: 100%;
    animation: headerBreathFloat 4s ease-in-out infinite;
}

@keyframes headerBreathFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.02);
    }
}

.avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 30px;
    background: #f3e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(212, 168, 168, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.9);
    transition: all 0.5s ease;
}

.avatar:hover {
    transform: scale(1.05) rotate(3deg);
}

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

.title {
    font-size: 32px;
    margin-bottom: 15px;
    background: linear-gradient(180deg, #7d6a6a, #5d4a4a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
}

.subtitle-container {
    font-size: 18px;
    color: #a89696;
    max-width: 600px;
    margin: 0 auto;
    line-height: 2;
    padding: 0 20px;
}

.subtitle {
    display: inline-block;
    overflow: hidden;
    border-right: 2px solid #d4a8a8;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 8s steps(40, end) infinite,
    blink-caret 0.75s step-end infinite;
}

.header-bottom {
    margin-top: 190px;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.motto {
    font-size: 14px;
    color: #d4a8a8;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.9;
}

.scroll-down {
    color: #d4a8a8;
    font-size: 20px;
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes typing {
    0%, 100% {
        width: 0;
    }
    50%, 90% {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #d4a8a8;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 装饰区域样式 */
.decor-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 5%;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a8a8' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    border-radius: 24px;
    margin-bottom: 20px;
    min-height: 180px;
    overflow: hidden;
    animation: universalBreath 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

.petal {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50% 0;
    background: rgba(212, 168, 168, 0.25);
    transform: rotate(45deg);
    animation: petalFloat linear infinite;
    opacity: 0;
}

@keyframes petalFloat {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translate(60px, -100px);
        opacity: 0;
    }
}

.petal-1 {
    top: 20%;
    left: 15%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.petal-2 {
    top: 40%;
    left: 80%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.petal-3 {
    top: 70%;
    left: 30%;
    animation-duration: 20s;
    animation-delay: 5s;
}

.petal-4 {
    top: 30%;
    left: 60%;
    animation-duration: 16s;
    animation-delay: 1s;
}

.petal-5 {
    top: 80%;
    left: 70%;
    animation-duration: 17s;
    animation-delay: 3s;
}

.petal-6 {
    top: 50%;
    left: 20%;
    animation-duration: 19s;
    animation-delay: 4s;
}

.decor-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #a89696;
    font-size: 16px;
    letter-spacing: 1px;
    font-style: italic;
    text-shadow: 0 1px 2 rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.decor-text span {
    background: linear-gradient(90deg, #d4a8a8, #b88888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
}

/* 主内容容器 */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 5% 50px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 🔥 横向时间轴样式（核心修改：显示滚动条） */
.timeline-card {
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 20px 16px;
    position: sticky;
    top: 100px;
    opacity: 0;
    animation: timelineFadeIn 1s ease-out forwards 2s, universalBreath 6s ease-in-out infinite;
    animation-delay: 1s;
    /*max-height: 200px;*/
    max-height: none; /* 关键：取消最大高度限制，避免内容被截断 */
    overflow: visible; /* 取消隐藏，让滚动条显示 */
}

/* 横向时间轴容器 - 核心优化：显示滚动条 */
.horizontal-timeline {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 15px 10px;
    overflow-x: auto;    /* 允许横向滚动 */
    overflow-y: hidden;  /* 禁止纵向滚动 */
    padding-bottom: 10px;
}

/* 时间轴超细滚动条（梦幻温柔风） */
.horizontal-timeline::-webkit-scrollbar {
    height: 2px;
}
.horizontal-timeline::-webkit-scrollbar-track {
    background: rgba(212, 168, 168, 0.08);
    border-radius: 2px;
}
.horizontal-timeline::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 168, 0.4);
    border-radius: 2px;
}
.horizontal-timeline::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 168, 0.7);
}

/* 横向时间轴单个item */
.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    opacity: 0;
    animation: itemFadeIn 0.6s ease-out forwards;
    flex-shrink: 0;
}



.timeline-item:nth-child(1) { animation-delay: 2.2s; }
.timeline-item:nth-child(2) { animation-delay: 2.4s; }
.timeline-item:nth-child(3) { animation-delay: 2.6s; }
.timeline-item:nth-child(4) { animation-delay: 2.8s; }
.timeline-item:nth-child(5) { animation-delay: 3.0s; }
.timeline-item:nth-child(6) { animation-delay: 3.2s; }

/* 时间轴点 */
.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fdfaf6;
    border: 2px solid #d4a8a8;
    box-shadow: 0 2px 8px rgba(212, 168, 168, 0.2);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.timeline-dot i {
    font-size: 7px;
    color: #d4a8a8;
}

/* 时间轴线 */
.timeline-line {
    position: absolute;
    top: 8px;
    right: -25px;
    width: 25px;
    height: 1px;
    background: linear-gradient(90deg, #d4a8a8, rgba(212, 168, 168, 0.2));
}

.timeline-item:last-child .timeline-line {
    display: none;
}

/* 时间轴日期 */
.timeline-date {
    font-size: 11px;
    color: #a89696;
    margin-bottom: 4px;
    display: block;
    text-align: center;
}

/* 时间轴内容 */
.timeline-content {
    border-radius: 10px;
    padding: 8px 10px;
    transition: all 0.4s ease;
    text-align: center;
    width: 120px;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(212, 168, 168, 0.12);
    background: rgba(212, 168, 168, 0.05);
}

.timeline-content h4 {
    font-size: 14px;
    color: #7d6a6a;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 12px;
    color: #948282;
    line-height: 1.5;
}

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

@keyframes itemFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 右侧内容（隐藏最新动态） */
.article-container {
    flex: 1;
    min-width: 0;
    display: none; /* 移除最近动态 */
}

/* 🔥 4个功能卡片容器（核心修改） */
.cards-container {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

/* 🔥 4个卡片基础样式 + 默认循环动画 + 点击光标 */
.feature-card {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    /* 默认循环动画（无互动时） */
    animation: cardFloat 4s ease-in-out infinite alternate;
    /* 点击光标 */
    cursor: pointer;
}

/* 4个卡片差异化配色（更贴合模块主题） */
/* 文章卡片 - 书卷棕 */
.feature-card.article {
    background: linear-gradient(135deg, rgba(187, 160, 140, 0.1), rgba(245, 235, 225, 0.2));
    animation-delay: 0s;
    /*border-color: rgba(187, 160, 140, 0.3);*/
}
/* 挚爱卡片 - 心动粉 */
.feature-card.love {
    background: linear-gradient(135deg, rgba(240, 150, 150, 0.1), rgba(250, 220, 220, 0.2));
    animation-delay: 0.5s;
    /*border-color: rgba(240, 150, 150, 0.3);*/
}
/* 留言卡片 - 对话蓝 */
.feature-card.message {
    background: linear-gradient(135deg, rgba(140, 160, 180, 0.1), rgba(225, 235, 245, 0.2));
    animation-delay: 1s;
    /*border-color: rgba(140, 160, 180, 0.3);*/
}
/* 寄语卡片 - 希望黄 */
.feature-card.wish {
    background: linear-gradient(135deg, rgba(220, 200, 120, 0.1), rgba(245, 235, 205, 0.2));
    animation-delay: 1.5s;
    /*border-color: rgba(220, 200, 120, 0.3);*/
}

/* 默认悬浮动画（无互动时） */
@keyframes cardFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* 🔥 4个卡片差异化互动动画（核心） */
/* 卡片1：旋转+缩放 - 文章翻页感 */
.feature-card.article:hover {
    animation: card1Animate 0.8s ease-in-out forwards;
    box-shadow: 0 15px 40px rgba(187, 160, 140, 0.18);
    border-color: rgba(187, 160, 140, 0.6);
}
@keyframes card1Animate {
    0% { transform: rotate(0) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

/* 卡片2：心跳+变色 - 挚爱心动感 */
.feature-card.love:hover {
    animation: card2Animate 0.6s ease-in-out forwards;
    box-shadow: 0 15px 40px rgba(240, 150, 150, 0.18);
    background: linear-gradient(135deg, rgba(240, 150, 150, 0.15), rgba(250, 220, 220, 0.25));
    border-color: rgba(240, 150, 150, 0.6);
}
@keyframes card2Animate {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* 卡片3：左右抖动+渐变 - 留言对话感 */
.feature-card.message:hover {
    animation: card3Animate 0.4s ease-in-out forwards;
    box-shadow: 0 15px 40px rgba(140, 160, 180, 0.18);
    border-color: rgba(140, 160, 180, 0.6);
}
@keyframes card3Animate {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* 卡片4：淡入放大+边框发光 - 寄语希望感 */
.feature-card.wish:hover {
    animation: card4Animate 0.7s ease-in-out forwards;
    box-shadow: 0 15px 40px rgba(220, 200, 120, 0.18);
    border-color: rgba(220, 200, 120, 0.8);
}
@keyframes card4Animate {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

/* 卡片图标样式（匹配新配色） */
.card-icon-big {
    font-size: 36px;
    margin-bottom: 15px;
    display: inline-block;
    background: linear-gradient(180deg, #fff, #fdfaf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.article .card-icon-big {
    background: linear-gradient(180deg, #bb9f8c, #8b7058);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.love .card-icon-big {
    background: linear-gradient(180deg, #f09696, #e07070);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.message .card-icon-big {
    background: linear-gradient(180deg, #8c9fb4, #6c8cae);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.wish .card-icon-big {
    background: linear-gradient(180deg, #dcc878, #c8b058);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 卡片标题/描述（匹配新配色） */
.card-title-big {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
}
.article .card-title-big { color: #8b7058; }
.love .card-title-big { color: #e07070; }
.message .card-title-big { color: #6c8cae; }
.wish .card-title-big { color: #c8b058; }

.card-desc-big {
    font-size: 13px;
    line-height: 1.6;
}
.article .card-desc-big { color: #9b8068; }
.love .card-desc-big { color: #f08080; }
.message .card-desc-big { color: #7c9cb4; }
.wish .card-desc-big { color: #d8c068; }

/* 卡片内装饰元素 */
.feature-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}
.feature-card:hover::before {
    top: -30%;
    right: -30%;
}

/* 🔥 喜欢本站按钮（核心修改：改为按钮样式+红色系+爱心跳动） */
.like-site-btn {
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 12px 30px;
    width: 20%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px; /* 按钮圆角 */
    background: linear-gradient(135deg, rgba(245, 100, 100, 0.15), rgba(255, 180, 180, 0.25));
    border: 1px solid rgba(255, 100, 100, 0.4);
    box-shadow: 0 8px 32px rgba(245, 100, 100, 0.1);
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    display: block;
    border: none; /* 取消默认边框 */
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif; /* 统一字体 */
}

/* 喜欢本站按钮默认动画 */
@keyframes likeCardBreath {
    0% { transform: scale(1); }
    100% { transform: scale(1.02); }
}

/* 爱心持续跳动动画 */
@keyframes heartBeatLoop {
    0% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    60% { transform: scale(1); }
}

/* 喜欢本站按钮悬浮/点击效果 */
.like-site-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 100, 100, 0.2);
    background: linear-gradient(135deg, rgba(245, 100, 100, 0.2), rgba(255, 180, 180, 0.3));
}
.like-site-btn:active {
    transform: scale(0.98);
}

/* 喜欢本站按钮内容样式 */
.like-btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.like-icon {
    font-size: 24px;
    color: #ff4444; /* 纯红色爱心 */
    animation: heartBeatLoop 2s ease-in-out infinite; /* 持续跳动 */
}
.like-text {
    font-size: 14px;
    font-weight: 500;
    color: #ff3333; /* 红色文字 */
}
.like-count {
    font-size: 14px;
    color: #ff4444; /* 红色数字 */
    font-weight: bold;
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #b8a8a8;
    font-size: 14px;
    margin-top: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
    animation: universalBreath 6s ease-in-out infinite;
    animation-delay: 5s;
}

.footer p {
    transition: all 0.4s ease;
    text-shadow: 0 1px 2 rgba(255, 255, 255, 0.8);
}

.footer:hover p {
    background: linear-gradient(90deg, #d4a8a8, #b88888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===================== 🌌 银河星云 + 流星特效 黑夜模式 ===================== */
/* 黑夜模式 - 银河渐变星云背景 */
body.dark-mode {
    background-color: #0d1323;
    background-image:
        radial-gradient(circle at 15% 80%, rgba(90, 110, 180, 0.25) 0%, transparent 35%),
        radial-gradient(circle at 85% 25%, rgba(140, 80, 180, 0.2) 0%, transparent 35%),
        radial-gradient(circle at 45% 45%, rgba(100, 150, 220, 0.12) 0%, transparent 50%),
        radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px;
    background-attachment: fixed;
    color: #e0e0e0;

}

/* 流星容器 */
.meteor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    display: none;
}
body.dark-mode .meteor-container {
    display: block;
}

/* 流星动画 */
.meteor {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(210, 230, 255, 0.8));
    border-radius: 1px;
    transform: rotate(25deg);
    animation: meteor-fall 3.5s linear infinite;
    opacity: 0;
}
@keyframes meteor-fall {
    0% {
        opacity: 0;
        transform: translate(-100px, -100px) rotate(25deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(100vw, 100vh) rotate(25deg);
    }
}

/* 星空 */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
    pointer-events: none;
    display: none;
}
body.dark-mode .stars {
    display: block;
}
.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 2.5s infinite alternate;
}
@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* 导航栏 */
body.dark-mode .nav {
    background: rgba(20, 28, 45, 0.7);
    border: 1px solid rgba(140, 180, 255, 0.15);
}
body.dark-mode .nav.scroll {
    background: rgba(15, 20, 35, 0.9);
    box-shadow: 0 10px 40px rgba(100, 150, 255, 0.15);
}

/* 文字发光 */
body.dark-mode .title,
body.dark-mode .logo,
body.dark-mode .loading-text,
body.dark-mode .card-title-big,
body.dark-mode .like-text {
    background: linear-gradient(90deg, #c8e2ff, #e8f4ff) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    text-shadow: 0 0 15px rgba(150, 200, 255, 0.5);
}
body.dark-mode .subtitle,
body.dark-mode .motto,
body.dark-mode .decor-text span {
    color: #c8d8ff;
    text-shadow: 0 0 12px rgba(160, 190, 255, 0.4);
}

/* ===================== 🔥 四张卡片 自身颜色发光 ===================== */
/* 文章 - 棕金色 */
body.dark-mode .feature-card.article {
    background: rgba(35,28,20,0.6) !important;
    border-color: rgba(225,190,140,0.4) !important;
    box-shadow: 0 0 30px rgba(215,170,120,0.25) !important;
}
body.dark-mode .feature-card.article:hover {
    box-shadow: 0 0 45px rgba(230,180,130,0.4) !important;
    border-color: rgba(230,195,150,0.7) !important;
}

/* 挚爱 - 粉色 */
body.dark-mode .feature-card.love {
    background: rgba(35,22,28,0.6) !important;
    border-color: rgba(255,170,190,0.4) !important;
    box-shadow: 0 0 30px rgba(255,160,180,0.25) !important;
}
body.dark-mode .feature-card.love:hover {
    box-shadow: 0 0 45px rgba(255,170,190,0.4) !important;
    border-color: rgba(255,190,210,0.7) !important;
}

/* 留言 - 蓝色 */
body.dark-mode .feature-card.message {
    background: rgba(20,28,40,0.6) !important;
    border-color: rgba(170,200,255,0.4) !important;
    box-shadow: 0 0 30px rgba(160,200,255,0.25) !important;
}
body.dark-mode .feature-card.message:hover {
    box-shadow: 0 0 45px rgba(170,210,255,0.4) !important;
    border-color: rgba(190,220,255,0.7) !important;
}

/* 寄语 - 黄色 */
body.dark-mode .feature-card.wish {
    background: rgba(35,32,20,0.6) !important;
    border-color: rgba(255,225,130,0.4) !important;
    box-shadow: 0 0 30px rgba(255,220,120,0.25) !important;
}
body.dark-mode .feature-card.wish:hover {
    box-shadow: 0 0 45px rgba(255,230,140,0.4) !important;
    border-color: rgba(255,235,160,0.7) !important;
}

/* 其他卡片 */
body.dark-mode .timeline-card,
body.dark-mode .floating-card,
body.dark-mode .note-card {
    /*background: rgba(28,35,55,0.55) !important;*/
    /*border: 1px solid rgba(150,190,255,0.25) !important;*/
    /*box-shadow: 0 0 25px rgba(130,170,255,0.15) !important;*/
}

/* 喜欢按钮 */
body.dark-mode .like-site-btn {
    background: linear-gradient(135deg, rgba(100,130,200,0.25), rgba(140,180,255,0.35)) !important;
    border-color: rgba(170,200,255,0.5) !important;
}
body.dark-mode .like-icon {
    color: #c8e2ff;
    filter: drop-shadow(0 0 10px rgba(170,200,255,0.7));
}

/* 加载页 */
body.dark-mode .loading-wrapper {
    background: #0d1323;
}

/* 切换按钮 */
.dark-toggle {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6d5b5b;
    cursor: pointer;
    z-index: 999;
    transition: all 0.4s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
body.dark-mode .dark-toggle {
    background: rgba(30,40,60,0.7);
    color: #ffd866;
    text-shadow: 0 0 12px #ffd866;
}
.dark-toggle:hover {
    transform: scale(1.1);
}
