/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

/* 头部导航 */
header {
    background-color: #0f1419;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    color: #f0b90b;
    font-weight: bold;
    font-size: 18px;
}

.nav-menu {
    display: flex;
    gap: 24px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #f0b90b;
}

/* 移动端汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

/* 英雄区 */
.hero {
    background-color: #0f1419;
    background-image: linear-gradient(135deg, #0f1419 0%, #1a202c 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #fff;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 14px;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #f0b90b;
    color: #000;
}

.btn-primary:hover {
    background-color: #dba90a;
}

.btn-outline {
    background-color: transparent;
    color: #f0b90b;
    border: 1px solid #f0b90b;
}

.btn-outline:hover {
    background-color: #f0b90b;
    color: #000;
}

/* 热门币种行情 */
.market-section {
    padding: 40px 20px;
    background-color: #fff;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 32px;
    color: #111;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.market-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.coin-btc {
    background-color: #f7931a;
}

.coin-eth {
    background-color: #627eea;
}

.coin-usdt {
    background-color: #26a17b;
}

.coin-bnb {
    background-color: #f3ba2f;
}

.coin-info h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.coin-price {
    font-size: 20px;
    font-weight: bold;
    color: #111;
    margin-bottom: 4px;
}

.coin-change {
    font-size: 12px;
}

.change-up {
    color: #02c076;
}

.change-down {
    color: #f6465d;
}

/* 核心优势 */
.advantage-section {
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-card {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.advantage-icon {
    font-size: 32px;
    color: #f0b90b;
    margin-bottom: 12px;
}

.advantage-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #111;
}

.advantage-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* 最新资讯 */
.news-section {
    padding: 40px 20px;
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.news-date {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
    color: #111;
}

.news-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* 注册流程 */
.register-section {
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.register-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.register-step {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f0b90b;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 12px;
}

.register-step h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #111;
}

.register-step p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* 常见问题 */
.faq-section {
    padding: 40px 20px;
    background-color: #fff;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    padding: 16px 20px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #111;
}

.faq-answer {
    padding: 0 20px 16px;
    font-size: 13px;
    color: #666;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 下载区 */
.download-section {
    background-color: #0f1419;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.download-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.download-section p {
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 13px;
    color: #ccc;
}

/* 页脚 */
footer {
    background-color: #111;
    color: #999;
    padding: 30px 20px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
}

.footer-nav a:hover {
    color: #f0b90b;
}

.footer-copyright {
    font-size: 11px;
    line-height: 1.5;
}



/* 面包屑导航 */
.breadcrumb {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #f0b90b;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 6px;
    color: #999;
}




        /* 列表容器 */
.container-lb {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.page-title {
    font-size: 26px;
    margin-bottom: 30px;
    color: #111;
    border-left: 4px solid #f0b90b;
    padding-left: 12px;
}

/* 资讯列表网格 */
.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.news-item:hover {
    transform: translateY(-3px);
}

.news-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #eee;
}

.news-body {
    padding: 18px;
}

.news-cate {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    background: #f0b90b;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.news-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-title a {
    color: #111;
    text-decoration: none;
}

.news-title a:hover {
    color: #f0b90b;
}

.news-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-time {
    font-size: 12px;
    color: #999;
}





/* 内容布局：左+右 */
.container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

/* 左侧正文 */
.content-left {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.content-title {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #111;
}

.content-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.content-body {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body h2 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #111;
}

/* 右侧栏 */
.content-right {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 相关文章 */
.related-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.box-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0b90b;
    color: #111;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
}

.related-item a:hover {
    color: #f0b90b;
}

/* 拉新活动 */
.activity-box {
    background: linear-gradient(135deg, #f0b90b, #ffc107);
    color: #000;
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
}

.activity-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.activity-box p {
    font-size: 14px;
    margin-bottom: 20px;
}

.activity-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}







/* 响应式 */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }

    .content-right {
        width: 100%;
    }
}


/* 响应式适配 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #0f1419;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }

    .news-list {
        grid-template-columns: 1fr;
    }

    .content-title {
        font-size: 22px;
    }
}






/* 翻页功能 */
.pagination-wrap {
    padding: 20px 10px;
    margin-top: 20px;
    border-radius: 8px;
}

.pagination-wrap .paging-cls {
    text-align: center;
}

.pagination-wrap .paging-cls li {
    display: inline-block;
    margin: 0 5px;
    list-style: none;
}

.pagination-wrap .paging-cls span,
.pagination-wrap .paging-cls a {
    display: inline-block;
    border: 1px solid #eef3f8;
    border-radius: 5px;
    height: 44px;
    line-height: 44px;
    width: 44px;
    margin: 0 3px;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

.pagination-wrap .paging-cls span:hover,
.pagination-wrap .paging-cls a:hover {
    background: #F0B90B;
    color: #fff !important;
}

.pagination-wrap .paging-cls .current {
    background: #F0B90B;
    color: #fff;
    font-weight: bold;
}

.pagination-wrap .paging-cls .fa-angle-double-left::before {
    content: "<";
}

.pagination-wrap .paging-cls .fa-angle-double-right::before {
    content: ">";
}

.pagination-wrap .active a{
    background-color: #F0B90B !important;
    color: #fff !important;
    font-weight: bold;
}