/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 背景层 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

/* 背景遮罩 */
.background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* 主容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部区域 */
.header {
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.title {
    font-size: 72px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    letter-spacing: 10px;
}

.subtitle {
    font-size: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 30px;
}

.header-buttons {
    position: absolute;
    top: 60px;
    right: 0;
    display: flex;
    gap: 15px;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.version-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
}

.version-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

/* 区域标题 */
.section-title {
    font-size: 32px;
    color: #FFD700;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.section-title .icon {
    font-size: 36px;
    margin-right: 10px;
}

/* 联系方式卡片 */
.contact-section {
    margin: 40px 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.card-header {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.card-body {
    padding: 20px;
    text-align: center;
}

.qr-code {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.contact-info {
    font-size: 14px;
    color: #ddd;
}

/* QQ群信息样式 */
.qq-group-info {
    width: 100%;
    padding: 10px 0;
}

.qq-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 14px;
}

.qq-info-item .label {
    color: #ddd;
    font-weight: normal;
}

.qq-info-item .value {
    color: #FFD700;
    font-weight: bold;
    font-size: 15px;
}

.join-btn {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 10px;
    background: linear-gradient(135deg, #2c7a7b, #285e61);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: linear-gradient(135deg, #319795, #2c7a7b);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 122, 123, 0.4);
}

/* 氪金介绍 */
.payment-section {
    margin: 40px 0;
}

.payment-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.payment-ratio {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border-radius: 10px;
    margin-bottom: 30px;
}

.ratio-label {
    font-size: 20px;
    color: #ddd;
    margin-bottom: 15px;
}

.ratio-value {
    font-size: 48px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 5px;
}

.payment-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.4);
}

.feature-item .icon {
    font-size: 24px;
    margin-right: 15px;
}

.feature-item .text {
    font-size: 18px;
    color: #fff;
}

/* 版本特色 */
.features-section {
    margin: 40px 0;
}

.features-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

/* 宣传福利 */
.promotion-section {
    margin: 40px 0;
}

.promotion-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.promotion-desc {
    font-size: 18px;
    color: #FFD700;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.8;
    padding: 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
}

/* 版本阶段 */
.version-section {
    margin: 40px 0;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
}

.tab.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-color: #e74c3c;
}

/* 游戏信息 */
.game-info {
    margin: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.info-card.full-width {
    grid-column: 1 / -1;
}

.info-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.info-list {
    list-style: none;
}

.info-list li {
    font-size: 18px;
    padding: 10px 0;
    color: #fff;
}

.function-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.function-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.function-item:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

.function-item .icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.function-item p {
    font-size: 14px;
}

.reward-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    list-style: none;
}

.reward-list li {
    background: rgba(255, 215, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.reward-list li:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .function-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .reward-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 48px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .function-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reward-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-buttons {
        position: static;
        margin-top: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .payment-card {
        padding: 20px;
    }

    .payment-features {
        grid-template-columns: 1fr;
    }

    .ratio-value {
        font-size: 36px;
    }
}
