/* CSSVariantEngine v3.0 — play5-hth-sports.com.cn */
/* Palette: teal-amber | Radius: medium | Shadow: glow */
/* Spacing: spacious | Transition: snappy */
/* Section layouts: {"news":"grid-3","features":"horizontal","hero":"left-aligned","testimonials":"grid-3","partners":"scroll","faq":"with-sidebar","stats":"big-number","cta":"full-bg"} */

:root {
    --color-primary: #0f766e;
    --color-primary-dark: #115e59;
    --color-accent: #f59e0b;
    --color-surface: #f8fafc;
    --color-text: #1e293b;
    --rgb-primary: 15,118,110;
    --rgb-accent: 245,158,11;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 6px rgba(15, 23, 42, 0.06), 0 0 16px rgba(var(--rgb-accent), 0.15);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08), 0 0 24px rgba(var(--rgb-accent), 0.4);
    --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.12), 0 0 32px rgba(var(--rgb-accent), 0.6);
    --space-section: 4.5rem;
    --space-card: 1.75rem;
    --space-gap: 1.75rem;
    --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.75;
    accent-color: var(--color-accent);
    caret-color: var(--color-primary);
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: var(--color-surface); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: var(--color-text); }
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: #ffffff; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-shadow: 0 0 12px rgba(var(--rgb-primary), 0.15); }

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

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

/* 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: left-aligned */
.hero-content { text-align: left; max-width: 600px; }

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

/* partners: scroll */
/* 自动滚动 */
.partner-grid { display: flex; gap: 1.75rem; overflow: hidden; animation: partnerScroll 20s linear infinite; }
@keyframes partnerScroll {
    0% { transform: translateX(0); opacity: 0.85; }
    50% { opacity: 1; }
    100% { transform: translateX(-50%); opacity: 0.85; }
}

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

/* stats: big-number */
/* 大数字居中 */
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem; }
.stats-grid .stat-value { font-size: 3rem; animation: statGlow 3s ease-in-out infinite; }
@keyframes statGlow {
    0%, 100% { text-shadow: 0 0 16px rgba(var(--rgb-accent), 0.3); }
    50% { text-shadow: 0 0 28px rgba(var(--rgb-accent), 0.6); }
}

/* cta: full-bg */
.cta-section { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); color: #f0fdf4; padding: 4rem 2rem; box-shadow: inset 0 0 32px rgba(var(--rgb-accent), 0.25); animation: ctaPulse 4s ease-in-out infinite; }
@keyframes ctaPulse {
    0%, 100% { box-shadow: inset 0 0 24px rgba(var(--rgb-accent), 0.2); }
    50% { box-shadow: inset 0 0 44px rgba(var(--rgb-accent), 0.45); }
}

/* Page Layout: narrow-centered */
/* 窄版居中 */
.page-main { max-width: 860px; margin: 0 auto; }

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 14px rgba(var(--rgb-accent), 0.45); }
.card { border-left: 3px solid var(--color-primary); }
header, .header, .navbar { box-shadow: 0 2px 12px rgba(37, 46, 58, 0.12), 0 0 24px rgba(var(--rgb-accent), 0.12); }

/* 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: 1.75rem; --space-card: 0.875rem; --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; }
}