/* ========== 设计令牌 ========== */
:root {
    --primary: #1ee89a;
    --primary-dark: #0fb872;
    --primary-soft: rgba(30, 232, 154, 0.12);
    --gold: #d7c39a;
    --bg-dark: #07090c;
    --card-bg: #11151c;
    --card-elev: #161c24;
    --border: rgba(215, 195, 154, 0.12);
    --border-strong: rgba(255, 255, 255, 0.1);
    --text: #eef1f4;
    --text-dim: #8d959e;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --radius: 10px;
    --nav-h: 72px;
    --max: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(1200px 500px at 50% -120px, rgba(30, 232, 154, 0.08), transparent 55%),
        var(--bg-dark);
    color: var(--text);
    line-height: 1.65;
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

/* ========== 导航 ========== */
.navbar {
    height: var(--nav-h);
    background: rgba(7, 9, 12, 0.78);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    gap: 24px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.logo-img {
    height: 30px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: #f7fafc;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    position: relative;
    top: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: #c5ccd3;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 8px 18px;
    border-radius: 6px;
    background: linear-gradient(180deg, #2af0a6 0%, #12c47a 100%);
    color: #062015 !important;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(18, 196, 122, 0.28);
}

.nav-cta:hover,
.nav-links a.nav-cta:hover {
    background: #fff !important;
    color: #062015 !important;
}

/* ========== 首屏 ========== */
.hero-section {
    min-height: 480px;
    padding: calc(var(--nav-h) + 48px) 0 96px;
    background:
        linear-gradient(180deg, rgba(7, 9, 12, 0.05) 0%, rgba(7, 9, 12, 0.25) 48%, var(--bg-dark) 100%),
        url('../images/bg1.jpg') center 30% / cover no-repeat;
    position: relative;
    z-index: 1;
}

.hero-section.article-hero {
    min-height: 280px;
    padding: calc(var(--nav-h) + 36px) 0 72px;
}

.hero-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 18px;
    letter-spacing: 0.04em;
}

.breadcrumb a {
    color: #b7c0c8;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.hero-content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.12em;
    background: rgba(0, 0, 0, 0.28);
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero-section.article-hero .hero-content h1 {
    font-size: 28px;
    letter-spacing: 0.04em;
}

.hero-content p {
    color: var(--gold);
    font-size: 15px;
    margin-top: 12px;
    letter-spacing: 0.08em;
}

.hero-recharge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 14px 42px;
    background: linear-gradient(180deg, #2af0a6 0%, #12c47a 100%);
    color: #062015;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.12em;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(18, 196, 122, 0.32);
    transition: 0.2s ease;
}

.hero-recharge-btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    object-fit: contain;
}

.hero-recharge-btn:hover {
    transform: translateY(-1px);
    background: #fff;
    box-shadow: 0 14px 32px rgba(18, 196, 122, 0.4);
}

.hero-recharge-btn:active {
    transform: translateY(1px);
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c9d1d8;
    font-size: 13px;
}

.trust-item::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* ========== 主容器 / 卡片 ========== */
.main-wrapper {
    max-width: var(--max);
    margin: -48px auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.portal-lead {
    margin: 0 0 24px;
    padding: 16px 20px;
    color: #c5ccd4;
    font-size: 14px;
    line-height: 1.8;
    background: linear-gradient(90deg, rgba(30, 232, 154, 0.08), rgba(17, 21, 28, 0.9));
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius);
}

.card {
    background: linear-gradient(180deg, #151b23 0%, #10141a 100%);
    border: 1px solid var(--border);
    padding: 36px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.section-header .step {
    color: #062015;
    background: var(--primary);
    border: none;
    min-width: 28px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 4px;
}

.section-header h2,
.section-header h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.side-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 20px;
    border-radius: var(--radius);
}

.side-card h3,
.side-card h4,
.side-card-title {
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--gold);
    border-left: 3px solid var(--primary);
    padding-left: 10px;
    font-weight: 700;
}

.info-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: start;
}

.faq-item {
    margin-bottom: 14px;
}

.faq-item h4,
.faq-item h5 {
    font-size: 13px;
    color: #e6eaee;
    margin-bottom: 4px;
    font-weight: 600;
}

.faq-item p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.65;
}

.faq-section {
    margin-bottom: 8px;
}

.download-section {
    margin-bottom: 8px;
}

.download-box {
    text-align: center;
    padding: 12px 0 8px;
}

.download-qr {
    display: block;
    margin: 0 auto;
    max-width: 176px;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #0c0f13;
    padding: 10px;
}

.download-tip {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-dim);
}

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

.faq-content .faq-item {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--border);
    padding: 20px 22px;
    border-radius: 8px;
    margin-bottom: 0;
}

.faq-content .faq-item dt,
.faq-content .faq-item h3,
.faq-content .faq-item h5 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
}

.faq-content .faq-item dd,
.faq-content .faq-item p {
    color: #c5ccd4;
    line-height: 1.75;
    font-size: 14px;
    margin: 0;
}

/* ========== 新闻 ========== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: grid;
    grid-template-columns: 148px 1fr;
    gap: 20px;
    align-items: center;
    padding: 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: 0.22s ease;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border);
    transform: translateY(-1px);
}

.news-thumb {
    width: 148px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #0c0f13;
}

.news-thumb img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    display: block;
}

.news-body h4 {
    font-size: 16px;
    color: #f2f5f7;
    margin-bottom: 8px;
    font-weight: 650;
    line-height: 1.45;
}

.news-body h4 a {
    color: inherit;
    text-decoration: none;
}

.news-body h4 a:hover {
    color: var(--primary);
}

.news-body p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ========== 文章详情 ========== */
.article-body {
    font-size: 15px;
    line-height: 1.9;
    color: #d5dbe1;
}

