* {
    box-sizing: border-box;
}
:root {
    --primary: rgb(213, 5, 5);
    --primary-dark: rgb(170, 0, 0);
    --white: #ffffff;
    --light: #f6f6f6;
    --soft: #eeeeee;
    --gray: #666666;
    --deep: #222222;
    --black: #111111;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--deep);
    background: var(--white);
    line-height: 1.75;
    overflow-x: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--soft);
    position: sticky;
    top: 0;
    z-index: 50;
}
.mobile-header {
    height: 58px;
    display: grid;
    grid-template-columns: 54px 1fr 86px;
    align-items: center;
    padding: 0 12px;
    position: relative;
    background: var(--white);
}
.desktop-header {
    display: none;
}
.logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
}
.mobile-logo {
    justify-self: center;
}
.menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--soft);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    cursor: pointer;
    background: var(--white);
}
.menu-button span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: var(--black);
}
.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.mobile-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 64px;
    background: var(--white);
    border: 1px solid var(--soft);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
}
.mobile-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--deep);
    font-weight: 600;
}
.mobile-nav a.active,
.mobile-nav a:hover {
    color: var(--primary);
    background: rgba(213, 5, 5, 0.06);
}
.nav-toggle:checked ~ .mobile-nav {
    display: block;
}
.top-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 999px;
    min-height: 36px;
    padding: 0 18px;
    font-weight: 700;
    transition: 0.2s ease;
    white-space: nowrap;
}
.top-action:hover,
.main-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}
.search-icon {
    width: 38px;
    height: 38px;
    border: 1px solid var(--soft);
    border-radius: 50%;
    position: relative;
    display: inline-flex;
}
.search-icon::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--deep);
    border-radius: 50%;
    left: 10px;
    top: 9px;
}
.search-icon::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 2px;
    background: var(--deep);
    transform: rotate(45deg);
    left: 22px;
    top: 23px;
    border-radius: 999px;
}
.section,
.official-hero,
.page-hero {
    padding: 54px 18px;
}
.container,
.hero-inner,
.footer-inner,
.header-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}
.official-hero,
.sports-hero {
    background:
        radial-gradient(circle at 84% 10%, rgba(213, 5, 5, 0.13), transparent 30%),
        linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
}
.hero-inner {
    display: grid;
    gap: 30px;
    align-items: center;
}
.eyebrow,
.card-tag,
.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    background: rgba(213, 5, 5, 0.08);
    border: 1px solid rgba(213, 5, 5, 0.16);
    border-radius: 999px;
    padding: 5px 12px;
    font-weight: 700;
    font-size: 13px;
}
h1,
h2,
h3 {
    margin: 0 0 14px;
    color: var(--black);
    line-height: 1.25;
}
h1 {
    font-size: clamp(32px, 8vw, 58px);
    letter-spacing: -1px;
}
h2 {
    font-size: clamp(26px, 5vw, 40px);
}
h3 {
    font-size: 20px;
}
p {
    margin: 0 0 16px;
    color: var(--gray);
}
.hero-text {
    font-size: 17px;
    color: #4a4a4a;
}
.hero-tags,
.inline-links,
.feature-list,
.notice-list,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-tags span,
.feature-list span {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--soft);
    color: var(--deep);
    font-weight: 600;
}
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 999px;
    min-height: 46px;
    padding: 0 28px;
    font-weight: 800;
    margin-top: 8px;
    transition: 0.2s ease;
}
.secondary-link,
.card-link {
    color: var(--primary);
    font-weight: 800;
}
.hero-media,
.image-card {
    background: var(--white);
    border: 1px solid var(--soft);
    border-radius: 26px;
    padding: 12px;
    box-shadow: var(--shadow);
}
.hero-media img,
.image-card img {
    border-radius: 20px;
    min-height: 220px;
    object-fit: cover;
}
.section-head {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}
.category-grid,
.service-grid,
.security-grid,
.info-grid,
.score-grid,
.related-grid,
.faq-grid {
    display: grid;
    gap: 18px;
}
.category-grid {
    grid-template-columns: 1fr;
}
.sports-card,
.service-card,
.score-panel,
.data-panel,
.info-card,
.security-card,
.faq-item,
.notice-card {
    background: var(--white);
    border: 1px solid var(--soft);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}
