/* CSS Reset & Variables */
:root {
    /* 配色方案 - 极简黑白灰 */
    --color-bg: #ffffff;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #666666;
    --color-accent: #000000;
    --color-bg-light: #f9f9f9;
    --color-border: #eeeeee;

    /* 间距 & 布局 */
    --spacing-container: 1200px;
    --spacing-padding: 20px;
    --header-height: 80px;

    /* 字体 */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 var(--spacing-padding);
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #007AFF; /* 蓝色背景 */
    color: #fff;
    border: 1px solid #007AFF;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3); /* 蓝色投影 */
}

.btn-outline {
    background-color: transparent;
    color: #007AFF; /* 蓝色文字 */
    border: 1px solid #007AFF; /* 蓝色描边 */
}

.btn-outline:hover {
    background-color: rgba(0, 122, 255, 0.05); /* 浅蓝背景 */
    color: #007AFF;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    backdrop-filter: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--color-accent);
    background-color: transparent;
}

.nav-links a.active {
    color: var(--color-accent);
    background-color: transparent;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 4px;
    background-color: #007AFF;
    border-radius: 10px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0; /* Remove padding to allow full height control */
    background-color: #E8EEFF;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align text to left, image is absolute */
    width: 100%;
    height: 100vh; /* Full height */
    position: relative;
    max-width: var(--spacing-container); /* Ensure text stays within container width */
    margin: 0 auto;
    padding: 0 var(--spacing-padding);
}

.hero-text {
    flex: 1;
    max-width: 550px;
    z-index: 10; /* Ensure text is above image */
    margin-top: var(--header-height); /* Offset for header */
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 24px;
    letter-spacing: -2px;
    font-weight: 900;
    color: #1a1a1a;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-bio {
    font-size: 1.5rem;
    color: #4a4a4a;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Image & Shapes */
.hero-image-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%; /* Increased width to allow larger image */
    height: 95%; /* Increased height to allow larger image */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.hero-circle-large {
    position: absolute;
    width: 450px;
    height: 450px;
    background-color: #ffffff;
    border-radius: 50%;
    z-index: 0;
    top: 75%; /* Moved further down */
    left: 0%; /* Moved further left */
    transform: translateY(-50%);
}

.hero-circle-small {
    position: absolute;
    width: 280px; /* Reduced by 100px from 380px */
    height: 280px;
    background-color: #3060FD;
    border-radius: 50%;
    z-index: 0;
    top: 25%; /* Move down, below top of head */
    right: 5%;
    box-shadow: 0 10px 20px rgba(48, 96, 253, 0.3);
    animation: floatShape 3s ease-in-out infinite;
}

.hero-img {
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    max-height: 105%; /* Increased to enlarge character */
    max-width: 120%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    transition: transform 0.3s ease;
    pointer-events: auto;
    margin-bottom: -5%; /* Pull down slightly if needed to hide cut off or adjust */
}

.hero-img:hover {
    transform: scale(1.02);
}

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

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-section {
        padding-top: var(--header-height);
        height: auto;
        min-height: 100vh;
        display: block; /* Stack content */
    }
    
    .hero-container {
        display: block;
        height: auto;
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
        margin: 0 auto 60px auto;
        margin-top: 0;
    }

    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrapper {
        position: relative;
        width: 100%;
        height: 500px; /* Fixed height for mobile image area */
        right: auto;
        bottom: auto;
        overflow: visible;
    }

    .hero-circle-large {
        width: 300px;
        height: 300px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-circle-small {
        width: 150px;
        height: 150px;
        top: 10%;
        right: 10%;
    }
    
    .hero-img {
        max-height: 110%;
        max-width: 100%;
        margin-bottom: 0;
    }
}

/* Section */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.section-header {
    margin-bottom: 60px;
    text-align: left;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: -1px;
    display: inline-block;
    position: relative;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background-color: #f0f0f0;
    aspect-ratio: 4/5; /* 竖构图 */
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-caption {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.gallery-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.gallery-category {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Gallery Pagination */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.pagination-btn {
    width: 90px;
    height: 50px;
    border-radius: 100px;
    border: 1px solid var(--color-text-primary);
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-primary);
}

.pagination-btn:hover:not(:disabled) {
    color: #007AFF;
    border-color: #007AFF;
    background-color: rgba(0, 122, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.1);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #eee;
    background-color: #f9f9f9;
    transform: none;
    box-shadow: none;
}

.pagination-info {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    letter-spacing: 1px;
}

/* Writing List */
.writing-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); /* 增加最小宽度以适应左右布局 */
    gap: 40px;
    padding-top: 20px;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.load-more-btn {
    padding: 12px 60px;
    border-radius: 100px;
    color: var(--color-text-primary);
    border: 1px solid var(--color-text-primary);
    background-color: transparent;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    color: #007AFF;
    border-color: #007AFF;
    background-color: rgba(0, 122, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.1);
}

.load-more-end {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    opacity: 0.7;
    letter-spacing: 1px;
    padding: 10px 0;
}

.article-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: row; /* 改为左右布局 */
    height: 220px; /* 固定高度 */
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: visible;
    align-items: center; /* 垂直居中 */
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.article-cover {
    width: 180px; /* 固定宽度 */
    height: 100%; /* 调整高度与卡片一致 */
    margin-left: 20px; /* 左侧边距 */
    margin-top: -24px; /* 上移24px形成破形，且底部保留24px间距（与内容区padding一致） */
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0; /* 防止被压缩 */
    z-index: 1;
    transform: translateY(0);
    box-shadow: none; /* 移除投影 */
    align-self: flex-start; /* 顶部对齐 */
}

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

.article-card:hover .article-cover img {
    transform: scale(1.05);
}

.article-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%; /* 占满高度 */
    justify-content: space-between; /* 内容均匀分布 */
    min-width: 0; /* 防止内容溢出 flex 容器 */
}

.article-header {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.article-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: #007AFF;
}

.article-date {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    white-space: nowrap;
    margin-top: 4px;
}

.article-summary {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.article-stats {
    display: flex;
    gap: 16px;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Friendly Links */
.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.friend-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.friend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #007AFF;
}

.friend-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f0f0f0;
}

.friend-info {
    flex: 1;
}

.friend-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}

