/* 世界杯官方端网站登录入口 · 体育赛事数据分析服务商 */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0c1118;
    --panel: #141c26;
    --panel-2: #1a2433;
    --border: #243042;
    --border-hi: #334a62;
    --text: #e8eef5;
    --muted: #8a9aad;
    --dim: #5c6b7d;
    --accent: #00c896;
    --accent-2: #00e5ac;
    --warn: #f5a623;
    --danger: #ff5c5c;
    --link: #4db8ff;
}

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 200, 150, 0.12), transparent),
        linear-gradient(180deg, var(--bg) 0%, #0a0e14 100%);
    min-height: 100vh;
}

a { color: var(--link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* 顶栏 */
.topline {
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
    padding: 8px 0;
}
.topline .shell {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
}
.pulse i {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.25);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* 头部 */
header {
    background: rgba(12, 17, 24, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.brand-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent) 0%, #008f6e 100%);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 200, 150, 0.35);
}
.brand-text strong {
    display: block;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--text);
}
.brand-text span {
    font-size: 10px;
    color: var(--dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul { display: flex; flex-wrap: wrap; gap: 2px; }
nav a {
    display: block;
    padding: 10px 14px;
    color: var(--muted);
    font-size: 14px;
    border-radius: 8px;
    font-weight: 500;
}
nav a:hover { color: var(--text); background: var(--panel-2); }
nav a.on {
    color: var(--accent);
    background: rgba(0, 200, 150, 0.1);
    border: 1px solid rgba(0, 200, 150, 0.25);
}
.nav-toggle {
    display: none;
    background: var(--panel-2);
    border: 1px solid var(--border);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
}

/* 内页标题区 */
.page-hero {
    padding: 48px 0 36px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%);
}
.crumb {
    font-size: 12px;
    color: var(--dim);
    margin-bottom: 12px;
    font-family: ui-monospace, monospace;
}
.crumb a { color: var(--dim); }
.crumb a:hover { color: var(--accent); }
.page-hero h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.25;
}
.page-hero h1 em {
    color: var(--accent);
    font-style: normal;
}
.page-hero .lead { color: var(--muted); max-width: 720px; }

/* 首页 hero */
.hero {
    padding: 56px 0 64px;
    border-bottom: 1px solid var(--border);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}
.hero h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 18px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .sub {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 22px;
    max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.btn-primary {
    background: var(--accent);
    color: #04120e;
}
.btn-primary:hover { background: var(--accent-2); color: #04120e; }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hi);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.hero-stats .cell {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
}
.hero-stats .cell strong {
    display: block;
    font-size: 22px;
    color: var(--accent);
    font-family: ui-monospace, monospace;
}
.hero-stats .cell span { font-size: 11px; color: var(--dim); letter-spacing: 1px; }

.hero-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.hero-card .img {
    aspect-ratio: 16/10;
    position: relative;
}
.hero-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}
.hero-card .img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(12, 17, 24, 0.92) 100%);
}
.hero-card .cap {
    padding: 18px 20px 22px;
    position: relative;
    margin-top: -56px;
    z-index: 1;
}
.hero-card .cap small {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 2px;
    font-family: ui-monospace, monospace;
}
.hero-card .cap h2 { font-size: 18px; margin-top: 6px; }

/* 区块 */
section { padding: 52px 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.section-head h2 {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-head h2::before {
    content: "";
    width: 4px;
    height: 22px;
    background: var(--accent);
    border-radius: 2px;
}
.section-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.section-head a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 200, 150, 0.35);
    padding: 8px 14px;
    border-radius: 8px;
}
.section-head a:hover { background: rgba(0, 200, 150, 0.1); }

.bg-alt { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* 指标卡 */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.kpi {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 18px;
    transition: border-color 0.2s;
}
.kpi:hover { border-color: var(--accent); }
.kpi .label { font-size: 11px; color: var(--dim); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.kpi .val { font-size: 26px; font-weight: 800; color: var(--text); font-family: ui-monospace, monospace; }
.kpi .delta { font-size: 12px; color: var(--accent); margin-top: 6px; }

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-hi); }
.card-thumb { height: 160px; background: var(--panel-2); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; }
.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card-body .tag {
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: ui-monospace, monospace;
}
.card-body h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.45; color: var(--text); }
.card-body p { color: var(--muted); font-size: 14px; flex: 1; }
.card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--dim);
    font-family: ui-monospace, monospace;
}

/* 两栏介绍 */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}
.split-pic {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 5/4;
}
.split-pic img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { font-size: 28px; margin-bottom: 16px; font-weight: 800; }
.split-text h2 em { color: var(--accent); font-style: normal; }
.split-text p { color: var(--muted); margin-bottom: 14px; }
.split-list { margin-top: 18px; }
.split-list li {
    padding: 12px 14px;
    background: var(--panel-2);
    border-left: 3px solid var(--accent);
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text);
}
.split-list li span { display: block; font-size: 11px; color: var(--dim); margin-bottom: 4px; font-family: ui-monospace, monospace; }

