* {
    box-sizing: border-box;
}

:root {
    --brand: rgb(213, 5, 5);
    --brand-dark: rgb(176, 0, 0);
    --text: #171717;
    --muted: #666;
    --light: #f6f6f6;
    --line: #e9e9e9;
    --card: #fff;
    --dark: #252525;
    --radius: 18px;
    --shadow: 0 12px 34px rgba(0, 0, 0, .07);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "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%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.mobile-topbar {
    height: 60px;
    display: grid;
    grid-template-columns: 48px 1fr 74px;
    align-items: center;
    padding: 0 12px;
    background: #fff;
}

.menu-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    border-radius: 8px;
    background: #161616;
}

.mobile-logo {
    justify-self: center;
}

.mobile-logo img {
    max-height: 34px;
    width: auto;
}

.top-action,
.main-btn {
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(213, 5, 5, .18);
    transition: all .2s ease;
}

.top-action {
    min-width: 64px;
    height: 34px;
    padding: 0 14px;
    font-size: 14px;
}

.top-action:hover,
.main-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.desktop-topbar {
    height: 76px;
    display: none;
    align-items: center;
    gap: 26px;
}

.brand img {
    max-height: 42px;
    width: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex: 1;
    white-space: nowrap;
}

.desktop-nav a {
    font-size: 15px;
    font-weight: 650;
    color: #333;
    padding: 24px 0;
    position: relative;
}

.desktop-nav a::after {
    content: "";
    width: 0;
    height: 3px;
    border-radius: 5px;
    background: var(--brand);
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    transition: width .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a.active,
.mobile-nav a:hover {
    color: var(--brand);
}

.desktop-nav a.active::after,
.desktop-nav a:hover::after {
    width: 24px;
}

.search-icon {
    width: 20px;
    height: 20px;
    border: 2px solid #2f2f2f;
    border-radius: 50%;
    position: relative;
    flex: 0 0 auto;
}

.search-icon::after {
    content: "";
    width: 8px;
    height: 2px;
    background: #2f2f2f;
    transform: rotate(45deg);
    position: absolute;
    right: -6px;
    bottom: -3px;
    border-radius: 4px;
}

.mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 8px 14px 14px;
}

.mobile-nav.open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mobile-nav a {
    padding: 11px 12px;
    background: var(--light);
    border-radius: 12px;
    font-weight: 650;
    color: #222;
}

.section {
    padding: 54px 0;
}

.section-gray {
    background: var(--light);
}

.section-title {
    margin-bottom: 26px;
}

.badge,
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(213, 5, 5, .08);
    color: var(--brand);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .03em;
}

.section-title h2,
.page-title h1,
.hero-copy h1 {
    margin: 12px 0 12px;
    line-height: 1.18;
    color: #111;
}

.section-title h2 {
    font-size: clamp(26px, 4vw, 42px);
}

.section-title p,
.page-title p,
.hero-copy p {
    color: var(--muted);
    margin: 0;
    max-width: 780px;
}

.main-btn {
    min-height: 46px;
    padding: 0 24px;
    font-size: 16px;
}

.ghost-link,
.card-link {
    color: var(--brand);
    font-weight: 800;
}

.sports-hero,
.home-hero {
    background: linear-gradient(180deg, #fff, #fafafa);
}

.home-hero {
    padding: 30px 0 46px;
}

.hero-wrap {
    display: grid;
    gap: 28px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(32px, 7vw, 58px);
    letter-spacing: -.04em;
}

.hero-copy p {
    font-size: 17px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.hero-note {
    color: #555;
    font-size: 14px;
}

.hero-media {
    border-radius: 24px;
    overflow: hidden;
    min-height: 240px;
    background: #f1f1f1;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.hero-panel {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, .94);
    border-radius: 18px;
    padding: 14px;
    display: grid;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.hero-panel-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-weight: 800;
}

.hero-panel-row span:last-child {
    color: var(--brand);
}

.banner-section {
    border-radius: 24px;
    overflow: hidden;
    background: #f2f2f2;
}

.category-grid,
.service-grid,
.score-grid,
.data-grid,
.security-grid,
.faq-grid,
.feature-grid,
.page-card-grid,
.steps-grid {
    display: grid;
    gap: 16px;
}

.category-grid {
    grid-template-columns: repeat(2, 1fr);
}

.sports-card,
.service-card,
.score-card,
.data-card,
.security-card,
.faq-item,
.info-card,
.step-card,
.contact-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .04);
}

