/* CSSVariantEngine v3.0 — FootballScores-jiebao.cn */
/* Palette: Editorial Cream | Radius: Soft rounded | Shadow: layered subtle */
/* Spacing: generous | Transition: smooth 0.5s cubic */
/* Section layouts: {"news":"featured-top","features":"centered","hero":"left-aligned","testimonials":"masonry","partners":"grid-4","faq":"single-column","stats":"grid-4","cta":"centered"} */

:root {
    --color-primary: #c44536;
    --color-primary-dark: #9a2f22;
    --color-accent: #d9776a;
    --color-surface: #f5f1e8;
    --color-text: #1a1a1a;
    --rgb-primary: 196, 69, 54;
    --rgb-accent: 217, 119, 106;
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 1px 3px 6px rgba(26,26,26,0.08), 0 1px 2px rgba(26,26,26,0.04);
    --shadow-md: 3px 8px 18px rgba(26,26,26,0.1), 1px 3px 8px rgba(26,26,26,0.06);
    --shadow-lg: 6px 16px 36px rgba(26,26,26,0.12), 2px 6px 16px rgba(26,26,26,0.08), 0 2px 4px rgba(26,26,26,0.04);
    --space-section: 4rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;
    --transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --heading-weight: 600;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #f5f1e8 0%, #f0ebe0 50%, #e9e3d4 100%); min-height: 100vh; }
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, #f8f4ed); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #c44536, #a8372b, #c44536); color: white; border: none; }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

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

/* 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: masonry */
.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
                .testimonial-list > * { break-inside: avoid; margin-bottom: var(--space-gap); }

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

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

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

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

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

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); text-decoration-thickness: 2px; }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #2c2523 0%, #1a1a1a 40%, #332a27 75%, #241f1e 100%); }
.card { border-left: 3px solid; border-image: linear-gradient(180deg, #c44536, #e08578, #c44536) 1 0; }
header, .header, .navbar { background: linear-gradient(90deg, rgba(245,241,232,0.94), rgba(247,243,235,0.91)); backdrop-filter: blur(8px); }

/* 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: 1.1rem; --space-gap: 0.9rem; }
    .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; }
}