/* ============================================
   传奇私服发布网 - 主样式表
   Legend Faction Release Network - Main Stylesheet
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c0392b;
    --primary-dark: #922b21;
    --primary-light: #e74c3c;
    --gold: #f39c12;
    --gold-light: #f1c40f;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --dark-3: #0f3460;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --gray-bg: #f8f9fa;
    --white: #ffffff;
    --green: #27ae60;
    --blue: #2980b9;
    --purple: #8e44ad;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 5px 25px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background: var(--gray-bg);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ---------- Top Bar ---------- */
.top-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ccc;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 2px solid var(--gold);
}

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

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

.top-bar-left .separator {
    color: #555;
}

.top-bar-left .highlight {
    color: var(--gold);
    font-weight: bold;
}

.top-bar-right a {
    color: #aaa;
    margin-left: 15px;
    font-size: 12px;
}

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

/* ---------- Main Navigation ---------- */
.main-nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    align-items: center;
    height: 70px;
    gap: 30px;
}

.logo h1 {
    font-size: 22px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.logo h1 a {
    -webkit-text-fill-color: transparent;
}

.logo h1 a:hover {
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 5px;
    flex: 1;
}

.nav-menu li a {
    display: block;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li.active a {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.search-box {
    position: relative;
}

.search-box form {
    display: flex;
    height: 36px;
}

.search-box input {
    width: 200px;
    padding: 0 15px;
    border: 2px solid #ddd;
    border-radius: 18px 0 0 18px;
    outline: none;
    font-size: 13px;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
}

.search-box button {
    padding: 0 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 0 18px 18px 0;
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}

.search-box button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--gray);
}

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

/* ---------- Main Content ---------- */
.main-content {
    padding: 25px 0;
    min-height: 60vh;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 25px;
}

/* ---------- Banner Slider ---------- */
.banner-section {
    margin-bottom: 25px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.banner-slider {
    position: relative;
    height: 280px;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.banner-1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #c0392b 60%, #e74c3c 100%);
}

.banner-2 {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
}

.banner-3 {
    background: linear-gradient(135deg, #4a00e0 0%, #8e2de2 50%, #c0392b 100%);
}

.banner-4 {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 50%, #922b21 100%);
}

.banner-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.banner-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(243,156,18,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 40px 50px;
    color: var(--white);
}

.banner-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.banner-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--gold);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

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

.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--gold);
    transform: scale(1.2);
}

/* ---------- Section Header ---------- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.section-title {
    font-size: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary), var(--gold));
    border-radius: 2px;
}

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

.more a {
    color: var(--gray);
    font-size: 13px;
}

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

/* Tabs */
.section-tabs {
    display: flex;
    gap: 5px;
}

.tab {
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
}

.tab:hover,
.tab.active {
    background: var(--primary);
    color: var(--white);
}

.section-cats {
    display: flex;
    gap: 5px;
}

.cat-link {
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    background: #f0f0f0;
    color: var(--gray);
}

.cat-link.active,
.cat-link:hover {
    background: var(--gold);
    color: var(--white);
}

/* ---------- Ranking List ---------- */
.ranking-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.server-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
    position: relative;
}

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

.server-item:hover {
    background: #fafafa;
    transform: translateX(3px);
}

.rank-num {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: #eee;
    color: #999;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.server-item.rank-1 .rank-num {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-size: 16px;
}

.server-item.rank-2 .rank-num {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    font-size: 16px;
}

.server-item.rank-3 .rank-num {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    font-size: 16px;
}

.server-info {
    flex: 1;
}

.server-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-info h3 a {
    color: #333;
}

.server-info h3 a:hover {
    color: var(--primary);
}

.server-info > p {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 5px;
}

.server-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

.tag-hot {
    background: #e74c3c;
    color: #fff;
}

.tag-new {
    background: #27ae60;
    color: #fff;
}

.tag-fire {
    background: #f39c12;
    color: #fff;
}

.tag-recommend {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    color: #fff;
}

.server-action {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 15px;
}

.btn-play {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white) !important;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    transition: var(--transition);
}

.btn-play:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(192,57,43,0.3);
}

.btn-detail {
    display: inline-block;
    padding: 5px 20px;
    background: #f0f0f0;
    color: var(--gray) !important;
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
    transition: var(--transition);
}

.btn-detail:hover {
    background: #e0e0e0;
    color: #666 !important;
}

/* ---------- Schedule Table ---------- */
.schedule-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table thead th {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    color: var(--white);
    padding: 12px 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
}

.schedule-table thead th:first-child {
    border-radius: 6px 0 0 0;
}

