/* CSSVariantEngine v3.0 — zh9-leyu-game.com.cn */
/* Palette: ember-clay | Radius: pill-soft | Shadow: multi-layer soft */
/* Spacing: balanced | Transition: slow-glide */
/* Section layouts: {"news":"masonry-2","features":"grid-3","hero":"overlay","testimonials":"stacked","partners":"centered","faq":"single-column","stats":"grid-4","cta":"full-bg"} */

:root {
    --color-primary: #c2410c;
    --color-primary-dark: #7c2d12;
    --color-accent: #f59e0b;
    --color-surface: #fdf0dc;
    --color-text: #2b2420;
    --color-strip-light: #fffdf9;
    --color-strip-cream: #fdf3e4;
    --color-strip-dark: #2b1a12;
    --rgb-primary: 194,65,12;
    --rgb-accent: 245,158,11;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --shadow-sm: 0 1px 2px rgba(43,26,18,.06), 0 8px 18px -8px rgba(43,26,18,.16);
    --shadow-md: 0 4px 8px rgba(43,26,18,.05), 0 20px 40px -10px rgba(43,26,18,.14);
    --shadow-lg: 0 10px 22px rgba(43,26,18,.06), 0 36px 68px -20px rgba(43,26,18,.24);
    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;
    --transition: 0.44s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 700;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); background-color: var(--color-strip-light); line-height: var(--body-line-height); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: var(--color-primary-dark); text-shadow: 0 1px 0 rgba(255,255,255,.55); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); background-color: var(--color-strip-cream); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md), 0 0 0 1px rgba(194,65,12,.06); padding: var(--space-card); background-color: #fffdf9; transition: var(--transition); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); border-color: rgba(194,65,12,.20); background-color: var(--color-primary); color: #fff8f0; box-shadow: var(--shadow-sm); transition: var(--transition); }
a:not([class]) { color: var(--color-primary-dark); text-decoration-color: rgba(245,158,11,.65); transition: var(--transition); }

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

/* news: masonry-2 */
/* 两列瀑布流 */
                .news-grid { column-count: 2; column-gap: var(--space-gap); }
                .news-grid .card { break-inside: avoid; margin-bottom: var(--space-gap); background-color: #fffdf9; }

/* features: grid-3 */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; background-color: var(--color-strip-dark); background-image: radial-gradient(120% 140% at 12% 0%, rgba(245,158,11,.34) 0%, rgba(194,65,12,.22) 38%, rgba(43,26,18,0) 72%), linear-gradient(155deg, #3a2115 0%, #2b1a12 55%, #1d110b 100%); box-shadow: inset 0 -1px 0 rgba(245,158,11,.20), 0 28px 60px -30px rgba(43,26,18,.55); }
                .hero-content { position: relative; z-index: 1; color: #fff4e6; text-shadow: 0 2px 14px rgba(43,26,18,.55); }

/* testimonials: stacked */
/* 垂直堆叠 */
                .testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; color: var(--color-primary-dark); }

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; background-color: rgba(255,253,249,.75); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }

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

/* cta: full-bg */
.cta-section { background-color: var(--color-primary); background-image: linear-gradient(115deg, #7c2d12 0%, #c2410c 52%, #f59e0b 100%); color: #fff8f0; padding: 4rem 2rem; box-shadow: inset 0 1px 0 rgba(255,248,240,.22), 0 26px 56px -24px rgba(124,45,18,.55); text-shadow: 0 1px 10px rgba(43,26,18,.35); }

/* Page Layout: narrow-centered */
/* 窄版居中 */
            .page-main { max-width: 860px; margin: 0 auto; }

/* 条件性装饰 */
header, .header, .navbar { background-color: rgba(255,250,242,.72); backdrop-filter: blur(10px) saturate(130%); box-shadow: 0 1px 0 rgba(43,26,18,.07), 0 14px 30px -24px rgba(43,26,18,.35); }

/* 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; }
}