/* CSSVariantEngine v3.0 — migusports.net.cn */
/* Palette: cool slate blue | Radius: compact | Shadow: multi-layer gradient tinted */
/* Spacing: dense | Transition: long smooth */
/* Section layouts: {"news":"grid-3","features":"centered","hero":"centered","testimonials":"carousel","partners":"centered","faq":"with-sidebar","stats":"grid-3","cta":"centered"} */

:root {
    --color-primary: #3b82f6;
    --color-primary-dark: #2563eb;
    --color-accent: #60a5fa;
    --color-surface: #f8fafc;
    --color-text: #1e293b;
    --rgb-primary: 59,130,246;
    --rgb-accent: 96,165,250;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 1px 2px rgba(30,41,59,0.07), 0 1px 1px rgba(30,41,59,0.05);
    --shadow-md: 0 2px 8px rgba(30,41,59,0.1), 0 1px 3px rgba(59,130,246,0.08);
    --shadow-lg: 0 6px 16px rgba(30,41,59,0.12), 0 3px 6px rgba(59,130,246,0.1);
    --space-section: 2.25rem;
    --space-card: 0.875rem;
    --space-gap: 0.75rem;
    --transition: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    --heading-weight: 600;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { 
    color: var(--color-text); 
    line-height: var(--body-line-height);
    background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
    min-height: 100vh;
}
h1, h2, h3, h4 { font-weight: var(--heading-weight); }
section, .section { 
    padding-top: var(--space-section); 
    padding-bottom: var(--space-section);
    background: transparent;
}
.card, [class*="card"] { 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-md); 
    padding: var(--space-card); 
    transition: var(--transition);
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, #3b82f622, #60a5fa22) 1;
}
.btn, button[class*="btn"], a[class*="btn"] { 
    border-radius: var(--radius-md); 
    transition: var(--transition);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
}
a:not([class]) { color: var(--color-accent); transition: var(--transition); }

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

/* news: grid-3 */
/* 三列等宽网格 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* 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: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; }

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

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

/* 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);
    border-image: linear-gradient(135deg, #3b82f666, #60a5fa66) 1;
}
.hero, [class*="hero"], section:first-of-type { 
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 40%, #1d4ed8 100%);
}
header, .header, .navbar { 
    box-shadow: 0 2px 12px rgba(30,41,59,0.15), 0 1px 4px rgba(59,130,246,0.07);
    background: linear-gradient(90deg, #ffffff 0%, #f8fafc 100%);
}

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