/* ===== 全局重置 & 基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    color: #222;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo a i {
    color: #f1c40f;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 22px;
}

.nav-menu ul li a {
    font-weight: 500;
    font-size: 15px;
    color: #333;
    transition: color 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #f1c40f;
    border-bottom-color: #f1c40f;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* ===== 移动端导航 ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
        border-radius: 0 0 20px 20px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .nav-menu.active {
        display: block;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu ul li a {
        display: block;
        padding: 8px 0;
        border-bottom: none;
        font-size: 16px;
    }
}

/* ===== 通用区块 ===== */
section {
    padding: 80px 0 60px;
    scroll-margin-top: 70px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.section-title span {
    color: #f1c40f;
}

.section-subtitle {
    text-align: center;
    color: #777;
    font-size: 18px;
    margin-bottom: 40px;
}

/* ===== Hero 首页 ===== */
.hero {
    background: linear-gradient(135deg, #0a0f1a 0%, #1a1a2e 100%);
    color: white;
    padding: 120px 20px 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content h1 span {
    color: #f1c40f;
}

.hero-content .slogan {
    font-size: 28px;
    font-weight: 300;
    margin: 10px 0;
    color: #f1c40f;
}

.hero-content .sub-slogan {
    font-size: 18px;
    color: #bbb;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #f1c40f;
    color: #1a1a2e;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 14px 40px;
    border-radius: 50px;

    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #1a1a2e;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item span {
    font-size: 32px;
    font-weight: 700;
    color: #f1c40f;
    display: block;
}

.stat-item label {
    font-size: 14px;
    color: #aaa;
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 36px; }
    .hero-content .slogan { font-size: 22px; }
    .hero-stats { gap: 30px; }
    .stat-item span { font-size: 24px; }
}

/* ===== 解决方案 ===== */
.solution-section {
    background: #f8f9fa;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-left: 4px solid #f1c40f;
    transition: transform 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-card .icon {
    font-size: 32px;
    color: #f1c40f;
    margin-bottom: 12px;
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.solution-card ul {
    list-style: none;
    padding: 0;
}

.solution-card ul li {
    padding: 4px 0;
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-card .step-tag {
    display: inline-block;
    background: #f1c40f;
    color: #1a1a2e;
    font-weight: 700;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    text-align: center;
    line-height: 26px;
    font-size: 13px;
    flex-shrink: 0;
}

.faq-highlight {
    background: #eaf2ff;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    border-left: 4px solid #f1c40f;
}

.faq-highlight h4 {
    color: #1a3a6b;
    margin-bottom: 4px;
}

/* ===== 设备支持 ===== */
.device-section {
    background: white;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.device-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s;
}

.device-card:hover {
    transform: translateY(-5px);
}

.device-card i {
    font-size: 48px;
    color: #f1c40f;
    margin-bottom: 15px;
}

.device-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.device-card p {
    color: #666;
    margin-bottom: 15px;
}

.device-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.device-card ul li {
    padding: 4px 0;
    color: #555;
    font-size: 14px;
}

.device-tip {
    background: #eaf2ff;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 14px;
    color: #1a3a6b;
    text-align: left;
}

.device-faq {
    margin-top: 40px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
}

.device-faq h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.device-faq .faq-item {
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
}

.device-faq .faq-item:last-child {
    border-bottom: none;
}

.device-faq .faq-item h4 {
    font-size: 17px;
    margin-bottom: 5px;
    color: #1a1a2e;
}

.device-faq .faq-item p {
    color: #555;
    font-size: 15px;
}

/* ===== 游戏规则 ===== */
.rules-section {
    background: #f8f9fa;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.rule-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.rule-card:hover {
    transform: translateY(-3px);
}

.rule-icon {
    font-size: 32px;
    color: #f1c40f;
    margin-bottom: 12px;
}

.rule-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.rule-card p {
    color: #555;
    margin-bottom: 10px;
}

.rule-card details {
    margin-top: 8px;
    cursor: pointer;
}

.rule-card details summary {
    font-weight: 600;
    color: #f1c40f;
}

.rule-card details p {
    margin-top: 8px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 14px;
}

.rules-note {
    background: #eaf2ff;
    padding: 15px 20px;
    border-radius: 12px;
    color: #1a3a6b;
    text-align: center;
}

/* ===== 产品中心 ===== */
.products-section {
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.product-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.product-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.product-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.product-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.product-tags span {
    background: #e9ecef;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #333;
}

.btn-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #f1c40f;
    color: #1a1a2e;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #f1c40f;
    color: #fff;
}

/* ===== 游戏资讯（折叠） ===== */
.news-section {
    background: #f8f9fa;
}

.news-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: #f1f1f1;
}

.accordion-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-header h3 i {
    color: #f1c40f;
    width: 24px;
}

.badge {
    background: #f1c40f;
    color: #1a1a2e;
    padding: 2px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.accordion-header i.fa-chevron-down {
    transition: transform 0.3s;
}

.accordion-body {
    display: none;
    padding: 0 24px 20px;
}

.accordion-body.active {
    display: block;
}

.news-list {
    list-style: none;
}

.news-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #1a1a2e;
    transition: color 0.2s;
}

.news-list a:hover {
    color: #f1c40f;
}

.news-title {
    font-weight: 500;
}

.news-date {
    font-size: 13px;
    color: #999;
}

/* ===== 代理加盟 ===== */
.agency-section {
    background: white;
}

.agency-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.agency-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.advantage-item {
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item i {
    font-size: 36px;
    color: #f1c40f;
    margin-bottom: 15px;
}

.advantage-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.advantage-item p {
    font-size: 14px;
    color: #666;
}

.agency-process {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
}

.agency-process h3 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.agency-process ul {
    list-style: none;
}

.agency-process ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.agency-process ul li:last-child {
    border-bottom: none;
}

.agency-process ul li span {
    background: #f1c40f;
    color: #1a1a2e;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.agency-form {
    grid-column: 1 / -1;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
}

.agency-form h3 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.agency-form input,
.agency-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 16px;
}

.agency-form .btn-primary {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .agency-content {
        grid-template-columns: 1fr;
    }
    .agency-advantages {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== 联系我们 ===== */
.contact-section {
    background: #f8f9fa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.info-item i {
    font-size: 28px;
    color: #f1c40f;
    width: 40px;
    text-align: center;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.info-item p {
    color: #666;
}

.contact-form h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-form .btn-primary {
    width: 100%;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 25px;
    }
}

/* ===== 页脚 ===== */
.footer {
    background: #0a0f1a;
    color: #ccc;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 24px;
    color: white;
}

.footer-brand h3 i {
    color: #f1c40f;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f1c40f;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #1a1a2e;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #ccc;
    transition: background 0.3s, color 0.3s;
}

.footer-social a:hover {
    background: #f1c40f;
    color: #1a1a2e;
}

.footer-bottom {
    border-top: 1px solid #1a1a2e;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #777;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ===== 回到顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #f1c40f;
    color: #1a1a2e;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    transform: scale(1.1);
}
/* ===== 关于亚星 ===== */
.about-section {
    background: #ffffff;
}

.about-block {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    align-items: flex-start;
    background: #f8f9fa;
    padding: 25px 30px;
    border-radius: 20px;
    transition: transform 0.3s;
}

.about-block:hover {
    transform: translateY(-3px);
}

.about-icon {
    font-size: 36px;
    color: #f1c40f;
    min-width: 60px;
    text-align: center;
    padding-top: 6px;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.about-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.value-item {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
}

.value-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.value-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.value-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}