/* ===== 全局样式 - 高端科技风 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0088cc;
    --secondary-color: #6b5ce7;
    --accent-color: #e74c8c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --dark-bg: #f0f4f8;
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --text-primary: #1a1a2e;
    --text-secondary: rgba(26, 26, 46, 0.6);
    --border-color: rgba(0, 136, 204, 0.2);
    --hover-bg: rgba(0, 136, 204, 0.05);
    --gradient-primary: linear-gradient(135deg, #0088cc 0%, #6b5ce7 50%, #e74c8c 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 136, 204, 0.15) 0%, rgba(107, 92, 231, 0.15) 100%);
    --shadow-glow: 0 0 30px rgba(0, 136, 204, 0.15), 0 0 60px rgba(107, 92, 231, 0.08);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 动态背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(0, 136, 204, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(107, 92, 231, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(231, 76, 140, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 网格背景 */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 136, 204, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 136, 204, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(231, 76, 140, 0.3);
}

/* ===== 顶部信息栏 ===== */
.top-bar {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1), rgba(107, 92, 231, 0.1));
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar-right a {
    color: var(--text-secondary);
    font-size: 13px;
    transition: all 0.3s ease;
}

.top-bar-right a:hover {
    color: var(--primary-color);
}

/* ===== 动态LOGO ===== */
.logo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: 2px;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { 
        filter: brightness(1) drop-shadow(0 0 5px rgba(0, 136, 204, 0.3));
    }
    50% { 
        filter: brightness(1.2) drop-shadow(0 0 20px rgba(0, 136, 204, 0.5));
    }
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% { transform: scaleX(0.5); opacity: 0.5; }
    50% { transform: scaleX(1); opacity: 1; }
}

.logo .tagline {
    font-size: 11px;
    color: var(--primary-color);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 5px;
    opacity: 0.8;
    animation: taglineBlink 4s ease-in-out infinite;
}

@keyframes taglineBlink {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; text-shadow: 0 0 10px rgba(0, 136, 204, 0.5); }
}

/* ===== 头部导航 - 玻璃拟态 ===== */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 136, 204, 0.1);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    flex-wrap: nowrap;
}

.site-header .logo {
    flex-shrink: 0;
    margin-right: 20px;
}

.site-header .search-box {
    flex-shrink: 0;
    margin-left: 20px;
}

/* 主导航 - 双行对称布局 */
.main-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    justify-content: center;
}

.nav-row-1,
.nav-row-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0;
}

.nav-row-1 li,
.nav-row-2 li {
    flex: 1;
    text-align: center;
}

.nav-row-1 {
    border-bottom: 1px solid rgba(0, 136, 204, 0.08);
    padding-bottom: 4px;
}

.nav-row-2 {
    padding-top: 4px;
}

.main-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    position: relative;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
}

.main-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.main-nav a:hover::before,
.main-nav a.active::before {
    opacity: 0.1;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

/* 搜索框 */
.search-box {
    display: flex;
    gap: 10px;
    position: relative;
}

.search-box form {
    display: flex;
    gap: 10px;
}

.search-box input {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 25px;
    width: 220px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.2);
    width: 280px;
}

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

.search-box button {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-box button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.search-box button:hover::before {
    left: 100%;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.3);
}

/* ===== 面包屑导航 ===== */
.breadcrumb-nav {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 13px;
}

.breadcrumb-nav ol {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.breadcrumb-nav li:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
    color: var(--text-secondary);
}

.breadcrumb-nav a {
    color: var(--text-secondary);
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

/* ===== 热点滚动条 ===== */
.hot-ticker {
    background: rgba(0, 136, 204, 0.05);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.hot-ticker::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(90deg, var(--dark-bg), transparent);
    z-index: 2;
}

.hot-ticker::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(270deg, var(--dark-bg), transparent);
    z-index: 2;
}

.hot-ticker .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ticker-label {
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    text-shadow: 0 0 10px rgba(0, 136, 204, 0.3);
    animation: labelPulse 2s ease-in-out infinite;
}

@keyframes labelPulse {
    0%, 100% { text-shadow: 0 0 5px rgba(0, 136, 204, 0.3); }
    50% { text-shadow: 0 0 20px rgba(0, 136, 204, 0.6); }
}

.ticker-content {
    display: flex;
    gap: 40px;
    animation: tickerScroll 25s linear infinite;
    white-space: nowrap;
}

.ticker-content a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.ticker-content a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 136, 204, 0.3);
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== 主要内容区 ===== */
.main-content {
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.main-content .container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* ===== Hero焦点图区域 ===== */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.hero-slider {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    height: 450px;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-glow);
}

