/* ======================================
   温柔加载过渡动画（复用）
   ====================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fdfaf6;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 1s ease-out;
}

.loading-spot {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 168, 0.8) 0%, rgba(212, 168, 168, 0.1) 70%, transparent 100%);
    animation: spotSpread 3s ease-in-out forwards;
    transform: scale(0);
}

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

/* ======================================
   全局基础样式（复用）
   ====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background-color: #fdfaf6;
    background-image: radial-gradient(rgba(212, 168, 168, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(212, 168, 168, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    color: #6d5b5b;
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: 90px;
    opacity: 0;
    animation: pageFadeIn 1.5s ease-in-out forwards;
    padding-bottom: 60px;
    position: relative;
}

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

/* 阅读进度条（复用） */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #d4a8a8, #c89898, #b88888, #c89898, #d4a8a8);
    background-size: 200% 100%;
    animation: progressGradient 3s ease infinite;
    z-index: 9999;
    transition: width 0.2s ease;
    box-shadow: 0 2px 12px rgba(212, 168, 168, 0.3);
}

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

/* ======================================
   两侧填充装饰（复用）
   ====================================== */
.side-decoration {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.side-left {
    left: 0;
    background: linear-gradient(to right, rgba(212, 168, 168, 0.2), transparent);
}

.side-right {
    right: 0;
    background: linear-gradient(to left, rgba(212, 168, 168, 0.2), transparent);
}

.decoration-petal {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50% 0;
    background: #d4a8a8;
    transform: rotate(45deg);
    animation: petalFloatVertical linear infinite;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(212, 168, 168, 0.4);
}

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

.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(0.9);
        opacity: 0;
    }
}

.decoration-text {
    position: absolute;
    writing-mode: vertical-rl;
    font-size: 16px;
    color: #d4a8a8;
    opacity: 0.8;
    letter-spacing: 12px;
    font-style: italic;
    font-weight: 500;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 0 1px 3px rgba(212, 168, 168, 0.4);
    animation: textBreath 4s ease-in-out infinite;
    background: linear-gradient(180deg, #d4a8a8, #b88888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes textBreath {
    0%, 100% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.05);
    }
}

.side-left .decoration-text {
    left: 40px;
    content: "温柔文字 治愈时光";
}

.side-right .decoration-text {
    right: 40px;
    content: "每一篇文章 都是美好";
}

/* ======================================
   导航栏样式（完全复用）
   ====================================== */
.nav {
    width: 80%;
    max-width: 1000px;
    padding: 8px 2.5%;
    position: fixed;
    top: 12px;
    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: 9999;
    border-radius: 60px;
    box-shadow: 0 8px 32px rgba(212, 168, 168, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(212, 168, 168, 0.1);
    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;
    filter: blur(1px);
}

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

.nav.scroll {
    width: 60%;
    max-width: 700px;
    padding: 6px 2.5%;
    top: 8px;
    box-shadow: 0 10px 40px rgba(212, 168, 168, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(212, 168, 168, 0.15);
}

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

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

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(212, 168, 168, 0.12);
    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, #d4a8a8, 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: 32px;
    height: 32px;
}

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

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

.logo {
    font-size: 18px;
    color: #d4a8a8;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.8px;
    position: relative;
    padding-bottom: 1px;
    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, #d4a8a8, #b88888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav.scroll .logo {
    font-size: 15px;
    letter-spacing: 0.6px;
}

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

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

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

.nav-item:hover {
    color: #d4a8a8;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(212, 168, 168, 0.2);
}

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

.nav-item.active {
    color: #d4a8a8;
    text-shadow: 0 2px 4px rgba(212, 168, 168, 0.2);
}

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

/* ======================================
   文章列表页面核心样式（定制化）
   ====================================== */
.article-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
    z-index: 2;
}

/* 文章头部 */
.article-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    position: relative;
    animation: headerFloat 6s ease-in-out infinite;
}

@keyframes headerFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.01);
    }
}

.article-header::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.article-header::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: rgba(212, 168, 168, 0.08);
    border-radius: 50%;
    z-index: 0;
    animation: circleFloat 10s ease-in-out infinite;
}

@keyframes circleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-10px, 10px) scale(1.1);
    }
}

.article-title {
    font-size: 36px;
    color: #7d6a6a;
    margin-bottom: 18px;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
    font-weight: 500;
    text-shadow: 0 4px 12px rgba(212, 168, 168, 0.15);
    animation: titleBounce 3s ease-in-out infinite;
    background: linear-gradient(180deg, #7d6a6a, #5d4a4a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes titleBounce {
    0%, 100% {
        transform: translateY(0);
        text-shadow: 0 4px 12px rgba(212, 168, 168, 0.15);
    }
    50% {
        transform: translateY(-5px);
        text-shadow: 0 6px 18px rgba(212, 168, 168, 0.25);
    }
}

.article-desc {
    font-size: 17px;
    color: #a89696;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    padding: 0 20px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* 文章分类标签 */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(212, 168, 168, 0.08);
}

.article-tag-btn {
    padding: 8px 22px;
    border-radius: 20px;
    border: 1px solid rgba(212, 168, 168, 0.25);
    background: transparent;
    color: #8a7a7a;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.article-tag-btn.active {
    background: linear-gradient(90deg, #d4a8a8, #c89898);
    color: white;
    border-color: #d4a8a8;
    box-shadow: 0 4px 12px rgba(212, 168, 168, 0.2);
}

.article-tag-btn:hover:not(.active) {
    border-color: #d4a8a8;
    color: #d4a8a8;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(212, 168, 168, 0.1);
}

/* 文章搜索框 */
.article-search {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid rgba(212, 168, 168, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    color: #6d5b5b;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 168, 168, 0.05);
}

.search-input::placeholder {
    color: #b8a8a8;
    font-style: italic;
}

.search-input:focus {
    border-color: #d4a8a8;
    box-shadow: 0 6px 20px rgba(212, 168, 168, 0.1);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4a8a8;
    font-size: 16px;
}

/* 文章列表 */
.article-list {
    display: grid;
    gap: 30px;
    margin-bottom: 60px;
}

/* 文章卡片 */
.article-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(212, 168, 168, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.article-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 168, 0.08), transparent);
    transition: all 1s ease;
}

.article-card:hover::before {
    left: 100%;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 168, 168, 0.15);
    border-left: 4px solid #d4a8a8;
}

