/* ===== 全局重置与基础样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    color: #333;
    background: #0a0e1a;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: #333; transition: color 0.3s; }
a:hover { color: #f0a500; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ===== 顶部公告栏 ===== */
.top-bar {
    background: linear-gradient(90deg, #1a0a2e 0%, #2d1057 50%, #1a0a2e 100%);
    color: #ccc;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #f0a500;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}
.top-bar-left marquee { flex: 1; }
.top-bar-left a { color: #ffd700; font-size: 13px; }
.top-bar-left a:hover { color: #fff; text-shadow: 0 0 5px #ffd700; }
.hot-tag {
    background: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.top-bar-right a { color: #aaa; margin: 0 5px; font-size: 12px; }
.top-bar-right a:hover { color: #f0a500; }

/* ===== 主导航头部 ===== */
.main-header {
    background: linear-gradient(180deg, #0f1530 0%, #1a1f4e 100%);
    padding: 20px 0;
    border-bottom: 2px solid #f0a500;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.main-header .container {
    display: flex;
    align-items: center;
    gap: 30px;
}
.logo h1 {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.logo h1 a { color: #fff; }
.logo h1 span {
    color: #f0a500;
    text-shadow: 0 0 10px rgba(240,165,0,0.5);
}
.logo-desc {
    font-size: 11px;
    color: #666;
    letter-spacing: 3px;
    margin-top: 2px;
}
.main-nav { flex: 1; }
.main-nav ul {
    display: flex;
    gap: 5px;
}
.main-nav a {
    display: block;
    padding: 10px 16px;
    color: #ddd;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
    position: relative;
}
.main-nav a:hover,
.main-nav li.active a {
    background: linear-gradient(135deg, #f0a500, #ff6b00);
    color: #fff;
    box-shadow: 0 0 15px rgba(240,165,0,0.4);
}
.header-search {
    display: flex;
    align-items: center;
}
.header-search form {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid #333;
    transition: border-color 0.3s;
}
.header-search form:focus-within {
    border-color: #f0a500;
}
.header-search input {
    width: 200px;
    padding: 8px 15px;
    border: none;
    outline: none;
    background: #1a1f4e;
    color: #fff;
    font-size: 13px;
}
.header-search input::placeholder { color: #666; }
.header-search button {
    padding: 8px 18px;
    border: none;
    background: linear-gradient(135deg, #f0a500, #ff6b00);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}
.header-search button:hover {
    background: linear-gradient(135deg, #ff6b00, #f0a500);
}

/* ===== 面包屑 ===== */
.breadcrumb {
    background: #0d1130;
    padding: 10px 0;
    border-bottom: 1px solid #1a1f4e;
    font-size: 13px;
    color: #666;
}
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #f0a500; }
.breadcrumb span { color: #f0a500; }

/* ===== 主内容布局 ===== */
.main-content {
    padding: 25px 0 50px;
    background: #0a0e1a;
}
.main-content .container {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}
.content-left { flex: 1; min-width: 0; }
.content-right { width: 300px; flex-shrink: 0; }

/* ===== 通用区块标题 ===== */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a1f4e;
}
.section-title h2 {
    font-size: 20px;
    color: #fff;
    position: relative;
    padding-left: 14px;
}
.section-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #f0a500, #ff6b00);
    border-radius: 2px;
}
.section-title .more a {
    color: #888;
    font-size: 13px;
    font-weight: normal;
}
.section-title .more a:hover { color: #f0a500; }

/* ===== 轮播推荐 ===== */
.banner-section {
    margin-bottom: 35px;
    position: relative;
}
.banner-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.banner-item {
    display: none;
    position: relative;
}
.banner-item.active { display: block; }
.banner-img {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-color: #1a1f4e;
}
.banner-1 { background: linear-gradient(135deg, #1a0a2e 0%, #2d1057 40%, #4a1a8a 100%); }
.banner-2 { background: linear-gradient(135deg, #2a0a0a 0%, #5a1010 40%, #8a1a1a 100%); }
.banner-3 { background: linear-gradient(135deg, #0a2a2a 0%, #105a5a 40%, #1a8a8a 100%); }
.banner-1::before {
    content: '⚔️';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-size: 80px;
    opacity: 0.3;
}
.banner-2::before {
    content: '🏰';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-size: 80px;
    opacity: 0.3;
}
.banner-3::before {
    content: '🌲';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-size: 80px;
    opacity: 0.3;
}
.banner-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}
.banner-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.banner-info p {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 10px;
}
.banner-tag {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}
.banner-dots {
    text-align: center;
    margin-top: 12px;
}
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s;
}
.dot.active, .dot:hover { background: #f0a500; }

/* ===== 服务器列表表格 ===== */
.server-list-section { margin-bottom: 35px; }
.filter-tabs {
    display: flex;
    gap: 5px;
}
.filter-tabs a {
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 13px;
    color: #999;
    background: #1a1f4e;
    transition: all 0.3s;
}
.filter-tabs a.active,
.filter-tabs a:hover {
    background: linear-gradient(135deg, #f0a500, #ff6b00);
    color: #fff;
}
.server-table {
    width: 100%;
    border-collapse: collapse;
    background: #0f1530;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.server-table thead {
    background: linear-gradient(90deg, #1a1f4e, #2a2f6e);
}
.server-table th {
    padding: 12px 10px;
    color: #f0a500;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid #2a2f6e;
}
.server-table td {
    padding: 12px 10px;
    text-align: center;
    color: #ccc;
    border-bottom: 1px solid #1a1f4e;
    font-size: 13px;
}
.server-table tbody tr:hover {
    background: #1a1f4e;
}
.server-table .rank-num {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    background: #333;
    color: #fff;
}
.server-table .rank-1 { background: linear-gradient(135deg, #f0a500, #ff6b00); }
.server-table .rank-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); }
.server-table .rank-3 { background: linear-gradient(135deg, #cd7f32, #a0522d); }
.server-table .server-name {
    color: #fff;
    font-weight: 600;
}
.server-table .server-name:hover { color: #f0a500; }
.server-table .status-open {
    color: #2ecc71;
    font-weight: 600;
}
.server-table .status-soon {
    color: #f0a500;
    font-weight: 600;
}
.server-table .btn-play {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, #f0a500, #ff6b00);
    color: #fff !important;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}
.server-table .btn-play:hover {
    box-shadow: 0 0 10px rgba(240,165,0,0.5);
}

/* ===== 攻略资讯 ===== */
.news-section { margin-bottom: 35px; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.news-item {
    background: #0f1530;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #1a1f4e;
}
.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border-color: #f0a500;
}
.news-item.featured {
    grid-column: 1 / -1;
}
.news-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.news-item.featured .news-img {
    height: 250px;
}
.news-img-1 { background: linear-gradient(135deg, #1a0a3e 0%, #3a1a6e 50%, #5a2a9e 100%); }
.news-img-2 { background: linear-gradient(135deg, #3a1a0a 0%, #6a3a1a 50%, #9a5a2a 100%); }
.news-img-3 { background: linear-gradient(135deg, #0a1a3a 0%, #1a3a6a 50%, #2a5a9a 100%); }
.news-img-4 { background: linear-gradient(135deg, #1a3a1a 0%, #2a6a2a 50%, #3a9a3a 100%); }
.news-img::before {
    content: '📰';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-size: 40px;
    opacity: 0.5;
}
.news-text { padding: 16px; }
.news-text h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item.featured .news-text h3 { font-size: 20px; }
.news-text p {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-meta {
    font-size: 12px;
    color: #666;
}

/* ===== 版本分类 ===== */
.category-section { margin-bottom: 35px; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.cat-card {
    display: block;
    background: #0f1530;
    border: 1px solid #1a1f4e;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f0a500, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover {
    transform: translateY(-5px);
    border-color: #f0a500;
    box-shadow: 0 10px 30px rgba(240,165,0,0.15);
}
.cat-icon { font-size: 40px; margin-bottom: 10px; }
.cat-card h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
}
.cat-card p {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}
.cat-count {
    display: inline-block;
    background: #1a1f4e;
    color: #f0a500;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
}

/* ===== 右侧边栏 ===== */
.sidebar-widget {
    background: #0f1530;
    border: 1px solid #1a1f4e;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
}
.widget-title {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a1f4e;
}
.widget-title h3 {
    font-size: 16px;
    color: #f0a500;
    position: relative;
    padding-left: 10px;
}
.widget-title h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #f0a500;
    border-radius: 2px;
}

/* 开服日历 */
.calendar-widget {
    text-align: center;
}
.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.cal-header button {
    background: #1a1f4e;
    border: none;
    color: #f0a500;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
}
.cal-header button:hover { background: #f0a500; color: #fff; }
.cal-header span {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}
.cal-day-header {
    font-size: 11px;
    color: #666;
    padding: 5px 0;
}
.cal-day {
    font-size: 13px;
    padding: 6px 0;
    border-radius: 50%;
    cursor: pointer;
    color: #ccc;
    transition: all 0.2s;
}
.cal-day:hover { background: #1a1f4e; }
.cal-day.today {
    background: linear-gradient(135deg, #f0a500, #ff6b00);
    color: #fff;
    font-weight: 700;
}
.cal-day.has-server::after {
    content: '•';
    color: #e74c3c;
    display: block;
    font-size: 8px;
    line-height: 0.5;
}
.cal-day.other-month { color: #444; }

/* 人气排行 */
.rank-list li {
    padding: 10px 0;
    border-bottom: 1px solid #1a1f4e;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rank-list li:last-child { border-bottom: none; }
.rank-num {
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    background: #1a1f4e;
    color: #ccc;
    flex-shrink: 0;
}
.rank-list li:nth-child(1) .rank-num { background: #e74c3c; color: #fff; }
.rank-list li:nth-child(2) .rank-num { background: #f0a500; color: #fff; }
.rank-list li:nth-child(3) .rank-num { background: #cd7f32; color: #fff; }
.rank-list .rank-name {
    flex: 1;
    color: #ccc;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rank-list .rank-name:hover { color: #f0a500; }
.rank-list .rank-people {
    font-size: 12px;
    color: #f0a500;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: #1a1f4e;
    color: #ccc;
    border-radius: 15px;
    font-size: 12px;
    transition: all 0.3s;
    border: 1px solid transparent;
}
.tag:hover {
    background: #f0a500;
    color: #fff;
    border-color: #ff6b00;
}
.tag-hot { background: #2a1530; color: #ff6b6b; border-color: #4a2030; }
.tag-new { background: #152a20; color: #2ecc71; border-color: #204a30; }

/* 侧边新闻列表 */
.news-list-side li {
    padding: 10px 0;
    border-bottom: 1px solid #1a1f4e;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
.news-list-side li:last-child { border-bottom: none; }
.news-list-side a {
    flex: 1;
    font-size: 13px;
    color: #ccc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.news-list-side a:hover { color: #f0a500; }
.news-tag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 2px;
    font-size: 11px;
    flex-shrink: 0;
    background: #1a1f4e;
    color: #999;
}
.news-tag.tag-hot { background: #e74c3c; color: #fff; }
.news-tag.tag-new { background: #2ecc71; color: #fff; }
.news-date {
    font-size: 12px;
    color: #666;
    flex-shrink: 0;
}

/* 友情链接 */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.friend-links a {
    padding: 5px 12px;
    background: #1a1f4e;
    color: #999;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s;
}
.friend-links a:hover {
    background: #2a2f6e;
    color: #f0a500;
}

/* ===== 底部 ===== */
.main-footer {
    background: #050810;
    padding: 40px 0 20px;
    border-top: 2px solid #1a1f4e;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: #f0a500;
    font-size: 15px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #1a1f4e;
}
.footer-col p {
    color: #888;
    font-size: 13px;
    line-height: 1.8;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul a, .footer-col ul li {
    color: #888;
    font-size: 13px;
}
.footer-col ul a:hover { color: #f0a500; }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1a1f4e;
    color: #666;
    font-size: 12px;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #f0a500; }
.footer-icp {
    margin-top: 8px;
    font-size: 11px;
    color: #555;
}

/* ===== 悬浮客服 ===== */
.float-qq {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
}
.float-qq a {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #f0a500, #ff6b00);
    color: #fff;
    padding: 12px 10px;
    border-radius: 10px;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(240,165,0,0.4);
    transition: all 0.3s;
}
.float-qq a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(240,165,0,0.6);
}
.float-qq-icon { font-size: 24px; margin-bottom: 4px; }

/* 返回顶部 */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: #1a1f4e;
    color: #f0a500;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
    display: none;
}
.back-to-top:hover {
    background: #f0a500;
    color: #fff;
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 25px;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 14px;
    background: #0f1530;
    color: #ccc;
    border-radius: 5px;
    font-size: 13px;
    border: 1px solid #1a1f4e;
    transition: all 0.3s;
}
.pagination a:hover, .pagination .current {
    background: linear-gradient(135deg, #f0a500, #ff6b00);
    color: #fff;
    border-color: #ff6b00;
}

/* ===== 文章详情页 ===== */
.article-content {
    background: #0f1530;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid #1a1f4e;
}
.article-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1a1f4e;
}
.article-header h1 {
    font-size: 26px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}
.article-meta {
    font-size: 13px;
    color: #888;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.article-body {
    color: #ccc;
    font-size: 15px;
    line-height: 1.9;
}
.article-body h2 {
    font-size: 20px;
    color: #f0a500;
    margin: 25px 0 15px;
    padding-left: 12px;
    border-left: 4px solid #f0a500;
}
.article-body h3 {
    font-size: 17px;
    color: #fff;
    margin: 20px 0 12px;
}
.article-body p {
    margin-bottom: 15px;
    text-indent: 2em;
}
.article-body ul, .article-body ol {
    margin: 15px 0 15px 20px;
}
.article-body li {
    margin-bottom: 8px;
    list-style: disc;
}
.article-body strong {
    color: #f0a500;
    font-weight: 700;
}
.article-body table {
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
}
.article-body th, .article-body td {
    padding: 10px 12px;
    border: 1px solid #2a2f6e;
    text-align: center;
}
.article-body th {
    background: #1a1f4e;
    color: #f0a500;
}
.article-tags {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #1a1f4e;
}
.article-tags a {
    display: inline-block;
    padding: 4px 12px;
    background: #1a1f4e;
    color: #ccc;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 8px;
}
.article-tags a:hover { background: #f0a500; color: #fff; }

/* ===== 服务器详情页 ===== */
.server-detail-card {
    background: linear-gradient(135deg, #0f1530, #1a1f5e);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid #2a2f8e;
    position: relative;
    overflow: hidden;
}
.server-detail-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240,165,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.server-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}
.server-detail-name {
    font-size: 28px;
    color: #fff;
    font-weight: 900;
    margin-bottom: 10px;
}
.server-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.server-detail-tags span {
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
}
.tag-type { background: #e74c3c; color: #fff; }
.tag-rate { background: #f0a500; color: #fff; }
.tag-version { background: #3498db; color: #fff; }
.tag-status-open { background: #2ecc71; color: #fff; }

.server-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
    position: relative;
}
.server-info-item {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #1a1f4e;
}
.server-info-item .label {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}
.server-info-item .value {
    font-size: 18px;
    color: #f0a500;
    font-weight: 700;
}

.server-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    position: relative;
}
.btn-download {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #f0a500, #ff6b00);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(240,165,0,0.3);
}
.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(240,165,0,0.5);
}
.btn-favorite {
    display: inline-block;
    padding: 14px 30px;
    background: #1a1f4e;
    color: #ccc !important;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #2a2f6e;
    transition: all 0.3s;
}
.btn-favorite:hover { background: #2a2f6e; color: #fff !important; }

/* 服务器详情 - 选项卡 */
.server-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 2px solid #1a1f4e;
    padding-bottom: -2px;
}
.server-tab {
    padding: 12px 25px;
    background: transparent;
    color: #999;
    border: none;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}
.server-tab.active {
    color: #f0a500;
    border-bottom-color: #f0a500;
}
.server-tab:hover { color: #f0a500; }

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

/* ===== 列表页 ===== */
.list-header {
    background: #0f1530;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #1a1f4e;
}
.list-header h1 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 10px;
}
.list-header p {
    color: #888;
    font-size: 13px;
}
.list-filters {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.list-filter-btn {
    padding: 6px 16px;
    background: #1a1f4e;
    color: #ccc;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s;
}
.list-filter-btn.active, .list-filter-btn:hover {
    background: linear-gradient(135deg, #f0a500, #ff6b00);
    color: #fff;
    border-color: #ff6b00;
}

/* ===== 404页面 ===== */
.error-page {
    text-align: center;
    padding: 80px 20px;
}
.error-page h1 {
    font-size: 120px;
    color: #f0a500;
    margin-bottom: 20px;
}
.error-page h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
}
.error-page p {
    color: #888;
    margin-bottom: 30px;
}
.error-page a {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #f0a500, #ff6b00);
    color: #fff !important;
    border-radius: 8px;
    font-size: 15px;
}
