* {
    box-sizing: border-box;
}

:root {
    --bg: #080808;
    --bg-deep: #101010;
    --bg-gold: #15120B;
    --card: #141414;
    --gold: #F7D27A;
    --gold-strong: #D9A84A;
    --gold-dark: #A87420;
    --text: #F4F0E8;
    --muted: #C9BFA9;
    --subtle: #9F9278;
    --border: rgba(247, 210, 122, 0.16);
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
    --glow: 0 0 24px rgba(247, 210, 122, 0.28);
    --radius: 20px;
    --header-height: 118px;
}

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

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 10% -10%, rgba(217, 168, 74, 0.13), transparent 30%),
        radial-gradient(circle at 90% 18%, rgba(247, 210, 122, 0.07), transparent 25%),
        #080808;
    color: var(--text);
    font-family: "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 {
    display: block;
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 2000;
    padding: 10px 14px;
    background: var(--gold);
    color: #111;
    border-radius: 8px;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(247, 210, 122, 0.14);
}

.topbar {
    height: 68px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.logo-text {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 2px;
    color: #F7D27A;
    background: linear-gradient(180deg, #FFF3B0 0%, #F7D27A 45%, #C8932E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 12px rgba(247, 210, 122, 0.55), 0 0 28px rgba(200, 147, 46, 0.35);
    white-space: nowrap;
}

.nav-core {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.nav-core a {
    color: var(--text);
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: 0.2s ease;
}

.nav-core a:hover,
.nav-core a.active {
    color: var(--gold);
    background: rgba(247, 210, 122, 0.10);
    box-shadow: 0 0 18px rgba(247, 210, 122, 0.14);
}

.main-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 24px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.main-btn {
    background: linear-gradient(180deg, #FFF3B0 0%, #D9A84A 52%, #A87420 100%);
    color: #111111;
    box-shadow: 0 12px 28px rgba(247, 210, 122, 0.22);
}

.main-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
}

.main-btn:hover {
    box-shadow: 0 14px 34px rgba(247, 210, 122, 0.34);
}

.secondary-btn {
    color: var(--gold);
    border: 1px solid rgba(247, 210, 122, 0.38);
    background: rgba(247, 210, 122, 0.06);
}

.header-register {
    flex: 0 0 auto;
    min-width: 78px;
    padding-inline: 20px;
}

.channel-nav {
    height: 50px;
    background: rgba(16, 16, 16, 0.92);
    border-top: 1px solid rgba(247, 210, 122, 0.06);
    border-bottom: 1px solid rgba(247, 210, 122, 0.12);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(247, 210, 122, 0.28) transparent;
    white-space: nowrap;
}

.channel-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.channel-nav a {
    flex: 0 0 auto;
    color: var(--muted);
    border: 1px solid rgba(247, 210, 122, 0.12);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    line-height: 1.35;
    transition: 0.2s ease;
}

.channel-nav a:hover,
.channel-nav a.active {
    color: var(--gold);
    border-color: rgba(247, 210, 122, 0.42);
    background: rgba(247, 210, 122, 0.08);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #111;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--gold);
    border-radius: 2px;
}

.page-shell {
    min-height: 70vh;
    padding-top: var(--header-height);
}

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
}

.hero {
    padding: 52px 0 34px;
}

.hero-grid,
.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    align-items: center;
    gap: 38px;
}

.hero-copy,
.page-hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--gold-strong);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

h1,
h2,
h3,
.section-title {
    margin-top: 0;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(247, 210, 122, 0.18);
    line-height: 1.28;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(34px, 5vw, 62px);
    letter-spacing: 1px;
}

h2,
.section-title {
    margin-bottom: 14px;
    font-size: clamp(26px, 3vw, 38px);
}

h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

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

.lead {
    max-width: 760px;
    color: var(--text);
    font-size: 18px;
}

.hero-actions,
.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-media,
.content-media {
    position: relative;
    min-width: 0;
    padding: 16px;
    background: linear-gradient(145deg, rgba(247, 210, 122, 0.11), rgba(20, 20, 20, 0.9));
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow), var(--glow);
}

.hero-media::after,
.content-media::after {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(247, 210, 122, 0.08);
    border-radius: 20px;
    pointer-events: none;
}

