/* =========================================
   BGEA 2026 官方网站样式
   主色：深海蓝 #002855 / #003366
   强调：橙色 #f97316 / 绿色 #10b981
   ========================================= */

:root {
    --deep-blue: #002855;
    --deep-blue-2: #003366;
    --deep-blue-3: #0a3a6b;
    --deep-blue-4: #145a94;
    --accent-orange: #f97316;
    --accent-green: #10b981;
    --accent-green-light: #34d399;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
    --text-dark: #0f172a;
    --text-dark-muted: #475569;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --shadow: 0 25px 50px -12px rgba(0, 40, 85, 0.25);
    --radius: 16px;
    --radius-sm: 8px;
    --max-width: 1280px;
    --header-height: 72px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
    background: rgba(0, 40, 85, 0.15);
    backdrop-filter: blur(8px);
}

.site-header.scrolled {
    background: rgba(0, 40, 85, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
}

.brand-logo {
    height: 38px;
    width: auto;
    flex-shrink: 0;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-en {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--accent-green-light);
}

.brand-cn {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 100px;
    transition: background var(--transition), color var(--transition);
    opacity: 0.9;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.nav-cta {
    background: var(--accent-orange);
    color: #fff;
    margin-left: 8px;
    opacity: 1;
}

.nav-cta:hover {
    background: #ea580c;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* 首页 Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    /* 首屏背景：把做好的图命名为 hero-bg.jpg 放到 assets/ 目录即自动生效。
       图缺失时自动回退到下方纯色渐变，不影响显示。
       标准尺寸：1920×1080 px（16:9 FHD），高分辨率屏可选 2560×1440。 */
    background:
        linear-gradient(135deg, rgba(0, 26, 56, 0.42) 0%, rgba(0, 40, 85, 0.58) 100%),
        url('../assets/hero-bg.jpg') center/cover no-repeat,
        linear-gradient(135deg, #001a38 0%, #002855 40%, #003366 100%);
    overflow: hidden;
    padding: calc(var(--header-height) + 40px) 24px 120px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
                radial-gradient(circle at 30% 70%, rgba(249, 115, 22, 0.08) 0%, transparent 40%);
}

.wave {
    position: absolute;
    left: -20%;
    width: 140%;
    height: 140%;
    border-radius: 40%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
}

.wave-1 { top: -40%; }
.wave-2 { top: -20%; opacity: 0.6; }
.wave-3 { top: 0; opacity: 0.4; }

.bohai-map {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(88%, 720px);
    height: auto;
    opacity: 0.35;
    transform: translate(-50%, calc(-50% - 200px)) scale(1);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* 第一屏 Logo（替换原年份徽章） */
.hero-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-logo-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 18px;
    line-height: 0;
}

.hero-logo-img {
    width: clamp(108px, 13vw, 164px);
    height: auto;
    filter: drop-shadow(0 12px 36px rgba(0, 0, 0, 0.4));
}

.hero-logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 5px;
    color: var(--accent-green-light);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.45);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
    text-shadow: 0 2px 24px rgba(0, 15, 35, 0.65);
}

.title-line {
    display: block;
    transform: skewX(-4deg);
    transform-origin: center;
}

.title-highlight {
    color: var(--accent-green-light);
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.35);
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-orange);
    color: #fff;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
    background: #ea580c;
    box-shadow: 0 14px 36px rgba(249, 115, 22, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    width: 100%;
    margin-top: 80px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 24px 16px;
    backdrop-filter: blur(8px);
    transition: transform var(--transition), background var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stat-num {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-green-light);
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    z-index: 2;
}

.scroll-hint span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--accent-green-light);
    border-radius: 2px;
    transform: translateX(-50%);
}

/* 通用板块 */
.section {
    padding: 120px 0;
    position: relative;
}

.section-light {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section-dark {
    background: var(--deep-blue);
    color: var(--text-light);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-kicker {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--accent-orange);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--text-dark-muted);
    line-height: 1.8;
}

.section-dark .section-lead {
    color: var(--text-muted);
}

/* 板块「更多」链接（右上角，指向对应栏目页） */
.section-header {
    position: relative;
}

