* {
    box-sizing: border-box;
}

:root {
    --brand: rgb(213, 5, 5);
    --brand-dark: rgb(180, 4, 4);
    --brand-soft: rgba(213, 5, 5, 0.08);
    --text: #161616;
    --muted: #666;
    --light: #f5f6f8;
    --line: #e8e8e8;
    --white: #fff;
    --shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    --radius: 18px;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.7;
    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 {
    position: relative;
    z-index: 20;
}

.desktop-topbar,
.desktop-header {
    display: none;
}

.mobile-header {
    background: var(--white);
    border-bottom: 3px solid var(--brand-dark);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.mobile-header-row {
    height: 62px;
    display: grid;
    grid-template-columns: 74px 1fr 80px;
    align-items: center;
    padding: 0 14px;
}

.menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.menu-button {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    cursor: pointer;
    border: 1px solid var(--line);
    background: #fff;
}

.menu-button span {
    height: 2px;
    background: var(--brand-dark);
    border-radius: 99px;
}

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

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

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

.top-action {
    min-height: 38px;
    padding: 0 15px;
    font-size: 14px;
}

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

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

.mobile-nav {
    display: none;
    background: var(--brand-dark);
    padding: 8px 14px 16px;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.menu-toggle:checked ~ .mobile-nav {
    display: grid;
}

.mobile-nav a {
    color: var(--white);
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.mobile-nav a.active {
    background: var(--white);
    color: var(--brand-dark);
    font-weight: 700;
}

.section {
    padding: 48px 0;
}

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

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

.eyebrow {
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

h1,
h2,
h3 {
    line-height: 1.28;
    margin: 0 0 14px;
}

h1 {
    font-size: clamp(32px, 8vw, 58px);
}

h2 {
    font-size: clamp(24px, 5vw, 36px);
}

h3 {
    font-size: 20px;
}

p {
    margin: 0 0 14px;
    color: var(--muted);
}

.official-hero,
.sports-hero {
    background: linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
    padding: 34px 0 44px;
}

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

.hero-copy {
    background: var(--white);
    border-radius: 26px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(213, 5, 5, 0.08);
}

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

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

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

.hero-visual {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--brand-soft);
    min-height: 260px;
}

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

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-tags span,
.tag-row span,
.red-tag {
    color: var(--brand);
    background: var(--brand-soft);
    border: 1px solid rgba(213, 5, 5, 0.16);
    padding: 6px 11px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}

.category-navigation-section {
    background: var(--white);
}

.category-main-grid {
    display: grid;
    gap: 16px;
}

.category-main-card,
.category-sub-card,
.focus-card,
.info-panel,
.info-item,
.data-card,
.security-card,
.faq-item,
.content-card,
.notice-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.category-main-card {
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.category-main-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -42px;
    top: -48px;
    border-radius: 50%;
    background: rgba(213, 5, 5, 0.08);
}

.category-main-card h3,
.category-sub-card h3,
.focus-card h3 {
    color: #151515;
}

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

.category-sub-grid {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.category-sub-card {
    padding: 18px;
}

.focus-match-cards {
    background: var(--light);
}

.focus-grid {
    display: grid;
    gap: 16px;
}

.focus-card {
    padding: 20px;
}

.focus-card .red-tag {
    display: inline-flex;
    margin-bottom: 12px;
}

.info-split-section {
    background: var(--white);
}

.info-split-grid {
    display: grid;
    gap: 20px;
}

.info-panel {
    padding: 22px;
}

.info-panel.with-image {
    overflow: hidden;
}

.info-panel.with-image img {
    border-radius: 16px;
    margin-top: 16px;
    width: 100%;
    max-height: 230px;
    object-fit: cover;
}

.info-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.info-item {
    box-shadow: none;
    padding: 16px;
    background: #fafafa;
}

.sports-showcase,
.score-data-section,
.app-showcase,
.official-entry-section {
    background: var(--white);
}

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

.showcase-image,
.score-image,
.app-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--brand-soft);
}

.showcase-image img,
.score-image img,
.app-image img {
    width: 100%;
    min-height: 230px;
    object-fit: cover;
}

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

.check-list li,
.note-list li {
    position: relative;
    padding-left: 24px;
    color: #333;
}

.check-list li::before,
.note-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    position: absolute;
    left: 4px;
    top: 11px;
}

.data-cards {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.data-card {
    padding: 18px;
    border-left: 4px solid var(--brand);
}

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

.score-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 {
    border-bottom: 0;
}

.score-row strong {
    color: var(--text);
}

.score-row span {
    color: var(--brand);
    font-weight: 800;
}

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

.security-grid {
    display: grid;
    gap: 16px;
}

.security-card {
    padding: 20px;
}

.responsible-play-section {
    background: var(--white);
}

.responsible-box {
    background: #fafafa;
    border-left: 5px solid var(--brand);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

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

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

.faq-item {
    padding: 18px;
}

.cta-section {
    padding: 44px 0;
    background: linear-gradient(135deg, rgba(213, 5, 5, 0.08), rgba(255, 255, 255, 0.95));
}

.cta-box {
    background: var(--white);
    border-radius: 24px;
    padding: 26px;
    display: grid;
    gap: 18px;
    align-items: center;
    border: 1px solid rgba(213, 5, 5, 0.12);
    box-shadow: var(--shadow);
}

.page-hero {
    background: linear-gradient(180deg, #fff 0%, #f6f6f7 100%);
    padding: 42px 0 28px;
}

.page-hero-card {
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 28px;
    border: 1px solid rgba(213, 5, 5, 0.1);
}

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

.content-card {
    padding: 22px;
}

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

.two-col {
    display: grid;
    gap: 18px;
}

.three-col {
    display: grid;
    gap: 18px;
}

.link-grid {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.link-grid a {
    background: #fafafa;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 15px;
    color: var(--brand);
    font-weight: 800;
}

.step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 12px;
}

.step-list li {
    counter-increment: step;
    padding: 16px 16px 16px 52px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    position: relative;
    color: #333;
}

.step-list li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 17px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
}

.site-footer {
    background: #151515;
    color: #fff;
}

.footer-grid {
    padding: 38px 0 28px;
    display: grid;
    gap: 24px;
}

.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 14px;
}

.site-footer h3 {
    color: #fff;
    font-size: 17px;
}

.site-footer p,
.site-footer span {
    color: #c8c8c8;
    font-size: 14px;
}

.site-footer a {
    display: block;
    color: #e9e9e9;
    margin: 8px 0;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    display: grid;
    gap: 6px;
    padding: 16px 0;
}

@media (min-width: 680px) {
    .category-main-grid,
    .focus-grid,
    .security-grid,
    .three-col,
    .data-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta-box {
        grid-template-columns: 1fr auto;
    }
}

@media (min-width: 920px) {
    .mobile-header {
        display: none;
    }

    .desktop-topbar {
        display: block;
        background: var(--brand-dark);
        color: #fff;
        font-size: 13px;
    }

    .topbar-inner {
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .desktop-header {
        display: block;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
        position: sticky;
        top: 0;
        z-index: 50;
    }

    .desktop-header-inner {
        height: 76px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 28px;
    }

    .desktop-logo img {
        height: 46px;
        width: auto;
    }

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

    .desktop-nav a {
        padding: 11px 13px;
        border-radius: 999px;
        color: #333;
        font-weight: 700;
        font-size: 15px;
    }

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

    .header-tools {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .search-icon {
        width: 24px;
        height: 24px;
        display: inline-block;
        border: 2px solid var(--brand-dark);
        border-radius: 50%;
        position: relative;
    }

    .search-icon::after {
        content: "";
        width: 9px;
        height: 2px;
        background: var(--brand-dark);
        transform: rotate(45deg);
        position: absolute;
        right: -7px;
        bottom: 0;
        border-radius: 99px;
    }

    .official-hero,
    .sports-hero {
        padding: 56px 0 58px;
    }

    .hero-grid,
    .showcase-grid,
    .score-grid,
    .app-grid,
    .entry-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 40px;
    }

    .hero-copy {
        padding: 42px;
    }

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

    .category-main-card {
        min-height: 285px;
        padding: 24px;
    }

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

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

    .info-split-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .page-content-grid {
        grid-template-columns: 0.95fr 1.05fr;
    }

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

    .footer-bottom-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .section {
        padding: 66px 0;
    }
}

@media (min-width: 1120px) {
    .desktop-nav a {
        padding: 12px 16px;
    }
}
