* {
    box-sizing: border-box;
}

:root {
    --bg: #050505;
    --panel: #0B0B0D;
    --card: #111111;
    --header: #0F0F10;
    --footer: #090909;
    --red: #D50505;
    --red-hover: #B90404;
    --red-soft: #FF2A2A;
    --white: #FFFFFF;
    --text: #D6D6D6;
    --muted: #A8A8A8;
    --border: rgba(255,255,255,0.08);
    --red-border: rgba(213,5,5,0.32);
    --shadow: 0 20px 80px rgba(213,5,5,0.12);
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}

body.drawer-open {
    overflow: 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: linear-gradient(180deg, #151515 0%, #080808 100%);
    border-bottom: 1px solid rgba(213,5,5,0.36);
    box-shadow: 0 12px 34px rgba(0,0,0,0.45);
    position: sticky;
    top: 0;
    z-index: 50;
}

.mobile-header {
    height: 64px;
    display: grid;
    grid-template-columns: 56px 1fr 72px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
}

.desktop-header {
    display: none;
}

.logo img,
.mobile-logo img,
.drawer-logo img,
.footer-brand img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

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

.menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #111111;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 11px;
    cursor: pointer;
}

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

.top-action {
    background: var(--red);
    color: var(--white);
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 26px rgba(213,5,5,0.22);
    transition: background .2s ease, transform .2s ease;
    white-space: nowrap;
}

.top-action:hover,
.main-btn:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    opacity: 0;
    pointer-events: none;
    z-index: 80;
    transition: opacity .28s ease;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 320px);
    height: 100vh;
    background: #0F0F10;
    border-right: 1px solid var(--red-border);
    transform: translateX(-105%);
    transition: transform .3s ease;
    z-index: 90;
    padding: 18px;
    box-shadow: 28px 0 70px rgba(0,0,0,0.55);
    overflow-y: auto;
}

.drawer-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

.drawer-open .mobile-drawer {
    transform: translateX(0);
}

.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid var(--red-border);
    background: rgba(213,5,5,0.12);
    color: var(--white);
    font-size: 30px;
    line-height: 32px;
    cursor: pointer;
}

.drawer-nav {
    display: grid;
    gap: 10px;
    padding: 22px 0;
}

.drawer-nav a {
    color: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 14px;
    background: #111111;
    font-weight: 700;
}

.drawer-nav a.active,
.drawer-nav a:hover {
    color: var(--red-soft);
    border-color: var(--red-border);
    background: rgba(213,5,5,0.12);
}

.drawer-note {
    border: 1px solid var(--red-border);
    background: rgba(213,5,5,0.09);
    border-radius: 18px;
    padding: 14px;
}

.drawer-note strong {
    color: var(--white);
}

.drawer-note p {
    margin: 6px 0 0;
    color: var(--text);
    font-size: 14px;
}

.section {
    padding: 58px 0;
}

.section.tight {
    padding: 38px 0;
}

.section-head {
    margin-bottom: 28px;
    max-width: 780px;
}