.article-body h2 {
    font-size: 18px;
    color: #fff;
    margin: 32px 0 12px;
    font-weight: 700;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}

.article-body h3 {
    font-size: 16px;
    color: #eef1f4;
    margin: 20px 0 10px;
}

.article-body h4 {
    font-size: 15px;
    color: var(--gold);
    margin: 14px 0 8px;
}

.article-body p {
    margin-bottom: 14px;
    color: #c5ccd4;
}

.article-body a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.article-body a:hover {
    text-decoration: underline;
}

.article-body .article-list {
    margin: 12px 0 20px 22px;
    color: #c5ccd4;
}

.article-body .article-list li {
    margin-bottom: 8px;
}

.xplat-wrap {
    max-width: var(--max);
    margin: -48px auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.xplat-panel {
    background: linear-gradient(180deg, #151b23 0%, #10141a 100%);
    border: 1px solid var(--border);
    padding: 40px 44px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.xplat-panel h2 {
    font-size: 18px;
    color: #fff;
    margin: 28px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}

.xplat-panel p {
    color: #c5ccd4;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 14px;
}

.xplat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 12px 0 20px;
}

.xplat-box {
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
    padding: 18px 18px 16px;
    border-radius: 8px;
    color: #c5ccd4;
    font-size: 14px;
    line-height: 1.8;
}

.xplat-box strong {
    display: block;
    color: var(--gold);
    margin-bottom: 8px;
    font-size: 14px;
}

.xplat-back {
    margin-top: 28px;
}

.xplat-back a {
    color: var(--primary);
}

.rec-note {
    background: var(--primary-soft);
    border-left: 3px solid var(--primary);
    padding: 14px 16px;
    margin: 18px 0;
    color: #cfe8dc;
    font-size: 14px;
    border-radius: 0 8px 8px 0;
}

details.rec-fold {
    margin: 10px 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.18);
}

details.rec-fold summary {
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.region-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 13px;
    overflow: hidden;
    border-radius: 8px;
}

.region-table th,
.region-table td {
    border: 1px solid var(--border);
    padding: 12px 14px;
    text-align: left;
    color: #c5ccd4;
}

.region-table th {
    color: var(--gold);
    background: rgba(215, 195, 154, 0.08);
}

.loot-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 20px;
}

.loot-chips span {
    border: 1px solid var(--border);
    padding: 4px 10px;
    font-size: 12px;
    color: var(--gold);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);
}

.loot-dl dt {
    color: #fff;
    font-size: 17px;
    margin: 22px 0 8px;
    font-weight: 700;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}

.loot-dl dd {
    margin: 0;
    color: #c5ccd4;
    font-size: 15px;
    line-height: 1.9;
}

/* ========== 页脚 ========== */
.footer {
    padding: 48px 20px 56px;
    text-align: center;
    color: #6d757d;
    border-top: 1px solid var(--border);
    background: #05070a;
}

.footer p {
    margin: 10px 0;
    font-size: 13px;
}

.footer-copy {
    font-size: 13px;
    color: #8a929a;
}

.footer-links a,
.footer-icp a {
    color: #8a929a;
    text-decoration: none;
}

.footer-links a:hover,
.footer-icp a:hover {
    color: var(--primary);
}

.footer-sep {
    margin: 0 10px;
    color: #3a4148;
}

.footer-icp {
    font-size: 12px;
    color: #6d757d;
}

.footer-note {
    font-size: 12px;
    color: #6d757d;
    max-width: 560px;
    margin: 14px auto 0;
    line-height: 1.5;
}

/* 充值弹窗（保留兼容） */
.recharge-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.recharge-modal.is-open {
    display: flex;
}

.recharge-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
}

.recharge-modal-content {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%;
    max-width: 320px;
    box-shadow: var(--shadow);
}

.recharge-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.recharge-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--primary);
}

.recharge-modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 26px;
    cursor: pointer;
}

.recharge-modal-body {
    padding: 24px;
    text-align: center;
}

.recharge-modal-tip {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--text-dim);
}

.recharge-modal-tip2 {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-dim);
}

.recharge-modal-qr {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .hero-section {
        min-height: 380px;
        padding-bottom: 80px;
    }

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

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

@media (max-width: 720px) {
    .logo-text {
        font-size: 16px;
        letter-spacing: 0.12em;
    }

    .nav-links {
        display: flex;
        gap: 0;
    }

    .nav-links li:not(:last-child) {
        display: none;
    }

    .hero-content h1 {
        font-size: 28px;
        letter-spacing: 0.04em;
    }

    .hero-section.article-hero .hero-content h1 {
        font-size: 18px;
    }

    .card,
    .xplat-panel {
        padding: 22px 16px;
    }

    .news-item {
        grid-template-columns: 84px 1fr;
        gap: 12px;
        padding: 10px 0;
    }

    .news-thumb {
        width: 84px;
    }

    .news-thumb img {
        height: 64px;
    }

    .news-body {
        min-width: 0;
    }

    .news-body h4 {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 6px;
    }

    .news-body p {
        font-size: 12px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        line-height: 1.5;
        word-break: break-all;
    }

    .trust-row {
        gap: 12px 18px;
    }

    .footer {
        padding: 32px 12px 40px;
    }
}
