/* --- 全局变量与重置 --- */
:root {
    --bg-color: #f0f2f5;
    --text-color: #333333;
    --text-secondary: #666666;
    --nav-bg: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-bg-hover: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.9);
    --accent-color: #4a90e2;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --card-shadow-hover: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
    --heatmap-color: #ebedf0;
    --heatmap-active: #40c463;
    --heatmap-active-high: #216e39;
    --success-color: #52c41a;
    --warning-color: #faad14;
    --error-color: #f5222d;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
}

/* 黑夜模式变量 */
body.dark-mode {
    --bg-color: #0d1117;
    --text-color: #c9d1d9;
    --text-secondary: #8b949e;
    --nav-bg: rgba(22, 27, 34, 0.8);
    --glass-bg: rgba(22, 27, 34, 0.7);
    --glass-bg-hover: rgba(22, 27, 34, 0.9);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-color: #58a6ff;
    --accent-gradient: linear-gradient(135deg, #58a6ff 0%, #a371f7 100%);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --card-shadow-hover: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    --heatmap-color: #161b22;
    --heatmap-active: #39d353;
    --heatmap-active-high: #2ea043;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: overlay;
    min-height: 100vh;
}

body.dark-mode {
    background-blend-mode: multiply;
}

/* --- 工具类：毛玻璃效果 --- */
.glass-nav, .glass-box, .glass-card, .glass-footer, .glass-btn {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
}

/* --- 导航栏 --- */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 65px;
    border-radius: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    z-index: 1000;
}

/* --- 搜索区域 --- */
.search-section {
    padding-top: 100px;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.search-section .search-box {
    width: 100%;
    max-width: 600px;
    padding: 15px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-section .search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
}

.search-section .search-box i {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.nav-left .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--accent-color);
}

.nav-left .logo i {
    font-size: 1.5rem;
}

.nav-center {
    display: flex;
    gap: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: var(--glass-bg-hover);
    color: var(--accent-color);
}

.nav-item.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: var(--glass-bg-hover);
    color: var(--accent-color);
}

.avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.avatar img:hover {
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 15px;
    z-index: 999;
    box-shadow: var(--card-shadow);
    flex-direction: column;
    gap: 10px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: var(--accent-gradient);
    color: white;
}

/* --- 头部 Hero --- */
.hero-section {
    padding-top: 120px;
    padding-bottom: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
}

.avatar-large {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.status-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
}

.status-indicator.online {
    background: var(--success-color);
}

.status-indicator.away {
    background: var(--warning-color);
}

.status-indicator.busy {
    background: var(--error-color);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    padding: 15px 25px;
    background: var(--glass-bg);
    border-radius: 30px;
    display: inline-block;
    border-left: 4px solid var(--accent-color);
}

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

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.search-box {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: 50px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.search-box i {
    margin-right: 12px;
    opacity: 0.7;
    font-size: 1.1rem;
}

.search-box input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    color: var(--text-color);
    font-size: 1rem;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

/* --- 主内容区 --- */
main {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 50px;
    min-height: 50vh;
}

.page-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page-section.active {
    display: block;
}

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

.section-header {
    text-align: center;
    margin: 50px 0 30px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-title i {
    color: var(--accent-color);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    transition: gap 0.3s ease;
}

.view-all:hover {
    gap: 10px;
}

/* 网格布局系统 */
.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* 卡片样式 */
.glass-card {
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    background: var(--glass-bg-hover);
}

.info-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.info-icon i {
    font-size: 1.8rem;
    color: white;
}

.info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.info-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 核心服务 */
.core-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.core-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.core-header h3 {
    font-size: 1.3rem;
}

.core-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.core-box ul {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
}

.core-box li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.core-box li:last-child {
    border-bottom: none;
}

.core-box li i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.action-btn {
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    background: var(--accent-gradient);
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.action-btn.btn-primary {
    padding: 12px 30px;
}

/* 订阅与赞助 */
.sub-box, .sponsor-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sub-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sub-icon i {
    font-size: 2rem;
    color: white;
}

.sub-box h3, .sponsor-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.sub-box p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.email-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 350px;
}

.email-input-group input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    background: var(--glass-bg);
    color: var(--text-color);
    outline: none;
}

.email-input-group input::placeholder {
    color: var(--text-secondary);
}

.sponsor-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.sponsor-header i {
    color: var(--gold);
    font-size: 1.5rem;
}

.sponsor-list {
    width: 100%;
    margin-bottom: 20px;
}

.sponsor-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.sponsor-item:last-child {
    border-bottom: none;
}

.sponsor-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 15px;
    background: rgba(128, 128, 128, 0.2);
}

