/* CSSVariantEngine v3.0 — meta-worldcup2026.com */
/* Palette: copper | Radius: subtle | Shadow: none */
/* Spacing: comfortable | Transition: smooth */
/* Section layouts: {"news":"masonry-2","features":"horizontal","hero":"overlay","testimonials":"grid-3","partners":"centered","faq":"two-column","stats":"inline","cta":"centered"} */

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-accent: #60a5fa;
    --color-surface: #f8fbff;
    --color-text: #cbd5e1;
    --rgb-primary: 37,99,235;
    --rgb-accent: 96,165,250;
    --radius-sm: 3px;
    --radius-md: 5px;
    --radius-lg: 6px;
    --radius-xl: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(148, 163, 184, 0.16);
    --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(37, 99, 235, 0.08), 0 0 0 1px rgba(148, 163, 184, 0.18);
    --shadow-lg: 0 14px 30px rgba(15, 23, 42, 0.18), 0 6px 12px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(96, 165, 250, 0.22);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
    --heading-weight: 600;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #1e293b 0%, #243244 52%, #172030 100%); caret-color: var(--color-accent); accent-color: var(--color-primary); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #f8fafc; text-shadow: 0 1px 0 rgba(15, 23, 42, 0.35); }
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(180deg, rgba(255,255,255,0.98) 0%, rgba(241,245,249,0.96) 100%); border-color: rgba(148, 163, 184, 0.26); border-style: solid; color: #334155; backdrop-filter: blur(8px); filter: saturate(1.02); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%); color: #eff6ff; border-color: rgba(147, 197, 253, 0.45); border-style: solid; box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24), 0 2px 4px rgba(15, 23, 42, 0.18); text-shadow: 0 1px 0 rgba(15, 23, 42, 0.28); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(96, 165, 250, 0.45); }

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

/* news: masonry-2 */
/* 两列瀑布流 */
                .news-grid { column-count: 2; column-gap: var(--space-gap); }
                .news-grid .card { break-inside: avoid; margin-bottom: var(--space-gap); }

/* features: horizontal */
/* 水平滚动 */
                .feature-list { display: flex; gap: var(--space-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: #60a5fa #1e293b; }
                .feature-list > * { flex: 0 0 300px; scroll-snap-align: start; }

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.26) 0%, rgba(59, 130, 246, 0) 34%), linear-gradient(135deg, #0f172a 0%, #1e293b 48%, #334155 100%); }
                .hero-content { position: relative; z-index: 1; color: #e2e8f0; text-shadow: 0 2px 10px rgba(15, 23, 42, 0.4); }

/* testimonials: grid-3 */
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

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

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }

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

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; background: linear-gradient(180deg, rgba(30, 41, 59, 0.86) 0%, rgba(15, 23, 42, 0.92) 100%); border-color: rgba(96, 165, 250, 0.22); border-style: solid; border-radius: var(--radius-xl); box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(148, 163, 184, 0.12); color: #e2e8f0; backdrop-filter: blur(10px); }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); filter: saturate(1.05) contrast(1.01); }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 10px rgba(96, 165, 250, 0.18); }
header, .header, .navbar { box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16), 0 1px 0 rgba(148, 163, 184, 0.14); background: rgba(248, 250, 252, 0.94); border-color: rgba(148, 163, 184, 0.18); border-style: solid; backdrop-filter: blur(12px); }

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