/* 文章标签（小标签） */
.article-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(212, 168, 168, 0.1);
    border-radius: 12px;
    font-size: 12px;
    color: #b88888;
    margin-bottom: 12px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.article-card:hover .article-card-tag {
    background: rgba(212, 168, 168, 0.2);
    color: #d4a8a8;
}

/* 文章标题 */
.article-card-title {
    font-size: 22px;
    color: #7d6a6a;
    margin-bottom: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Ma Shan Zheng', cursive;
    line-height: 1.4;
}

.article-card:hover .article-card-title {
    color: #d4a8a8;
    transform: translateX(5px);
}

/* 文章摘要 */
.article-card-excerpt {
    font-size: 15px;
    color: #a89696;
    margin-bottom: 20px;
    line-height: 1.8;
    flex: 1;
}

/* 文章底部信息 */
.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 168, 168, 0.1);
}

.article-card-date {
    font-size: 13px;
    color: #b8a8a8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-card-read {
    font-size: 13px;
    color: #b8a8a8;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.article-card:hover .article-card-read {
    color: #d4a8a8;
    transform: translateX(5px);
}

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0 60px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 168, 168, 0.25);
    background: transparent;
    color: #8a7a7a;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(.active):not(:disabled) {
    border-color: #d4a8a8;
    color: #d4a8a8;
    transform: translateY(-2px);
}

.page-btn.active {
    background: linear-gradient(90deg, #d4a8a8, #c89898);
    color: white;
    border-color: #d4a8a8;
    box-shadow: 0 4px 12px rgba(212, 168, 168, 0.2);
}

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

/* ======================================
   通用组件（复用+适配）
   ====================================== */
/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 168, 168, 0.4);
    color: #d4a8a8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 168, 168, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 998;
    font-size: 22px;
}

.back-to-top::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, #d4a8a8, transparent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: btnRotate 8s linear infinite;
    filter: blur(1px);
}

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

.back-to-top:hover::after {
    opacity: 1;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: all;
    animation: backToTopShow 0.5s ease-out forwards;
}

@keyframes backToTopShow {
    0% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
    70% {
        transform: scale(1.15) translateY(-5px);
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(212, 168, 168, 0.1);
    color: #c89898;
    box-shadow: 0 12px 30px rgba(212, 168, 168, 0.25);
}

/* 悬浮提示 */
.floating-card {
    position: fixed;
    left: 20px;
    bottom: 20px;
    top: auto;
    transform: none;
    z-index: 998;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 168, 168, 0.4);
    border-radius: 18px;
    padding: 20px 15px;
    width: 160px;
    box-shadow: 0 8px 30px rgba(212, 168, 168, 0.15);
    text-align: center;
    animation: floatCardCycle 10s 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.8;
        transform: translateX(-5px) translateY(5px);
    }
    100% {
        opacity: 0;
        transform: translateX(-10px) translateY(10px);
    }
}

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

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

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

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

.floating-card .card-text {
    font-size: 14px;
    color: #8c7676;
    line-height: 1.6;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.floating-card .card-subtext {
    font-size: 12px;
    color: #a89696;
    margin-top: 8px;
    display: block;
    font-style: italic;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 50px 20px;
    color: #b8a8a8;
    font-size: 15px;
    margin-top: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 8%;
    padding-right: 8%;
    z-index: 2;
    position: relative;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    line-height: 2;
}

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

.footer:hover p {
    color: #d4a8a8;
    text-shadow: 0 2px 4px rgba(212, 168, 168, 0.15);
}

.footer p:first-child {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

/* ======================================
   移动端适配（文章页面专属）
   ====================================== */
@media (max-width: 1200px) {
    .side-decoration {
        display: none;
    }
}

@media (max-width: 992px) {
    .floating-card {
        display: none;
    }

    .article-container {
        max-width: 850px;
        padding: 0 5%;
    }

    .article-header {
        padding: 35px 15px;
    }

    .article-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 75px;
        background-size: 40px 40px;
    }

    .nav {
        width: 85%;
        padding: 6px 2%;
    }

    .nav.scroll {
        width: 70%;
    }

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

    .nav.scroll .nav-item {
        margin-left: 14px;
        font-size: 11px;
    }

    .article-container {
        max-width: 100%;
    }

    .article-title {
        font-size: 28px;
    }

    .article-card {
        padding: 20px;
    }

    .article-card-title {
        font-size: 20px;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .nav {
        width: 90%;
        padding: 5px 2%;
    }

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

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

    .logo {
        font-size: 16px;
    }

    .nav.scroll .logo {
        font-size: 14px;
    }

    .nav-item {
        margin-left: 14px;
        font-size: 12px;
    }

    .nav.scroll .nav-item {
        margin-left: 10px;
        font-size: 11px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-tags {
        gap: 10px;
        padding: 15px;
    }

    .article-tag-btn {
        padding: 6px 16px;
        font-size: 13px;
    }

    .article-card {
        padding: 15px;
    }

    .page-btn {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

