:root {
    --red: #C90000;
    --red-2: #F12B2B;
    --red-3: #A80000;
    --black: #1F2329;
    --muted: #5D6673;
    --light: #F6F7F9;
    --section: #F1F3F6;
    --line: rgba(201,0,0,0.12);
    --shadow: 0 12px 30px rgba(18,28,45,0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #FFFFFF;
    color: var(--black);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.72;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201,0,0,0.08);
}
.header-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo { flex: 0 0 auto; }
.logo img { max-height: 52px; width: auto; }
.nav-core {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    flex-wrap: nowrap;
    min-width: 0;
}
.nav-core a {
    color: var(--black);
    background: var(--light);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    transition: .2s ease;
}
.nav-core a:hover,
.nav-core a.active {
    color: var(--red);
    background: rgba(201,0,0,0.08);
}
.register-link,
.main-btn {
    background: linear-gradient(180deg, #F12B2B 0%, #C90000 55%, #A80000 100%);
    color: #FFFFFF;
    border-radius: 999px;
    padding: 11px 22px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(201,0,0,.18);
    border: 0;
}
.register-link { margin-left: auto; flex: 0 0 auto; }
.menu-toggle { display: none; }
.layout-shell {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
    padding: 92px 0 0;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.page-content { flex: 1 1 auto; min-width: 0; }
.side-category {
    position: sticky;
    top: 96px;
    width: 190px;
    flex: 0 0 190px;
    margin-top: 24px;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid rgba(201,0,0,0.10);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.side-category strong { display: block; color: var(--red); margin-bottom: 10px; font-size: 16px; }
.side-category a {
    display: block;
    color: var(--black);
    border-radius: 12px;
    padding: 9px 11px;
    margin: 2px 0;
    font-weight: 700;
    font-size: 14px;
}
.side-category a:hover,
.side-category a.active {
    color: var(--red);
    background: rgba(201,0,0,0.08);
}
.main-page { width: 100%; }
.section {
    width: min(1180px, 100%);
    margin: 0 auto 34px;
    padding: 34px;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid rgba(201,0,0,0.08);
}
.section.soft { background: var(--light); }
.section-title,
h1, h2, h3 { color: var(--red); line-height: 1.28; }
h1 { font-size: clamp(30px, 5vw, 52px); margin: 0 0 18px; letter-spacing: -0.03em; }
h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 10px; }
p { margin: 0 0 14px; color: var(--muted); }
.lead { font-size: 18px; color: var(--black); max-width: 880px; }
.kicker { color: var(--red); font-weight: 900; letter-spacing: .08em; margin-bottom: 8px; display: block; }
.banner-slider {
    width: min(1180px, 100%);
    height: clamp(260px, 30vw, 360px);
    margin: 24px auto 34px;
    border-radius: 22px;
    background: #F7F8FA;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}
.banner-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .45s ease;
}
.banner-slider .slide.is-active { opacity: 1; z-index: 1; }
.banner-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #F7F8FA;
}
.slider-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(201,0,0,.18);
    background: rgba(255,255,255,.92);
    color: var(--red);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-dots {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(31,35,41,.28);
    cursor: pointer;
}
.slider-dot.is-active { background: var(--red); }
.banner-caption,
.banner-text,
.slide-title,
.slide-desc,
.slide-content,
.slide-card,
.banner-card { display: none !important; }
.hero-grid,
.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 28px;
    align-items: center;
}
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.quick-links a {
    border: 1px solid rgba(201,0,0,.14);
    color: var(--red);
    background: #fff;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 800;
}
.picture-panel,
.card,
.zone-card,
.info-card,
.review-card,
.faq-item,
.notice-card {
    background: #FFFFFF;
    border: 1px solid rgba(201,0,0,0.10);
    box-shadow: var(--shadow);
    border-radius: 18px;
}
.picture-panel { padding: 16px; }
.picture-panel img,
.content-img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    background: #F7F8FA;
    border-radius: 16px;
}
.grid-2,
.grid-3,
.grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card,
.zone-card,
.info-card,
.review-card,
.faq-item,
.notice-card { padding: 20px; }
.card img,
.zone-card img,
.info-card img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    background: #F7F8FA;
    border-radius: 14px;
    margin-bottom: 15px;
}
.card .tag,
.zone-card .tag,
.info-card .tag {
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .05em;
    margin-bottom: 8px;
    display: inline-block;
}
.red-summary {
    background: linear-gradient(135deg, #D60000, #A80000);
    color: #fff;
    border: 0;
}
.red-summary h2,
.red-summary h3,
.red-summary p { color: #fff; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.summary-item {
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.18);
}
.summary-item strong { font-size: 24px; display: block; margin-bottom: 6px; }
.horizontal-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
}
.step-list { counter-reset: step; display: grid; gap: 14px; }
.step-list li {
    list-style: none;
    position: relative;
    padding: 16px 16px 16px 56px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(201,0,0,.10);
    color: var(--muted);
}
.step-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(201,0,0,.08);
    color: var(--red);
    font-weight: 900;
}
.review-card p { color: var(--black); }
.review-card span { color: #8A93A0; font-size: 14px; }
.faq-list { display: grid; gap: 14px; }
.faq-item h3 { font-size: 18px; }
.compliance-panel {
    background: #11151C;
    color: #E7ECF3;
    border: 0;
}
.compliance-panel h2,
.compliance-panel p { color: #E7ECF3; }
.notice-card { background: #fff; }
.page-hero { margin-top: 24px; }
.site-footer {
    background: #11151C;
    color: #E7ECF3;
    margin-top: 46px;
}
.footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, .8fr);
    gap: 26px;
}
.footer-brand img { width: 180px; max-height: 64px; object-fit: contain; background: #fff; border-radius: 14px; padding: 6px; margin-bottom: 14px; }
.site-footer p,
.site-footer a { color: #E7ECF3; }
.footer-col a { display: block; margin: 8px 0; color: #C8D0DA; }
.footer-col h3 { color: #FFFFFF; font-size: 18px; }
.footer-note {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #C8D0DA;
    font-size: 14px;
}
.drawer-mask,
.mobile-drawer,
.mobile-bottom-nav { display: none; }
@media (max-width: 1180px) {
    .side-category { display: none; }
    .layout-shell { width: min(1180px, calc(100% - 32px)); }
}
@media (max-width: 900px) {
    .nav-core { display: none; }
    .menu-toggle {
        display: inline-flex;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(201,0,0,.13);
        background: #fff;
        border-radius: 12px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        flex: 0 0 auto;
    }
    .menu-toggle span { width: 20px; height: 2px; background: var(--red); border-radius: 4px; }
    .header-inner { min-height: 64px; width: min(100% - 28px, 1180px); display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; }
    .logo { justify-self: center; }
    .logo img { max-height: 42px; }
    .register-link { padding: 9px 16px; margin-left: 0; }
    .layout-shell { padding-top: 76px; width: min(100% - 24px, 1180px); }
    .section { padding: 24px; margin-bottom: 24px; border-radius: 20px; }
    .hero-grid, .two-col, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .horizontal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card img, .zone-card img, .info-card img { height: 150px; }
    .picture-panel img { max-height: 220px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    body.drawer-open { overflow: hidden; }
    .drawer-mask {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1200;
        background: rgba(17,21,28,.42);
        opacity: 0;
        pointer-events: none;
        transition: .2s ease;
    }
    .mobile-drawer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1300;
        width: min(84vw, 320px);
        background: #FFFFFF;
        transform: translateX(-105%);
        transition: transform .25s ease;
        box-shadow: 0 24px 50px rgba(18,28,45,.22);
        overflow-y: auto;
    }
    body.drawer-open .drawer-mask { opacity: 1; pointer-events: auto; }
    body.drawer-open .mobile-drawer { transform: translateX(0); }
    .drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; border-bottom: 1px solid rgba(201,0,0,.10); }
    .drawer-head img { width: 145px; max-height: 52px; object-fit: contain; }
    .drawer-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(201,0,0,.14); background: #fff; color: var(--red); font-size: 26px; line-height: 1; }
    .drawer-links { padding: 14px; display: grid; gap: 6px; }
    .drawer-links a { padding: 12px 14px; border-radius: 12px; background: #F6F7F9; color: var(--black); font-weight: 800; }
    .drawer-links a.active { color: var(--red); background: rgba(201,0,0,.08); }
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1100;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: #fff;
        border-top: 1px solid #E5E8EC;
        box-shadow: 0 -10px 24px rgba(18,28,45,.06);
    }
    .mobile-bottom-nav a { display: grid; place-items: center; gap: 2px; padding: 8px 4px 9px; color: var(--muted); font-size: 12px; font-weight: 800; }
    .mobile-bottom-nav a span { font-size: 16px; line-height: 1; }
    .mobile-bottom-nav a.active { color: var(--red); }
    body { padding-bottom: 64px; }
}
@media (max-width: 560px) {
    .banner-slider { height: 180px; min-height: 150px; margin-top: 16px; border-radius: 18px; }
    .slider-arrow { width: 34px; height: 34px; font-size: 22px; }
    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }
    .summary-grid, .horizontal-cards { grid-template-columns: 1fr; }
    .section { padding: 20px; }
    h1 { font-size: 30px; }
    .lead { font-size: 16px; }
    .quick-links a { padding: 8px 12px; font-size: 14px; }
    .card img, .zone-card img, .info-card img { height: 140px; }
    .footer-inner { grid-template-columns: 1fr; }
}
