/* wg_spider20 - 极光紫霞主题 */
/* 大胆前卫的极光渐变设计 */

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

:root {
    --purple: #8B5CF6;
    --purple-light: #A78BFA;
    --purple-dark: #7C3AED;
    --pink: #EC4899;
    --pink-light: #F472B6;
    --blue: #3B82F6;
    --cyan: #06B6D4;
    --aurora-1: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #3B82F6 100%);
    --aurora-2: linear-gradient(135deg, #7C3AED 0%, #DB2777 100%);
    --aurora-3: linear-gradient(45deg, #8B5CF6 0%, #06B6D4 100%);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-light: rgba(255, 255, 255, 0.95);
    --dark-bg: #0F0A1A;
    --dark-card: #1A1025;
    --dark-surface: #241530;
    --text-white: #FFFFFF;
    --text-gray: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-dark: #1F1130;
    --text-dark-light: #4A3860;
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
    --shadow-pink: 0 0 30px rgba(236, 72, 153, 0.25);
    --shadow-card: 0 25px 50px rgba(0, 0, 0, 0.3);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 32px;
    --radius-full: 100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.75;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* ==================== 玻璃容器 ==================== */
.glass-box {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

.box {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== 顶部导航 - 悬浮玻璃效果 ==================== */
.nav-bar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1280px;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 0 12px;
}

.nav-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 0 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    height: 38px;
    width: auto;
}

.brand-logo em {
    font-style: normal;
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--aurora-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-list a {
    padding: 10px 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.nav-list a:hover {
    color: var(--text-white);
    background: rgba(139, 92, 246, 0.2);
}

.nav-cta-btn {
    background: var(--aurora-2) !important;
    color: var(--text-white) !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-glow);
}

.nav-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.5);
}

.mobile-trigger {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-trigger span {
    height: 3px;
    background: var(--aurora-1);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==================== 首页英雄区 - 斜切设计 ==================== */
.hero-zone {
    min-height: 100vh;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-zone::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    animation: float 15s ease-in-out infinite;
}

.hero-zone::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 70%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(236, 72, 153, 0.12) 0%, transparent 60%);
    animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 20px) rotate(5deg); }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    position: relative;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    color: var(--purple-light);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.hero-text h1 span {
    display: block;
    background: var(--aurora-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text > p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.9;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-aurora {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 38px;
    background: var(--aurora-2);
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-aurora:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.5);
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 38px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--purple-light);
}

/* 右侧数据卡片 - 堆叠效果 */
.hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.hero-cards::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--aurora-1);
    filter: blur(100px);
    opacity: 0.3;
    border-radius: 50%;
    z-index: -1;
}

.data-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--aurora-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.data-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}

.data-card:hover::before {
    opacity: 1;
}

.data-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--aurora-2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-pink);
}

.data-card .icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(10);
}

.data-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--aurora-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.data-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ==================== 特色服务 - 交错布局 ==================== */
.feature-zone {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
}

.feature-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--pink), transparent);
}

.zone-header {
    text-align: center;
    margin-bottom: 80px;
}

.zone-header span {
    display: inline-block;
    background: var(--aurora-2);
    color: var(--text-white);
    padding: 10px 28px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: var(--shadow-pink);
}

.zone-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 16px;
    background: var(--aurora-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.zone-header p {
    color: var(--text-gray);
    font-size: 1.15rem;
}

/* 蜂窝布局 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-box {
    background: var(--dark-surface);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.feature-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--aurora-1);
    opacity: 0.1;
    transition: height 0.4s ease;
}

.feature-box:hover {
    transform: translateY(-12px);
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}

.feature-box:hover::after {
    height: 100%;
}

.feature-box .ico {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.feature-box:hover .ico {
    background: var(--aurora-2);
    border-color: transparent;
    box-shadow: var(--shadow-pink);
}

.feature-box .ico img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.feature-box:hover .ico img {
    filter: brightness(10);
    opacity: 1;
}

.feature-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-box p {
    color: var(--text-gray);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ==================== 数据展示 - 大图卡片 ==================== */
.showcase-zone {
    padding: 120px 0;
    background: var(--dark-card);
    position: relative;
    overflow: hidden;
}

.showcase-zone::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

.showcase-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.showcase-card {
    background: var(--dark-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.5s ease;
}

.showcase-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    border-color: var(--purple);
}

.showcase-card .img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.showcase-card .img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--dark-surface), transparent);
}

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

