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

:root {
    --primary: #f0b90b;
    --primary-dark: #d9a50a;
    --bg-dark: #0b0e11;
    --bg-card: #161a1e;
    --bg-light: #1e2329;
    --text-main: #eaecef;
    --text-sub: #b7bdc6;
    --text-muted: #848e9c;
    --green: #0ecb81;
    --red: #f6465d;
    --border: #2b3139;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.8;
    font-size: 16px;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

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

img {
    max-width: 100%;
}

.container {
    width: 1200px;
    max-width: 96%;
    margin: 0 auto;
}

.header {
    background-color: rgba(11, 14, 17, 0.98);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--text-main);
    font-size: 15px;
    font-weight: 400;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav a {
    font-size: 16px;
    color: var(--text-sub);
    padding: 6px 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.nav a.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 10px 26px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: #1e2329;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #1e2329;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #1e2329;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 26px;
    cursor: pointer;
}

.hero {
    background: linear-gradient(135deg, #0b0e11 0%, #14181d 50%, #1a1f26 100%);
    padding: 90px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(240, 185, 11, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero h1 {
    font-size: 46px;
    line-height: 1.3;
    margin-bottom: 22px;
}

.hero h1 em {
    color: var(--primary);
    font-style: normal;
}

.hero p {
    font-size: 18px;
    color: var(--text-sub);
    max-width: 860px;
    margin: 0 auto 36px;
}

.hero-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item .num {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary);
}

.stat-item .label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.section {
    padding: 76px 0;
}

.section-alt {
    background: var(--bg-card);
}

.section-title {
    text-align: center;
    margin-bottom: 52px;
}

.section-title h2 {
    font-size: 34px;
    margin-bottom: 14px;
}

.section-title h2 em {
    color: var(--primary);
    font-style: normal;
}

.section-title p {
    color: var(--text-sub);
    font-size: 17px;
    max-width: 780px;
    margin: 0 auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 34px 28px;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

.card .icon {
    font-size: 40px;
    margin-bottom: 18px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.card p {
    color: var(--text-sub);
    font-size: 15px;
}

.market-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.market-table th,
.market-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
}

.market-table th {
    background: #242a31;
    color: var(--text-muted);
    font-weight: 600;
}

.market-table tr {
    border-bottom: 1px solid var(--border);
}

.market-table tr:last-child {
    border-bottom: none;
}

.market-table .coin {
    font-weight: 600;
}

.market-table .coin small {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 6px;
}

.up {
    color: var(--green);
    font-weight: 600;
}

.down {
    color: var(--red);
    font-weight: 600;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    position: relative;
}

.step-item .step-num {
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #1e2329;
    font-weight: 700;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.step-item h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.step-item p {
    color: var(--text-sub);
    font-size: 15px;
}

.download-band {
    background: linear-gradient(120deg, #1a1f26, #10141a);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 54px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.download-band h2 {
    font-size: 30px;
    margin-bottom: 14px;
}

.download-band h2 em {
    color: var(--primary);
    font-style: normal;
}

.download-band p {
    color: var(--text-sub);
    max-width: 620px;
}

.download-badges {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 240px;
}

.badge-item {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
}

.badge-item:hover {
    border-color: var(--primary);
}

.badge-item .bi {
    font-size: 24px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.news-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 32px;
    transition: border-color 0.3s;
}

.news-item:hover {
    border-color: var(--primary);
}

.news-item .news-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.news-item .tag {
    background: rgba(240, 185, 11, 0.12);
    color: var(--primary);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-item p {
    color: var(--text-sub);
    font-size: 15px;
}

.article-body {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 44px;
}

.article-body h3 {
    font-size: 22px;
    margin: 26px 0 14px;
    color: var(--primary);
}

.article-body h3:first-child {
    margin-top: 0;
}

.article-body p {
    color: var(--text-sub);
    margin-bottom: 16px;
    font-size: 16px;
}

.article-body ul {
    margin: 0 0 18px 22px;
    color: var(--text-sub);
}

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

.faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px 30px;
    margin-bottom: 18px;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.faq-item p {
    color: var(--text-sub);
    font-size: 15px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
}

.contact-info-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--text-sub);
    font-size: 15px;
}

.contact-line .ci {
    font-size: 22px;
}

.contact-line strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-sub);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 13px 16px;
    color: var(--text-main);
    font-size: 15px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.footer {
    background: #080a0d;
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer h4 {
    font-size: 17px;
    margin-bottom: 18px;
    color: var(--text-main);
}

.footer p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 14px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul a {
    color: var(--text-muted);
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom .friend-links {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-bottom .friend-links a {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom .friend-links a:hover {
    color: var(--primary);
}

.breadcrumb {
    background: var(--bg-card);
    padding: 18px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.breadcrumb a {
    color: var(--text-sub);
}

.page-banner {
    background: linear-gradient(135deg, #10141a, #181d24);
    padding: 64px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 38px;
    margin-bottom: 14px;
}

.page-banner h1 em {
    color: var(--primary);
    font-style: normal;
}

.page-banner p {
    color: var(--text-sub);
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
}

.back-top {
    position: fixed;
    right: 26px;
    bottom: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #1e2329;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 900;
    border: none;
}

.kw-text {
    color: var(--text-sub);
    font-size: 14px;
    text-align: center;
    padding: 30px 0 0;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .grid-4,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .download-band {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
    }

    .nav.open {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .nav ul li {
        border-bottom: 1px solid var(--border);
    }

    .nav a {
        display: block;
        padding: 14px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .grid-3,
    .grid-4,
    .steps,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 56px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-stats {
        gap: 30px;
    }

    .section {
        padding: 50px 0;
    }

    .article-body {
        padding: 26px 20px;
    }

    .market-table th:nth-child(4),
    .market-table td:nth-child(4) {
        display: none;
    }
}
