/* CSSVariantEngine v3.0 — home-cn-pggame.com */
/* Palette: editorial-cream-ink | Radius: refined | Shadow: layered-soft */
/* Spacing: comfortable | Transition: smooth-long */
/* Section layouts: {"news":"grid-3","features":"centered","hero":"left-aligned","testimonials":"carousel","partners":"centered","faq":"with-sidebar","stats":"big-number","cta":"centered"} */

:root {
    --color-primary: #c44536;
    --color-primary-dark: #9a3327;
    --color-accent: #6b705c;
    --color-surface: #f5f1e8;
    --color-text: #1a1a1a;
    --rgb-primary: 196,69,54;
    --rgb-accent: 107,112,92;
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 16px;
    --shadow-sm: 0 1px 2px rgba(26,26,26,.06), 0 2px 6px rgba(196,69,54,.04);
    --shadow-md: 0 4px 14px rgba(26,26,26,.08), 0 2px 6px rgba(196,69,54,.06), 0 0 0 1px rgba(26,26,26,.03);
    --shadow-lg: 0 18px 40px rgba(26,26,26,.12), 0 8px 18px rgba(196,69,54,.08), 0 2px 4px rgba(26,26,26,.05);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #faf7ef 0%, #f5f1e8 40%, #efe9dc 100%); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #1a1a1a; }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); background: linear-gradient(180deg, rgba(245,241,232,0) 0%, rgba(239,233,220,0.35) 100%); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background: linear-gradient(145deg, #fffdf8 0%, #f7f2e6 100%); border: 1px solid rgba(26,26,26,.06); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #c44536 0%, #9a3327 100%); color: #f5f1e8; box-shadow: 0 4px 12px rgba(196,69,54,.28); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(196,69,54,.35); }

/* ========== Section Layout Variants ========== */

/* news: grid-3 */
/* 三列等宽网格 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* features: centered */
/* 居中大卡片 */
                .feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }

/* hero: left-aligned */
.hero-content { text-align: left; max-width: 600px; }

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; }

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; color: #c44536; text-shadow: 0 2px 8px rgba(196,69,54,.18); }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

/* Page Layout: full-width */
/* 无侧边栏, 全宽 */
            .page-main { max-width: 1200px; margin: 0 auto; }

/* 条件性装饰 */

/* Responsive */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .feature-list { grid-template-columns: repeat(2, 1fr) !important; }
    .partner-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-inner { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    :root { --space-section: 2rem; --space-card: 1rem; --space-gap: 0.75rem; }
    .news-grid { grid-template-columns: 1fr !important; }
    .feature-list { grid-template-columns: 1fr !important; }
    .faq-list { grid-template-columns: 1fr !important; }
    .testimonial-list { column-count: 1 !important; }
    .partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .cta-inner { grid-template-columns: 1fr !important; }
}