.showcase-card:hover .img img {
    transform: scale(1.15);
}

.showcase-card .txt {
    padding: 28px;
    text-align: center;
    position: relative;
    margin-top: -30px;
    z-index: 1;
}

.showcase-card .txt strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--aurora-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.showcase-card .txt span {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ==================== 文章资讯 - 杂志布局 ==================== */
.article-zone {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark-card) 0%, var(--dark-bg) 100%);
}

.article-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
}

.article-box {
    background: var(--dark-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.article-box:hover {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}

/* 当文章足够多时第一个卡片跨2行 */
.article-grid .article-box:first-child {
    grid-row: span 2;
}

.article-box .cover {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.article-box:first-child .cover {
    height: 280px;
}

.article-box:not(:first-child) .cover {
    height: 140px;
}

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

.article-box:hover .cover img {
    transform: scale(1.08);
}

.article-box .cover time {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--aurora-2);
    color: var(--text-white);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.article-box .body {
    padding: 28px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.article-box:first-child .body {
    padding: 36px;
}

.article-box .body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-white);
}

.article-box:first-child .body h3 {
    font-size: 1.5rem;
    -webkit-line-clamp: 3;
}

.article-box .body h3 a {
    color: var(--text-white);
    display: block;
}

.article-box .body h3 a:hover {
    color: var(--purple-light);
}

.article-box .body p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1em;
}

.article-box:first-child .body p {
    -webkit-line-clamp: 4;
}

.article-box .link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--purple-light);
    font-weight: 600;
}

.article-box .link:hover {
    color: var(--pink);
    gap: 12px;
}

/* 更多文章行 */
.article-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 28px;
}

.article-row .article-box .cover {
    height: 180px;
}

/* ==================== CTA区块 ==================== */
.cta-zone {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--aurora-1);
    opacity: 0.08;
}

.cta-zone::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
}

