/* CSSVariantEngine v3.0 — int-jiuyougame.net.cn */
/* Palette: warm amber-cream | Radius: pillowy rounded | Shadow: soft layered */
/* Spacing: generous airy | Transition: smooth eased */
/* Section layouts: {"news":"featured-left","features":"horizontal","hero":"centered","testimonials":"carousel","partners":"grid-6","faq":"with-sidebar","stats":"grid-3","cta":"full-bg"} */

:root {
    --color-primary: #d97706;
    --color-primary-dark: #92400e;
    --color-accent: #fcd34d;
    --color-surface: #fffbeb;
    --color-text: #292524;
    --rgb-primary: 217, 119, 6;
    --rgb-accent: 252, 211, 77;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(120, 53, 15, 0.06);
    --shadow-md: 0 8px 20px rgba(120, 53, 15, 0.08), 0 3px 6px rgba(120, 53, 15, 0.04);
    --shadow-lg: 0 16px 40px rgba(120, 53, 15, 0.12), 0 6px 12px rgba(120, 53, 15, 0.06);
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 2.5rem;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --heading-weight: 800;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #ffffff; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background-color: #ffffff; border: 1px solid #fef3c7; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background-color: var(--color-primary); color: #ffffff; }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

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

/* news: featured-left */
/* 左大右小 (1大+2小) */
                .news-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: var(--space-gap); }
                .news-grid > *:first-child { grid-row: span 2; }

/* features: horizontal */
/* 水平滚动 */
                .feature-list { display: flex; gap: var(--space-gap); overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 0; }
                .feature-list > * { flex: 0 0 300px; scroll-snap-align: start; }

/* hero: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

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

/* partners: grid-6 */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }

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

/* stats: grid-3 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); text-align: center; }

/* cta: full-bg */
.cta-section { background: #292524; color: #fffbeb; padding: 5rem 2rem; }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
a:not([class]):hover { color: var(--color-primary-dark); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%); }
.card { border-left: 4px solid var(--color-accent); }

/* 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: 3.5rem; --space-card: 1.5rem; --space-gap: 2rem; }
    .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; }
}