/* CSSVariantEngine v3.0 — offline-worldcup.com */
/* Palette: mint | Radius: sharp | Shadow: none */
/* Spacing: balanced | Transition: bouncy */
/* Section layouts: {"news":"featured-left","features":"grid-3","hero":"overlay","testimonials":"masonry","partners":"grid-4","faq":"with-sidebar","stats":"big-number","cta":"full-bg"} */

:root {
    --color-primary: #4f8cff;
    --color-primary-dark: #252e3a;
    --color-accent: #67d5ff;
    --color-surface: #f4f7fb;
    --color-text: #1f2a37;
    --rgb-primary: 79,140,255;
    --rgb-accent: 103,213,255;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 16px;
    --shadow-sm: 0 0 0 1px rgba(79,140,255,.08), 0 6px 18px rgba(37,46,58,.08);
    --shadow-md: 0 0 0 1px rgba(79,140,255,.1), 0 10px 24px rgba(37,46,58,.12), 0 0 24px rgba(103,213,255,.18);
    --shadow-lg: 0 0 0 1px rgba(103,213,255,.2), 0 16px 36px rgba(37,46,58,.18), 0 0 32px rgba(103,213,255,.42);
    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;
    --transition: 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 600;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #eef3f9 0%, #f8fbff 100%); caret-color: var(--color-primary); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #223042; text-shadow: 0 1px 0 rgba(255,255,255,.75); }
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,.96) 0%, rgba(244,247,251,.98) 100%); border-color: rgba(79,140,255,.14); border-style: solid; backdrop-filter: blur(8px); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #4f8cff 0%, #67d5ff 100%); color: #ffffff; border-color: rgba(79,140,255,.28); border-style: solid; box-shadow: 0 10px 22px rgba(79,140,255,.22), 0 0 24px rgba(103,213,255,.24); text-shadow: 0 1px 1px rgba(0,0,0,.16); accent-color: var(--color-primary); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(79,140,255,.4); text-shadow: 0 0 0 rgba(0,0,0,0); }

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

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: linear-gradient(120deg, #252e3a 0%, #314154 48%, #4f8cff 100%); color: #f8fbff; }
                .hero-content { position: relative; z-index: 1; filter: drop-shadow(0 10px 28px rgba(0,0,0,.2)); }

/* testimonials: masonry */
.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
                .testimonial-list > * { break-inside: avoid; margin-bottom: var(--space-gap); }

/* partners: grid-4 */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 1.5); align-items: center; }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; color: #4f8cff; text-shadow: 0 0 24px rgba(103,213,255,.4), 0 4px 14px rgba(37,46,58,.14); }

/* cta: full-bg */
.cta-section { background: linear-gradient(135deg, #252e3a 0%, #35506d 55%, #4f8cff 100%); color: #fff; padding: 4rem 2rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 32px rgba(103,213,255,.22); }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(103,213,255,.28), 0 18px 40px rgba(37,46,58,.2), 0 0 32px rgba(103,213,255,.6); filter: saturate(1.04); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: 0 14px 30px rgba(79,140,255,.28), 0 0 32px rgba(103,213,255,.6); filter: brightness(1.03); }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 18px rgba(103,213,255,.4); }
header, .header, .navbar { box-shadow: 0 8px 22px rgba(37,46,58,.12), 0 0 24px rgba(103,213,255,.12); background: rgba(37,46,58,.96); color: #eef4ff; backdrop-filter: blur(12px); border-color: rgba(103,213,255,.14); border-style: solid; }

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