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

body {
    background: url('../images/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.7);
    margin: 2rem 0;
    border-radius: 8px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #ffd700;
}

h3 {
    font-size: 1.8rem;
    margin: 1.5rem 0;
    color: #ffd700;
}

h4 {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #ffd700;
}

a {
    color: #ffd700;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* 导航栏 */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    font-size: 1.1rem;
}

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

.download-btn {
    background: #ffd700;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
}

.download-btn:hover {
    background: #ffc107;
    text-decoration: none;
}


/* 首页横幅 */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    background: #ffd700;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
}

.btn:hover {
    background: #ffc107;
    text-decoration: none;
}


/* 游戏介绍标签 */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tags span {
    background: #ffd700;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}


/* 轮播图 */
.carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    background-size: contain;
    object-fit: contain;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.carousel-indicators button.active {
    background: #ffd700;
}


/* 技术支持FAQ */
.faq {
    margin: 1.5rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


/* 下载区域 */
.download-section {
    text-align: center;
}

.ios-btn {
    background: #000;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.ios-btn i {
    font-size: 1.5rem;
}

.ios-btn:hover {
    background: #333;
    text-decoration: none;
}


/* 页脚 */
footer {
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}