.sports-card {
    position: relative;
    overflow: hidden;
}
.sports-card::after {
    content: "";
    position: absolute;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(213, 5, 5, 0.08);
    right: -24px;
    top: -24px;
}
.service-card .card-tag,
.info-card .card-tag {
    margin-bottom: 12px;
}
.two-column,
.app-showcase,
.platform-info-section,
.security-section,
.responsible-play-section,
.data-panel {
    display: grid;
    gap: 26px;
    align-items: center;
}
.light-section {
    background: var(--light);
}
.score-panel {
    background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
}
.score-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--soft);
    padding: 12px 0;
}
.score-row:last-child {
    border-bottom: 0;
}
.score-row strong {
    color: var(--black);
}
.score-row span {
    color: var(--gray);
    font-size: 14px;
}
.data-mini {
    display: grid;
    gap: 14px;
}
.data-mini div {
    padding: 16px;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid var(--soft);
}
.app-showcase {
    background:
        linear-gradient(135deg, rgba(213, 5, 5, 0.09), rgba(213, 5, 5, 0.01)),
        #fff;
    border: 1px solid var(--soft);
    border-radius: 28px;
    padding: 24px;
}
.platform-info-section .info-card,
.security-section .security-card {
    height: 100%;
}
.notice-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
}
.notice-list li {
    padding: 12px 0 12px 18px;
    border-bottom: 1px solid var(--soft);
    position: relative;
    color: var(--gray);
}
.notice-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 23px;
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
}
.notice-list li:last-child {
    border-bottom: 0;
}
.responsible-play-section {
    background: #fff7f7;
    border: 1px solid rgba(213, 5, 5, 0.12);
    border-radius: 28px;
    padding: 26px;
}
.faq-item h3 {
    font-size: 18px;
}
.cta {
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(213, 5, 5, 0.14), transparent 32%),
        #f7f7f7;
    border-radius: 30px;
    padding: 38px 20px;
}
.page-hero {
    background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
    border-bottom: 1px solid var(--soft);
}
.page-hero .container {
    max-width: 980px;
}
.content-block {
    margin-bottom: 24px;
}
.related-grid a,
.inline-links a {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--light);
    color: var(--deep);
    font-weight: 700;
}
.related-grid a:hover,
.inline-links a:hover {
    color: var(--primary);
}
.steps {
    counter-reset: step;
    display: grid;
    gap: 16px;
    margin-top: 20px;
}
.step-card {
    background: var(--white);
    border: 1px solid var(--soft);
    border-radius: 20px;
    padding: 20px;
    position: relative;
}
.step-card::before {
    counter-increment: step;
    content: counter(step);
    width: 34px;
    height: 34px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 12px;
}
.site-footer {
    background: #161616;
    color: var(--white);
    padding: 42px 18px 18px;
}
.site-footer p,
.site-footer a,
.footer-bottom {
    color: #d5d5d5;
}
.footer-inner {
    display: grid;
    gap: 24px;
}
.footer-logo {
    height: 34px;
    width: auto;
    margin-bottom: 14px;
}
.footer-links a {
    padding: 8px 0;
}
.footer-reminder strong {
    color: var(--white);
}
.footer-bottom {
    max-width: 1180px;
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
}
@media (min-width: 720px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .service-grid,
    .security-grid,
    .info-grid,
    .score-grid,
    .faq-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .two-column,
    .app-showcase,
    .platform-info-section,
    .security-section,
    .responsible-play-section,
    .data-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .mobile-header {
        display: none;
    }
    .desktop-header {
        max-width: 1180px;
        height: 76px;
        margin: 0 auto;
        padding: 0 18px;
        display: grid;
        grid-template-columns: 160px 1fr auto;
        align-items: center;
        gap: 24px;
    }
    .desktop-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        font-weight: 700;
    }
    .desktop-nav a {
        color: var(--deep);
        position: relative;
        padding: 24px 0;
    }
    .desktop-nav a.active,
    .desktop-nav a:hover {
        color: var(--primary);
    }
    .desktop-nav a.active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 17px;
        height: 3px;
        border-radius: 999px;
        background: var(--primary);
    }
    .desktop-actions {
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .logo-img {
        height: 42px;
    }
    .section,
    .official-hero,
    .page-hero {
        padding: 76px 24px;
    }
    .hero-inner {
        grid-template-columns: 1.08fr 0.92fr;
        gap: 48px;
    }
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .score-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .footer-inner {
        grid-template-columns: 1.2fr 1fr 1.1fr;
        align-items: start;
    }
}