.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: scale(1.1);
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider .slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.hero-slider .slide.active .slide-info {
    transform: translateY(0);
    opacity: 1;
}

.hero-slider .slide-info h2 {
    font-size: 26px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.hero-slider .slide-info h2 a {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-slider .slide-info h2 a:hover {
    color: var(--primary-color);
}

.hero-slider .slide-info p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    line-height: 1.6;
}

/* 幻灯片指示器 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dots .dot {
    width: 30px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
}

/* 头条新闻 */
.hero-news {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.hero-news h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-news h3::before {
    content: '🔥';
    font-size: 20px;
    animation: fireFlicker 1s ease-in-out infinite;
}

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

.hero-news ul {
    list-style: none;
}

.hero-news li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.hero-news li:hover {
    padding-left: 10px;
    background: var(--hover-bg);
    border-radius: 8px;
}

.hero-news li:last-child {
    border-bottom: none;
}

.hero-news a {
    color: var(--text-primary);
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.hero-news a:hover {
    color: var(--primary-color);
}

.hero-news .news-meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
    display: flex;
    gap: 15px;
}

/* ===== 新闻区块 ===== */
.section-block {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-block:hover::before {
    opacity: 1;
}

.section-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(0, 136, 204, 0.3);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.section-header h2 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.section-header h2 i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--gradient-primary);
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    color: white;
    font-style: normal;
}

.section-header .more {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.section-header .more:hover {
    color: var(--primary-color);
    gap: 10px;
}

/* ===== 对称网格布局 ===== */
.symmetric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ===== 新闻卡片 ===== */
.news-card {
    background: var(--glass-bg);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 14px;
}

.news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: rgba(0, 136, 204, 0.3);
}

.news-card:hover::after {
    opacity: 0.05;
}

.news-card .card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.news-card .card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.news-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.news-card .card-content {
    padding: 20px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card h3 {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 600;
    flex: 1;
}

.news-card h3 a {
    color: var(--text-primary);
}

.news-card h3 a:hover {
    color: var(--primary-color);
}

.news-card .card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: auto;
}

.news-card .card-meta span:first-child {
    color: var(--primary-color);
    font-weight: 500;
}

/* ===== 新闻列表 ===== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 18px;
    background: var(--glass-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item:hover {
    background: var(--hover-bg);
    transform: translateX(5px);
    border-color: rgba(0, 136, 204, 0.2);
}

.news-item:hover::before {
    opacity: 1;
}

.news-item .item-image {
    width: 140px;
    height: 95px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.news-item .item-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1), rgba(107, 92, 231, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item:hover .item-image::after {
    opacity: 1;
}

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

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

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

.news-item h3 {
    font-size: 15px;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 600;
}

.news-item h3 a {
    color: var(--text-primary);
}

.news-item h3 a:hover {
    color: var(--primary-color);
}

.news-item .item-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 10px;
}

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

/* ===== 两列对称布局 ===== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.two-column.symmetric .section-block {
    margin-bottom: 0;
}

/* ===== 侧边栏 ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.widget {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.widget:hover {
    border-color: rgba(0, 136, 204, 0.2);
    box-shadow: 0 8px 32px rgba(0, 136, 204, 0.1);
}

.widget h3 {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget h3 i {
    font-style: normal;
}

/* ===== 标签云 ===== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    background: var(--glass-bg);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tag-cloud a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tag-cloud a:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

.tag-cloud a:hover::before {
    opacity: 1;
}

/* ===== 热榜列表 ===== */
.hot-list {
    list-style: none;
}

.hot-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.hot-list li:hover {
    padding-left: 10px;
    background: var(--hover-bg);
    border-radius: 8px;
}

.hot-list li:last-child {
    border-bottom: none;
}

.hot-list .rank {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    background: var(--glass-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hot-list li:nth-child(1) .rank {
    background: linear-gradient(135deg, #e74c8c, #ff6b6b);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(231, 76, 140, 0.4);
}

.hot-list li:nth-child(2) .rank {
    background: linear-gradient(135deg, #ff6b6b, #f39c12);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.hot-list li:nth-child(3) .rank {
    background: linear-gradient(135deg, #f39c12, #ffd700);
    color: #333;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.hot-list a {
    color: var(--text-primary);
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-list .heat {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 600;
    flex-shrink: 0;
}

/* ===== 网站统计小部件 ===== */
.stats-widget .stats-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--glass-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

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

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== 友情链接 ===== */
.friend-links {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.friend-links a {
    color: var(--text-secondary);
    font-size: 13px;
    padding: 8px 12px;
    display: block;
    background: var(--glass-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.friend-links a:hover {
    color: var(--primary-color);
    border-color: rgba(0, 136, 204, 0.3);
    transform: translateX(5px);
    background: var(--hover-bg);
}

/* ===== 页脚 ===== */
.site-footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
}

.footer-brand h4 {
    font-size: 22px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    border: none;
    padding-bottom: 0;
}

.footer-tagline {
    font-size: 12px;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: -15px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.footer-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-nav a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-nav a i {
    font-size: 10px;
    color: var(--primary-color);
    opacity: 0.6;
}

/* SEO服务横排布局 */
.footer-seo-horizontal .seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
}

.footer-seo-horizontal .seo-links li {
    margin-bottom: 0;
}

.footer-seo-horizontal .seo-links a {
    background: var(--glass-bg);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.footer-seo-horizontal .seo-links a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.footer-divider {
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
    margin-bottom: 40px;
    position: relative;
}

.footer-divider::before,
.footer-divider::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 7px;
    height: 7px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
}

.footer-divider::before {
    left: 0;
}

.footer-divider::after {
    right: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-bottom-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom-nav a {
    color: var(--text-secondary);
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-bottom-nav a:hover {
    color: var(--primary-color);
}

.footer-bottom-nav .divider {
    color: var(--border-color);
    font-size: 12px;
}

/* ===== 回到顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

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

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

/* ===== 分类页面 ===== */
.category-page .breadcrumb {
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-page .breadcrumb a {
    color: var(--primary-color);
}

.category-page .page-title {
    font-size: 32px;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-list-large {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-list-large .news-item {
    padding: 25px;
}

.news-list-large .item-image {
    width: 240px;
    height: 160px;
}

.news-list-large h3 {
    font-size: 18px;
}

.news-list-large .item-summary {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.6;
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination a:hover,
.pagination .current {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.3);
}

/* ===== 文章详情页 ===== */
/* 文章页面容器不使用网格布局，改为单列 */
.article-page .container {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.article-page .breadcrumb {
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 14px;
}

.article-content {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 50px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.article-content h1 {
    font-size: 32px;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    gap: 25px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

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

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 25px;
    margin-top: 0;
    text-indent: 0;
}

.article-body p + p {
    margin-top: 25px;
}

.article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: var(--shadow-md);
}

.article-related {
    margin-top: 50px;
}

.article-related h3 {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    font-weight: 700;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ===== 网站地图 ===== */
.sitemap-page h1 {
    font-size: 32px;
    margin-bottom: 35px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sitemap-content {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 35px;
    border: 1px solid var(--border-color);
}

.sitemap-section {
    margin-bottom: 35px;
}

.sitemap-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.sitemap-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.sitemap-section a {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 10px;
    display: block;
    background: var(--glass-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.sitemap-section a:hover {
    color: var(--primary-color);
    border-color: rgba(0, 136, 204, 0.3);
    transform: translateX(5px);
    background: var(--hover-bg);
}

/* ===== 粒子画布 ===== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

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

::-webkit-scrollbar-track {
    background: #e8ecf1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .main-content .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .symmetric-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sitemap-section ul {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .site-header .container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .main-nav a {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .search-box input {
        width: 180px;
    }
    
    .search-box input:focus {
        width: 200px;
    }
    
    .symmetric-grid {
        grid-template-columns: 1fr;
    }
    
    .related-list {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-item .item-image {
        width: 100%;
        height: 200px;
    }
    
    .news-list-large .item-image {
        width: 100%;
        height: 200px;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .article-content h1 {
        font-size: 24px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .footer-links-bottom {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-block {
        padding: 15px;
    }
    
    .hero-slider {
        height: 250px;
    }
    
    .hero-slider .slide-info {
        padding: 20px;
    }
    
    .hero-slider .slide-info h2 {
        font-size: 18px;
    }
    
    .breadcrumb-nav {
        display: none;
    }
}

/* ===== 动画效果 ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

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

.news-card,
.news-item,
.widget,
.section-block {
    animation: fadeIn 0.6s ease-out;
}

/* 滚动显示动画 */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===== 加载动画 ===== */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-right-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== 鼠标跟随光效 ===== */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* ===== 霓虹文字效果 ===== */
.neon-text {
    color: var(--primary-color);
    text-shadow: 
        0 0 5px rgba(0, 136, 204, 0.3),
        0 0 10px rgba(0, 136, 204, 0.2),
        0 0 20px rgba(0, 136, 204, 0.1);
}

/* ===== 玻璃拟态卡片 ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
}

/* ===== 渐变边框 ===== */
.gradient-border {
    position: relative;
    background: var(--card-bg);
    border-radius: 16px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.5;
}
