* {
    box-sizing: border-box;
}

:root {
    --brand: rgb(213, 5, 5);
    --brand-dark: rgb(170, 0, 0);
    --white: #ffffff;
    --light: #f6f6f6;
    --line: #e8e8e8;
    --gray: #666666;
    --dark: #1e1e1e;
    --black: #000000;
    --radius: 18px;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.72;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 14px;
    color: #4c4c4c;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.25;
    color: var(--black);
}

h1 {
    font-size: 30px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

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

.site-header {
    position: relative;
    z-index: 20;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.mobile-top {
    height: 60px;
    display: grid;
    grid-template-columns: 68px 1fr 78px;
    align-items: center;
    padding: 0 12px;
    background: var(--white);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    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;
    background: var(--dark);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-logo {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo img,
.desktop-logo img,
.footer-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.top-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--brand);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(213, 5, 5, 0.18);
}

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

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

.mobile-nav.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mobile-nav-link {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafafa;
    font-size: 14px;
    text-align: center;
}

.mobile-nav-link.active {
    color: var(--brand);
    border-color: rgba(213, 5, 5, .28);
    background: rgba(213, 5, 5, .06);
    font-weight: 700;
}

.desktop-top {
    display: none;
}

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

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

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--brand);
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(213, 5, 5, .22);
    transition: background .2s ease, transform .2s ease;
}

.main-btn:hover {
    transform: translateY(-1px);
}

.section {
    padding: 54px 0;
}

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

.section-title {
    max-width: 760px;
    margin-bottom: 24px;
}

.section-title p {
    margin-top: 10px;
}

.badge,
.page-badge,
.card-tag,
.status-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(213, 5, 5, .08);
    color: var(--brand);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 12px;
}

.sports-hero,
.page-hero {
    background: linear-gradient(180deg, #fff 0%, #f9f9f9 100%);
}

.hero-grid {
    display: grid;
    gap: 28px;
    align-items: center;
    padding: 30px 0 48px;
}

.hero-copy p {
    font-size: 16px;
    margin: 16px 0 22px;
}

.hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
}

.hero-points span {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: #333;
    font-weight: 700;
}

.banner-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--black);
    box-shadow: var(--shadow);
}

.banner-card img {
    width: 100%;
    min-height: 250px;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255,255,255,.72);
}

.banner-section {
    padding: 0 0 34px;
}

.category-grid,
.service-grid,
.card-grid,
.faq-grid,
.steps-grid,
.footer-grid {
    display: grid;
    gap: 16px;
}

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

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

.sports-card:hover,
.service-card:hover,
.info-card:hover {
    border-color: rgba(213, 5, 5, .28);
    transform: translateY(-2px);
    transition: all .2s ease;
}

.card-link {
    color: var(--brand);
    font-weight: 800;
    display: inline-flex;
    margin-top: 6px;
}

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

.split-layout img,
.app-showcase img {
    border-radius: 22px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.score-panel {
    display: grid;
    gap: 14px;
}

.score-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.team {
    font-weight: 800;
    color: #222;
}

.score {
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--brand);
    color: var(--white);
    font-weight: 900;
}

.status-tag {
    margin: 0;
    justify-self: start;
}

.data-panel ul,
.check-list,
.notice-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.data-panel li,
.check-list li,
.notice-list li {
    padding-left: 22px;
    position: relative;
    color: #4c4c4c;
}

.data-panel li::before,
.check-list li::before,
.notice-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    position: absolute;
    left: 0;
    top: 12px;
}

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

.security-section {
    background: #fff;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.responsible-play-section {
    background: #fff7f7;
    border-top: 1px solid rgba(213, 5, 5, .12);
    border-bottom: 1px solid rgba(213, 5, 5, .12);
}

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

.faq-item summary {
    cursor: pointer;
    font-weight: 900;
    color: #111;
}

.faq-item p {
    margin-top: 12px;
}

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

.cta-section h2,
.cta-section p {
    color: var(--white);
}

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

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

.page-hero .container {
    padding: 38px 0;
}

.page-hero p {
    max-width: 760px;
    margin-top: 14px;
    font-size: 16px;
}

.page-content {
    padding: 48px 0;
}

.content-grid {
    display: grid;
    gap: 20px;
}

.article-block {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
}

.article-block + .article-block {
    margin-top: 18px;
}

.list-card {
    padding: 0;
    overflow: hidden;
}

.list-card li {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    color: #444;
}

.list-card li:last-child {
    border-bottom: 0;
}

.site-footer {
    background: #111;
    color: #f5f5f5;
    padding-top: 42px;
}

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

.site-footer p,
.site-footer a {
    color: #cfcfcf;
}

.site-footer a {
    display: block;
    margin: 8px 0;
}

.site-footer h3 {
    color: #fff;
}

.footer-logo img {
    background: #fff;
    border-radius: 10px;
    padding: 4px 8px;
    margin-bottom: 14px;
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    text-align: center;
    margin-top: 28px;
    padding: 18px 16px;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

@media (min-width: 640px) {
    h1 {
        font-size: 40px;
    }

    .category-grid,
    .service-grid,
    .card-grid,
    .faq-grid,
    .steps-grid,
    .security-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-points {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    .desktop-top {
        height: 76px;
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .desktop-logo img {
        height: 42px;
    }

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

    .nav-link {
        font-size: 15px;
        font-weight: 700;
        color: #2f2f2f;
        padding: 26px 0;
        border-bottom: 3px solid transparent;
    }

    .nav-link.active,
    .nav-link:hover {
        color: var(--brand);
        border-bottom-color: var(--brand);
    }

    .hero-grid {
        grid-template-columns: .94fr 1.06fr;
        padding: 56px 0 70px;
    }

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

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

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

    .split-layout,
    .app-showcase,
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .score-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .section {
        padding: 76px 0;
    }

    .page-hero .container {
        padding: 64px 0;
    }
}

@media (min-width: 1180px) {
    h1 {
        font-size: 48px;
    }
}
