:root {
    --main: rgb(213, 5, 5);
    --main-dark: rgb(172, 3, 3);
    --text: #1e1e1e;
    --muted: #666;
    --dark: #111;
    --light: #f6f6f6;
    --line: #e8e8e8;
    --card: #fff;
    --shadow: 0 12px 30px rgba(0,0,0,.08);
    --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", 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%; display: block; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.mobile-header {
    height: 62px;
    display: grid;
    grid-template-columns: 52px 1fr 76px;
    align-items: center;
    padding: 0 12px;
    background: #fff;
}
.menu-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f5f5f5;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
}
.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: #222;
    border-radius: 2px;
}
.mobile-logo { justify-self: center; display: flex; align-items: center; }
.mobile-logo img { max-height: 34px; width: auto; }
.top-action,
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--main);
    color: #fff;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(213,5,5,.18);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.top-action { height: 38px; padding: 0 15px; font-size: 14px; justify-self: end; }
.main-btn { min-height: 46px; padding: 0 24px; font-size: 16px; }
.top-action:hover,
.main-btn:hover { background: var(--main-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(213,5,5,.25); }
.mobile-nav {
    display: none;
    padding: 8px 12px 14px;
    background: #fff;
    border-top: 1px solid var(--line);
}
.mobile-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 12px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}
.nav-link.active { color: var(--main); background: rgba(213,5,5,.07); }
.desktop-header { display: none; }
.container,
.section-inner {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}
.section {
    padding: 54px 0;
}
.section.alt { background: var(--light); }
.section-head { margin-bottom: 24px; }
.section-kicker,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(213,5,5,.08);
    color: var(--main);
    font-size: 13px;
    font-weight: 700;
}
.section h2,
.page-section h2 { margin: 10px 0 10px; font-size: clamp(26px, 4vw, 38px); line-height: 1.25; }
.section-desc,
.page-summary { margin: 0; color: var(--muted); max-width: 760px; }
.sports-hero,
.page-hero {
    background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
    padding: 28px 0 54px;
}
.hero-grid {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 28px;
    align-items: center;
}
.hero-copy h1,
.page-hero h1 {
    margin: 12px 0 14px;
    font-size: clamp(34px, 7vw, 58px);
    line-height: 1.12;
    letter-spacing: -.02em;
    color: var(--dark);
}
.hero-copy p,
.page-hero p { color: #555; margin: 0 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { color: var(--muted); font-size: 14px; }
.hero-media {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #ddd;
    position: relative;
}
.hero-media::after {
    content: "赛事中心";
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(213,5,5,.92);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.category-grid,
.service-grid,
.cards-grid,
.score-grid,
.faq-grid,
.footer-links,
.tips-grid {
    display: grid;
    gap: 16px;
}
.category-grid { grid-template-columns: 1fr; }
.sports-card,
.service-card,
.data-card,
.info-card,
.faq-item,
.step-card,
.contact-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
}
.sports-card h3,
.service-card h3,
.data-card h3,
.info-card h3,
.faq-item h3,
.step-card h3 { margin: 0 0 8px; font-size: 20px; }
.sports-card p,
.service-card p,
.data-card p,
.info-card p,
.faq-item p,
.step-card p { margin: 0; color: var(--muted); }
.card-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--main);
    font-weight: 700;
}
.service-tag {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(213,5,5,.09);
    color: var(--main);
    font-size: 12px;
    font-weight: 700;
}
.image-text,
.app-showcase,
.security-section,
.responsible-box {
    display: grid;
    gap: 24px;
    align-items: center;
}
.image-panel,
.app-image {
    border-radius: 24px;
    overflow: hidden;
    background: #eee;
    box-shadow: var(--shadow);
}
.check-list,
.clean-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}
.check-list li,
.clean-list li {
    position: relative;
    padding-left: 26px;
    color: #444;
}
.check-list li::before,
.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--main);
}
.score-panel,
.data-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow);
}
.score-row,
.data-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.score-row:last-child,
.data-row:last-child { border-bottom: 0; }
.score-title { font-weight: 800; }
.score-meta,
.data-meta { color: var(--muted); font-size: 13px; }
.score-status {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f2f2f2;
    color: #333;
    font-size: 12px;
    font-weight: 700;
}
.score-status.live { background: rgba(213,5,5,.08); color: var(--main); }
.data-value { font-weight: 800; color: var(--main); }
.security-section { align-items: start; }
.security-list { display: grid; gap: 12px; }
.security-item {
    border-left: 4px solid var(--main);
    padding: 12px 14px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.responsible-box {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
}
.notice-box {
    border-radius: 18px;
    background: rgba(213,5,5,.07);
    border: 1px solid rgba(213,5,5,.16);
    padding: 18px;
    color: #3a3a3a;
}
.cta-section {
    padding: 46px 0;
    background: linear-gradient(135deg, rgba(213,5,5,.08), #f7f7f7);
}
.cta-box {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 34px 20px;
    box-shadow: var(--shadow);
}
.cta-box h2 { margin: 0 0 10px; font-size: clamp(26px, 5vw, 40px); }
.cta-box p { margin: 0 auto 22px; max-width: 700px; color: var(--muted); }
.page-hero { padding: 42px 0; }
.page-hero .container { display: grid; gap: 12px; }
.page-section { padding: 44px 0; }
.page-content { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.page-content p { color: #4f4f4f; margin: 0 0 16px; }
.info-grid { display: grid; gap: 16px; margin-top: 22px; }
.steps { counter-reset: step; display: grid; gap: 14px; margin: 24px 0; }
.step-card { position: relative; padding-left: 64px; }
.step-card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 22px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--main);
    color: #fff;
    font-weight: 800;
}
.site-footer {
    background: #151515;
    color: #fff;
    padding: 36px 0;
}
.footer-inner { width: min(1160px, calc(100% - 32px)); margin: 0 auto; display: grid; gap: 22px; }
.footer-brand p,
.footer-notice p { color: #c9c9c9; margin: 8px 0 0; }
.footer-links { grid-template-columns: 1fr 1fr; }
.footer-links a { color: #f2f2f2; font-weight: 600; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 560px) {
    .category-grid, .service-grid, .score-grid, .tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faq-grid, .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
    .hero-grid, .image-text, .app-showcase, .security-section, .responsible-box { grid-template-columns: 1fr 1fr; }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-grid, .cards-grid, .score-grid, .tips-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: 1.4fr 1fr 1.2fr; align-items: start; }
    .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
    .mobile-header, .mobile-nav { display: none !important; }
    .desktop-header {
        width: min(1180px, calc(100% - 32px));
        height: 76px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 160px 1fr 34px 88px;
        gap: 18px;
        align-items: center;
    }
    .brand img { max-height: 42px; width: auto; }
    .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; }
    .desktop-nav .nav-link { padding: 0 12px; min-height: 42px; white-space: nowrap; }
    .search-icon {
        width: 28px;
        height: 28px;
        position: relative;
        border: 2px solid #222;
        border-radius: 50%;
        justify-self: center;
    }
    .search-icon::after {
        content: "";
        width: 10px;
        height: 2px;
        background: #222;
        position: absolute;
        right: -7px;
        bottom: 2px;
        transform: rotate(45deg);
        border-radius: 2px;
    }
    .sports-hero { padding: 54px 0 76px; }
    .section { padding: 72px 0; }
}
@media (min-width: 1140px) {
    .desktop-nav .nav-link { padding: 0 15px; }
}
