/* CSSVariantEngine v3.0 — bet365-365.net.cn */
/* Palette: sharp-cyber | Radius: zero-minimal | Shadow: hard-offset */
/* Spacing: mixed-tight-loose | Transition: snappy */
/* Section layouts: {"news":"grid-3","features":"grid-2","hero":"left-aligned","testimonials":"carousel","partners":"grid-6","faq":"with-sidebar","stats":"big-number","cta":"full-bg"} */

:root {
    --color-primary: #0ea5e9;
    --color-primary-dark: #0369a1;
    --color-accent: #facc15;
    --color-surface: #f0fdfa;
    --color-text: #0f172a;
    --rgb-primary: 14, 165, 233;
    --rgb-accent: 250, 204, 21;
    --radius-sm: 0;
    --radius-md: 1px;
    --radius-lg: 2px;
    --radius-xl: 3px;
    --shadow-sm: 3px 3px 0 #020617;
    --shadow-md: 5px 5px 0 #1e293b;
    --shadow-lg: 7px 7px 0 rgba(15, 23, 42, 0.9);
    --space-section: 5.2rem;
    --space-card: 2.1rem;
    --space-gap: 1.4rem;
    --transition: 0.15s ease-in-out;
    --heading-weight: 800;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: var(--color-surface); caret-color: var(--color-primary); accent-color: var(--color-accent); }
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: 3px solid var(--color-text); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background-color: #ffffff; }
.btn, button[class*="btn"], a[class*="btn"] { border: 3px solid var(--color-primary-dark); border-radius: var(--radius-md); transition: var(--transition); background-color: var(--color-accent); color: var(--color-text); font-weight: 700; }
a:not([class]) { color: #7c3aed; transition: var(--transition); outline: 2px solid transparent; }
a:not([class]):focus { outline-color: var(--color-accent); }

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

/* news: grid-3 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.news-grid .card { background-color: #e0f2fe; border-color: #0369a1; }

/* features: grid-2 */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(var(--space-gap) * 1.6); }
.feature-list .card { background-color: #fef3c7; border-color: #d97706; }

/* hero: left-aligned */
.hero-content { text-align: left; max-width: 600px; }
.hero-content * { color: #ffffff; text-shadow: 2px 2px 0px rgba(15, 23, 42, 0.7); }

/* testimonials: carousel */
.testimonial-list { display: flex; overflow: hidden; } 
.testimonial-list > * { flex: 0 0 100%; }
.testimonial-list .card { background-color: #f3e8ff; border-color: #7c3aed; }

/* partners: grid-6 */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }
.partner-grid > * { background-color: #ecfeff; border: 2px solid #22d3ee; padding: 1rem; border-radius: 1px; box-shadow: 3px 3px 0 #0891b2; }

/* faq: with-sidebar */
.faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 1.9rem; }
.faq-wrapper .card { background-color: #ffedd5; border-color: #ea580c; }

/* stats: big-number */
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.1rem; }
.stats-grid .stat-value { font-size: 3rem; color: #7c3aed; text-shadow: 3px 3px 0 #facc15; }

/* cta: full-bg */
.cta-section { background: linear-gradient(90deg, #7c3aed, #6366f1); color: #fff; padding: 4rem 2rem; border-top: 4px solid #facc15; border-bottom: 4px solid #facc15; }
.cta-section .btn { background-color: #facc15; border-color: #0f172a; box-shadow: 4px 4px 0 #0f172a; }

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

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #0ea5e9, #7c3aed); border-bottom: 5px solid #facc15; }

/* 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.9rem; --space-card: 0.95rem; --space-gap: 0.7rem; }
    .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; }
}