/* CSSVariantEngine v3.0 — 3377sports.sx.cn */
/* Palette: indigo-cyan | Radius: medium | Shadow: glow-accent */
/* Spacing: symmetric 24px gap | Transition: smooth ease */
/* Section layouts: {"news":"featured-left","features":"centered","hero":"minimal","testimonials":"stacked","partners":"centered","faq":"with-sidebar","stats":"inline","cta":"card-style"} */

:root {
    --color-primary: #1d4ed8;
    --color-primary-dark: #1e40af;
    --color-accent: #06b6d4;
    --color-surface: #f0f9ff;
    --color-text: #0f172a;
    --rgb-primary: 29,78,216;
    --rgb-accent: 6,182,212;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 0 12px rgba(var(--rgb-accent), 0.2), 0 2px 4px rgba(15,23,42,0.05);
    --shadow-md: 0 0 24px rgba(var(--rgb-accent), 0.4), 0 4px 8px rgba(15,23,42,0.08);
    --shadow-lg: 0 0 32px rgba(var(--rgb-accent), 0.6), 0 8px 16px rgba(15,23,42,0.1);
    --space-section: 3.1rem;
    --space-card: 1.3rem;
    --space-gap: 1.5rem;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --heading-weight: 800;
    --body-line-height: 1.6;
}

@keyframes subtleGlowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--rgb-accent), 0.3), 0 4px 8px rgba(15,23,42,0.08); }
    50% { box-shadow: 0 0 26px rgba(var(--rgb-accent), 0.4), 0 4px 10px rgba(15,23,42,0.1); }
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); }
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); animation: subtleGlowPulse 4s ease-in-out infinite; }
.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; }

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

/* stats: inline */
/* 水平排列 */
.stats-grid { display: flex; justify-content: center; gap: 3rem; }

/* cta: card-style */
.cta-inner { background: var(--color-surface); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: 0 0 28px rgba(var(--rgb-accent), 0.35); }

/* Page Layout: wide */
/* 超宽 */
.page-main { max-width: 1400px; margin: 0 auto; }

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); animation-play-state: paused; }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 8px rgba(var(--rgb-accent), 0.5); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #1d4ed8, #0ea5e9); }
.card { border: 1px solid rgba(var(--rgb-accent), 0.12); }
.btn, button[class*="btn"], a[class*="btn"] { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; box-shadow: 0 0 16px rgba(var(--rgb-accent), 0.3); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: 0 0 30px rgba(var(--rgb-accent), 0.6); }

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