.hero-media img,
.hero-banner img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: 18px;
    background: #0d0d0d;
}

.content-media img,
.content-img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 16px;
    background: #0d0d0d;
}

.section {
    padding: 44px 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(21, 18, 11, 0.38), rgba(8, 8, 8, 0));
    border-top: 1px solid rgba(247, 210, 122, 0.07);
    border-bottom: 1px solid rgba(247, 210, 122, 0.07);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.section-head > div {
    max-width: 780px;
}

.section-head p {
    margin-bottom: 0;
}

.card,
.zone-card,
.info-card,
.review-card,
.faq-card,
.notice-card,
.stat-card,
.quick-card,
.step-card {
    background: #141414;
    border: 1px solid rgba(247, 210, 122, 0.16);
    box-shadow: var(--shadow);
    border-radius: 18px;
}

.card,
.info-card,
.review-card,
.faq-card,
.notice-card,
.stat-card,
.quick-card,
.step-card {
    padding: 24px;
}

.card:hover,
.zone-card:hover,
.quick-card:hover {
    border-color: rgba(247, 210, 122, 0.36);
    transform: translateY(-3px);
}

.card,
.zone-card,
.quick-card {
    transition: 0.22s ease;
}

.grid-2,
.grid-3,
.grid-4,
.quick-grid,
.zone-grid,
.review-grid,
.footer-grid {
    display: grid;
    gap: 20px;
}

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

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

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

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

.stat-card strong,
.quick-card strong,
.step-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 19px;
}

.stat-card p,
.quick-card p,
.step-card p {
    margin-bottom: 0;
}

.quick-card .text-link {
    display: inline-flex;
    margin-top: 14px;
}

.zone-card {
    overflow: hidden;
}

.zone-card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    background: #0d0d0d;
    border-bottom: 1px solid var(--border);
}

.zone-card-body {
    padding: 20px;
}

.zone-card-body p {
    font-size: 14px;
}

.text-link {
    color: var(--gold);
    font-weight: 800;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.tag-list span,
.tag-list a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 12px;
    color: var(--gold-strong);
    background: rgba(217, 168, 74, 0.07);
    border: 1px solid rgba(247, 210, 122, 0.14);
    border-radius: 999px;
    font-size: 13px;
}

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

.feature-list li,
.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
}

.feature-list li::before,
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-weight: 900;
}

.review-card {
    position: relative;
}

.review-card::before {
    content: "“";
    position: absolute;
    right: 18px;
    top: 2px;
    color: rgba(247, 210, 122, 0.16);
    font-family: Georgia, serif;
    font-size: 72px;
    line-height: 1;
}

.review-card p {
    position: relative;
    z-index: 1;
    color: var(--text);
}

.review-card span {
    color: var(--gold-strong);
    font-size: 13px;
}

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

.faq-card h3 {
    font-size: 18px;
}

.faq-card p:last-child {
    margin-bottom: 0;
}

.notice-card {
    background: linear-gradient(135deg, rgba(217, 168, 74, 0.13), rgba(20, 20, 20, 0.96));
}

.notice-card strong {
    color: var(--gold);
}

.page-hero {
    padding: 50px 0 30px;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    gap: 34px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--subtle);
    font-size: 13px;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.page-hero h1 {
    font-size: clamp(32px, 4.6vw, 54px);
}

.page-hero-media img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 18px;
    background: #0d0d0d;
}

.timeline {
    counter-reset: step;
    display: grid;
    gap: 16px;
}

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

.timeline .step-card::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 22px;
    top: 20px;
    color: var(--gold);
    font-size: 22px;
    font-weight: 900;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 18px;
}

table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #121212;
}

th,
td {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(247, 210, 122, 0.1);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--gold);
    background: rgba(247, 210, 122, 0.05);
}

td {
    color: var(--muted);
}

.site-footer {
    margin-top: 40px;
    padding: 52px 0 24px;
    background: #050505;
    color: var(--muted);
    border-top: 1px solid rgba(247, 210, 122, 0.13);
}

.footer-grid {
    grid-template-columns: 1.5fr 0.8fr 1.2fr;
}

.footer-logo {
    margin-bottom: 18px;
}

.site-footer h2 {
    font-size: 18px;
}