.section-more {
    position: absolute;
    right: 0;
    top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: 1px solid rgba(0, 40, 85, 0.2);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--deep-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.section-more:hover {
    background: var(--deep-blue);
    color: #fff;
    border-color: var(--deep-blue);
}

.section-more span {
    font-size: 1.05rem;
    line-height: 1;
}

.section-dark .section-more {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
}

.section-dark .section-more:hover {
    background: #fff;
    color: var(--deep-blue);
    border-color: #fff;
}

/* 简介 */
.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-feature {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: 0 4px 24px rgba(0, 40, 85, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.about-feature:hover {
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--deep-blue-3), var(--deep-blue-4));
    color: var(--text-light);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.about-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.about-feature p {
    color: var(--text-dark-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 动态 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* CMS 无文章时的空状态占位 */
.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
}

.news-empty-inner {
    display: inline-block;
}

.news-empty-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.news-empty-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 6px;
}

.news-empty-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.news-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), background var(--transition);
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.news-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-image {
    position: relative;
    min-height: 220px;
    background: var(--bg, var(--deep-blue-3));
    display: flex;
    align-items: flex-start;
    padding: 20px;
}

.news-featured .news-image {
    min-height: 320px;
}

.news-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-body time {
    font-size: 0.8rem;
    color: var(--accent-green-light);
    margin-bottom: 10px;
    display: block;
}

.news-body h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.read-more {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more::after {
    content: '→';
    transition: transform var(--transition);
}

/* 赛事 */
.events-layout {
    max-width: 1000px;
    margin: 0 auto;
}

.format-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid rgba(0, 40, 85, 0.15);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--deep-blue);
    color: #fff;
    border-color: var(--deep-blue);
}

/* 深色板块（section-dark）下的标签按钮与赛程注释适配 */
.section-dark .tab-btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

.section-dark .tab-btn:hover,
.section-dark .tab-btn.active {
    background: #fff;
    color: var(--deep-blue);
    border-color: #fff;
}

.section-dark .schedule-note {
    color: var(--text-muted);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.format-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.format-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: 0 4px 24px rgba(0, 40, 85, 0.06);
    position: relative;
    overflow: hidden;
}

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-orange));
}

.format-num {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 40, 85, 0.08);
    position: absolute;
    top: 16px;
    right: 20px;
}

.format-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 4px solid var(--accent-green);
    color: var(--deep-blue);
    line-height: 1.35;
}

.format-card p {
    color: var(--text-dark-muted);
    line-height: 1.7;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 40, 85, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.schedule-table th,
.schedule-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 40, 85, 0.08);
}

/* 表头：蓝色系单色，与深色板块底色、轮次分组行形成层次 */
.schedule-table th {
    background: var(--deep-blue-4);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--deep-blue);
}

.schedule-table tbody tr {
    transition: background var(--transition);
}

.schedule-table tbody tr:hover {
    background: rgba(16, 185, 129, 0.05);
}

.schedule-table td {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.schedule-table td:first-child {
    font-weight: 700;
    color: var(--accent-orange);
}

/* 赛程表：轮次分组行 */
.schedule-table .round-head td {
    background: var(--deep-blue-3);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.schedule-table .round-head-final td {
    background: var(--deep-blue);
}

/* 赛程表：总决赛行高亮 */
.schedule-table .final-row td {
    background: rgba(249, 115, 22, 0.07);
    font-weight: 600;
}

.schedule-table .final-row:hover td {
    background: rgba(249, 115, 22, 0.12);
}

.schedule-table .tag-type {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.schedule-table .tag-final {
    background: var(--accent-orange);
    color: #fff;
}

.schedule-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

/* ==================== 奖项荣誉 ==================== */
.prize-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 44px;
}

.prize-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent-orange);
    transition: transform var(--transition), box-shadow var(--transition);
}

.prize-card:nth-child(2) {
    border-top-color: var(--accent-green);
}

.prize-card:nth-child(3) {
    border-top-color: var(--deep-blue-4);
}

.prize-card:hover {
    box-shadow: 0 32px 60px -16px rgba(0, 40, 85, 0.32);
}

.prize-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(16, 185, 129, 0.12));
    margin-bottom: 18px;
}

.prize-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent-orange);
}

.prize-card:nth-child(2) .prize-icon svg { color: var(--accent-green); }
.prize-card:nth-child(3) .prize-icon svg { color: var(--deep-blue-4); }

.prize-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--deep-blue);
}

.prize-card p {
    font-size: 0.92rem;
    color: var(--text-dark-muted);
    line-height: 1.8;
}

.prize-num {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-orange);
    vertical-align: baseline;
}

