/* 自定义样式 */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0B0F1F;
    color: #EFF3FF;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 头部导航 */
header {
    background: rgba(11, 15, 31, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E4B83B, #C98F2E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.logo span {
    font-size: 1rem;
    background: none;
    color: #E4B83B;
    -webkit-background-clip: unset;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #EFF3FF;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #E4B83B;
}

.nav-links a.active {
    color: #E4B83B;
}

/* 按钮样式 */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(95deg, #E4B83B, #C98F2E);
    color: #0B0F1F;
    box-shadow: 0 8px 18px rgba(228,184,59,0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(228,184,59,0.35);
    background: linear-gradient(95deg, #F0C95C, #DB9F32);
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid #E4B83B;
    color: #E4B83B;
}

.btn-secondary:hover {
    background: rgba(228,184,59,0.1);
    transform: translateY(-2px);
}

/* 通用section */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 56px;
    background: linear-gradient(135deg, #FFFFFF, #E4B83B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-sub {
    text-align: center;
    color: #B0B8D0;
    max-width: 700px;
    margin: -32px auto 48px auto;
}

/* 英雄区块 (2列) */
.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1;
}

.hero-left h1 {
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 1.1rem;
    color: #BEC6E0;
    margin-bottom: 32px;
}

.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img {
    background: linear-gradient(145deg, #1E2538, #111625);
    border-radius: 48px;
    padding: 20px;
    box-shadow: 0 25px 40px rgba(0,0,0,0.4);
    max-width: 100%;
    text-align: center;
}

.hero-img i {
    font-size: 12rem;
    color: #E4B83B;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.3));
}

.hero-img p {
    margin-top: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* 卡片网格 */
.grid-3, .features-grid, .why-grid, .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    background: #13182A;
    border-radius: 28px;
    padding: 32px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(228,184,59,0.2);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.5);
    border-color: rgba(228,184,59,0.5);
}

.card i {
    font-size: 2.5rem;
    color: #E4B83B;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card p {
    color: #B8C0DC;
}

/* 玩法规则列表 */
.rules-list {
    background: #13182A;
    border-radius: 32px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.rule-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(228,184,59,0.2);
}

.rule-step {
    font-size: 2rem;
    font-weight: 800;
    color: #E4B83B;
    min-width: 60px;
}

/* 用户评价 */
.testimonial-card {
    background: #0F1424;
    border-radius: 28px;
    padding: 28px;
    font-style: italic;
}

.testimonial-card i.fa-quote-left {
    color: #E4B83B;
    opacity: 0.6;
    font-size: 1.5rem;
}

.user-info {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* FAQ 折叠 */
.faq-item {
    background: #13182A;
    margin-bottom: 16px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(228,184,59,0.2);
}

.faq-question {
    background: #1B2138;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #232B46;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
    background: #13182A;
    color: #C9D0EC;
}

.faq-item.active .faq-answer {
    padding: 20px 24px;
    max-height: 300px;
}

.faq-question i {
    transition: transform 0.3s;
    color: #E4B83B;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* 文章卡片 */
.article-card {
    background: #13182A;
    border-radius: 28px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(228,184,59,0.2);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.5);
    border-color: rgba(228,184,59,0.5);
}

.article-card img {
    width: 100%;
    border-radius: 24px;
    margin-bottom: 18px;
    background: #232B46;
    height: 180px;
    object-fit: cover;
}

.article-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.article-card p {
    color: #B8C0DC;
    margin-bottom: 20px;
}

.article-card a {
    color: #E4B83B;
    text-decoration: none;
    font-weight: 500;
}

.article-card a:hover {
    text-decoration: underline;
}

/* 文章列表样式 */
.article-card .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #B0B8D0;
}

.article-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
}

.pagination a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    background: #13182A;
    color: #EFF3FF;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(228,184,59,0.2);
}

.pagination a:hover {
    background: #E4B83B;
    color: #0B0F1F;
    transform: translateY(-2px);
}

.pagination .active {
    background: #E4B83B;
    color: #0B0F1F;
}

/* 文章内容样式 */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.article-header {
    text-align: center;
    margin-bottom: 48px;
}

.article-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #B0B8D0;
    margin-bottom: 32px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-featured-image {
    width: 100%;
    border-radius: 28px;
    margin-bottom: 48px;
    background: #13182A;
    padding: 24px;
    text-align: center;
}

.article-featured-image img {
    width: 100%;
    border-radius: 20px;
    max-height: 400px;
    object-fit: cover;
}

