/* CSSVariantEngine v3.0 — pom-leyusports.com */
/* Palette: coral-teal | Radius: pill-soft | Shadow: layered-glow */
/* Spacing: tight | Transition: smooth-long */
/* Section layouts: {"news":"list-view","features":"horizontal","hero":"centered","testimonials":"carousel","partners":"grid-4","faq":"single-column","stats":"big-number","cta":"card-style"} */

:root {
    --color-primary: #e85d4a;
    --color-primary-dark: #b83a2e;
    --color-accent: #2ec4b6;
    --color-surface: #fff5f2;
    --color-text: #1a2b3c;
    --rgb-primary: 232,93,74;
    --rgb-accent: 46,196,182;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;
    --shadow-sm: 0 2px 6px rgba(232,93,74,.12), 0 1px 3px rgba(26,43,60,.08);
    --shadow-md: 0 8px 20px rgba(232,93,74,.15), 0 4px 10px rgba(46,196,182,.10), 0 2px 5px rgba(26,43,60,.06);
    --shadow-lg: 0 18px 40px rgba(232,93,74,.22), 0 10px 22px rgba(46,196,182,.16), 0 4px 10px rgba(26,43,60,.08);
    --space-section: 2rem;
    --space-card: 1rem;
    --space-gap: 0.75rem;
    --transition: 0.5s 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: radial-gradient(ellipse at top left, #fff5f2 0%, #f0faf9 55%, #eef2ff 100%); }
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); background: linear-gradient(145deg, #ffffff 0%, #fff8f6 55%, #f0faf9 100%); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #e85d4a 0%, #f07a5f 50%, #2ec4b6 100%); color: #ffffff; box-shadow: 0 6px 18px rgba(232,93,74,.28); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

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

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

/* 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: 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; background: linear-gradient(135deg, #e85d4a 0%, #2ec4b6 100%); -webkit-background-clip: text; background-clip: text; }

/* cta: card-style */
.cta-inner { background: linear-gradient(135deg, #fff5f2 0%, #ffe8e2 35%, #d8f4f0 100%); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: 0 20px 50px rgba(232,93,74,.18), 0 8px 20px rgba(46,196,182,.14); }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(232,93,74,.28), 0 12px 28px rgba(46,196,182,.20), 0 6px 14px rgba(26,43,60,.10); }
a:not([class]):hover { color: var(--color-accent); }
.card { border: 1px solid rgba(var(--rgb-primary), .18); }
header, .header, .navbar { background: linear-gradient(180deg, rgba(255,245,242,.85) 0%, rgba(240,250,249,.55) 100%); backdrop-filter: blur(10px); }

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