:root {
    --bg-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    --accent-color: #ffcc00; /* 金黄色 */
    --text-main: #e2e8f0;    /* 浅灰文字 */
    --text-white: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.08); /* 磨砂玻璃底色 */
}

* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-gradient) !important;
    color: var(--text-main) !important;
    line-height: 1.7;
    margin: 0;
    padding: 20px 10px;
}

/* 主布局 */
.main-wrapper {
    max-width: 850px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

header { text-align: center; padding: 20px 0; }

/* 容器内部清理 */
.container, .about-section, .faq-section, .game-container, .download-section, .features-section {
    background: transparent !important;
    padding: 20px 0;
}

/* 标题与文字颜色 */
h1, h2, h3, .logo { color: var(--accent-color) !important; }
p, li, .faq-item span, #score-display { color: var(--text-main) !important; }
strong { color: var(--text-white) !important; }

/* 链接统一颜色 */
a { color: var(--accent-color) !important; text-decoration: none; transition: 0.3s; }
a:hover { text-decoration: underline; opacity: 0.8; }

/* 游戏卡片布局 */
.game-item {
    display: flex !important;
    align-items: center;
    gap: 20px;
    padding: 20px !important;
    text-align: left !important;
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px;
    margin-bottom: 15px;
}

/* 图片适配 */
.game-item img, .download-section img {
    width: 120px !important;
    height: 120px !important;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

/* 按钮风格 */
.btn {
    background: var(--accent-color) !important;
    color: #000 !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    text-align: center;
}
.btn-game { margin-bottom: 10px !important; width: auto !important; }
.btn-details { margin-top: 5px !important; display: block; border: 1px solid var(--accent-color); padding: 5px 10px; border-radius: 5px; }

/* 信任证章 */
.trust-badges { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.badge-card { display: flex; align-items: center; justify-content: flex-start; gap: 15px; background: rgba(0,0,0,0.25); padding: 16px; border-radius: 12px; }

/* 翻牌游戏网格 */
.memory-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 50px) !important;
    gap: 8px !important;
    margin: 15px auto !important;
    width: 108px !important;
    justify-content: center;
}
.card-box { width: 50px; height: 50px; background: #2c3e50; color: white; display: flex; align-items: center; justify-content: center; border-radius: 5px; cursor: pointer; }

/* 响应式适配 */
@media (max-width: 600px) {
    .main-wrapper { border-radius: 0 !important; }
    .btn-group { display: flex; flex-direction: column; align-items: center; gap: 12px; }
    .btn { width: 90%; }
}

@media (min-width: 768px) {
    .trust-badges { flex-direction: row; }
    .badge-card { flex: 1; justify-content: center; }
    .download-section { display: flex !important; align-items: center; justify-content: center; gap: 40px; }
}