.sponsor-rank.gold {
    background: var(--gold);
    color: #333;
}

.sponsor-rank.silver {
    background: var(--silver);
    color: #333;
}

.sponsor-rank.bronze {
    background: var(--bronze);
    color: white;
}

.sponsor-name {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

.sponsor-amount {
    font-weight: 700;
    color: var(--accent-color);
}

/* 最新内容 (热力图) */
.latest-content {
    margin-top: 20px;
}

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

.content-title-wrapper h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.content-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 12px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.heatmap-wrapper {
    background: rgba(128, 128, 128, 0.05);
    border-radius: 15px;
    padding: 20px;
}

.heatmap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-box {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: var(--heatmap-color);
}

.legend-box.active {
    background: var(--heatmap-active);
}

.legend-box.active-high {
    background: var(--heatmap-active-high);
}

.heatmap-container {
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    gap: 4px;
    overflow-x: auto;
    padding: 5px;
}

.heat-box {
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--heatmap-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.heat-box:hover {
    transform: scale(1.2);
}

.heat-box.active {
    background-color: var(--heatmap-active);
}

.heat-box.active-high {
    background-color: var(--heatmap-active-high);
}

/* 最新文章预览 */
.latest-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.article-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
    background: var(--glass-bg-hover);
}

.article-thumb {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== 个人页面样式 ==================== */
.profile-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.profile-cover {
    height: 200px;
    background: var(--accent-gradient);
    position: relative;
    margin: -25px -25px 0;
}

.cover-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--glass-bg), transparent);
}

.profile-info {
    display: flex;
    align-items: flex-end;
    gap: 25px;
    margin-top: -60px;
    position: relative;
    flex-wrap: wrap;
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--glass-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.online-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--glass-bg);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    border: 1px solid var(--glass-border);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-color);
}