.prize-table-wrap {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px 40px;
    box-shadow: 0 4px 24px rgba(0, 40, 85, 0.06);
    max-width: 860px;
    margin: 0 auto;
}

.prize-table-title {
    font-size: 1.2rem;
    color: var(--deep-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prize-table-title::before {
    content: '';
    width: 6px;
    height: 22px;
    border-radius: 3px;
    background: var(--accent-orange);
}

.prize-table-scroll {
    overflow-x: auto;
}

.prize-table {
    width: 100%;
    border-collapse: collapse;
}

.prize-table th,
.prize-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 40, 85, 0.08);
}

.prize-table th {
    background: rgba(0, 40, 85, 0.05);
    color: var(--deep-blue);
    font-weight: 700;
    font-size: 0.88rem;
}

.prize-table tbody tr {
    transition: background var(--transition), transform var(--transition);
}

.prize-table tbody tr:hover {
    background: rgba(249, 115, 22, 0.06);
}

.prize-table td {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.prize-rank-badge {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
}

.prize-rank-badge.rank-1 { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.prize-rank-badge.rank-2 { background: rgba(148, 163, 184, 0.2); color: #475569; }
.prize-rank-badge.rank-3 { background: rgba(180, 83, 9, 0.14); color: #92400e; }
.prize-rank-badge.rank-4 { background: rgba(0, 40, 85, 0.08); color: var(--deep-blue-4); }

.prize-table .prize-total {
    font-weight: 700;
    color: var(--accent-orange);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
}

.prize-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

.register-info {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 40, 85, 0.06);
    max-width: 720px;
    margin: 0 auto;
}

.register-info h3 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
}

.register-info h3:first-child {
    margin-top: 0;
}

.register-info ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-dark-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

.register-info p {
    color: var(--text-dark-muted);
    margin-bottom: 24px;
}

/* 排名 */
.rankings-layout {
    max-width: 1000px;
    margin: 0 auto;
}

.ranking-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-orange);
    color: #fff;
    border-color: var(--accent-orange);
}

.ranking-table-wrap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking-table th {
    color: var(--accent-green-light);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ranking-table tbody tr {
    transition: background var(--transition);
}

.ranking-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ranking-table td {
    font-size: 0.95rem;
    color: var(--text-light);
}

.ranking-table .rank {
    width: 70px;
}

.medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.medal.gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #000; }
.medal.silver { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #000; }
.medal.bronze { background: linear-gradient(135deg, #fed7aa, #f97316); color: #000; }

.player {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--deep-blue-4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.ranking-table .points {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-green-light);
}

/* 球员 */
.players-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.player-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 40, 85, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.player-card:hover {
    box-shadow: var(--shadow);
}

.player-photo {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-initial {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.player-info {
    padding: 24px;
}

.player-info h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.player-meta {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    margin-bottom: 16px;
}

.player-stats {
    display: flex;
    gap: 16px;
}

.player-stats span {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

.player-stats strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--deep-blue);
}

/* 论坛 */
.forum-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.topic-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    transition: background var(--transition), transform var(--transition);
}

.topic-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.topic-card.pinned {
    border-left: 4px solid var(--accent-orange);
}

.topic-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green-light);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 10px;
}

.topic-card.pinned .topic-tag {
    background: var(--accent-orange);
    color: #fff;
}

.topic-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.topic-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.forum-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 28px;
}

.sidebar-card h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-card ol {
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 2;
}

.sidebar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* CTA：立即报名板块 */
.section-register {
    background: linear-gradient(135deg, #002855 0%, #0a3a6b 100%);
    color: var(--text-light);
    padding: 100px 0;
}

.section-register .section-lead {
    color: var(--text-muted);
}

.register-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto 52px;
}

.register-step {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 30px 26px;
    overflow: hidden;
    transition: background var(--transition);
}

.register-step:hover {
    background: rgba(255, 255, 255, 0.1);
}

.register-step .step-num {
    font-family: 'Oswald', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.16);
    position: absolute;
    top: 14px;
    right: 18px;
    line-height: 1;
}

.register-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.register-step p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.register-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.register-contact {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==================== 亿方之家二维码弹窗 ==================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 18, 38, 0.82);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0, 18, 38, 0.28);
    padding: 40px 32px 32px;
    text-align: center;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 40, 85, 0.08);
    color: var(--deep-blue);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.modal-close:hover,
