:root {
    --primary: rgb(213, 5, 5);
    --primary-dark: rgb(176, 0, 0);
    --text: #191919;
    --muted: #666666;
    --light: #f5f6f8;
    --line: #e8e8e8;
    --white: #ffffff;
    --black: #000000;
    --radius: 18px;
    --shadow: 0 12px 30px rgba(20, 20, 20, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    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% - 28px));
    margin: 0 auto;
}

.site-header {
    background: var(--white);
    position: relative;
    z-index: 10;
}

.top-red-bar {
    display: none;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
}

.bar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.desktop-header {
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.mobile-header {
    height: 62px;
    background: var(--white);
    display: grid;
    grid-template-columns: 56px 1fr 78px;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
}

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

.menu-toggle span {
    display: block;
    height: 2px;
    width: 24px;
    background: var(--black);
    border-radius: 2px;
}

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

.mobile-logo img {
    height: 38px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.mobile-action,
.top-action,
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px rgba(213, 5, 5, 0.18);
    transition: 0.2s ease;
}

.mobile-action {
    height: 34px;
    padding: 0 15px;
    font-size: 14px;
}

.top-action {
    height: 40px;
    padding: 0 22px;
    white-space: nowrap;
}

.main-btn {
    min-height: 46px;
    padding: 0 26px;
}

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

.mobile-nav {
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 10px 14px 16px;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mobile-nav.open {
    display: grid;
}

.mobile-nav a {
    background: var(--light);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 15px;
    color: #333;
}

.brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.search-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #d8d8d8;
    display: inline-block;
    position: relative;
    flex: 0 0 auto;
}

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

.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.desktop-nav a {
    padding: 8px 13px;
    border-radius: 999px;
    color: #333;
    font-size: 15px;
    white-space: nowrap;
    transition: 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background: var(--primary);
    color: var(--white);
}

.section {
    padding: 54px 0;
}

.section.compact {
    padding: 36px 0;
}

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

.section-title {
    margin: 0 0 16px;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.section-subtitle {
    margin: 0 auto 28px;
    color: var(--muted);
    max-width: 760px;
    font-size: 16px;
}

.center {
    text-align: center;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    color: var(--primary);
    background: rgba(213, 5, 5, 0.08);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero {
    background: var(--white);
}

.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
}

.slides {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #f2f2f2;
}

.slide-caption {
    position: relative;
    padding: 22px 18px 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,1));
}

.slide-caption h1,
.slide-caption h2 {
    margin: 0 0 10px;
    line-height: 1.2;
    font-size: clamp(28px, 6vw, 50px);
}

.slide-caption p {
    margin: 0 0 18px;
    color: #4d4d4d;
}

.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}

.slider-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.75);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
    cursor: pointer;
}

.slider-dot.active {
    width: 24px;
    border-radius: 999px;
    background: var(--primary);
}

.slider-arrow {
    display: none;
    position: absolute;
    top: 45%;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.86);
    color: var(--primary);
    font-size: 24px;
    cursor: pointer;
    z-index: 4;
}

.slider-prev {
    left: 18px;
}

.slider-next {
    right: 18px;
}

.hero-note {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.hero-note .container {
    padding: 16px 0;
    color: #555;
    font-size: 15px;
}

.category-grid,
.service-grid,
.focus-grid,
.security-grid,
.data-cards,
.related-grid,
.points-grid,
.faq-grid {
    display: grid;
    gap: 16px;
}

.category-grid {
    grid-template-columns: 1fr;
}

.sports-card,
.focus-card,
.service-card,
.score-card,
.info-card,
.security-card,
.faq-item,
.related-card,
.notice-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 8px 22px rgba(12, 12, 12, 0.04);
}

.sports-card h3,
.focus-card h3,
.service-card h3,
.score-card h3,
.info-card h3,
.security-card h3,
.faq-item h3,
.related-card h3,
.notice-card h3 {
    margin: 8px 0 10px;
    line-height: 1.35;
}

