/* CSSVariantEngine v3.0 — app-leisusport-ty.cn */
/* Palette: amber-slate | Radius: pill | Shadow: layered */
/* Spacing: balanced | Transition: smooth */
/* Section layouts: {"news":"featured-top","features":"centered","hero":"left-aligned","testimonials":"stacked","partners":"grid-4","faq":"with-sidebar","stats":"grid-4","cta":"centered"} */

:root {
    --color-primary: #b45309;
    --color-primary-dark: #7c2d12;
    --color-accent: #fcd34d;
    --color-surface: #fffbeb;
    --color-text: #1e293b;
    --rgb-primary: 180,83,9;
    --rgb-accent: 252,211,77;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;
    --shadow-sm: 0 1px 3px rgba(180,83,9,.06), 0 1px 2px rgba(30,41,59,.04);
    --shadow-md: 0 2px 6px rgba(180,83,9,.08), 0 4px 12px rgba(30,41,59,.06), 0 1px 2px rgba(252,211,77,.12);
    --shadow-lg: 0 8px 20px rgba(180,83,9,.12), 0 4px 8px rgba(30,41,59,.08), 0 2px 4px rgba(252,211,77,.15);
    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 600;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 50%, #fffbeb 100%); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #7c2d12; }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); background: linear-gradient(135deg, rgba(255,251,235,.98) 0%, rgba(254,243,199,.92) 100%); }
section:nth-child(even), .section:nth-child(even) { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); color: #fef3c7; }
section:nth-child(even) h1, section:nth-child(even) h2, section:nth-child(even) h3, section:nth-child(even) h4 { color: #fcd34d; }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background: linear-gradient(160deg, #ffffff 0%, #fffbeb 60%, #fef3c7 100%); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%); color: #fffbeb; box-shadow: 0 2px 8px rgba(180,83,9,.25), 0 1px 2px rgba(124,45,18,.2); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: 0 6px 18px rgba(180,83,9,.35), 0 2px 6px rgba(252,211,77,.2); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }
a:not([class]):hover { color: #d97706; }

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

/* news: featured-top */
/* 首篇横跨全宽 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
                .news-grid > *:first-child { grid-column: span 3; background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 40%, #fcd34d 100%); border-radius: var(--radius-xl); box-shadow: 0 8px 24px rgba(180,83,9,.15), 0 4px 8px rgba(252,211,77,.1); }

/* 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: stacked */
/* 垂直堆叠 */
                .testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }
                .testimonial-list > * { background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%); border-radius: var(--radius-lg); box-shadow: 0 3px 10px rgba(180,83,9,.08), 0 1px 3px rgba(30,41,59,.05); }

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

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

/* stats: grid-4 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); text-align: center; }
.stats-grid > * { background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); color: #fcd34d; border-radius: var(--radius-md); padding: 1.5rem 1rem; box-shadow: 0 4px 14px rgba(15,23,42,.3), inset 0 1px 0 rgba(252,211,77,.1); }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card { border-left: 3px solid var(--color-primary); border-image: linear-gradient(180deg, #b45309, #fcd34d) 1; }
header, .header, .navbar { box-shadow: 0 2px 12px rgba(180,83,9,.1), 0 1px 3px rgba(30,41,59,.06); background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); }

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