.cta-box {
    background: var(--glass);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-box h2 em {
    font-style: normal;
    background: var(--aurora-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-box > p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-box .btn-aurora {
    padding: 20px 50px;
    font-size: 1.15rem;
}

.cta-labels {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-labels span {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ==================== 页脚 ==================== */
.site-footer {
    background: var(--dark-card);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .brand-logo {
    margin-bottom: 24px;
}

.footer-brand > p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.social-row {
    display: flex;
    gap: 14px;
}

.social-row a {
    width: 48px;
    height: 48px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-row a:hover {
    background: var(--aurora-2);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: var(--shadow-pink);
}

.footer-links h5 {
    color: var(--text-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 28px;
    background: var(--aurora-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links a {
    display: block;
    color: var(--text-gray);
    font-size: 0.95rem;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--purple-light);
    padding-left: 10px;
}

.footer-end {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
    text-align: center;
}

.footer-end p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==================== 列表页 ==================== */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--aurora-1);
    opacity: 0.05;
}

.page-crumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.page-crumb a {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.page-crumb a:hover {
    color: var(--purple-light);
}

.page-crumb span {
    color: var(--text-muted);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-hero h1 em {
    font-style: normal;
    background: var(--aurora-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero > .box > p {
    color: var(--text-gray);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.list-zone {
    padding: 60px 0 120px;
}

.list-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
}

.post-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.post-item {
    background: var(--dark-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.post-item:hover {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}

.post-item .thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.post-item .thumb .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--aurora-2);
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.post-item .entry {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-item .entry time {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 12px;
}

.post-item .entry h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-white);
}

.post-item .entry h2 a {
    color: var(--text-white);
    display: block;
}

.post-item .entry h2 a:hover {
    color: var(--purple-light);
}

.post-item .entry p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页 - 移动端优化 */
.pager-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 60px;
    padding: 0 10px;
}

.pager-nav a {
    min-width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: var(--dark-surface);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pager-nav a:hover,
.pager-nav a.active {
    background: var(--aurora-2);
    border-color: transparent;
    color: var(--text-white);
    box-shadow: var(--shadow-pink);
}

/* 侧边栏 */
.side-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.widget-box {
    background: var(--dark-surface);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.widget-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hot-posts {
    list-style: none;
}

.hot-posts li {
    margin-bottom: 18px;
}

.hot-posts li:last-child {
    margin-bottom: 0;
}

.hot-posts a {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hot-posts .pic {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.hot-posts .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hot-posts a:hover .pic img {
    transform: scale(1.1);
}

.hot-posts .meta h4 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-posts a:hover .meta h4 {
    color: var(--purple-light);
}

.hot-posts .meta time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.kw-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kw-tags a {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-gray);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.kw-tags a:hover {
    background: var(--aurora-2);
    border-color: transparent;
    color: var(--text-white);
}

.widget-cta {
    background: var(--aurora-2) !important;
    border: none !important;
    text-align: center;
}

.widget-cta h3 {
    color: var(--text-white);
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
    justify-content: center;
}

.widget-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.widget-cta .cta-link {
    display: inline-block;
    background: var(--text-white);
    color: var(--purple-dark);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.widget-cta .cta-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ==================== 详情页 ==================== */
.detail-zone {
    padding: 60px 0 120px;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
}

.article-content {
    background: var(--dark-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.article-head {
    padding: 40px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.article-head h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 24px;
}

.article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.article-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-info a {
    color: var(--purple-light);
}

.article-info a:hover {
    color: var(--pink);
}

.article-abstract {
    margin: 36px 40px 0;
    padding: 24px 28px;
    background: var(--glass);
    border-left: 4px solid var(--purple);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    display: flex;
    gap: 16px;
}

.article-abstract i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.article-abstract p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.article-text {
    padding: 40px;
    color: var(--text-gray);
    font-size: 1.08rem;
    line-height: 2;
}

.article-text p {
    margin-bottom: 24px;
}

.article-text h2,
.article-text h3,
.article-text h4 {
    color: var(--text-white);
    margin: 40px 0 20px;
    font-weight: 700;
}

.article-text h2 {
    font-size: 1.6rem;
}

.article-text h3 {
    font-size: 1.3rem;
}

.article-text img {
    border-radius: var(--radius-sm);
    margin: 28px 0;
}

.article-text a {
    color: var(--purple-light);
    border-bottom: 1px solid var(--purple);
}

.article-text a:hover {
    color: var(--pink);
}

.article-text blockquote {
    background: var(--glass);
    border-left: 4px solid var(--purple);
    padding: 24px 28px;
    margin: 28px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

.article-text ul,
.article-text ol {
    padding-left: 28px;
    margin-bottom: 24px;
}

.article-text li {
    margin-bottom: 12px;
}

.article-bottom {
    padding: 32px 40px;
    background: var(--glass);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.action-bar {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.action-bar button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dark-surface);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-bar button:hover {
    background: var(--aurora-2);
    border-color: transparent;
    color: var(--text-white);
}

.tags-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.tags-bar strong {
    color: var(--text-white);
    font-size: 0.95rem;
}

.tags-bar a {
    background: var(--dark-surface);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--text-gray);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tags-bar a:hover {
    background: var(--aurora-2);
    border-color: transparent;
    color: var(--text-white);
}

/* 相关推荐 */
.related-zone {
    margin-top: 50px;
}

.related-zone h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.related-card {
    display: flex;
    gap: 16px;
    background: var(--dark-surface);
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}

.related-card .pic {
    width: 100px;
    height: 75px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.related-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card .meta h4 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card:hover .meta h4 {
    color: var(--purple-light);
}

.related-card .meta time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 作者卡片 */
.author-box {
    text-align: center;
}

.author-box .avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background: var(--aurora-1);
    padding: 3px;
}

.author-box .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--dark-surface);
}

.author-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.author-box > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.author-box .follow {
    display: inline-block;
    background: var(--aurora-2);
    color: var(--text-white);
    padding: 12px 34px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.author-box .follow:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-pink);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3.2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav-bar {
        top: 10px;
        width: calc(100% - 32px);
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text > p {
        max-width: 100%;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-box:first-child {
        grid-row: auto;
    }
    
    .article-row {
        grid-template-columns: 1fr;
    }
    
    .footer-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .list-container,
    .detail-container {
        grid-template-columns: 1fr;
    }
    
    .side-col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-bar {
        border-radius: var(--radius);
    }
    
    .nav-bar-inner {
        height: 60px;
    }
    
    .brand-logo img {
        height: 32px;
    }
    
    .brand-logo em {
        font-size: 1.1rem;
    }
    
    .nav-list {
        display: none;
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background: #1A1025 !important;
        flex-direction: column;
        padding: 24px;
        gap: 10px;
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: var(--shadow-card);
        border-top: 2px solid #8B5CF6 !important;
        z-index: 10000 !important;
    }
    
    nav.nav-list.open,
    .nav-list.open,
    #navList.open {
        display: flex !important;
    }
    
    nav.nav-list a,
    .nav-list a,
    #navList a {
        width: 100%;
        text-align: center;
        padding: 15px 20px !important;
        color: #FFFFFF !important;
        background: #1A1025 !important;
        border-bottom: 1px solid rgba(139, 92, 246, 0.15) !important;
        font-size: 16px !important;
    }
    
    nav.nav-list a:hover,
    .nav-list a:hover,
    #navList a:hover {
        background: rgba(139, 92, 246, 0.2) !important;
        color: #A78BFA !important;
    }
    
    .nav-cta-btn {
        display: none !important;
    }
    
    .mobile-trigger {
        display: flex;
    }
    
    .mobile-trigger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-trigger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-trigger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-zone {
        padding: 120px 0 80px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .zone-header h2 {
        font-size: 2rem;
    }
    
    .feature-grid,
    .showcase-row {
        grid-template-columns: 1fr;
    }
    
    .post-masonry,
    .related-posts {
        grid-template-columns: 1fr;
    }
    
    .side-col {
        grid-template-columns: 1fr;
    }
    
    .footer-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .cta-box {
        padding: 50px 30px;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
    
    .article-head,
    .article-text,
    .article-bottom {
        padding: 28px;
    }
    
    .article-head h1 {
        font-size: 1.5rem;
    }
    
    .article-abstract {
        margin: 28px;
    }
    
    .article-info {
        gap: 16px;
    }
    
    /* 移动端分页优化 */
    .pager-nav {
        gap: 8px;
        padding: 0 5px;
    }
    
    .pager-nav a {
        min-width: 42px;
        height: 42px;
        padding: 0 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .box {
        padding: 0 16px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .btn-aurora,
    .btn-glass {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .data-card {
        padding: 24px 18px;
    }
    
    .data-card h3 {
        font-size: 1.8rem;
    }
    
    .feature-box {
        padding: 32px 20px;
    }
    
    .cta-labels {
        flex-direction: column;
        gap: 12px;
    }
    
    /* 分页最小屏幕优化 */
    .pager-nav {
        gap: 6px;
    }
    
    .pager-nav a {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
}

/* ==================== 特色图片居中 ==================== */
.art-featured-img {
    margin: 24px 40px;
    text-align: center;
}

.art-featured-img img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
    .art-featured-img {
        margin: 20px 28px;
    }
}

/* ==================== 文章内容图片自动居中 ==================== */
.article-text img {
    max-width: 100% !important;
    height: auto !important;
    margin: 28px auto !important;
    display: block !important;
    border-radius: var(--radius-sm);
}

.article-text p img {
    margin-left: auto !important;
    margin-right: auto !important;
}

.article-text p:has(img) {
    text-align: center;
}