.schedule-table thead th:last-child {
    border-radius: 0 6px 0 0;
}

.schedule-table tbody td {
    padding: 11px 10px;
    text-align: center;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
}

.schedule-table tbody tr:hover {
    background: #fafafa;
}

.type-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    color: #fff;
}

.type-danye { background: #e74c3c; }
.type-sanye { background: #3498db; }
.type-fugu { background: #8e44ad; }
.type-qingbian { background: #27ae60; }
.type-zhongbian { background: #f39c12; }
.type-chaobian { background: #e91e63; }

.status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
}

.status-hot {
    background: #fce4e4;
    color: #e74c3c;
}

.status-normal {
    background: #e8f8f0;
    color: #27ae60;
}

.status-new {
    background: #e8f4fd;
    color: #2980b9;
}

.status-wait {
    background: #fef9e7;
    color: #f39c12;
}

.btn-small {
    display: inline-block;
    padding: 3px 12px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 3px;
    font-size: 12px;
}

.btn-small:hover {
    background: var(--primary-dark);
}

/* ---------- News Grid ---------- */
.news-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.news-card {
    border: 1px solid #eee;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

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

.news-card.featured {
    grid-column: span 2;
}

.news-card.featured .news-img {
    height: 200px;
}

.news-img {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.news-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.news-img-1 { background: linear-gradient(135deg, #1a1a2e, #c0392b, #e74c3c); }
.news-img-2 { background: linear-gradient(135deg, #0f3460, #2980b9, #3498db); }
.news-img-3 { background: linear-gradient(135deg, #4a00e0, #8e44ad, #9b59b6); }
.news-img-4 { background: linear-gradient(135deg, #f39c12, #e67e22, #d35400); }
.news-img-5 { background: linear-gradient(135deg, #27ae60, #2ecc71, #1abc9c); }
.news-img-6 { background: linear-gradient(135deg, #e74c3c, #922b21, #641e16); }

.news-content {
    padding: 15px;
}

.news-cat {
    display: inline-block;
    padding: 2px 10px;
    background: var(--primary);
    color: #fff;
    border-radius: 3px;
    font-size: 11px;
    margin-bottom: 8px;
}

.news-content h3 {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card.featured .news-content h3 {
    font-size: 18px;
}

.news-content p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #aaa;
}

/* ---------- Sidebar ---------- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-widget {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.widget-header {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    padding: 14px 18px;
    color: var(--white);
}

.widget-header h3 {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.widget-body {
    padding: 18px;
}

/* Category Grid */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 13px;
}

.cat-item:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    transform: scale(1.02);
}

.cat-item em {
    margin-left: auto;
    font-size: 11px;
    color: var(--primary);
    font-style: normal;
    background: #fce4e4;
    padding: 1px 6px;
    border-radius: 10px;
}

.cat-item:hover em {
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.cat-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-block;
    flex-shrink: 0;
}

.cat-danye { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.cat-sanye { background: linear-gradient(135deg, #3498db, #2980b9); }
.cat-fugu { background: linear-gradient(135deg, #8e44ad, #6c3483); }
.cat-qingbian { background: linear-gradient(135deg, #27ae60, #1e8449); }
.cat-zhongbian { background: linear-gradient(135deg, #f39c12, #d68910); }
.cat-chaobian { background: linear-gradient(135deg, #e91e63, #c2185b); }
.cat-heji { background: linear-gradient(135deg, #00bcd4, #0097a7); }
.cat-dajin { background: linear-gradient(135deg, #ff9800, #f57c00); }

/* Hot List */
.hot-list li {
    display: flex;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed #eee;
    font-size: 13px;
    gap: 8px;
}

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

.hot-num {
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background: #eee;
    color: #999;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.hot-num.hot-1 { background: #e74c3c; color: #fff; }
.hot-num.hot-2 { background: #f39c12; color: #fff; }
.hot-num.hot-3 { background: #27ae60; color: #fff; }

.hot-list a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-count {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

/* News List Side */
.news-list-side li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px dashed #eee;
    font-size: 13px;
}

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

.news-list-side a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.news-list-side span {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
    flex-shrink: 0;
}

/* Friend Links */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.friend-links a {
    padding: 5px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: var(--gray);
    transition: var(--transition);
}

.friend-links a:hover {
    background: var(--primary);
    color: #fff;
}

/* ---------- Footer ---------- */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #aaa;
    padding: 40px 0 0;
    margin-top: 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 15px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 8px;
    font-size: 13px;
}

.footer-col ul li a {
    color: #aaa;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.qr-code {
    margin-top: 12px;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border: 1px dashed rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #666;
    border-radius: 6px;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 15px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.footer-bottom a {
    color: #888;
}

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

.seo-text {
    margin-top: 8px;
    font-size: 11px;
    color: #555;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(192,57,43,0.4);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(192,57,43,0.5);
}

.back-to-top.show {
    display: flex;
}

/* ---------- Icon Font (简易图标) ---------- */
.icon-flame::before { content: '🔥'; margin-right: 4px; }
.icon-trophy::before { content: '🏆'; margin-right: 4px; }
.icon-clock::before { content: '⏰'; margin-right: 4px; }
.icon-news::before { content: '📰'; margin-right: 4px; }
.icon-fire::before { content: '🔥'; margin-right: 4px; }
.icon-link::before { content: '🔗'; margin-right: 4px; }
.icon-grid::before { content: '📊'; margin-right: 4px; }

/* ---------- Detail Page Styles ---------- */
.detail-header {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.detail-header h1 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

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

.detail-tag {
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: var(--gray);
}

.detail-tag.highlight {
    background: var(--primary);
    color: #fff;
}

.detail-screenshots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.screenshot-item {
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.screenshot-item::after {
    content: '游戏截图';
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
}

/* Game Info Table */
.game-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.game-info-table th,
.game-info-table td {
    padding: 10px 12px;
    border: 1px solid #eee;
    font-size: 13px;
}

.game-info-table th {
    background: #f8f9fa;
    width: 120px;
    text-align: right;
    color: var(--gray);
}

/* Detail Content */
.detail-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.detail-content h2 {
    font-size: 18px;
    margin: 20px 0 10px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
    color: var(--dark);
}

.detail-content p {
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 14px;
    color: #444;
}

.detail-content ul {
    margin: 10px 0 15px 20px;
    list-style: disc;
}

.detail-content ul li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #444;
}

/* Article Page */
.article-header {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.article-header h1 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
    line-height: 1.5;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--gray);
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-body {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    font-size: 15px;
    line-height: 1.9;
    color: #333;
}

.article-body h2 {
    font-size: 18px;
    margin: 25px 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.article-body h3 {
    font-size: 16px;
    margin: 20px 0 10px;
    color: var(--dark);
}

.article-body p {
    margin-bottom: 14px;
    text-indent: 2em;
}

.article-body ul,
.article-body ol {
    margin: 10px 0 15px 2em;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 8px;
}

.article-body blockquote {
    margin: 15px 0;
    padding: 12px 18px;
    background: #f8f9fa;
    border-left: 4px solid var(--gold);
    color: #666;
    font-style: italic;
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.article-tags a {
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: var(--gray);
}

.article-tags a:hover {
    background: var(--primary);
    color: #fff;
}

/* Related Articles */
.related-articles {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.related-articles h3 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

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

.related-list a {
    padding: 8px 10px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 13px;
    transition: var(--transition);
}

.related-list a:hover {
    background: #fce4e4;
    color: var(--primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 25px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
    transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* List Page */
.list-header {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.list-header h1 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 8px;
}

.list-header p {
    font-size: 13px;
    color: var(--gray);
}

.filter-bar {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.filter-bar a {
    padding: 5px 14px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
    transition: var(--transition);
}

.filter-bar a.active,
.filter-bar a:hover {
    background: var(--primary);
    color: #fff;
}

/* News List Page */
.news-list-page {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-list-item {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-list-item:hover {
    box-shadow: var(--shadow-hover);
}

.news-list-thumb {
    width: 200px;
    height: 130px;
    flex-shrink: 0;
    position: relative;
}

.news-list-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.news-list-info {
    flex: 1;
    padding: 15px 20px;
}

.news-list-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-list-info h3 a {
    color: #333;
}

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

.news-list-info p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.news-list-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

/* Search Page */
.search-header {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.search-header h1 {
    font-size: 18px;
    margin-bottom: 10px;
}

.search-header h1 em {
    color: var(--primary);
    font-style: normal;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 15px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.search-item:hover {
    box-shadow: var(--shadow-hover);
}

.search-item h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.search-item p {
    font-size: 13px;
    color: var(--gray);
}

/* Sitemap */
.sitemap-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.sitemap-section h2 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    color: var(--dark);
}

.sitemap-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sitemap-links a {
    padding: 5px 14px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
}

.sitemap-links a:hover {
    background: var(--primary);
    color: #fff;
}

/* About Page */
.about-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    line-height: 1.9;
    font-size: 14px;
}

.about-content h2 {
    font-size: 18px;
    margin: 20px 0 10px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.about-content p {
    margin-bottom: 12px;
    color: #444;
}