/* CSSVariantEngine v3.0 — sc-zosports.com.cn */
/* Palette: indigo-amber glow | Radius: soft-medium | Shadow: neon-glow */
/* Spacing: asymmetric | Transition: smooth-glow */
/* Section layouts: {"news":"featured-top","features":"centered","hero":"minimal","testimonials":"stacked","partners":"centered","faq":"with-sidebar","stats":"grid-3","cta":"full-bg"} */

:root {
    --color-primary: #4338ca;
    --color-primary-dark: #312e81;
    --color-accent: #f59e0b;
    --color-surface: #fef7ed;
    --color-text: #1e1b4b;
    --rgb-primary: 67, 56, 202;
    --rgb-accent: 245, 158, 11;
    --radius-sm: 7px;
    --radius-md: 13px;
    --radius-lg: 17px;
    --radius-xl: 25px;
    --shadow-sm: 0 0 10px rgba(var(--rgb-accent), 0.18), 0 2px 3px rgba(0,0,0,.07);
    --shadow-md: 0 0 24px rgba(var(--rgb-accent), 0.4), 0 3px 7px rgba(0,0,0,.11);
    --shadow-lg: 0 0 32px rgba(var(--rgb-accent), 0.6), 0 5px 12px rgba(0,0,0,.16);
    --space-section: 4.7rem;
    --space-card: 1.9rem;
    --space-gap: 1.4rem;
    --transition: 0.32s ease-in-out;
    --heading-weight: 700;
    --body-line-height: 1.75;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--rgb-accent), 0.35); }
    50% { box-shadow: 0 0 28px rgba(var(--rgb-accent), 0.5); }
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #f8fafc; }
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: #ffffff; border: 2px solid #e0e7ff; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background-color: var(--color-primary); color: white; border: 2px solid var(--color-accent); }
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; background-color: #fffbeb; border-color: 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; }

/* hero: minimal */
.hero { padding: 2rem 0; background: linear-gradient(120deg, #eef2ff 0%, #fef3c7 100%); } .hero-content { max-width: 560px; }

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

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
.faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.faq-wrapper > *:last-child { background-color: #eef2ff; border: 2px solid var(--color-primary); }

/* stats: grid-3 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); text-align: center; }
.stats-grid .card { background-color: #f0f9ff; border-color: var(--color-primary); }

/* cta: full-bg */
.cta-section { background: linear-gradient(145deg, var(--color-primary) 0%, #6366f1 100%); color: #fff; padding: 4rem 2rem; }

/* Page Layout: narrow-centered */
/* 窄版居中 */
.page-main { max-width: 860px; margin: 0 auto; }

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--color-accent); animation: pulse-glow 2s ease-in-out infinite; }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 8px rgba(var(--rgb-accent), 0.4); }
.card { border-left: 4px solid var(--color-accent); }
header, .header, .navbar { box-shadow: 0 0 18px rgba(var(--rgb-accent), 0.25), 0 2px 7px rgba(0,0,0,.09); background-color: #ffffff; border-bottom: 2px solid #e0e7ff; }

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