/* CSSVariantEngine v3.0 — zh-6686sports.tj.cn */
/* Palette: violet-mosaic | Radius: medium | Shadow: glow */
/* Spacing: balanced | Transition: smooth */
/* Section layouts: {"news":"featured-left","features":"horizontal","hero":"left-aligned","testimonials":"stacked","partners":"grid-6","faq":"two-column","stats":"inline","cta":"split"} */

:root {
    --color-primary: #6d28d9;
    --color-primary-dark: #2e1065;
    --color-accent: #f472b6;
    --color-surface: #f6f4ff;
    --color-text: #1a1030;
    --rgb-primary: 109,40,217;
    --rgb-accent: 244,114,182;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-sm: 0 0 12px rgba(109, 40, 217, 0.16), 0 2px 6px rgba(26, 16, 48, 0.08);
    --shadow-md: 0 0 22px rgba(109, 40, 217, 0.22), 0 8px 22px rgba(46, 16, 101, 0.14);
    --shadow-lg: 0 0 32px rgba(244, 114, 182, 0.45), 0 16px 38px rgba(46, 16, 101, 0.26);
    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;
    --transition: 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #fbfaff; accent-color: var(--color-primary); caret-color: var(--color-primary); }
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-color: var(--color-surface); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

/* ========== 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; box-shadow: 0 0 28px rgba(109, 40, 217, 0.3), 0 12px 30px rgba(46, 16, 101, 0.18); }

/* features: horizontal */
/* 水平滚动 */
                .feature-list { display: flex; gap: var(--space-gap); overflow-x: auto; scroll-snap-type: x mandatory; }
                .feature-list > * { flex: 0 0 300px; scroll-snap-align: start; box-shadow: 0 0 20px rgba(244, 114, 182, 0.28), 0 6px 18px rgba(46, 16, 101, 0.12); }

/* 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 > * { border-radius: var(--radius-lg); box-shadow: 0 0 18px rgba(109, 40, 217, 0.18), 0 6px 16px rgba(26, 16, 48, 0.1); }

/* partners: grid-6 */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }
.partner-grid > * { border-radius: var(--radius-md); filter: saturate(1.15); }

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }
.faq-list > * { border-radius: var(--radius-md); box-shadow: 0 0 16px rgba(52, 211, 153, 0.22), 0 4px 14px rgba(26, 16, 48, 0.09); }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }
                .stats-grid > * { color: var(--color-primary-dark); text-shadow: 0 0 16px rgba(244, 114, 182, 0.45); }

/* cta: split */
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.cta-inner > *:last-child { box-shadow: 0 0 30px rgba(244, 114, 182, 0.5), 0 10px 26px rgba(46, 16, 101, 0.2); }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: 0 0 32px rgba(244, 114, 182, 0.6), 0 0 60px rgba(109, 40, 217, 0.28), 0 18px 42px rgba(46, 16, 101, 0.3); }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 14px rgba(244, 114, 182, 0.55); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 45%, #2e1065 100%); }
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; --shadow-md: 0 0 16px rgba(109, 40, 217, 0.2), 0 6px 16px rgba(46, 16, 101, 0.12); --shadow-lg: 0 0 24px rgba(244, 114, 182, 0.42), 0 10px 26px rgba(46, 16, 101, 0.22); }
    .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; }
}