.section-kicker,
.card-tag,
.status-tag {
    display: inline-flex;
    align-items: center;
    color: #FF4A4A;
    background: rgba(213,5,5,0.12);
    border: 1px solid var(--red-border);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

h1 {
    font-size: clamp(32px, 9vw, 62px);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(26px, 5vw, 42px);
}

h3 {
    font-size: 21px;
}

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

.lead {
    font-size: 17px;
    color: #E7E7E7;
}

.red-text {
    color: var(--red-soft);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 44px;
    background:
        radial-gradient(circle at 80% 20%, rgba(213,5,5,0.20), transparent 34%),
        linear-gradient(135deg, #050505 0%, #111111 55%, #1A0000 100%);
    border-bottom: 1px solid var(--border);
}

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

.hero-copy {
    max-width: 720px;
}

.hero-copy .lead {
    margin-bottom: 22px;
}

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

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

.ghost-btn,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid var(--red-border);
    border-radius: 999px;
    padding: 11px 18px;
    background: rgba(255,255,255,0.03);
    font-weight: 700;
}

.text-link {
    color: var(--red-soft);
    padding: 0;
    border: 0;
    background: none;
    border-radius: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list span {
    border: 1px solid var(--red-border);
    background: rgba(13,13,13,0.8);
    color: var(--white);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 14px;
}

.hero-visual {
    position: relative;
    border-radius: 28px;
    border: 1px solid var(--red-border);
    background: linear-gradient(150deg, #111 0%, #070707 72%);
    padding: 14px;
    box-shadow: var(--shadow);
}

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

.float-card {
    position: relative;
    margin: -36px 14px 0;
    background: rgba(11,11,13,0.92);
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.32);
}

.float-card strong {
    color: var(--white);
    display: block;
    margin-bottom: 4px;
}

.grid {
    display: grid;
    gap: 18px;
}

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

.feature-card,
.match-card,
.info-card,
.data-card,
.faq-item,
.step-card,
.page-panel,
.notice-box,
.cta-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.feature-card:hover,
.match-card:hover,
.info-card:hover,
.data-card:hover,
.step-card:hover {
    border-color: var(--red-border);
    box-shadow: var(--shadow);
}

.feature-card.large {
    min-height: 250px;
    background:
        linear-gradient(145deg, rgba(213,5,5,0.10), transparent 48%),
        #111111;
}

.card-title {
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.card-title.red {
    color: var(--red-soft);
}

.status-tag {
    margin-bottom: 12px;
}

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

.split-img {
    border-radius: 28px;
    padding: 12px;
    background: #0B0B0D;
    border: 1px solid var(--red-border);
    box-shadow: var(--shadow);
}

.split-img img {
    border-radius: 22px;
    width: 100%;
    object-fit: cover;
}

.point-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.point {
    border: 1px solid var(--border);
    background: #0F0F10;
    border-radius: 18px;
    padding: 16px;
}

.point strong {
    display: block;
    color: var(--white);
    margin-bottom: 5px;
}

.score-board {
    background: linear-gradient(180deg, #101010, #090909);
    border: 1px solid var(--red-border);
    border-radius: 26px;
    padding: 18px;
}

.score-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

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

.score-team {
    color: var(--white);
    font-weight: 800;
}

.score-num {
    color: var(--red-soft);
    font-size: 22px;
    font-weight: 900;
}

.info-columns {
    display: grid;
    gap: 18px;
}

.security-grid,
.match-grid,
.data-grid,
.faq-grid,
.link-grid,
.steps-grid {
    grid-template-columns: 1fr;
}

.responsible {
    border: 1px solid var(--red-border);
    background:
        linear-gradient(135deg, rgba(213,5,5,0.14), rgba(12,12,12,0.96)),
        #0B0B0D;
    border-radius: 28px;
    padding: 26px;
}

.faq-item h3 {
    color: var(--red-soft);
}

.cta-panel {
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(213,5,5,0.22), transparent 38%),
        linear-gradient(135deg, #111 0%, #080808 100%);
    border-color: var(--red-border);
    padding: 34px 22px;
}

.page-hero {
    padding: 56px 0 34px;
    background:
        radial-gradient(circle at right top, rgba(213,5,5,0.18), transparent 34%),
        linear-gradient(135deg, #050505 0%, #111111 70%, #150000 100%);
    border-bottom: 1px solid var(--border);
}

.page-hero .container {
    max-width: 980px;
}

.breadcrumbs {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.breadcrumbs a {
    color: var(--red-soft);
}

.page-layout {
    display: grid;
    gap: 22px;
}

.page-panel h2 {
    color: var(--red-soft);
}

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

.check-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(213,5,5,0.14);
}

.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.inline-links a {
    border: 1px solid var(--border);
    color: var(--white);
    background: #0B0B0D;
    border-radius: 999px;
    padding: 8px 13px;
}

.inline-links a:hover {
    color: var(--red-soft);
    border-color: var(--red-border);
}

.app-showcase {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 22px;
}

.entry-steps {
    counter-reset: step;
}

.step-card {
    position: relative;
    padding-left: 64px;
}

.step-card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 24px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.site-footer {
    background: var(--footer);
    border-top: 1px solid rgba(213,5,5,0.36);
    padding-top: 44px;
}

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

.footer-brand p,
.footer-links p {
    color: var(--muted);
}

.footer-links h3 {
    color: var(--red-soft);
    margin-bottom: 12px;
}

.footer-links a {
    display: block;
    color: var(--text);
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: var(--red-soft);
}

.footer-bottom {
    margin-top: 34px;
    border-top: 1px solid var(--border);
    padding: 16px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-bottom .container {
    display: grid;
    gap: 6px;
}

@media (min-width: 640px) {
    .category-grid,
    .security-grid,
    .match-grid,
    .data-grid,
    .faq-grid,
    .link-grid,
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .desktop-header {
        min-height: 78px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 24px;
        align-items: center;
    }

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

    .desktop-nav a {
        color: #EAEAEA;
        padding: 9px 12px;
        border-radius: 999px;
        font-weight: 700;
        position: relative;
    }

    .desktop-nav a.active,
    .desktop-nav a:hover {
        color: var(--red-soft);
        background: rgba(213,5,5,0.10);
    }

    .desktop-nav a.active::after {
        content: "";
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 3px;
        height: 2px;
        background: var(--red);
        border-radius: 99px;
    }

    .hero {
        padding: 92px 0 76px;
    }

    .hero-grid,
    .split,
    .info-columns,
    .page-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .feature-card.large {
        grid-column: span 2;
    }

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

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

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

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

    .footer-bottom .container {
        display: flex;
        justify-content: space-between;
    }

    .section {
        padding: 82px 0;
    }
}

@media (min-width: 1100px) {
    .desktop-nav {
        gap: 10px;
    }

    .desktop-nav a {
        padding: 10px 14px;
    }

    .logo img {
        height: 48px;
    }
}