.sports-card p,
.focus-card p,
.service-card p,
.score-card p,
.info-card p,
.security-card p,
.faq-item p,
.related-card p,
.notice-card p {
    margin: 0;
    color: #575757;
}

.card-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 700;
}

.status-tag {
    display: inline-flex;
    color: var(--white);
    background: var(--primary);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
}

.outline-tag {
    display: inline-flex;
    color: var(--primary);
    background: rgba(213, 5, 5, 0.08);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.split {
    display: grid;
    gap: 26px;
    align-items: center;
}

.split-image img,
.app-image img {
    width: 100%;
    border-radius: 22px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.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: 25px;
    color: #444;
}

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

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

.match-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px dashed #dddddd;
}

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

.team {
    font-weight: 700;
}

.score {
    color: var(--primary);
    font-weight: 800;
    font-size: 20px;
}

.app-showcase,
.platform-info,
.responsible-box,
.cta-box,
.inner-hero,
.download-panel {
    border-radius: 26px;
    padding: 28px;
    background: var(--light);
}

.app-showcase {
    display: grid;
    gap: 24px;
    align-items: center;
}

.platform-columns {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.security-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.responsible-box {
    border: 1px solid rgba(213,5,5,0.15);
    background: #fff7f7;
}

.cta-box {
    text-align: center;
    background: var(--primary);
    color: var(--white);
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    margin: 0 auto 20px;
    max-width: 720px;
}

.cta-box .main-btn {
    background: var(--white);
    color: var(--primary);
    box-shadow: none;
}

.inner-hero {
    background: linear-gradient(135deg, rgba(213,5,5,0.09), #ffffff 62%);
    border: 1px solid rgba(213,5,5,0.12);
    margin: 26px auto 0;
}

.inner-hero h1 {
    margin: 10px 0 14px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.22;
}

.inner-hero p {
    color: #4e4e4e;
    max-width: 880px;
    margin: 0;
}

.content-block {
    max-width: 900px;
}

.content-block p {
    color: #4f4f4f;
}

.info-list {
    display: grid;
    gap: 14px;
    margin: 22px 0;
}

.info-list li {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
    list-style: none;
}

.info-list strong {
    color: var(--primary);
}

.breadcrumb {
    color: #777;
    font-size: 14px;
}

.download-steps {
    counter-reset: step;
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 24px 0;
}

.download-steps li {
    counter-increment: step;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 18px 18px 56px;
    position: relative;
}

.download-steps li:before {
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.site-footer {
    background: #1c1c1c;
    color: #ffffff;
    padding: 44px 0 22px;
}

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

.footer-brand img {
    height: 46px;
    margin-bottom: 14px;
}

.footer-brand p,
.footer-note p {
    color: rgba(255,255,255,0.72);
    margin: 0;
}

.footer-col {
    display: grid;
    gap: 8px;
    align-content: start;
}

.footer-col h3 {
    margin: 0 0 8px;
}

.footer-col a {
    color: rgba(255,255,255,0.72);
}

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

.footer-note {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: grid;
    gap: 8px;
    font-size: 13px;
}

@media (min-width: 640px) {
    .category-grid,
    .service-grid,
    .data-cards,
    .related-grid,
    .points-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (min-width: 900px) {
    .top-red-bar,
    .desktop-header {
        display: block;
    }

    .mobile-header,
    .mobile-nav {
        display: none !important;
    }

    .slide img {
        height: 430px;
        object-fit: cover;
    }

    .slide-caption {
        position: absolute;
        left: calc((100% - min(1180px, calc(100% - 28px))) / 2);
        top: 50%;
        transform: translateY(-50%);
        max-width: 520px;
        padding: 28px;
        border-radius: 24px;
        box-shadow: 0 14px 34px rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.92);
    }

    .slider-arrow {
        display: block;
    }

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

    .focus-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .split,
    .app-showcase {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .split.reverse {
        grid-template-columns: 0.95fr 1.05fr;
    }

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

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

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1120px) {
    .desktop-nav a {
        padding: 8px 15px;
        font-size: 16px;
    }

    .slide img {
        height: 500px;
    }
}
