/* style.css - 九游体育入口站专属样式表 */

:root {
    --j9-orange: #f26522;
    --j9-orange-hover: #d95318;
    --dark-bg-main: #14151a;
    --dark-bg-card: #1f2129;
    --text-primary: #ffffff;
    --text-secondary: #9ea1ab;
    --border-color: #2c2e3a;
    --alert-red: #e74c3c;
    --alert-bg: rgba(231, 76, 60, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--dark-bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 顶部导航 */
.top-nav {
    background-color: #0b0c0f;
    border-bottom: 2px solid var(--j9-orange);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.brand {
    font-size: 22px;
    font-weight: 900;
    color: var(--j9-orange);
    letter-spacing: 1px;
}

.nav-links a {
    color: var(--text-secondary);
    margin-left: 25px;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--j9-orange);
}

/* 英雄横幅区 */
.hero-banner {
    background: radial-gradient(circle at center, #2a2d3a 0%, #14151a 100%);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-banner h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}

.hero-banner p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--j9-orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.4);
}

.btn-primary:hover {
    background-color: var(--j9-orange-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--j9-orange);
    color: var(--j9-orange);
}

/* 主体内网格布局 */
.content-grid {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

/* 文章内容区 */
.seo-article {
    background-color: var(--dark-bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.update-time {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.seo-article h2 {
    font-size: 24px;
    color: var(--j9-orange);
    margin: 40px 0 20px 0;
    display: flex;
    align-items: center;
}

.seo-article h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 24px;
    background-color: var(--j9-orange);
    margin-right: 12px;
    border-radius: 3px;
}

.seo-article p {
    margin-bottom: 20px;
    font-size: 15px;
    color: #c9cbce;
}

/* 列表与表格 */
.feature-list {
    margin: 20px 0 20px 20px;
    color: #c9cbce;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 5px;
}

.feature-list strong {
    color: #fff;
}

.table-container {
    overflow-x: auto;
    margin: 25px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a1c23;
    border-radius: 6px;
    overflow: hidden;
}

.data-table th, .data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: #232630;
    color: var(--j9-orange);
    font-weight: bold;
}

.data-table tr:hover {
    background-color: #2a2d3a;
}

/* 警告框 */
.warning-box {
    background-color: var(--alert-bg);
    border-left: 4px solid var(--alert-red);
    padding: 20px;
    border-radius: 0 4px 4px 0;
    margin: 30px 0;
    color: #fceceb;
    font-size: 14px;
}

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

.widget {
    background-color: var(--dark-bg-card);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.widget-list {
    list-style: none;
}

.widget-list li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
    padding-left: 15px;
    position: relative;
}

.widget-list li::before {
    content: "•";
    color: var(--j9-orange);
    position: absolute;
    left: 0;
    font-size: 18px;
    line-height: 1;
}

/* 页脚 */
.site-footer {
    background-color: #0b0c0f;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer-inner p {
    color: #656977;
    font-size: 13px;
    margin-bottom: 10px;
}

/* 响应式调整 */
@media (max-width: 850px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .hero-banner h1 {
        font-size: 28px;
    }
}