/* ========== 重置 & 基础 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0c17 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600" opacity="0.05"><path fill="none" stroke="%23d4af37" stroke-width="2" d="M0 300 L800 300 M400 0 L400 600 M150 100 L650 500 M650 100 L150 500"/><circle cx="400" cy="300" r="80" stroke="%23d4af37" stroke-width="1.2" fill="none"/></svg>') repeat;
    font-family: 'Segoe UI', 'Roboto', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #e6e8f0;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

/* ========== 头部导航 ========== */
header {
    background: rgba(8, 10, 22, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid #d4af37;
    border-radius: 20px 20px 0 0;
    padding: 20px 30px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.6);
}

.logo h1 {
    font-size: 28px;
    background: linear-gradient(135deg, #f5d742, #c9921b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.logo p {
    font-size: 13px;
    color: #b9a56e;
}

nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

nav a {
    color: #f2e8cf;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

nav a:hover, nav .active {
    border-bottom-color: #d4af37;
    color: #ffde9c;
}

/* ========== 卡片 & 通用组件 ========== */
.card {
    background: rgba(18, 20, 35, 0.92);
    backdrop-filter: blur(4px);
    border-radius: 28px;
    padding: 28px 30px;
    margin-bottom: 32px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 12px 28px -8px black;
}

.section-title {
    font-size: 28px;
    border-left: 5px solid #d4af37;
    padding-left: 20px;
    margin-bottom: 24px;
    font-weight: 700;
    color: #ffecb3;
}

.btn {
    background: #b47c10;
    border: none;
    padding: 8px 22px;
    border-radius: 40px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-sm {
    padding: 5px 16px;
    font-size: 13px;
}

.btn:hover {
    background: #d4af37;
    color: #0a0c17;
    transform: scale(1.02);
}

.tag {
    background: #2a2d44;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    display: inline-block;
    margin-right: 8px;
    color: #d4c29b;
}

.notice {
    background: #13152a;
    border-left: 4px solid #f5b81b;
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 24px;
    font-size: 15px;
}

/* 表格样式 */
.server-table {
    width: 100%;
    border-collapse: collapse;
}

.server-table th, .server-table td {
    padding: 14px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.server-table th {
    color: #f3cd81;
    font-weight: 600;
    font-size: 16px;
}

.hot-icon {
    color: #ff802e;
    font-weight: bold;
}

/* 下载条目 */
.download-item {
    background: #101124;
    border-radius: 24px;
    padding: 18px 22px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    transition: 0.1s;
}

.download-item strong {
    font-size: 18px;
}

/* 帮助列表 */
.help-list {
    list-style: none;
}

.help-list li {
    margin: 18px 0;
    padding-left: 22px;
    border-left: 3px solid #d4af37;
}

.faq-q {
    font-weight: bold;
    font-size: 19px;
    color: #f3cd81;
    margin-bottom: 8px;
}

/* 分页+搜索 */
.search-bar {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.search-bar input, .search-bar select {
    background: #1e2137;
    border: 1px solid #3e3a5c;
    color: #fff;
    padding: 9px 16px;
    border-radius: 40px;
    outline: none;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 12px;
}

.pagination span {
    background: #25283f;
    padding: 6px 14px;
    border-radius: 40px;
}

/* 底部 */
.footer {
    text-align: center;
    padding: 28px 20px;
    margin-top: 30px;
    border-top: 1px solid #2a2d44;
    font-size: 13px;
    color: #8e8ea8;
}

/* 响应式 */
@media (max-width: 780px) {
    header { flex-direction: column; gap: 16px; text-align: center; }
    nav ul { gap: 20px; justify-content: center; flex-wrap: wrap; }
    .server-table th, .server-table td { font-size: 12px; padding: 10px 5px; }
    .section-title { font-size: 24px; }
    .download-item { flex-direction: column; align-items: flex-start; gap: 12px; }
}