.profile-details {
    flex: 1;
    min-width: 200px;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-id {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.profile-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.profile-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-tag {
    padding: 5px 12px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.profile-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.profile-actions .glass-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-color);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.profile-actions .glass-btn:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.profile-actions .glass-btn i {
    font-size: 1rem;
}

.btn-more {
    padding: 10px 15px;
    border-radius: 50%;
    position: relative;
}

.btn-more::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.btn-more:hover::after {
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.btn-more:hover {
    background: var(--glass-bg-hover);
    transform: rotate(90deg);
}

.btn-more i {
    transition: transform 0.3s ease;
}

.btn-more:hover i {
    color: var(--accent-color);
}

.profile-stats-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
}

.profile-stat {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-stat:hover {
    transform: translateY(-3px);
}

.profile-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.profile-stat .stat-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 个人内容区 */
.profile-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card h3 i {
    color: var(--accent-color);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-row i {
    width: 20px;
    color: var(--accent-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
}

.skill-tag.expert {
    background: rgba(82, 196, 26, 0.15);
    color: #52c41a;
}

.skill-tag.intermediate {
    background: rgba(250, 173, 20, 0.15);
    color: #faad14;
}

.skill-tag.learning {
    background: rgba(24, 144, 255, 0.15);
    color: #1890ff;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-3px);
}

/* 标签页 */
.profile-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.profile-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 12px 25px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    background: var(--glass-bg-hover);
    color: var(--text-color);
}

.tab-btn.active {
    background: var(--accent-gradient);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* 文章列表 */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-item:hover {
    transform: translateX(5px);
    background: var(--glass-bg-hover);
}

.post-thumb {
    width: 120px;
    height: 90px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.post-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.post-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 项目展示 */
.project-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.project-cover {
    height: 160px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.project-info {
    padding: 20px;
}

.project-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.project-stats {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 相册 */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.photo-item {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

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

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

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid var(--glass-bg);
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
}

.timeline-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==================== 技术板块样式 ==================== */
.tech-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.tech-header-content h1 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.tech-header-content h1 i {
    color: var(--accent-color);
}

.tech-header-content p {
    color: var(--text-secondary);
}

.tech-stats {
    display: flex;
    gap: 25px;
}

.tech-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tech-stat-item i {
    color: var(--accent-color);
}

/* 筛选 */
.tech-filter {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
}

.filter-type-tabs {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.type-tab {
    padding: 12px 25px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.type-tab:hover {
    background: var(--glass-bg-hover);
    color: var(--text-color);
}

.type-tab.active {
    background: var(--accent-gradient);
    color: white;
}

.type-tab i {
    font-size: 1rem;
}

.filter-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--glass-bg-hover);
    color: var(--text-color);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: white;
}

.filter-sort select {
    padding: 10px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: var(--glass-bg);
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
}

/* 标签云 */
.tag-cloud {
    margin-bottom: 25px;
    padding: 25px;
}

.tag-cloud h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tag-cloud h3 i {
    color: var(--error-color);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-item {
    padding: 8px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px);
}

.tag-item.medium {
    font-size: 1rem;
    padding: 10px 22px;
}

.tag-item.large {
    font-size: 1.1rem;
    padding: 12px 26px;
}

/* 文章容器 */
.articles-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

/* 技术文章卡片 */
.tech-article-card {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
    background: var(--glass-bg-hover);
}

.article-image {
    width: 280px;
    height: 180px;
    border-radius: 15px;
    object-fit: cover;
    flex-shrink: 0;
}

.article-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    width: fit-content;
}

.article-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

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

.article-tags-row {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.article-tag {
    padding: 4px 10px;
    background: rgba(128, 128, 128, 0.1);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-item i {
    font-size: 0.85rem;
}

.meta-right {
    display: flex;
    gap: 15px;
}

.action-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-icon:hover {
    background: var(--glass-bg-hover);
    color: var(--accent-color);
}

/* 分页 */
.pagination-wrapper {
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
}

.page-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn:hover:not(:disabled) {
    background: var(--glass-bg-hover);
}

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

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-num:hover {
    background: var(--glass-bg-hover);
}

.page-num.active {
    background: var(--accent-gradient);
    color: white;
}

.page-dots {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

/* ==================== 赞赏页面样式 ==================== */
.support-container {
    max-width: 900px;
    margin: 0 auto;
}

.support-header {
    text-align: center;
    padding: 50px 30px;
    margin-bottom: 30px;
}

.support-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: pulse 2s infinite;
}

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

.support-icon i {
    font-size: 2.5rem;
    color: white;
}

.support-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.support-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.support-desc {
    margin-top: 10px;
    font-size: 0.95rem;
}

.support-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.support-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.method-card {
    text-align: center;
    padding: 30px 25px;
}

.method-header {
    margin-bottom: 25px;
}

.method-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.method-card:nth-child(1) .method-header i {
    color: #07c160;
}

.method-card:nth-child(2) .method-header i {
    color: #1677ff;
}

.method-header h3 {
    font-size: 1.2rem;
}

.qr-wrapper {
    margin-bottom: 20px;
}

.qr-code {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(128, 128, 128, 0.1);
    border: 2px dashed rgba(128, 128, 128, 0.3);
}

.qr-code:hover {
    background: rgba(128, 128, 128, 0.2);
    transform: scale(1.02);
}

.qr-code i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.qr-code.wechat-qr i {
    color: #07c160;
}

.qr-code.alipay-qr i {
    color: #1677ff;
}

.qr-code span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.method-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.other-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.other-method-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(128, 128, 128, 0.05);
    border-radius: 10px;
    color: var(--text-secondary);
}

.other-method-item i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

/* 赞助榜 */
.supporters-section {
    padding: 30px;
}

.supporters-header {
    text-align: center;
    margin-bottom: 25px;
}

.supporters-header h2 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.supporters-header h2 i {
    color: var(--gold);
}

.supporters-header p {
    color: var(--text-secondary);
}

.supporters-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.supporter-tab {
    padding: 10px 25px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.supporter-tab:hover {
    background: var(--glass-bg-hover);
}

.supporter-tab.active {
    background: var(--accent-gradient);
    color: white;
}

.supporters-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.supporter-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(128, 128, 128, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.supporter-item:hover {
    background: rgba(128, 128, 128, 0.1);
    transform: translateX(5px);
}

.supporter-item.top1 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.supporter-item.top2 {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.1), transparent);
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.supporter-item.top3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.1), transparent);
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.supporter-rank {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(128, 128, 128, 0.2);
}

.supporter-item.top1 .supporter-rank {
    background: var(--gold);
    color: #333;
}

.supporter-item.top2 .supporter-rank {
    background: var(--silver);
    color: #333;
}

.supporter-item.top3 .supporter-rank {
    background: var(--bronze);
    color: white;
}

.supporter-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.supporter-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.supporter-name {
    font-weight: 600;
}

.supporter-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.supporter-amount {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-color);
}

.supporters-total {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    text-align: center;
}

.supporters-total span {
    color: var(--text-secondary);
}

.supporters-total strong {
    color: var(--accent-color);
    font-size: 1.3rem;
}

/* ==================== 页脚样式 ==================== */
.glass-footer {
    margin-top: 50px;
    padding: 50px 30px 30px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

/* ==================== 弹窗样式 ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: var(--glass-bg);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--error-color);
    color: white;
}

.modal-content h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.modal-qr {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.modal-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

/* ==================== 移动端适配 ==================== */
@media (max-width: 1024px) {
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .tech-article-card {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    nav {
        top: 10px;
        width: 95%;
        padding: 0 15px;
        height: 60px;
    }
    
    .nav-center {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-num {
        font-size: 1.5rem;
    }
    
    .grid-4-cols, .grid-3-cols, .grid-2-cols {
        grid-template-columns: 1fr;
    }
    
    .split-section {
        grid-template-columns: 1fr;
    }
    
    .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-actions {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .profile-stats-bar {
        gap: 25px;
    }
    
    .profile-sidebar {
        grid-template-columns: 1fr;
    }
    
    .profile-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .tech-header {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-stats {
        justify-content: center;
    }
    
    .tech-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-categories {
        justify-content: center;
    }
    
    .filter-sort {
        text-align: center;
    }
    
    .filter-sort select {
        width: 100%;
    }
    
    .article-meta-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .heatmap-container {
        grid-template-columns: repeat(15, 1fr);
    }
    
    .latest-articles {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        flex-direction: column;
    }
    
    .article-thumb {
        width: 100%;
        height: 150px;
    }
    
    .post-item {
        flex-direction: column;
    }
    
    .post-thumb {
        width: 100%;
        height: 150px;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-methods {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-section li {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .glass-card {
        padding: 20px;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .tech-header-content h1 {
        font-size: 1.5rem;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .supporter-item {
        padding: 12px 15px;
    }
    
    .supporter-avatar {
        width: 40px;
        height: 40px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--glass-bg);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
    opacity: 0.8;
}

/* 选中文字样式 */
::selection {
    background: var(--accent-color);
    color: white;
}

/* ==================== 苹果风格丝滑动画 ==================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

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

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-slide-up {
    animation: slideUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* 滚动触发动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: calc(var(--delay, 0) * 0.1s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 涟漪按钮效果 */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.ripple-btn:active::after {
    width: 300px;
    height: 300px;
}

/* 页面切换动画 */
.page-section {
    display: none;
    animation: pageSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-section.active {
    display: block;
}

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

/* 卡片悬停动画增强 */
.glass-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

/* 按钮悬停动画 */
.action-btn {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.action-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

/* 导航项动画 */
.nav-item {
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item:hover {
    transform: translateY(-2px);
}

/* 头像动画 */
.avatar img {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar img:hover {
    transform: scale(1.15);
}

/* 社交链接动画 */
.social-link {
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

/* 标签动画 */
.tag-item, .skill-tag, .profile-tag {
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tag-item:hover, .skill-tag:hover {
    transform: translateY(-2px);
}

/* ==================== 赞助按钮样式修复 ==================== */
.sponsor-btn {
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    background: var(--accent-gradient);
    color: white;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.sponsor-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

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

/* ==================== 文章详情页样式 ==================== */
.article-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.article-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    margin-bottom: 25px;
}

.back-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    background: var(--glass-bg);
    color: var(--text-color);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.back-btn:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateX(-3px);
}

.article-detail-category {
    padding: 6px 16px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-detail-content {
    padding: 40px;
}

.article-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.author-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.author-info-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name-large {
    font-weight: 600;
    font-size: 1.1rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.meta-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-detail-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.article-detail-tags .tag {
    padding: 6px 14px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-color);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.article-detail-tags .tag:hover {
    background: var(--accent-gradient);
    color: white;
}

.article-cover-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.article-cover-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.article-cover-image:hover img {
    transform: scale(1.02);
}

.article-body-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.article-body-content p {
    margin-bottom: 20px;
}

.article-body-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.article-body-content h3 {
    font-size: 1.25rem;
    margin: 25px 0 12px;
}

.article-body-content code {
    background: rgba(128, 128, 128, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
}

.article-body-content pre {
    background: rgba(128, 128, 128, 0.1);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-body-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 20px 0;
    color: var(--text-secondary);
    font-style: italic;
}

.article-actions-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    flex-wrap: wrap;
}

.action-btn-large {
    padding: 12px 30px;
    border-radius: 25px;
    border: 2px solid var(--glass-border);
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.action-btn-large:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* 相关文章推荐 */
.related-articles {
    margin-top: 30px;
    padding: 25px;
}

.related-articles h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-articles h3 i {
    color: var(--accent-color);
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(128, 128, 128, 0.05);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.related-item:hover {
    background: rgba(128, 128, 128, 0.1);
    transform: translateX(5px);
}

.related-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.related-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.related-item-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ==================== 支付方式优化 ==================== */
.support-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.method-card {
    text-align: center;
    padding: 35px 25px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.method-card:hover {
    transform: translateY(-5px);
}

.method-header {
    margin-bottom: 25px;
}

.method-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.method-card:nth-child(1) .method-header i {
    color: #07c160;
}

.method-card:nth-child(2) .method-header i {
    color: #1677ff;
}

.method-header h3 {
    font-size: 1.3rem;
}

.qr-wrapper {
    margin-bottom: 20px;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(128, 128, 128, 0.05);
    border: 2px dashed rgba(128, 128, 128, 0.3);
}

.qr-code:hover {
    background: rgba(128, 128, 128, 0.1);
    transform: scale(1.02);
    border-style: solid;
}

.qr-code i {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.qr-code span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==================== 项目详情页样式 ==================== */
.project-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.project-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    margin-bottom: 25px;
}

.project-detail-status {
    padding: 6px 16px;
    background: var(--success-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-detail-content {
    padding: 40px;
    text-align: center;
}

.project-detail-cover {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 25px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.project-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-detail-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.project-meta-item i {
    color: var(--accent-color);
}

.project-detail-desc {
    text-align: left;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(128, 128, 128, 0.05);
    border-radius: 15px;
}

.project-detail-desc h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.project-detail-desc p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.project-tech-stack {
    margin-bottom: 30px;
}

.project-tech-stack h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: left;
}

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

.tech-tags .tech-tag {
    padding: 8px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.tech-tags .tech-tag:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.project-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.project-link-btn {
    padding: 12px 25px;
    border-radius: 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.project-link-btn:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.project-link-btn.qq-link {
    background: #12b7f5;
    color: white;
    border-color: transparent;
}

.project-link-btn.qq-link:hover {
    background: #0099d8;
    transform: translateY(-2px);
}

.project-screenshots {
    padding: 25px;
    margin-top: 25px;
}

.project-screenshots h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-screenshots h3 i {
    color: var(--accent-color);
}

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

.screenshot-item {
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.02);
}

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

/* ==================== 图片查看器样式 ==================== */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-viewer.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.image-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.image-viewer-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-viewer-close,
.image-viewer-prev,
.image-viewer-next {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-close {
    top: 20px;
    right: 20px;
}

.image-viewer-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.image-viewer-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.image-viewer-close:hover,
.image-viewer-prev:hover,
.image-viewer-next:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.image-viewer-prev:hover,
.image-viewer-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.viewer-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-viewer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 90vw;
    margin-top: 20px;
    padding: 0 20px;
}

.viewer-counter {
    color: white;
    font-size: 0.95rem;
}

.viewer-actions {
    display: flex;
    gap: 15px;
}

.viewer-action-btn {
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.viewer-action-btn:hover {
    background: var(--accent-color);
}

.viewer-action-btn.liked {
    background: #f5222d;
}

.viewer-action-btn.liked i {
    font-weight: 900;
}

/* ==================== 私信弹窗样式 ==================== */
.message-modal-content {
    max-width: 450px;
    padding: 30px;
}

.message-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.message-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.message-modal-header h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.message-modal-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-bg);
    color: var(--text-color);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.send-message-btn {
    padding: 14px 25px;
    border-radius: 25px;
    background: var(--accent-gradient);
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.send-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* ==================== 三个点菜单样式 ==================== */
.more-menu {
    position: fixed;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
    box-shadow: var(--card-shadow-hover);
    z-index: 1001;
    display: none;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.2s ease;
}

.more-menu.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.more-menu-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.more-menu-item:hover {
    background: var(--accent-gradient);
    color: white;
}

.more-menu-item i {
    width: 18px;
    text-align: center;
}

/* ==================== 相册点赞样式 ==================== */
.photo-item {
    position: relative;
}

.photo-like-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.photo-item:hover .photo-like-btn {
    opacity: 1;
}

.photo-like-btn:hover {
    background: white;
    color: #f5222d;
    transform: scale(1.1);
}

.photo-like-btn.liked {
    background: #f5222d;
    color: white;
    opacity: 1;
}

.photo-like-count {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== 数字计数动画 ==================== */
.stat-num {
    transition: all 0.3s ease;
}

/* ==================== 响应式优化 ==================== */
@media (max-width: 768px) {
    .support-methods {
        grid-template-columns: 1fr;
    }
    
    .article-detail-content {
        padding: 25px;
    }
    
    .article-detail-title {
        font-size: 1.5rem;
    }
    
    .article-detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .meta-stats {
        width: 100%;
        justify-content: flex-start;
    }
    
    .article-actions-bar {
        flex-direction: column;
    }
    
    .action-btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .related-list {
        grid-template-columns: 1fr;
    }
}
