/* CSSVariantEngine v3.0 — link6-kaiyuangame.com.cn */
/* Palette: violet-rose | Radius: pill-xl | Shadow: pillowy-layered */
/* Spacing: airy | Transition: soft-ease */
/* Section layouts: {"news":"list-view","features":"grid-3","hero":"centered","testimonials":"carousel","partners":"grid-4","faq":"single-column","stats":"big-number","cta":"card-style"} */

:root {
    --color-primary: #7c3aed;
    --color-primary-dark: #4c1d95;
    --color-accent: #fb7185;
    --color-surface: #fdf4ff;
    --color-text: #1e1b2e;
    --rgb-primary: 124,58,237;
    --rgb-accent: 251,113,133;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --shadow-sm: 0 1px 2px rgba(76,29,149,0.06), 0 4px 10px -3px rgba(76,29,149,0.09);
    --shadow-md: 0 8px 18px -6px rgba(76,29,149,0.16), 0 24px 48px -18px rgba(76,29,149,0.22);
    --shadow-lg: 0 18px 36px -12px rgba(76,29,149,0.24), 0 44px 84px -28px rgba(76,29,149,0.30);
    --space-section: 5.25rem;
    --space-card: 2.25rem;
    --space-gap: 1.75rem;
    --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 700;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body {
    color: var(--color-text);
    line-height: var(--body-line-height);
    background: radial-gradient(1200px 620px at 10% -12%, rgba(251,113,133,0.16), transparent 62%),
                radial-gradient(900px 520px at 92% 8%, rgba(124,58,237,0.12), transparent 58%),
                linear-gradient(180deg, #fbf7ff 0%, #fdf2f8 100%);
}
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: var(--color-primary-dark); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] {
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(var(--rgb-primary), 0.10), var(--shadow-md);
    background: #ffffff;
    padding: var(--space-card);
    transition: var(--transition);
}
.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: #fdf4ff;
    box-shadow: 0 12px 26px -12px rgba(var(--rgb-primary), 0.65), inset 0 0 0 1px rgba(255,255,255,0.14);
}
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(var(--rgb-primary), 0.35); }

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

/* news: list-view */
/* 列表模式 (图左文右) */
                .news-grid { display: flex; flex-direction: column; gap: var(--space-gap); }
                .news-grid .card {
                    display: grid;
                    grid-template-columns: 280px 1fr;
                    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 68%);
                    box-shadow: inset 0 0 0 1px rgba(var(--rgb-primary), 0.14), var(--shadow-md);
                    border-radius: var(--radius-lg);
                }

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

/* hero: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; text-shadow: 0 1px 0 rgba(255,255,255,0.85); }

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

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

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value {
                    font-size: 3rem;
                    color: var(--color-primary);
                    text-shadow: 0 2px 0 rgba(var(--rgb-accent), 0.30), 0 14px 30px rgba(var(--rgb-primary), 0.22);
                }

/* cta: card-style */
.cta-inner {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 46%, #fb7185 100%);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    color: #fdf4ff;
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.16);
    text-shadow: 0 1px 2px rgba(30,27,46,0.28);
}

/* Page Layout: full-width */
/* 无侧边栏, 全宽 */
            .page-main { max-width: 1200px; margin: 0 auto; }

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); }

/* 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: 2.25rem; --space-card: 1.125rem; --space-gap: 0.875rem; }
    .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; }
}