/* 全局重置 - 消除默认样式差异 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", "Microsoft Yahei", Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 顶部导航栏 - 响应式 */
.page-header {
    background-color: #2c3e50;
    color: white;
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap; /* 手机端自动换行 */
    justify-content: center;
    align-items: center;
    gap: 12px; /* 按钮间距 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-header a {
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.page-header a.red {
    background-color: #e74c3c;
}

.page-header a#ipBtn {
    background-color: #2ecc71;
}

.page-header a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 核心视觉区 */
.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background-color: white;
    margin: 0 auto 20px;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.8;
}

/* 内容区 */
.content-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.content-block {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap; /* 手机端文字和二维码上下排列 */
    align-items: center;
    gap: 30px;
}

.content-text {
    flex: 1;
    min-width: 280px; /* 手机端最小宽度 */
}

.content-text small {
    color: #2ecc71;
    font-weight: bold;
}

.content-text h3 {
    font-size: 22px;
    margin: 10px 0 20px;
    color: #2c3e50;
}

.content-text p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.content-text a {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
}

.content-text a:hover {
    background-color: #2980b9;
}

.content-qrcode {
    flex: 0 0 150px;
    height: 150px;
    background-color: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* 优势展示板块 */
.advantages-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.advantages-title {
    text-align: center;
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: bold;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 自动适配列数 */
    gap: 25px;
}

.advantage-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 30px 20px;
    text-align: center;
}

.advantage-icon {
    font-size: 40px;
    color: #2ecc71;
    margin-bottom: 20px;
}

.advantage-card h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 玩家评价板块 */
.reviews-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.reviews-title {
    text-align: center;
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: bold;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.review-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 25px;
    display: flex;
    gap: 20px;
}

.review-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: #f5f5f5;
    border-radius: 50%;
    border: 1px solid #eee;
}

.review-content h5 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.review-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 页脚 */
.page-footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-column h6 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2ecc71;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-column ul li a {
    color: #ddd;
}

.footer-column ul li a:hover {
    color: #2ecc71;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 13px;
    color: #ddd;
}

.footer-bottom a {
    color: #2ecc71;
    margin-right: 15px;
}

/* 手机端适配（屏幕宽度<768px） */
@media (max-width: 768px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .advantages-title, .reviews-title {
        font-size: 24px;
    }
    
    .content-block {
        padding: 20px;
    }
    
    .advantage-card, .review-card {
        padding: 20px;
    }
    
    .page-header a {
        padding: 6px 10px;
        font-size: 13px;
    }
}