:root {
    --primary: #046bd2;
    --primary-hover: #045cb4;
    --text-dark: #1e293b;
    --text-muted: #334155;
    --bg-light: #f8fafc;
    --success: #00d084;
    --danger: #cf2e2e;
    --warning: #ff6900;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-muted);
    background-color: #f1f5f9;
    line-height: 1.65;
    margin: 0;
    padding: 0;
}
.main-wrapper {
    max-width: 850px;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    overflow: hidden;
}
header {
    text-align: center;
    padding: 25px 0;
    background: #fff;
    border-bottom: 2px solid var(--bg-light);
}
.logo {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1.5px;
}
.container { padding: 30px; }
.btn-group { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 40px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-login { background-color: #f78da7; }
.btn-login:hover { background-color: #f5658b; }
.btn-register { background-color: var(--success); }
.btn-register:hover { background-color: #00b371; }
.download-box { margin: 30px 0; }
.btn-download {
    background: linear-gradient(135deg, #cf2e2e 0%, #991b1b 100%);
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 12px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}
.btn-download:hover { opacity: 0.9; }
h1, h2, h3 { color: var(--text-dark); font-weight: 700; }
h1 { text-align: center; font-size: 32px; margin-top: 0; margin-bottom: 25px; }
.trust-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin: 30px 0; text-align: center; }
.badge-card { background: var(--bg-light); padding: 15px 10px; border-radius: 6px; border: 1px solid #e2e8f0; font-size: 13px; font-weight: 600; color: var(--text-dark); }
.badge-card svg { width: 35px; height: 35px; margin-bottom: 8px; }
.game-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 30px 0; }
.game-card {
    background: #1e293b;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    color: #fff;
    box-shadow: inset 0 -60px 40px rgba(0,0,0,0.8);
    border: 1px solid #334155;
}
.game-card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    opacity: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.game-card-title { position: relative; z-index: 2; font-weight: 700; font-size: 16px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.game-card-tag { position: relative; z-index: 2; font-size: 12px; color: var(--success); font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin: 30px 0; }
table td { padding: 14px 18px; border: 1px solid #e2e8f0; font-size: 15px; }
table tr:nth-child(even) { background-color: var(--bg-light); }
ul, ol { padding-left: 20px; }
li { margin-bottom: 8px; }
footer { padding: 25px 0; text-align: center; background: var(--bg-light); border-top: 1px solid #e2e8f0; font-size: 14px; }
footer a { color: var(--primary); font-weight: 600; text-decoration: none; }
footer a:hover { text-decoration: underline; }
@media (max-width: 600px) {
    .trust-badges { grid-template-columns: repeat(2, 1fr); }
    .game-showcase { grid-template-columns: 1fr; }
    .btn-group { flex-direction: column; }
}

/* 游戏区布局 */
.game-container { background: #1e293b; padding: 25px; border-radius: 12px; margin: 30px 0; color: #fff; text-align: center; }

/* 核心容器：使用 flex 实现横向居中并隔开 */
.game-box { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin-top: 20px; 
    flex-wrap: wrap; /* 适配移动端自动换行 */
}

/* 每个游戏的单元块 */
.game-item { 
    flex: 1; 
    max-width: 250px; 
    background: #2d3748; 
    padding: 15px; 
    border-radius: 10px; 
}

/* 游戏介绍文字 */
.game-desc { 
    font-size: 13px; 
    color: #cbd5e0; 
    margin: 10px 0; 
    line-height: 1.4;
    min-height: 40px; /* 保持高度统一 */
}

.hero-cta { text-align: center; margin: 40px 0; }
.hero-cta h1 { font-size: 28px; color: #1e293b; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.guide-item { background: #fff; padding: 15px; border-radius: 8px; border: 1px solid #e2e8f0; }
.download-section { background: #f1f5f9; padding: 25px; border-radius: 8px; text-align: center; margin: 30px 0; }
.faq-section { margin-top: 30px; border-top: 2px solid #e2e8f0; padding-top: 20px; }