/*
Theme Name: Qamico ZHZR
Theme URI: https://你的域名/
Author: 你的名字
Description: 基于 Qamico 主题的魔幻手游官网，移动端优先，百度SEO优化
Version: 1.0.0
License: GPL v2 or later
Text Domain: qamico-zhzr
*/

/* ===== 移动端优先基础样式 ===== */
:root {
    --primary-color: #c41e3a;
    --secondary-color: #8b0000;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-light: #e0e0e0;
    --text-muted: #888;
    --gold: #d4af37;
    --font-size-base: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    padding-bottom: 60px; /* 为底部导航留空间 */
}

/* 移动端容器 */
.container {
    width: 100%;
    padding: 0 16px;
    margin: 0 auto;
}

/* 按钮触摸优化 */
.btn {
    display: inline-block;
    min-height: 44px;
    min-width: 44px;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #b8960c);
    color: #1a1a1a;
    font-weight: bold;
}

/* 卡片网格 - 移动端两列 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 0;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    body {
        padding-bottom: 0;
    }
}