/* CSSVariantEngine v3.0 — sv-xiongmaosports.com.cn */
/* Palette: editorial-magazine | Radius: soft organic | Shadow: warm layered */
/* Spacing: generous editorial | Transition: gradient-rich smooth */
/* Section layouts: {"news":"list-view","features":"grid-4","hero":"centered","testimonials":"stacked","partners":"scroll","faq":"single-column","stats":"inline","cta":"full-bg"} */

:root {
    --color-primary: #6b705c;
    --color-primary-dark: #4a4e41;
    --color-accent: #c44536;
    --color-surface: #f5f1e8;
    --color-text: #1a1a1a;
    --rgb-primary: 107, 112, 92;
    --rgb-accent: 196, 69, 54;
    --radius-sm: 2px;
    --radius-md: 6px;
    --radius-lg: 14px;
    --radius-xl: 22px;
    --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.08);
    --shadow-md: 0 6px 24px rgba(26, 26, 26, 0.12), 0 2px 8px rgba(196, 69, 54, 0.05);
    --shadow-lg: 0 12px 48px rgba(26, 26, 26, 0.15), 0 4px 16px rgba(107, 112, 92, 0.08);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    --heading-weight: 600;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #f5f1e8 0%, #ebe5d8 100%); }
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: linear-gradient(145deg, #ffffff 0%, #f9f7f2 100%); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #c44536 0%, #d45a4a 100%); color: #fff; box-shadow: var(--shadow-sm); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

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

/* news: list-view */
/* 列表模式 (图左文右) */
                .news-grid { display: flex; flex-direction: column; gap: var(--space-gap); }
                .news-grid .card { display: grid; grid-template-columns: 280px 1fr; }

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

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

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

/* partners: scroll */
/* 自动滚动 */
                .partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 24s linear infinite; }
                @keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }

/* cta: full-bg */
.cta-section { background: linear-gradient(90deg, #c44536 0%, #d45a4a 45%, #b33a2d 100%); color: #fff; padding: 4rem 2rem; box-shadow: var(--shadow-lg); }

/* Page Layout: full-width */
/* 无侧边栏, 全宽 */
            .page-main { max-width: 1320px; margin: 0 auto; padding-left: 3rem; padding-right: 3rem; }

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #6b705c 0%, #7d836b 30%, #4a4e41 70%, #3a3d34 100%); box-shadow: inset 0 0 120px rgba(26, 26, 26, 0.2); }
.card { border-left: 3px solid; border-image: linear-gradient(180deg, #c44536, #6b705c) 1; }
header, .header, .navbar { background: linear-gradient(180deg, rgba(245, 241, 232, 0.92) 0%, rgba(245, 241, 232, 0.75) 100%); backdrop-filter: blur(10px); }

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