/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url('background.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    color: #fff;
    min-height: 100vh;
    background-color: #1a1a1a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 50px 0;
    border-radius: 10px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #f0c419;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: #f0c419;
    text-decoration: none;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f0c419;
}

.download-btn {
    background-color: #f0c419;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #d4a816;
    color: #000;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 英雄区样式 */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #f0c419;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.cta-btn {
    background-color: #f0c419;
    color: #000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #d4a816;
}

/* 游戏介绍样式 */
.game-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.game-desc p {
    margin-bottom: 20px;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
}

.tag {
    background-color: #f0c419;
    color: #000;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    height: 80vh;
    border-radius: 10px;
    overflow: hidden;
    background-color: #000;
}

.carousel-slides {
    height: 100%;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 50%;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: #f0c419;
}

/* 技术支持样式 */
.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background-color: rgba(240, 196, 25, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #f0c419;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #f0c419;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0 15px 0;
}

.faq-answer p {
    line-height: 1.6;
}

/* 隐私政策样式 */
.privacy-content {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

.privacy-content h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px 0;
    color: #f0c419;
}

.privacy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.privacy-content li {
    margin-bottom: 10px;
}

/* 下载区样式 */
.download-section {
    text-align: center;
    background-color: rgba(240, 196, 25, 0.1);
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.app-store-btn:hover {
    background-color: #333;
}

.app-store-btn i {
    font-size: 2rem;
}

/* 页脚样式 */
.footer {
    background-color: #000;
    padding: 30px 0;
    text-align: center;
}

.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f0c419;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .support-content {
        grid-template-columns: 1fr;
    }

    .carousel {
        height: 60vh;
    }

    h2 {
        font-size: 2rem;
    }
}