:root {
    --brand: rgb(213, 5, 5);
    --brand-dark: rgb(178, 0, 0);
    --text: #1f1f1f;
    --muted: #666;
    --light: #f6f6f6;
    --line: #e8e8e8;
    --card: #ffffff;
    --dark: #202020;
    --shadow: 0 12px 32px rgba(0, 0, 0, .06);
    --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.75;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 14px; color: #4d4d4d; }
h1, h2, h3 { margin: 0; line-height: 1.28; color: #161616; }
h1 { font-size: 32px; letter-spacing: -.5px; }
h2 { font-size: 26px; margin-bottom: 14px; }
h3 { font-size: 18px; margin-bottom: 8px; }
ul, ol { margin: 0; padding-left: 20px; color: #4d4d4d; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 52px 0; }
.section.light { background: var(--light); }
.section-head { margin-bottom: 26px; max-width: 760px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.badge, .pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    background: rgba(213, 5, 5, .08);
    border: 1px solid rgba(213, 5, 5, .12);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.mobile-topbar {
    height: 60px;
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    align-items: center;
    background: #fff;
    padding: 0 12px;
}
.mobile-menu-button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
    cursor: pointer;
}
.mobile-menu-button span {
    width: 24px;
    height: 2px;
    background: #1f1f1f;
    border-radius: 2px;
    display: block;
}
.mobile-logo { justify-self: center; }
.mobile-logo img { max-height: 34px; width: auto; }
.top-action {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 34px;
    padding: 0 16px;
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(213, 5, 5, .18);
}
.top-action:hover, .main-btn:hover { background: var(--brand-dark); }
.mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 10px 16px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.mobile-nav.is-open { display: grid; }
.mobile-nav a {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
}
.mobile-nav a.active { color: var(--brand); border-color: rgba(213, 5, 5, .22); background: rgba(213, 5, 5, .06); }
.desktop-topbar { display: none; }
.search-icon {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    position: relative;
    flex: 0 0 auto;
}
.search-icon::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #777;
    border-radius: 50%;
    left: 9px;
    top: 8px;
}
.search-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    background: #777;
    transform: rotate(45deg);
    left: 20px;
    top: 21px;
    border-radius: 2px;
}
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 26px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand);
    font-weight: 800;
    border: 0;
    box-shadow: 0 10px 22px rgba(213, 5, 5, .18);
    transition: .2s ease;
}
.secondary-link {
    display: inline-flex;
    align-items: center;
    color: var(--brand);
    font-weight: 800;
    margin-top: 6px;
}
.hero {
    background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
    padding: 28px 0 48px;
}
.hero-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}
.hero-copy h1 { margin-bottom: 16px; }
.hero-copy .lead { font-size: 17px; color: #444; margin-bottom: 22px; }
.hero-media {
    border-radius: 24px;
    overflow: hidden;
    background: #eee;
    box-shadow: var(--shadow);
    position: relative;
}
.hero-media::after {
    content: "赛事中心 · 实时比分 · 数据服务";
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, .92);
    color: var(--brand);
    font-weight: 900;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
}
.hero-stats, .score-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.stat-card, .mini-score {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .04);
}
.stat-card strong, .mini-score strong { display: block; color: var(--brand); font-size: 20px; }
.stat-card span, .mini-score span { color: #666; font-size: 12px; }
.category-grid, .service-grid, .cards-grid, .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.sports-card, .service-card, .info-card, .faq-item, .notice-box, .score-panel, .data-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .045);
}
.sports-card { min-height: 178px; display: flex; flex-direction: column; justify-content: space-between; }
.sports-card .icon-dot, .service-card .icon-dot {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: rgba(213, 5, 5, .1);
    position: relative;
    margin-bottom: 12px;
}
.sports-card .icon-dot::after, .service-card .icon-dot::after {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--brand);
    border-radius: 50%;
    position: absolute;
    left: 11px;
    top: 11px;
}
.service-card .tag {
    display: inline-flex;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    background: rgba(213, 5, 5, .08);
    border-radius: 999px;
    padding: 4px 9px;
    margin-bottom: 10px;
}
.split {
    display: grid;
    gap: 26px;
    align-items: center;
}
.split-media {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #f0f0f0;
}
.score-panel { display: grid; gap: 12px; }
.match-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}
.match-line:last-child { border-bottom: 0; padding-bottom: 0; }
.status {
    color: var(--brand);
    background: rgba(213, 5, 5, .08);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
}
.data-list { display: grid; gap: 10px; margin-top: 14px; }
.data-list li {
    list-style: none;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid var(--line);
}
.app-showcase {
    background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
}
.security-list, .check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 18px 0 0;
}
.security-list li, .check-list li {
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    color: #4d4d4d;
}
.security-list li::before, .check-list li::before {
    content: "•";
    color: var(--brand);
    font-weight: 900;
    margin-right: 8px;
}
.responsible-box {
    background: #fff;
    border: 1px solid rgba(213, 5, 5, .18);
    border-left: 5px solid var(--brand);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .04);
}
.cta-block {
    border-radius: 24px;
    padding: 34px 22px;
    background: var(--brand);
    color: #fff;
    text-align: center;
}
.cta-block h2, .cta-block p { color: #fff; }
.cta-block .main-btn { background: #fff; color: var(--brand); box-shadow: none; }
.cta-block .main-btn:hover { background: #f4f4f4; }
.page-hero {
    padding: 42px 0;
    background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { max-width: 780px; font-size: 17px; }
.page-layout {
    display: grid;
    gap: 20px;
}
.content-block {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .04);
}
.steps {
    counter-reset: step;
    display: grid;
    gap: 14px;
    padding: 0;
}
.steps li {
    list-style: none;
    counter-increment: step;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
}
.steps li::before {
    content: counter(step);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--brand);
    font-weight: 900;
}
.faq-list { display: grid; gap: 14px; }
.faq-item h3 { color: #111; }
.site-footer {
    background: #202020;
    color: #fff;
    padding: 42px 0 22px;
}
.footer-grid {
    display: grid;
    gap: 24px;
}
.footer-brand { font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.site-footer p, .site-footer a { color: #d6d6d6; font-size: 14px; }
.site-footer a { display: block; margin: 7px 0; }
.site-footer h3 { color: #fff; font-size: 16px; }
.footer-notice { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 18px; }
@media (min-width: 640px) {
    h1 { font-size: 40px; }
    .category-grid, .service-grid, .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 920px) {
    .mobile-topbar, .mobile-nav { display: none !important; }
    .desktop-topbar {
        min-height: 76px;
        display: flex;
        align-items: center;
        gap: 24px;
    }
    .desktop-logo img { max-height: 42px; width: auto; }
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 22px;
        flex: 1;
        justify-content: center;
        white-space: nowrap;
    }
    .desktop-nav a { color: #333; font-size: 15px; font-weight: 700; padding: 26px 0; border-bottom: 2px solid transparent; }
    .desktop-nav a.active, .desktop-nav a:hover { color: var(--brand); border-bottom-color: var(--brand); }
    .desktop-action { min-width: 78px; height: 38px; }
    .hero { padding: 58px 0 70px; }
    .hero-grid { grid-template-columns: .92fr 1.08fr; }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .split { grid-template-columns: 1fr 1fr; }
    .split.reverse .split-media { order: 2; }
    .page-layout { grid-template-columns: 1.2fr .8fr; align-items: start; }
    .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
}
@media (min-width: 1120px) {
    h1 { font-size: 48px; }
    .hero-copy .lead { font-size: 18px; }
}
