/*
Theme Name: 1.85火龙传奇攻略站
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', sans-serif;
    background: linear-gradient(180deg, #0a0a1a 0%, #16162e 100%);
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 头部设计 ==================== */
.top-bar {
    background: linear-gradient(135deg, #0f0c29, #1a0a2e, #0f0c29);
    border-bottom: 4px solid #ff3d00;
    padding: 30px 0 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,61,0,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.top-bar::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,152,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #ff3d00, #ff6e00);
    border-radius: 20px 6px 20px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 8px 0 #8b0000, 0 12px 24px rgba(255,61,0,0.4);
    transform: rotate(-3deg);
    transition: transform 0.2s;
}

.logo-icon a {
    color: #fff;
    text-decoration: none;
}

.logo-icon:hover {
    transform: rotate(0deg) scale(1.02);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(180deg, #fff 0%, #ffcc80 50%, #ff6e00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 4px 4px 0 #1a0a2e, 0 8px 20px rgba(0,0,0,0.5);
    letter-spacing: 6px;
    margin-bottom: 5px;
}

.site-title a {
    background: linear-gradient(180deg, #fff 0%, #ffcc80 50%, #ff6e00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.site-sub {
    font-size: 16px;
    color: #ff6e00;
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #1a0a2e;
}

.header-stats {
    display: flex;
    gap: 30px;
    text-align: right;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 32px;
    font-weight: 900;
    color: #ff6e00;
    text-shadow: 0 0 20px rgba(255,110,0,0.5);
}

.stat-label {
    font-size: 13px;
    color: #a08090;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==================== 导航设计 ==================== */
.main-nav {
    display: flex;
    gap: 0;
    margin-top: 25px;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.3);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(255,61,0,0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.nav-item {
    flex: 1;
    min-width: 130px;
    text-align: center;
    padding: 16px 20px;
    background: transparent;
    border-radius: 40px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,110,0,0.3), transparent);
    transition: left 0.5s;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover,
.nav-item.current-menu-item {
    background: linear-gradient(135deg, #ff3d00, #ff6e00);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255,61,0,0.4), 0 0 0 2px rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.nav-item .nav-icon {
    font-size: 20px;
}

.menu-toggle {
    display: none;
    background: linear-gradient(135deg, #ff3d00, #ff6e00);
    border: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 15px;
}

/* ==================== 跑马灯 ==================== */
.notice-bar {
    background: linear-gradient(90deg, #1a0a2e, #0f0c29, #1a0a2e);
    border-bottom: 1px solid #ff3d00;
    padding: 12px 0;
    overflow: hidden;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.notice-label {
    background: linear-gradient(135deg, #ff3d00, #ff6e00);
    color: white;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 0 #8b0000, 0 6px 12px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.notice-text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.notice-text .scroll-content {
    display: inline-block;
    white-space: nowrap;
    font-size: 14px;
    color: #ffcc80;
    animation: scrollNotice 25s linear infinite;
    line-height: 1.4;
}

.notice-text .scroll-content a {
    color: #ffcc80;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.notice-text .scroll-content a:hover {
    color: #ff6e00;
}

@keyframes scrollNotice {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 跑马灯悬停暂停 */
.notice-text:hover .scroll-content {
    animation-play-state: paused;
}

/* 确保跑马灯内容在一行显示 */
.notice-text,
.notice-text .scroll-content,
.notice-text .scroll-content a {
    white-space: nowrap !important;
    display: inline-block !important;
}

/* 移动端跑马灯 */
@media (max-width: 768px) {
    .notice-label {
        padding: 4px 12px;
        font-size: 11px;
    }
    .notice-text .scroll-content {
        font-size: 12px;
        animation-duration: 20s;
    }
}

/* ==================== 主体区域 ==================== */
.main-content {
    padding: 40px 0 30px;
}

/* ==================== 最新开服板块 ==================== */
.section-card {
    background: #131822;
    border: 1px solid #2a3344;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.section-header {
    background: linear-gradient(90deg, #1a2330, #131822);
    padding: 15px 20px;
    border-bottom: 1px solid #2a3344;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 {
    color: #f5d77e;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.section-header .en-title {
    color: #5a6a7a;
    font-size: 13px;
    margin-left: 5px;
    text-transform: uppercase;
}

.more-link {
    margin-left: auto;
    color: #8892a0;
    text-decoration: none;
    font-size: 14px;
}

.more-link:hover {
    color: #f5d77e;
}

.server-table-wrap {
    padding: 0;
    overflow-x: auto;
}

.server-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 900px;
}

.server-table thead {
    background: #1a2330;
}

.server-table th {
    text-align: left;
    padding: 14px 15px;
    color: #c9a03d;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid #2a3344;
}

.server-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #1a2330;
    vertical-align: middle;
}

.server-table tbody tr:hover {
    background: #1a2330;
}

.server-table tbody tr:last-child td {
    border-bottom: none;
}

.server-name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-name {
    color: #f0e6c8;
    font-weight: 600;
    font-size: 15px;
}

.status-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}

.status-hot {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.status-new {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.status-soon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a0e14;
}

.version-badge {
    padding: 3px 10px;
    background: #0f131c;
    border-radius: 12px;
    font-size: 12px;
    color: #c9a03d;
    display: inline-block;
}

.server-time {
    color: #f39c12;
    font-weight: 500;
}

.server-tags-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.server-tag {
    padding: 2px 8px;
    background: #0f131c;
    border-radius: 10px;
    font-size: 11px;
    color: #b8c0cc;
    white-space: nowrap;
}

.countdown-text {
    color: #e74c3c;
    font-size: 13px;
    font-weight: 500;
}

.btn-enter {
    padding: 6px 18px;
    background: linear-gradient(135deg, #c9a03d, #e6b85c);
    color: #0a0e14;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-enter:hover {
    background: linear-gradient(135deg, #e6b85c, #f5d77e);
    transform: scale(1.02);
}

.more-server-link {
    text-align: center;
    padding: 15px 20px;
    border-top: 1px solid #1a2330;
}

.more-server-link a {
    color: #8892a0;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 25px;
    background: #1a2330;
    border-radius: 20px;
    border: 1px solid #2a3344;
    transition: all 0.2s;
    display: inline-block;
}

.more-server-link a:hover {
    color: #f5d77e;
    border-color: #c9a03d;
}

/* ==================== 攻略大全标题 ==================== */
.section-title {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 3px 3px 0 #1a0a2e;
}

.section-title span {
    background: linear-gradient(135deg, #ff3d00, #ff6e00);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    text-shadow: none;
    box-shadow: 0 4px 0 #8b0000;
}

/* ==================== 卡片样式 ==================== */
.guide-grid-new {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .guide-grid-new { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .guide-grid-new { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .guide-grid-new { grid-template-columns: 1fr; }
}

.guide-card-modern {
    background: linear-gradient(180deg, #1a1a3e 0%, #0f0f2a 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ff3d00;
    box-shadow: 0 8px 0 #8b0000, 0 12px 24px rgba(0,0,0,0.4);
    transition: all 0.3s;
    position: relative;
}

.guide-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 0 #8b0000, 0 20px 30px rgba(0,0,0,0.5);
    border-color: #ff6e00;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff3d00, #ff6e00, #ff3d00);
    opacity: 0;
    transition: opacity 0.3s;
}

.guide-card-modern:hover .card-glow {
    opacity: 1;
}

.card-header-modern {
    padding: 25px 20px 15px;
    text-align: center;
    border-bottom: 2px dashed #2a1a3e;
}

.card-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #ff3d00, #ff6e00);
    border-radius: 18px 6px 18px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 15px;
    box-shadow: 0 6px 0 #8b0000;
    transform: rotate(-3deg);
}

.card-header-modern h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ff6e00;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 #1a0a2e;
    margin: 0;
}

.card-stats-modern {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    font-size: 13px;
    color: #a08090;
}

.card-body-modern {
    padding: 20px;
}

.card-list-modern {
    list-style: none;
}

.card-list-modern li {
    padding: 10px 0;
    border-bottom: 1px solid #1a1a3e;
}

.card-list-modern li:last-child {
    border-bottom: none;
}

.card-list-modern a {
    color: #c0c8d0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: all 0.2s;
}

.card-list-modern a:hover {
    color: #ff6e00;
    transform: translateX(5px);
}

.card-footer-modern {
    padding: 15px 20px 20px;
    text-align: center;
}

.card-btn-modern {
    display: inline-block;
    background: transparent;
    color: #ff6e00;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid #ff3d00;
    transition: all 0.2s;
    width: 100%;
}

.card-btn-modern:hover {
    background: linear-gradient(135deg, #ff3d00, #ff6e00);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 0 #8b0000;
}

/* 文章标签 */
.article-label {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 6px;
}

.label-article {
    background: #3498db;
    color: #fff;
}

.label-video {
    background: #ff3d00;
    color: #fff;
}

/* ==================== 热门推荐 ==================== */
.hot-section {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .hot-section { grid-template-columns: 1fr; }
}

.hot-card {
    background: #1a2330;
    border-radius: 8px;
    padding: 18px;
    border: 1px solid #2a3344;
}

.hot-card h3 {
    color: #c9a03d;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hot-list {
    list-style: none;
}

.hot-list li {
    padding: 8px 0;
    border-bottom: 1px solid #0f131c;
}

.hot-list li:last-child {
    border-bottom: none;
}

.hot-list a {
    color: #d4d8dd;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.hot-list a:hover {
    color: #f5d77e;
}

.view-count {
    font-size: 12px;
    color: #5a6a7a;
}

.icon {
    font-style: normal;
    margin-right: 5px;
}

/* ==================== 侧边栏样式 ==================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: #131822;
    border: 1px solid #2a3344;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.sidebar-header {
    background: linear-gradient(90deg, #1a2330, #131822);
    padding: 15px 20px;
    border-bottom: 1px solid #2a3344;
    color: #f5d77e;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-header span {
    font-size: 18px;
}

.sidebar-content {
    padding: 15px 20px;
}

/* 侧边栏开服列表 */
.sidebar-server-list {
    list-style: none;
}

.sidebar-server-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #1a2330;
}

.sidebar-server-item:last-child {
    border-bottom: none;
}

.server-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-hot {
    background: #e74c3c;
    box-shadow: 0 0 6px #e74c3c;
}

.dot-new {
    background: #27ae60;
    box-shadow: 0 0 6px #27ae60;
}

.dot-soon {
    background: #f39c12;
    box-shadow: 0 0 6px #f39c12;
}

.server-info-compact {
    flex: 1;
    min-width: 0;
}

.server-name-compact {
    color: #f0e6c8;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.server-name-compact:hover {
    color: #ff6e00;
}

.server-time-compact {
    font-size: 11px;
    color: #8892a0;
    display: block;
    margin-top: 4px;
}

.server-tag-mini {
    padding: 3px 8px;
    background: #1a2330;
    border-radius: 12px;
    font-size: 10px;
    color: #b8c0cc;
    white-space: nowrap;
    flex-shrink: 0;
}

.more-server-side {
    text-align: center;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #1a2330;
}

.more-server-side a {
    color: #8892a0;
    text-decoration: none;
    font-size: 13px;
    padding: 5px 15px;
    background: #1a2330;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.2s;
}

.more-server-side a:hover {
    color: #f5d77e;
    background: #252f3e;
}

/* 侧边栏热门排行 */
.hot-rank-list {
    list-style: none;
}

.hot-rank-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #1a2330;
}

.hot-rank-list li:last-child {
    border-bottom: none;
}

.rank-num {
    width: 28px;
    height: 28px;
    background: #1a2330;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #b8c0cc;
    flex-shrink: 0;
}

.rank-num.top1 {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 2px 6px rgba(231,76,60,0.3);
}

.rank-num.top2 {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
}

.rank-num.top3 {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
}

.hot-rank-list a {
    color: #d4d8dd;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
    transition: all 0.2s;
}

.hot-rank-list a:hover {
    color: #ff6e00;
}

/* ==================== 底部 ==================== */
.footer {
    background: #0f0c29;
    border-top: 4px solid #ff3d00;
    padding: 30px 0;
    margin-top: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: #a08090;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links a:hover {
    color: #ff6e00;
}

.copyright {
    text-align: center;
    color: #605060;
    font-size: 13px;
    line-height: 1.8;
}

/* ==================== 文章列表页样式 ==================== */
.content-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 20px 0 40px;
}

.content-layout .article-main,
.content-layout .article-list {
    flex: 1;
    min-width: 0;
    background: #131822;
    border: 1px solid #2a3344;
    border-radius: 8px;
    overflow: hidden;
}

.content-layout .sidebar {
    width: 300px;
    flex-shrink: 0;
}

@media (max-width: 1000px) {
    .content-layout .sidebar {
        width: 100%;
    }
}

/* 文章列表项 */
.article-item {
    padding: 20px;
    border-bottom: 1px solid #1a2330;
}

.article-item:last-child {
    border-bottom: none;
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.article-title a {
    color: #f0e6c8;
    text-decoration: none;
}

.article-title a:hover {
    color: #ff6e00;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 8px 0;
    font-size: 13px;
    color: #8892a0;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.article-excerpt {
    color: #b8c0cc;
    font-size: 14px;
    line-height: 1.6;
}

/* 文章详情页 */
.article-header {
    padding: 30px;
    border-bottom: 1px solid #1a2330;
}

.article-header h1 {
    color: #f5d77e;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px;
}

.article-body {
    padding: 30px;
}

.article-content h2 {
    color: #f5d77e;
    font-size: 24px;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a2330;
}

.article-content h3 {
    color: #e0e0e0;
    font-size: 20px;
    margin: 25px 0 12px;
}

.article-content p {
    margin-bottom: 18px;
    color: #b8c0cc;
}

.article-content strong {
    color: #ff6e00;
}

.article-content ul,
.article-content ol {
    margin: 15px 0 20px 25px;
    color: #b8c0cc;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 20px auto;
}

/* 相关推荐 */
.related-section {
    margin: 30px 0 20px;
    background: #131822;
    border: 1px solid #2a3344;
    border-radius: 8px;
    overflow: hidden;
}

.related-header {
    padding: 15px 20px;
    background: linear-gradient(90deg, #1a2330, #131822);
    border-bottom: 1px solid #2a3344;
    color: #c9a03d;
    font-weight: 700;
    font-size: 16px;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #1a2330;
    border-radius: 8px;
    transition: all 0.2s;
}

.related-item:hover {
    background: #1f2a3a;
}

.related-thumb {
    width: 60px;
    height: 60px;
    background: #0f131c;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    overflow: hidden;
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-title a {
    color: #f0e6c8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.related-title a:hover {
    color: #ff6e00;
}

.related-meta {
    font-size: 11px;
    color: #8892a0;
    margin-top: 5px;
}

/* 分页 */
.pagination {
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination .page-item,
.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 12px;
    background: #1a2330;
    border-radius: 6px;
    color: #b8c0cc;
    text-decoration: none;
    font-size: 14px;
}

.pagination .current,
.pagination a:hover {
    background: linear-gradient(135deg, #ff3d00, #ff6e00);
    color: #fff;
}

/* 分类头部 */
.category-header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
    border-radius: 16px;
    padding: 30px 40px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.category-icon {
    font-size: 60px;
    background: rgba(255,255,255,0.15);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.category-info {
    flex: 1;
}

.category-info h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    color: #fff;
}

.category-info .desc {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

.category-stats {
    text-align: center;
    background: rgba(255,215,0,0.2);
    padding: 12px 24px;
    border-radius: 60px;
    border: 1px solid rgba(255,215,0,0.3);
}

.stats-num {
    font-size: 32px;
    font-weight: bold;
    color: #ffd700;
    line-height: 1;
}

.stats-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* 面包屑 */
.breadcrumb {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 13px;
    color: #8892a0;
}

.breadcrumb a {
    color: #8892a0;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ff6e00;
}

.breadcrumb .current {
    color: #f5d77e;
}

/* 搜索表单 */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 10px 15px;
    background: #1a2330;
    border: 1px solid #2a3344;
    border-radius: 30px;
    color: #e0e0e0;
    font-size: 14px;
}

.search-form button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff3d00, #ff6e00);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

/* 404页面 */
.error404-content {
    text-align: center;
    padding: 80px 20px;
}

.error404-content h1 {
    font-size: 120px;
    color: #ff3d00;
    margin-bottom: 20px;
}

/* 友情链接区域 */
.friends-links-area {
    text-align: center;
    margin-bottom: 20px;
}

.friends-links-title {
    color: #ff6e00;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.friends-links-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.friends-links-list li a {
    color: #a08090;
    text-decoration: none;
    font-size: 13px;
}

.friends-links-list li a:hover {
    color: #ff6e00;
}

/* 响应式 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-nav {
        flex-direction: column;
        border-radius: 20px;
        display: none;
    }
    .main-nav.show {
        display: flex;
    }
    .nav-item {
        min-width: auto;
    }
    .site-title {
        font-size: 36px;
    }
    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }
    .article-header {
        padding: 20px;
    }
    .article-header h1 {
        font-size: 22px;
    }
    .article-body {
        padding: 20px;
    }
    .category-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 40px;
    }
    .category-info h1 {
        font-size: 22px;
    }
}