.site-footer section > a:not(.logo-text) {
    display: block;
    margin: 8px 0;
    color: var(--muted);
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(247, 210, 122, 0.1);
    color: var(--subtle);
    font-size: 13px;
}

.footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.mobile-drawer,
.drawer-overlay,
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1040px) {
    .topbar {
        gap: 14px;
    }

    .nav-core {
        gap: 2px;
    }

    .nav-core a {
        padding-inline: 8px;
        font-size: 14px;
    }

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

@media (max-width: 820px) {
    :root {
        --header-height: 68px;
    }

    .container {
        width: min(100% - 28px, 760px);
    }

    .site-header {
        height: 68px;
    }

    .topbar {
        height: 68px;
        grid-template-columns: 48px 1fr auto;
        gap: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-core,
    .channel-nav {
        display: none;
    }

    .logo-text {
        justify-self: center;
        font-size: 25px;
    }

    .header-register {
        min-width: 68px;
        min-height: 40px;
        padding: 8px 15px;
        font-size: 14px;
    }

    .hero,
    .page-hero {
        padding-top: 34px;
    }

    .hero-grid,
    .split-section,
    .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-media,
    .page-hero-media {
        order: -1;
    }

    .hero-media img,
    .hero-banner img,
    .page-hero-media img {
        height: 260px;
    }

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

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

    .footer-grid section:first-child {
        grid-column: 1 / -1;
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1300;
        width: min(84vw, 320px);
        padding: max(18px, env(safe-area-inset-top)) 18px 28px;
        background: #101010;
        border-right: 1px solid rgba(247, 210, 122, 0.2);
        box-shadow: 24px 0 50px rgba(0, 0, 0, 0.55);
        transform: translateX(-104%);
        transition: transform 0.25s ease;
        overflow-y: auto;
    }

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

    .drawer-overlay {
        position: fixed;
        inset: 0;
        z-index: 1250;
        background: rgba(0, 0, 0, 0.68);
        opacity: 0;
        transition: opacity 0.22s ease;
    }

    .drawer-overlay.show {
        display: block;
        opacity: 1;
    }

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

    .drawer-logo {
        justify-self: start;
    }

    .drawer-close {
        width: 40px;
        height: 40px;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: #171717;
        color: var(--gold);
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
    }

    .drawer-nav {
        display: grid;
        gap: 6px;
    }

    .drawer-nav a {
        padding: 10px 12px;
        color: var(--muted);
        border: 1px solid transparent;
        border-radius: 12px;
    }

    .drawer-nav a:hover {
        color: var(--gold);
        background: rgba(247, 210, 122, 0.07);
        border-color: var(--border);
    }

    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        inset: auto 0 0;
        z-index: 1100;
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        background: rgba(8, 8, 8, 0.96);
        border-top: 1px solid rgba(247, 210, 122, 0.16);
        backdrop-filter: blur(12px);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-height: 46px;
        color: var(--muted);
        font-size: 12px;
    }

    .mobile-bottom-nav a span {
        display: grid;
        place-items: center;
        width: 24px;
        height: 24px;
        border: 1px solid rgba(247, 210, 122, 0.22);
        border-radius: 8px;
        color: var(--gold);
        font-size: 12px;
        font-weight: 900;
    }

    .mobile-bottom-nav a.active,
    .mobile-bottom-nav a:hover {
        color: var(--gold);
    }

    .site-footer {
        padding-bottom: 96px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 22px, 560px);
    }

    .section {
        padding: 32px 0;
    }

    h1 {
        font-size: 34px;
    }

    h2,
    .section-title {
        font-size: 26px;
    }

    .lead {
        font-size: 16px;
    }

    .hero-media,
    .content-media {
        padding: 10px;
        border-radius: 20px;
    }

    .hero-media img,
    .hero-banner img,
    .page-hero-media img {
        height: 210px;
        border-radius: 14px;
    }

    .content-media img,
    .content-img {
        max-height: 230px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .quick-grid,
    .zone-grid,
    .review-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid section:first-child {
        grid-column: auto;
    }

    .zone-card img {
        height: 170px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .card,
    .info-card,
    .review-card,
    .faq-card,
    .notice-card,
    .stat-card,
    .quick-card,
    .step-card {
        padding: 20px;
    }

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

    .timeline .step-card::before {
        left: 18px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
