/* CSSVariantEngine v3.0 — go-jiuyouhuigame.sx.cn */
/* Palette: teal-amber | Radius: medium-rounded | Shadow: glow-accent */
/* Spacing: mixed-asymmetric | Transition: smooth-glow */
/* Section layouts: {"news":"list-view","features":"horizontal","hero":"overlay","testimonials":"stacked","partners":"scroll","faq":"single-column","stats":"big-number","cta":"centered"} */

:root {
    --color-primary: #0f766e;
    --color-primary-dark: #134e4a;
    --color-accent: #f59e0b;
    --color-surface: #ecfeff;
    --color-text: #0c4a6e;
    --rgb-primary: 15, 118, 110;
    --rgb-accent: 245, 158, 11;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 15px;
    --radius-xl: 22px;
    --shadow-sm: 0 0 12px rgba(var(--rgb-accent), 0.25);
    --shadow-md: 0 0 24px rgba(var(--rgb-accent), 0.4);
    --shadow-lg: 0 0 32px rgba(var(--rgb-accent), 0.6);
    --space-section: 4.8rem;
    --space-card: 1.9rem;
    --space-gap: 1.4rem;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --heading-weight: 600;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
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); text-shadow: 0 0 8px rgba(var(--rgb-accent), 0.2); }
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-color: #ffffff; border: 2px solid var(--color-primary); }
.card:hover, [class*="card"]:hover { box-shadow: 0 0 36px rgba(var(--rgb-accent), 0.65); animation: glowPulse 2s ease-in-out infinite; border-color: var(--color-accent); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background-color: var(--color-primary); color: white; border: 2px solid var(--color-accent); box-shadow: var(--shadow-sm); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: var(--shadow-lg); background-color: var(--color-accent); color: var(--color-primary-dark); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: var(--color-accent); }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 6px rgba(var(--rgb-accent), 0.5); }

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

/* news: list-view */
/* 列表模式 (图左文右) */
.news-grid { display: flex; flex-direction: column; gap: 0.8rem; }
.news-grid .card { display: grid; grid-template-columns: 280px 1fr; }

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

/* hero: overlay */
/* 全屏背景+文字覆盖 */
.hero { position: relative; min-height: 70vh; display: flex; align-items: center; }
.hero-content { position: relative; z-index: 1; color: white; text-shadow: 0 0 12px rgba(var(--rgb-accent), 0.7); }

/* testimonials: stacked */
/* 垂直堆叠 */
.testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }

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

/* 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-accent); text-shadow: 0 0 14px rgba(var(--rgb-accent), 0.6); }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

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

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(120deg, #0f766e 25%, #115e59 55%, #0d9488 100%); box-shadow: inset 0 0 60px rgba(var(--rgb-accent), 0.15); }
.card { border-left: 3px solid var(--color-accent); }
header, .header, .navbar { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); border-bottom: 2px solid var(--color-primary); }

@keyframes glowPulse {
    0% { box-shadow: 0 0 22px rgba(var(--rgb-accent), 0.4); }
    50% { box-shadow: 0 0 34px rgba(var(--rgb-accent), 0.6); }
    100% { box-shadow: 0 0 22px rgba(var(--rgb-accent), 0.4); }
}

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