.friend-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: #f9f9f9;
    padding: 80px 0 40px 0;
    margin-top: 80px;
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-apps {
    display: flex;
    gap: 20px;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.app-icon:hover {
    transform: translateY(-5px);
}

.app-icon img {
    width: 40px;
    height: 40px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
}

.social-circle:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.footer-contact-group {
    display: flex;
    gap: 30px;
    align-items: center;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.info-qr {
    width: 100px;
    height: 100px;
    background-color: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.info-qr img {
    width: 100%;
    height: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.footer-icp {
    margin-top: 8px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

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

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 600;
}

.lightbox-desc {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-top: 8px;
    font-size: 0.95rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* Modal (通用弹窗) */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* 底部对齐 */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.article-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.article-modal-container {
    background-color: #fff;
    width: 100%;
    max-width: 100%; /* 确保占满宽度 */
    height: calc(100% - 40px); /* 顶部保留40px间距 */
    border-radius: 0; /* 移除椭圆形框 */
    box-shadow: 0 -20px 60px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(100%); /* 从底部滑入 */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin: 0; /* 移除任何可能的外边距 */
}

.article-modal.active .article-modal-container {
    transform: translateY(0);
}

.article-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100; /* 确保在最上层 */
    transition: all 0.3s ease;
    color: #333;
}

.article-modal-close:hover {
    background: #000;
    color: #fff;
    transform: rotate(90deg);
    border-color: #000;
}

.article-modal-content {
    padding: 0; /* 移除默认内边距 */
    overflow-y: auto; /* 允许内容滚动 */
    flex-grow: 1;
    width: 100%;
    overscroll-behavior: contain; /* 防止滚动穿透 */
}

.article-modal-body {
    max-width: 800px; /* 限制内容宽度，保持阅读体验 */
    margin: 0 auto;
    padding: 80px 24px 100px 24px; /* 顶部留出空间给关闭按钮，底部留出空间 */
}

/* 悬浮操作按钮 */
.article-actions-floating {
    position: absolute;
    bottom: 80px;
    right: 40px; /* 强制靠右 */
    left: auto; /* 防止被 left 属性影响 */
    display: flex;
    flex-direction: column; /* 垂直排列 */
    gap: 32px; /* 增加间距 */
    z-index: 200; /* 提高层级，确保在最上层 */
    background: transparent !important;
    pointer-events: none;
    transform: none !important; /* 防止变换导致位置偏移 */
    margin: 0 !important;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1); /* 稍微加深阴影增强独立感 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    position: relative;
    pointer-events: auto; /* 恢复按钮点击 */
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    color: #007AFF;
}

.action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.action-btn i {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.action-count {
    font-size: 0.7rem;
    margin-top: 2px;
    font-weight: 500;
    line-height: 1;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .article-modal-body {
        padding-right: 80px; /* 给右侧按钮留出空间 */
    }
    .article-actions {
        right: 20px;
        bottom: 40px;
    }
}

/* Modal Typography */
.modal-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
}

.modal-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.modal-meta {
    display: flex;
    gap: 24px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-modal-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #333;
}

.article-modal-content h3 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: #555;
    border-left: 4px solid #007AFF;
    padding-left: 20px;
    margin: 40px 0;
    line-height: 1.6;
}

/* Action Buttons (Floating) */
.article-actions {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.action-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-secondary);
}

.action-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #007AFF;
}

.action-count {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .article-modal-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .article-modal-content {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 1.8rem;
    }
    
    .article-card {
        flex-direction: column;
        height: auto;
    }

    .article-cover {
        width: 100%;
        height: 200px;
        margin: 0;
        border-radius: 12px 12px 0 0;
    }
    
    .article-body {
        padding: 20px;
    }
}

/* Merged from about.css */
/* About Section */
#about {
    background-color: #f5f5f7; /* 类似 Apple 或参考图的浅灰背景 */
    overflow: hidden; /* 防止标签动画溢出 */
}

.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
    max-width: 1000px; /* 限制最大宽度保持紧凑 */
    margin: 0 auto;
}

.about-image {
    flex-shrink: 0;
    width: 320px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

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

.about-tags {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.about-tags.left {
    align-items: flex-end; /* 左侧标签靠右对齐（靠近图片） */
}

.about-tags.right {
    align-items: flex-start; /* 右侧标签靠左对齐（靠近图片） */
}

.about-tag {
    background-color: #fff;
    padding: 12px 24px;
    border-radius: 100px; /* 胶囊形状 */
    font-size: 1rem;
    color: var(--color-text-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: default;
    transition: all 0.3s ease;
    white-space: nowrap;
    opacity: 0;
    animation: fadeSlideIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.about-tag:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    color: var(--color-text-primary);
}

/* 简单的入场动画 */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端适配 */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        order: 1; /* 图片在最前 */
        width: 280px;
        height: 360px;
    }

    .about-tags {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    .about-tags.left,
    .about-tags.right {
        align-items: center;
    }
    
    .about-tag {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}
