:/* CSSVariantEngine v3.0 — link5-kaiyun-sports.cn */
/* Palette: editorial-magazine | Radius: sharp | Shadow: layered */
/* Spacing: spacious | Transition: smooth */
/* Section layouts: {"news":"featured-left","features":"centered","hero":"left-aligned","testimonials":"grid-3","partners":"grid-6","faq":"with-sidebar","stats":"big-number","cta":"card-style"} */

:root {
    --color-primary: #c44536;
    --color-primary-dark: #a03426;
    --color-accent: #6b705c;
    --color-surface: #f5f1e8;
    --color-text: #1a1a1a;
    --rgb-primary: 196,69,54;
    --rgb-accent: 107,112,92;
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --shadow-sm: 0 1px 2px rgba(26,26,26,.08), 0 1px 1px rgba(26,26,26,.04);
    --shadow-md: 0 4px 8px rgba(26,26,26,.08), 0 2px 4px rgba(26,26,26,.06), 0 1px 0 rgba(255,255,255,.4) inset;
    --shadow-lg: 0 12px 24px rgba(26,26,26,.12), 0 6px 12px rgba(26,26,26,.08), 0 2px 4px rgba(26,26,26,.04);
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 700;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(135deg, #faf6ed 0%, #f5f1e8 50%, #efe9dc 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, #fdfaf3 0%, #f5f1e8 100%); border: 1px solid rgba(196,69,54,.1); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #d4553f 0%, #c44536 50%, #a03426 100%); color: #fdfaf3; box-shadow: 0 2px 4px rgba(196,69,54,.3), 0 1px 2px rgba(26,26,26,.1); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: 0 4px 8px rgba(196,69,54,.4), 0 2px 4px rgba(26,26,26,.12); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration: none; border-bottom: 1px solid rgba(196,69,54,.3); }
a:not([class]):hover { color: var(--color-primary-dark); border-bottom-color: var(--color-primary-dark); }

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

/* news: featured-left */
/* 左大右小 (1大+2小) */
.news-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: var(--space-gap); }
.news-grid > *:first-child { grid-row: span 2; }
.news-grid > *:first-child { background: linear-gradient(135deg, #c44536 0%, #a03426 100%); color: #fdfaf3; border-color: rgba(196,69,54,.2); }

/* 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: grid-3 */
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

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

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

/* stats: big-number */
/* 大数字居中 */
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.stats-grid .stat-value { font-size: 3rem; }

/* cta: card-style */
.cta-inner { background: linear-gradient(135deg, #f5f1e8 0%, #e8e2d5 100%); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(196,69,54,.05); }

/* 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), 0 0 0 1px rgba(196,69,54,.1); }
.card { border: 1px solid rgba(var(--rgb-primary), .08); }

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