.modal-close:focus {
    background: rgba(0, 40, 85, 0.18);
}

.modal-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--deep-blue);
    margin: 0 0 8px;
}

.modal-lead {
    font-size: 0.9rem;
    color: var(--text-dark-muted);
    margin: 0 0 24px;
    line-height: 1.6;
}

.qrcode-frame {
    display: inline-block;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid rgba(0, 40, 85, 0.1);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.qrcode-frame img {
    display: block;
    width: 220px;
    height: auto;
    max-width: 100%;
}

.modal-hint {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    margin: 0;
}

/* 页脚 */
.site-footer {
    background: #001226;
    color: var(--text-light);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 64px;
    width: auto;
    margin-bottom: 20px;
    display: block;
    color: var(--accent-green-light);
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--accent-green-light);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a,
.footer-links ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

.admin-link:hover {
    color: #fff;
}

/* 客服组件样式已移至 agentkf 插件（view/widget/index.html 内联样式） */

/* 平板响应式 */
@media (max-width: 1024px) {
    .about-grid,
    .players-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .format-cards {
        grid-template-columns: 1fr;
    }

    .register-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .prize-grid {
        grid-template-columns: 1fr;
    }

    .forum-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机响应式 */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(0, 40, 85, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition);
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 24px;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 12px;
    }

    .hero {
        padding-top: calc(var(--header-height) + 60px);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 60px;
    }

    .stat-card {
        padding: 18px 12px;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .about-grid,
    .players-grid {
        grid-template-columns: 1fr;
    }

    .schedule-table {
        display: block;
        overflow-x: auto;
    }

    .section-more {
        position: static;
        margin-top: 18px;
    }

    .register-steps {
        grid-template-columns: 1fr;
    }

    .register-actions {
        flex-direction: column;
        gap: 16px;
    }

    .prize-table-wrap {
        padding: 24px 18px;
    }

    .prize-card {
        padding: 24px 20px;
    }

    .hero-logo-img {
        width: 108px;
    }

    .ranking-filters {
        justify-content: center;
    }

    .ranking-table {
        display: block;
        overflow-x: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}

/* =========================================
   内页样式（列表页 / 详情页 / 单页）
   ========================================= */

/* 栏目 Banner */
.page-banner {
    background:
        linear-gradient(135deg, rgba(0, 26, 56, 0.85) 0%, rgba(0, 40, 85, 0.92) 100%),
        url('../assets/hero-bg.jpg') center/cover no-repeat;
    color: var(--text-light);
    padding: calc(var(--header-height) + 60px) 0 48px;
    text-align: center;
}

.page-banner-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.page-banner-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--accent-green-light);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
    color: var(--text-light);
}

/* 文章详情 */
.article-detail {
    max-width: 820px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid rgba(0, 40, 85, 0.08);
}

.article-cat {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent-orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 20px;
}

.article-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

.article-meta .meta-sep {
    margin: 0 8px;
    color: rgba(0, 40, 85, 0.2);
}

/* 文章正文富文本样式 */
.article-content {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-dark);
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-left: 16px;
    border-left: 4px solid var(--accent-orange);
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 16px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 16px 0 24px;
    padding-left: 24px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 24px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.article-content table th,
.article-content table td {
    padding: 12px 16px;
    border: 1px solid rgba(0, 40, 85, 0.12);
    text-align: left;
}

.article-content table th {
    background: var(--deep-blue);
    color: #fff;
    font-weight: 600;
}

.article-content blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    background: var(--bg-light);
    border-left: 4px solid var(--accent-green);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-dark-muted);
    font-style: italic;
}

.article-content strong {
    font-weight: 700;
    color: var(--deep-blue);
}

/* 上一篇 / 下一篇 */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid rgba(0, 40, 85, 0.08);
}

.nav-prev,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    margin-bottom: 6px;
}

.nav-prev a,
.nav-next a {
    color: var(--deep-blue);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.nav-prev a:hover,
.nav-next a:hover {
    color: var(--accent-orange);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
}

.pagination a:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.pagination .current {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #fff;
}

/* 内页响应式 */
@media (max-width: 768px) {
    .article-nav {
        flex-direction: column;
        gap: 16px;
    }

    .nav-next {
        text-align: left;
    }

    .article-content {
        font-size: 1rem;
    }
}

/* ==================== 标签云（tags 模板） ==================== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 20px 0;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all var(--transition);
}

.tag-item:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #fff;
}