.sports-card h3,
.service-card h3,
.score-card h3,
.data-card h3,
.security-card h3,
.info-card h3,
.step-card h3,
.contact-card h3 {
    margin: 0 0 10px;
    color: #141414;
    line-height: 1.35;
}

.sports-card p,
.service-card p,
.score-card p,
.data-card p,
.security-card p,
.info-card p,
.step-card p,
.contact-card p,
.faq-item p {
    margin: 0;
    color: #666;
}

.sports-card .card-link {
    display: inline-block;
    margin-top: 14px;
}

.service-tag,
.status-tag {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(213, 5, 5, .08);
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.split-layout,
.app-showcase,
.security-section,
.responsible-box {
    display: grid;
    gap: 28px;
    align-items: center;
}

.split-media,
.app-media {
    border-radius: 24px;
    overflow: hidden;
    background: #f1f1f1;
    box-shadow: var(--shadow);
}

.split-media img,
.app-media img {
    width: 100%;
    min-height: 260px;
    object-fit: cover;
}

.check-list,
.clean-list,
.warning-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.check-list li,
.clean-list li,
.warning-list li {
    padding-left: 26px;
    position: relative;
    color: #555;
}

.check-list li::before,
.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
}

.warning-list li::before {
    content: "!";
    position: absolute;
    left: 0;
    top: .15em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(213, 5, 5, .1);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.score-panel,
.data-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.score-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.score-match:last-child {
    border-bottom: 0;
}

.team {
    font-weight: 800;
}

.score-number {
    color: var(--brand);
    font-size: 22px;
    font-weight: 900;
}

.data-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.data-row:last-child {
    border-bottom: 0;
}

.data-row strong {
    color: var(--brand);
}

.security-section {
    grid-template-columns: 1fr;
}

.responsible-box {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--brand);
    border-radius: 24px;
    padding: 24px;
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.cta-section {
    padding: 56px 0;
    background: var(--brand);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(26px, 5vw, 42px);
    margin: 0 0 12px;
}

.cta-section p {
    margin: 0 auto 24px;
    max-width: 760px;
    color: rgba(255, 255, 255, .9);
}

.cta-section .main-btn {
    background: #fff;
    color: var(--brand);
    box-shadow: none;
}

.cta-section .main-btn:hover {
    background: #f5f5f5;
}

.page-hero {
    padding: 44px 0 34px;
    background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
    border-bottom: 1px solid var(--line);
}

.page-title h1 {
    font-size: clamp(32px, 6vw, 52px);
}

.content-block {
    display: grid;
    gap: 18px;
}

.content-block p {
    margin: 0;
    color: #555;
}

.highlight-box,
.notice-box {
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 22px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .04);
}

.highlight-box {
    border-left: 5px solid var(--brand);
}

.notice-box {
    background: #fff8f8;
    border-color: rgba(213, 5, 5, .18);
}

.download-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
    box-shadow: var(--shadow);
    text-align: center;
}

.download-panel .main-btn {
    margin-top: 18px;
}

.site-footer {
    background: #181818;
    color: #d9d9d9;
    padding-top: 48px;
}

.footer-grid {
    display: grid;
    gap: 28px;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
    background: #fff;
    border-radius: 12px;
    padding: 5px;
}

.site-footer h3 {
    color: #fff;
    margin: 0 0 12px;
}

.site-footer a {
    display: block;
    color: #d9d9d9;
    margin: 6px 0;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer p {
    color: #bdbdbd;
    margin: 14px 0 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 32px;
    padding: 18px 0;
    font-size: 13px;
}

@media (min-width: 640px) {
    .category-grid,
    .service-grid,
    .score-grid,
    .data-grid,
    .security-grid,
    .faq-grid,
    .feature-grid,
    .page-card-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 920px) {
    .mobile-topbar,
    .mobile-nav {
        display: none !important;
    }

    .desktop-topbar {
        display: flex;
    }

    .home-hero {
        padding: 62px 0 76px;
    }

    .hero-wrap,
    .split-layout,
    .app-showcase,
    .responsible-box {
        grid-template-columns: 1.05fr .95fr;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-grid,
    .security-grid,
    .feature-grid,
    .page-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .score-grid,
    .data-grid,
    .faq-grid,
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.4fr .8fr .8fr .8fr;
    }

    .section {
        padding: 76px 0;
    }
}

@media (max-width: 420px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .sports-card,
    .service-card,
    .score-card,
    .data-card,
    .security-card,
    .faq-item,
    .info-card,
    .step-card,
    .contact-card {
        padding: 17px;
    }

    .score-match {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
