:/* CSSVariantEngine v3.0 — sport-live-kaiyun.com */
/* Palette: deep-sidebar | Radius: rounded | Shadow: soft-multilayer */
/* Spacing: comfortable | Transition: smooth */
/* Section layouts: {"news":"list-view","features":"centered","hero":"left-aligned","testimonials":"stacked","partners":"centered","faq":"single-column","stats":"inline","cta":"card-style"} */

:root {
    --color-primary: #5b6b8c;
    --color-primary-dark: #232c3d;
    --color-accent: #e67e22;
    --color-surface: #f8f6f2;
    --color-text: #1d2433;
    --rgb-primary: 91,107,140;
    --rgb-accent: 230,126,34;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 4px 10px rgba(31, 38, 55, 0.06), 0 2px 4px rgba(31, 38, 55, 0.04);
    --shadow-md: 0 4px 12px rgba(31, 38, 55, 0.08), 0 16px 32px -12px rgba(31, 38, 55, 0.14);
    --shadow-lg: 0 8px 20px rgba(31, 38, 55, 0.10), 0 24px 48px -16px rgba(230, 126, 34, 0.18);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 700;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: #fdfcf9; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: var(--color-primary-dark); }
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: #ffffff; border: 1px solid rgba(91, 107, 140, 0.08); }
.card:hover, [class*="card"]:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: var(--color-accent); color: #ffffff; box-shadow: 0 4px 12px rgba(230, 126, 34, 0.25); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { background: #d35400; box-shadow: 0 6px 18px rgba(230, 126, 34, 0.35); transform: translateY(-1px); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(91, 107, 140, 0.3); }
a:not([class]):hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }

/* ========== 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; background: #ffffff; border-left: 4px solid var(--color-accent); }

/* features: centered */
/* 居中大卡片 */
                .feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }
                .feature-list .card { background: linear-gradient(145deg, #ffffff, #f8f6f2); }

/* 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 .card { background: #faf9f7; border-left: 4px solid rgba(230, 126, 34, 0.4); }

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.partner-grid .card { background: transparent; box-shadow: none; border: 1px solid rgba(91, 107, 140, 0.12); }

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-list .card { border-left: 4px solid var(--color-accent); }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }
                .stats-grid .card { background: var(--color-primary-dark); color: #ffffff; border: none; }
                .stats-grid .card h3, .stats-grid .card p { color: #ffffff; }

/* cta: card-style */
.cta-inner { background: linear-gradient(135deg, var(--color-primary-dark), #384358); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: var(--shadow-lg); color: #ffffff; }
.cta-inner h2, .cta-inner p { color: #ffffff; }

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

/* 条件性装饰 */
header, .header, .navbar { background: transparent; }

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