/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-size: 16px;
}

/* 头部导航 */
header {
    background: linear-gradient(90deg, #8b0000 0%, #dc143c 50%, #ff6347 100%);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.cta-button {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #8b0000;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,215,0,0.6);
}

/* 主内容区域 */
main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 3%;
}

/* Hero区域 */
.hero {
    position: relative;
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-text {
    position: absolute;
    bottom: 10%;
    left: 5%;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.5rem;
}

/* 内容区块 */
section {
    background: #fff;
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

section h2 {
    color: #8b0000;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 0.8rem;
    font-weight: 700;
}

section h3 {
    color: #dc143c;
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

section p {
    margin-bottom: 1.2rem;
    text-align: justify;
    font-size: 1.05rem;
}

/* 游戏卡片 */
.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h3 {
    color: #8b0000;
    padding: 1rem;
    margin: 0;
}

.game-card p {
    padding: 0 1rem 1.5rem;
    margin: 0;
}

/* 视频容器 */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 攻略内容 */
.guide-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.guide-content img {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 支付图标 */
.payment-icons {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 80px;
    width: auto;
}

/* 牌照信息 */
.license-info {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.license-info img {
    max-width: 200px;
    height: auto;
}

/* FAQ */
.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid #ffd700;
    border-radius: 5px;
}

.faq-item h3 {
    color: #8b0000;
    margin-top: 0;
    font-size: 1.3rem;
}

/* 用户评论 */
.review-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.review-item strong {
    color: #8b0000;
}

/* 页脚 */
footer {
    background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 3rem 5%;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

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

.footer-info {
    text-align: center;
    margin-top: 2rem;
    line-height: 2;
}

/* 面包屑导航 */
nav[aria-label="breadcrumb"] ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

nav[aria-label="breadcrumb"] li::after {
    content: " / ";
    margin-left: 0.5rem;
}

nav[aria-label="breadcrumb"] li:last-child::after {
    content: "";
}

nav[aria-label="breadcrumb"] a {
    color: #8b0000;
    text-decoration: none;
}

nav[aria-label="breadcrumb"] a:hover {
    text-decoration: underline;
}

/* 页面Hero */
.page-hero {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.page-hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.page-hero .hero-text {
    position: absolute;
    bottom: 10%;
    left: 5%;
}

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

/* 内联图片 */
.inline-image {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* APP下载页面 */
.app-download-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    max-width: 250px;
    border: 5px solid #ffd700;
    border-radius: 10px;
}

.app-features ul {
    list-style: none;
    padding: 0;
}

.app-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.app-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
    font-size: 1.2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.app-store-button,
.android-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.app-store-button:hover,
.android-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139,0,0,0.4);
}

/* 移动端响应式 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    section {
        padding: 1.5rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .game-cards {
        grid-template-columns: 1fr;
    }

    .guide-content {
        flex-direction: column;
    }

    .guide-content img {
        max-width: 100%;
    }

    .page-hero .hero-text h1 {
        font-size: 1.8rem;
    }

    .app-download-container {
        flex-direction: column;
    }

    .download-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    section h3 {
        font-size: 1.3rem;
    }

    body {
        font-size: 14px;
    }
}
