/* 000qn.com - 千年游戏助手 全局样式 */
:root {
    --bg: #0a0e1a;
    --bg2: #111827;
    --bg3: #1a2332;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --faint: #475569;
    --primary: #f59e0b;
    --primary-light: #fbbf24;
    --accent: #ef4444;
    --accent2: #8b5cf6;
    --grad: linear-gradient(135deg, #f59e0b, #ef4444);
    --card-bg: rgba(255,255,255,0.04);
    --card-border: rgba(255,255,255,0.08);
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
}

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

body {
    font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-light); }

/* ── 导航栏 ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    padding: 0 24px;
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}
.navbar-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--grad);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    font-weight: 800;
}
.navbar-nav {
    display: flex;
    gap: 8px;
    list-style: none;
}
.navbar-nav a {
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}
.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}
.navbar-nav a.active { color: var(--primary); }

/* ── Hero 区域 ── */
.hero {
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero .subtitle {
    font-size: 18px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.8;
}
.hero .badge {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(245,158,11,0.4);
    border-radius: 999px;
    color: var(--primary);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 24px;
    background: rgba(245,158,11,0.06);
}

/* ── 通用区块 ── */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.section-desc {
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 48px;
}

/* ── 游戏卡片网格 ── */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.game-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    cursor: pointer;
}
.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(245,158,11,0.3);
}
.game-card .thumb {
    width: 100%;
    height: 200px;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.game-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.game-card .thumb .placeholder {
    font-size: 15px;
    color: var(--faint);
    letter-spacing: 1px;
}
.game-card .info {
    padding: 20px;
}
.game-card .info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.game-card .info p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.game-card .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.game-card .tag {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    background: rgba(245,158,11,0.1);
    color: var(--primary);
    border: 1px solid rgba(245,158,11,0.2);
}

/* ── 特性/功能区 ── */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: border-color .2s;
}
.feature-card:hover { border-color: rgba(245,158,11,0.3); }
.feature-icon {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ── 联系/CTA ── */
.cta-section {
    text-align: center;
    padding: 60px 24px;
    background: linear-gradient(180deg, transparent, rgba(245,158,11,0.03));
}
.cta-box {
    display: inline-block;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 40px 60px;
}
.cta-box h2 {
    font-size: 24px;
    margin-bottom: 12px;
}
.cta-box p {
    color: var(--muted);
    margin-bottom: 24px;
}
.cta-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--grad);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 999px;
    transition: filter .2s, transform .1s;
}
.cta-contact:hover { filter: brightness(1.1); color: #fff; }
.cta-contact:active { transform: translateY(1px); }

/* ── Footer ── */
.footer {
    text-align: center;
    padding: 32px 24px;
    color: var(--faint);
    font-size: 13px;
    border-top: 1px solid var(--card-border);
}

/* ── 游戏子页面 ── */
.game-hero {
    text-align: center;
    padding: 60px 24px 40px;
}
.game-hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}
.game-hero .game-subtitle {
    color: var(--muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}
.game-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 60px;
}
.game-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--card-border);
}
.game-content p,
.game-content li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}
.game-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.game-content li { margin-bottom: 8px; }

/* ── 截图展示（广告化） ── */
.screenshot-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 32px 0;
    border: 2px solid rgba(245,158,11,0.3);
    box-shadow: 0 8px 40px rgba(245,158,11,0.15), 0 0 0 1px rgba(245,158,11,0.1);
}
.screenshot-hero img {
    width: 100%;
    display: block;
}
.screenshot-hero .ad-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(245,158,11,0.4);
}
.screenshot-hero .ad-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 40px 24px 20px;
    color: #fff;
}
.screenshot-hero .ad-label h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.screenshot-hero .ad-label p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.screenshot-item {
    background: var(--bg3);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative;
}
.screenshot-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-color: rgba(245,158,11,0.3);
}
.screenshot-item img {
    width: 100%;
    display: block;
}
.screenshot-item .item-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(245,158,11,0.9);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}
.screenshot-item .caption {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    border-top: 1px solid var(--card-border);
}
.screenshot-item .caption small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    margin-top: 4px;
}

/* ── 响应式 ── */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero .subtitle { font-size: 15px; }
    .navbar-nav { display: none; }
    .games-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .cta-box { padding: 32px 24px; }
    .game-hero h1 { font-size: 28px; }
}

/* ── 首页案例卡：无截图时的品牌缩略块 ── */
.game-card .thumb .thumb-brand {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 6px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── 产品页：Hero 按钮组 ── */
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 26px;
}
.cta-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 999px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
}
.cta-ghost:hover { background: rgba(245, 158, 11, 0.1); color: var(--primary-light); }

/* ── 产品页：三档模式卡 ── */
.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 24px 0 8px;
}
.mode-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 22px 22px 20px;
}
.mode-card h3 {
    font-size: 19px;
    color: #fff;
    margin: 10px 0 6px;
}
.mode-desc {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
}
.mode-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 12px;
}
.mode-badge.silver { color: #cbd5e1; background: rgba(203, 213, 225, 0.12); border: 1px solid rgba(203, 213, 225, 0.3); }
.mode-badge.gold { color: #fbbf24; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.35); }
.mode-badge.diamond { color: #a78bfa; background: rgba(167, 139, 250, 0.12); border: 1px solid rgba(167, 139, 250, 0.35); }
.price-box {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 10px;
    padding: 12px 14px;
}
.price-year {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.price-year b {
    font-size: 22px;
    color: var(--primary-light);
}
.price-save {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #16a34a;
    border-radius: 4px;
    padding: 2px 8px;
}
.year-hint {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}
.price-month {
    color: var(--faint);
    font-size: 13px;
    margin-top: 10px;
}

/* ── 产品页：终身卡横幅 ── */
.life-banner {
    margin: 22px 0 8px;
    padding: 20px 22px;
    text-align: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(245, 158, 11, 0.18));
    border: 1px solid rgba(239, 68, 68, 0.45);
}
.life-banner .line1 { font-size: 19px; font-weight: 800; color: #fff; }
.life-banner .line2 { font-size: 15px; font-weight: 700; color: #fde68a; margin-top: 6px; }
.life-banner .line3 { font-size: 13px; color: #fecaca; margin-top: 6px; }

/* ── 产品页：下载 ── */
.dl-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 20px 0 12px;
}
.dl-btn {
    display: inline-flex;
    align-items: center;
    padding: 13px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    background: var(--grad);
    color: #fff;
}
.dl-btn:hover { color: #fff; filter: brightness(1.08); }
.dl-btn.alt {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(245, 158, 11, 0.5);
    font-weight: 600;
}
.dl-btn.alt:hover { background: rgba(245, 158, 11, 0.1); color: var(--primary-light); }
.dl-tip {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}
.steps {
    margin: 16px 0 0 20px;
    padding: 0;
}
.steps li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}
.notice {
    margin: 26px 0 0;
    padding: 14px 18px;
    border-left: 3px solid var(--primary);
    background: rgba(245, 158, 11, 0.08);
    border-radius: 0 8px 8px 0;
    color: var(--muted);
    font-size: 14px;
}
.game-content .back-home {
    text-align: center;
    margin: 40px 0 0;
}

/* ── 页脚链接 ── */
.footer .footer-links {
    margin-top: 10px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.footer .footer-links a { color: var(--muted); }
.footer .footer-links a:hover { color: var(--primary); }
.footer .footer-links span { color: var(--faint); }