/* 关键词条 */
.kw-band {
    background: linear-gradient(90deg, rgba(0, 200, 150, 0.08), transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 44px 0;
}
.kw-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.kw-box {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 24px;
    border-left: 4px solid var(--accent);
}
.kw-box h3 { font-size: 18px; margin-bottom: 10px; color: var(--text); }
.kw-box h3 small { display: block; font-size: 11px; color: var(--accent); margin-bottom: 6px; letter-spacing: 1px; }
.kw-box p { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.kw-box a { font-size: 13px; font-weight: 600; }

/* 详情页 */
.detail-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
}
.article {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px 36px;
}
.article .sku {
    font-size: 12px;
    color: var(--accent);
    font-family: ui-monospace, monospace;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.article h1 { font-size: 28px; margin-bottom: 14px; line-height: 1.3; font-weight: 800; }
.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--dim);
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
    font-family: ui-monospace, monospace;
}
.meta-row b { color: var(--muted); font-weight: 500; }
.article .cover {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 22px;
    border: 1px solid var(--border);
}
.article h2 {
    font-size: 19px;
    margin: 26px 0 12px;
    color: var(--text);
    padding-left: 12px;
    border-left: 3px solid var(--accent);
}
.article p { color: var(--muted); margin-bottom: 14px; }
.article p strong { color: var(--text); }
.article ul, .article ol { margin: 12px 0 16px 22px; }
.article li { color: var(--muted); margin-bottom: 8px; list-style: disc; }
.article ol li { list-style: decimal; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.data-table th, .data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table th {
    background: var(--panel-2);
    color: var(--accent);
    font-size: 12px;
    width: 28%;
    font-family: ui-monospace, monospace;
}
.data-table td { color: var(--text); }

.tags { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); }
.tags span {
    display: inline-block;
    background: var(--panel-2);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    margin: 0 6px 6px 0;
    font-family: ui-monospace, monospace;
}

.side-box {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}
.side-box h3 {
    font-size: 13px;
    padding: 12px 16px;
    background: var(--panel-2);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.side-box h3::before { content: "// "; color: var(--accent); }
.side-box ul { padding: 8px 16px 12px; }
.side-box li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.side-box li:last-child { border-bottom: 0; }
.side-box a { color: var(--muted); }
.side-box a:hover { color: var(--accent); }

.side-cta {
    background: linear-gradient(135deg, var(--accent) 0%, #009a76 100%);
    color: #04120e;
    padding: 22px 18px;
    border-radius: 12px;
    margin-bottom: 16px;
}
.side-cta h4 { font-size: 16px; margin-bottom: 6px; }
.side-cta p { font-size: 13px; opacity: 0.9; margin-bottom: 12px; }
.side-cta .btn { background: #fff; color: #04120e; width: 100%; justify-content: center; }
.side-cta .btn:hover { background: var(--bg); }

/* 联系 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
}
.panel h3 { font-size: 20px; margin-bottom: 8px; }
.panel > p { color: var(--muted); margin-bottom: 18px; font-size: 14px; }
.row {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.row:last-child { border-bottom: 0; }
.row .ico {
    width: 36px;
    height: 36px;
    background: rgba(0, 200, 150, 0.15);
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}
.row strong { display: block; color: var(--text); font-size: 14px; }
.row span { color: var(--muted); font-size: 13px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--dim); margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 11px 14px;
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--accent);
}
.field textarea { min-height: 100px; resize: vertical; }

/* 页脚 */
footer {
    background: var(--panel);
    border-top: 1px solid var(--border);
    padding: 48px 0 0;
    margin-top: 40px;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.foot-grid h4 {
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.foot-grid p, .foot-grid li { font-size: 13px; color: var(--muted); line-height: 1.7; }
.foot-grid li { padding: 4px 0; }
.foot-grid a { color: var(--muted); }
.foot-grid a:hover { color: var(--accent); }
.foot-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    font-size: 12px;
    color: var(--dim);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-family: ui-monospace, monospace;
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .kw-two { grid-template-columns: 1fr; }
    .detail-wrap { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    nav {
        position: absolute;
        left: 0; right: 0;
        top: 100%;
        background: var(--panel);
        border-top: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    nav.open { max-height: 480px; }
    nav ul { flex-direction: column; padding: 8px 0; }
    nav a { border-radius: 0; border-bottom: 1px solid var(--border); }
    .hero h1 { font-size: 26px; }
    .page-hero h1 { font-size: 24px; }
    .hero-stats { grid-template-columns: 1fr; }
    .kpi-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .article { padding: 22px; }
    .article h1 { font-size: 22px; }
    .article .cover { height: 200px; }
    .foot-grid { grid-template-columns: 1fr; }
    .topline .hide-sm { display: none; }
}