.article-content {
    background: #13182A;
    border-radius: 28px;
    padding: 40px;
    border: 1px solid rgba(228,184,59,0.2);
}

.article-content p {
    margin-bottom: 24px;
    line-height: 1.8;
    color: #B8C0DC;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #E4B83B;
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 32px 0 16px;
    color: #EFF3FF;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 12px;
    color: #B8C0DC;
}

.article-content blockquote {
    border-left: 4px solid #E4B83B;
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: #B0B8D0;
}

/* 相关文章样式 */
.related-articles {
    margin-top: 80px;
}

.related-articles h3 {
    font-size: 1.8rem;
    margin-bottom: 32px;
    text-align: center;
    background: linear-gradient(135deg, #FFFFFF, #E4B83B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-card {
    background: #13182A;
    border-radius: 28px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(228,184,59,0.2);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.5);
    border-color: rgba(228,184,59,0.5);
}

.related-card img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 16px;
    height: 160px;
    object-fit: cover;
    background: #232B46;
}

.related-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #EFF3FF;
}

.related-card a {
    color: #E4B83B;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 12px;
    transition: color 0.3s;
}

.related-card a:hover {
    text-decoration: underline;
    color: #F0C95C;
}

/* FAQ 分类 */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.faq-category {
    padding: 10px 20px;
    border-radius: 30px;
    background: #13182A;
    color: #EFF3FF;
    border: 1px solid rgba(228,184,59,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.faq-category:hover, .faq-category.active {
    background: #E4B83B;
    color: #0B0F1F;
    transform: translateY(-2px);
}

/* FAQ 搜索框 */
.faq-search {
    max-width: 600px;
    margin: 0 auto 48px;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 16px 24px;
    background: #13182A;
    border: 1px solid rgba(228,184,59,0.2);
    border-radius: 40px;
    color: #EFF3FF;
    font-size: 1rem;
}

.faq-search input::placeholder {
    color: #B0B8D0;
}

.faq-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    padding: 12px 24px;
    background: linear-gradient(95deg, #E4B83B, #C98F2E);
    border: none;
    border-radius: 36px;
    color: #0B0F1F;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(228,184,59,0.25);
}

/* 联系支持 */
.support-section {
    background: #0F1322;
    margin-top: 80px;
    padding: 60px 0;
}

.support-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.support-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.support-content p {
    color: #B0B8D0;
    margin-bottom: 32px;
}

/* 关于我们样式 */
.about-intro {
    background: #13182A;
    border-radius: 32px;
    padding: 48px;
    margin-bottom: 80px;
    border: 1px solid rgba(228,184,59,0.2);
}

.about-intro h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: #E4B83B;
}

.about-intro p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #C9D0EC;
}

/* 服务特色 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.service-card {
    background: #13182A;
    border-radius: 28px;
    padding: 32px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(228,184,59,0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.5);
    border-color: rgba(228,184,59,0.5);
}

.service-card i {
    font-size: 3rem;
    color: #E4B83B;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: #B8C0DC;
}

/* 发展历程 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 80px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(228,184,59,0.3);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 32px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 32px);
}

.timeline-content {
    background: #13182A;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(228,184,59,0.2);
}

.timeline-date {
    font-size: 0.9rem;
    color: #E4B83B;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.timeline-content p {
    color: #B8C0DC;
}

/* 团队介绍 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.team-card {
    background: #13182A;
    border-radius: 28px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(228,184,59,0.2);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.5);
    border-color: rgba(228,184,59,0.5);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E4B83B, #C98F2E);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #0B0F1F;
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.team-card p {
    color: #B0B8D0;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* 联系我们 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.contact-item {
    background: #13182A;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(228,184,59,0.2);
}

.contact-item i {
    font-size: 2rem;
    color: #E4B83B;
    margin-bottom: 16px;
}

.contact-item h4 {
    margin-bottom: 8px;
}

.contact-item p {
    color: #B0B8D0;
}

/* 页脚单列 */
footer {
    background: #070A16;
    padding: 48px 0 32px;
    text-align: center;
    border-top: 1px solid rgba(228,184,59,0.2);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.footer-links a {
    color: #B0B8D0;
    text-decoration: none;
}

.copyright {
    color: #6C7293;
    font-size: 0.85rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    .hero-left h1 {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .btn-group {
        justify-content: center;
    }
    .rule-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .rule-step {
        text-align: center;
    }
    section {
        padding: 60px 0;
    }
}