/* ============================================================
   THEME.CSS v3.0 - 主题主样式
   ============================================================
   匹配 Section 模板的 class 名称
   - CSS Variables 设计令牌
   - 所有 Section 主样式 (布局/背景/排版)
   ============================================================ */

/* ============================================
   1. CSS Variables
   ============================================ */
:root {
    /* 品牌色 */
    --color-primary: #3b82f6;
    --color-primary-dark: #2563eb;
    --color-primary-darker: #1e293b;
    --color-accent: #60a5fa;
    --color-accent-dark: #1d4ed8;
    --color-success: #22c55e;
    --color-danger: #ef4444;

    /* 中性色 */
    --color-text: #334155;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-bg: #eef4ff;
    --color-bg-soft: #e2e8f0;
    --color-bg-muted: #cbd5e1;
    --color-border: #94a3b8;
    --color-border-soft: #dbe7f5;

    /* 渐变 (Section 背景) */
    --gradient-hero: linear-gradient(135deg, #1e293b 0%, #334155 52%, #3b82f6 100%);
    --gradient-deep: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    --gradient-dept: linear-gradient(135deg, #1e293b 0%, #334155 58%, #2563eb 100%);
    --gradient-security: linear-gradient(135deg, #111827 0%, #1e293b 50%, #0f172a 100%);
    --gradient-mission: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1d4ed8 100%);
    --gradient-trust: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #334155 100%);
    --gradient-cta: linear-gradient(135deg, #1e293b 0%, #334155 48%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #bfdbfe 0%, #60a5fa 50%, #3b82f6 100%);
    --gradient-icon: linear-gradient(135deg, #60a5fa 0%, #2563eb 55%, #1e40af 100%);

    /* 玻璃效果 */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(148, 163, 184, 0.3);
    --glass-blur: blur(14px);

    /* 阴影 */
    --shadow-sm: 0 6px 14px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(59, 130, 246, 0.06);
    --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.12), 0 0 18px rgba(59, 130, 246, 0.12);
    --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.16), 0 0 24px rgba(59, 130, 246, 0.18);
    --shadow-xl: 0 22px 48px rgba(15, 23, 42, 0.2), 0 0 30px rgba(59, 130, 246, 0.22);
    --shadow-primary: 0 14px 32px rgba(15, 23, 42, 0.18), 0 0 24px rgba(59, 130, 246, 0.4);
    --shadow-accent: 0 12px 28px rgba(15, 23, 42, 0.16), 0 0 22px rgba(96, 165, 250, 0.38);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 14px;
    --radius-pill: 30px;

    /* 间距 */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /* 过渡 */
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================
   2. Base
   ============================================ */
:where(body) {
    color: var(--color-text);
    background: linear-gradient(180deg, #e2e8f0 0%, #eef4ff 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

:where(img) {
    max-width: 100%;
    height: auto;
}

/* ============================================
   3. 通用工具
   ============================================ */
.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur) saturate(145%);
    -webkit-backdrop-filter: var(--glass-blur) saturate(145%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14), 0 0 20px rgba(59, 130, 246, 0.12);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f8fbff;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32), 0 0 20px rgba(59, 130, 246, 0.3);
}

/* ============================================
   4. Header (HeaderSection)
   ============================================ */
.header {
    background: rgba(255, 255, 255, 0.92);
    z-index: 1030;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.header .navbar-brand img {
    transition: transform var(--transition-fast), filter var(--transition-fast);
    filter: drop-shadow(0 4px 10px rgba(59, 130, 246, 0.18));
}

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(59, 130, 246, 0.3));
}

.header .nav-link {
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.header .nav-link:hover {
    color: var(--color-primary);
    text-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

/* ============================================
   5. Hero (HeroSection)
   ============================================ */
.hero-section {
    min-height: 480px;
    background: var(--gradient-hero);
    color: #f8fbff;
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.18) 0%, rgba(96, 165, 250, 0) 38%), rgba(15, 23, 42, 0.28);
    z-index: 0;
    pointer-events: none;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    text-shadow: 0 6px 18px rgba(15, 23, 42, 0.35), 0 0 24px rgba(59, 130, 246, 0.18);
}

.hero-section h2 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.92;
    margin-bottom: var(--space-md);

    font-weight: 500;
    text-shadow: 0 4px 14px rgba(15, 23, 42, 0.28);
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.96;
    text-shadow: 0 3px 10px rgba(15, 23, 42, 0.22);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-block-start: var(--space-md);
}

/* ============================================
   6. Notice Bar (NoticeBarSection)
   ============================================ */
.notice-bar {
    animation: noticeSlideIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1), 0 0 20px rgba(59, 130, 246, 0.1);
}

.notice-bar a {
    transition: opacity var(--transition-fast), color var(--transition-fast), text-shadow var(--transition-fast);
}

.notice-bar a:hover {
    opacity: 0.88;
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

@keyframes noticeSlideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* ============================================
   7. Breadcrumb (BreadcrumbSection)
   ============================================ */
.breadcrumb-nav {
    background: linear-gradient(180deg, #dbe7f5 0%, #e2e8f0 100%);
    box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.18);
}

.breadcrumb-nav .breadcrumb-item a {
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.26);
}

/* ============================================
   8. Why Us (WhyUsSection)
   ============================================ */
.why-us-section {
    background: linear-gradient(180deg, #e2e8f0 0%, #eef4ff 100%);
}

.whyus-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: all var(--transition-base);
    height: 100%;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(219, 231, 245, 0.65);
}

.whyus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

/* ============================================
   9. About (AboutSection)
   ============================================ */
.about-section {
    background: var(--gradient-deep);
    color: #f8fbff;
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.24), 0 0 24px rgba(59, 130, 246, 0.18);
}

.about-img-wrap img {
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: saturate(1.05) contrast(1.02);
}

.about-img-wrap:hover img {
    transform: scale(1.05);
    filter: saturate(1.12) contrast(1.04);
}

.about-card {
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
}

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18), 0 0 22px rgba(59, 130, 246, 0.16);
}

.text-white-75 {
    color: rgba(241, 245, 249, 0.78) !important;
}

/* ============================================
   10. Departments (DepartmentsSection)
   ============================================ */
.departments-section {
    background: var(--gradient-dept);
    color: #f8fbff;
}

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 6px 18px rgba(15, 23, 42, 0.3), 0 0 20px rgba(59, 130, 246, 0.16);
}

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(241, 245, 249, 0.86);
}

.departments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-block-start: var(--space-lg);
}

@media (min-width: 768px) {
    .departments-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.d-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur) saturate(150%);
    -webkit-backdrop-filter: var(--glass-blur) saturate(150%);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14), 0 0 20px rgba(59, 130, 246, 0.14);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    text-shadow: 0 0 18px rgba(96, 165, 250, 0.45);
}

.d-num span {
    color: #f8fbff;
    font-size: 1.1rem;
    margin-inline-start: var(--space-xs);
}

.d-image {
    margin-bottom: var(--space-sm);
}

.d-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18), 0 0 18px rgba(59, 130, 246, 0.14);
}

/* ============================================
   11. Security Network (SecuritySection)
   ============================================ */
.security-section {
    background: var(--gradient-security);
    color: #f8fbff;
}

.security-network {
    position: relative;
    max-width: 800px;
    margin: var(--space-xl) auto;
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .security-network {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, auto);
    }

    .core-node        { grid-column: 2; grid-row: 2; }
    .node-top-left    { grid-column: 1; grid-row: 1; }
    .node-top-right   { grid-column: 3; grid-row: 1; }
    .node-bottom-left { grid-column: 1; grid-row: 3; }
    .node-bottom-right{ grid-column: 3; grid-row: 3; }
}

.core-node {
    background: var(--gradient-accent);
    border-radius: 16px;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: var(--color-primary-darker);
    font-weight: 700;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.2), 0 0 24px rgba(59, 130, 246, 0.4);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.node {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur) saturate(150%);
    -webkit-backdrop-filter: var(--glass-blur) saturate(150%);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: #f8fbff;
    transition: all var(--transition-base);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14), 0 0 18px rgba(59, 130, 246, 0.1);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18), 0 0 32px rgba(59, 130, 246, 0.6);
}

.node-title {
    font-weight: 600;
    color: var(--color-accent);
    margin-block: var(--space-xs);
    text-shadow: 0 0 16px rgba(96, 165, 250, 0.42);
}

@media (max-width: 767.98px) {
    .core-node { width: 120px; height: 120px; }
}

/* ============================================
   12. Honor (HonorSection)
   ============================================ */
.honor-section {
    background: linear-gradient(180deg, #eef4ff 0%, #e2e8f0 100%);
}

.honor-row {
    padding-block: var(--space-sm);
}

.honor-text-card {
    padding: var(--space-md);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid var(--color-primary);
    transition: all var(--transition-base);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(219, 231, 245, 0.64);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   13. Mission (MissionSection)
   ============================================ */
.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: #f8fbff;
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: #dbe7f5;
    text-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
}

/* ============================================
   14. Stats (StatsSection)
   ============================================ */
.stats-section {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.stats-card {
    transition: all var(--transition-base);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(219, 231, 245, 0.66);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #ffffff 0%, #edf5ff 58%, #dbeafe 100%);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-darker);
    text-shadow: 0 0 14px rgba(59, 130, 246, 0.12);
}

/* ============================================
   15. News (NewsSection)
   ============================================ */
.news-section {
    background: linear-gradient(180deg, #e2e8f0 0%, #eef4ff 100%);
}

.news-card {
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(219, 231, 245, 0.66);
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: saturate(1.02) contrast(1.02);
}

.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
    filter: saturate(1.1) contrast(1.04);
}

/* ============================================
   16. Matches (MatchesSection)
   ============================================ */
.matches-section {
    background: linear-gradient(180deg, #eef4ff 0%, #e2e8f0 100%);
}

.match-card {
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(219, 231, 245, 0.6);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.match-card .team {
    min-width: 0;
}

.match-card .team .small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-darker);
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.12);
}

/* ============================================
   17. Trust (TrustSection)
   ============================================ */
.trust-section {
    background: var(--gradient-trust);
    color: #f8fbff;
}

.trust-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur) saturate(150%);
    -webkit-backdrop-filter: var(--glass-blur) saturate(150%);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-sm);
    height: 100%;
    transition: all var(--transition-base);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14), 0 0 18px rgba(59, 130, 246, 0.12);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18), 0 0 32px rgba(59, 130, 246, 0.6);
}

/* ============================================
   18. Partners (PartnersSection)
   ============================================ */
.partners-section {
    background: linear-gradient(180deg, #e2e8f0 0%, #eef4ff 100%);
}

.partner-card {
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(219, 231, 245, 0.62);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

/* ============================================
   19. Testimonials (TestimonialsSection)
   ============================================ */
.testimonials-section {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.testimonial-card {
    transition: all var(--transition-base);
    border-block-start: 4px solid transparent;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(219, 231, 245, 0.62);
}

.testimonial-card:hover {
    border-block-start-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   20. C
TA Banner (CtaBannerSection)
   ============================================ */
.cta-banner-section {
    background: var(--gradient-cta);
    color: #f8fbff;
    position: relative;
    overflow: hidden;
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(96, 165, 250, 0.16) 0%, rgba(96, 165, 250, 0) 34%), rgba(15, 23, 42, 0.24);
    z-index: 0;
}

.cta-banner-section > .container {
    position: relative;
    z-index: 1;
}

.cta-banner-section .btn-warning {
    box-shadow: var(--shadow-accent);
    border-radius: var(--radius-pill);
    filter: saturate(1.02);
}

.text-white-75 {
    color: rgba(241, 245, 249, 0.86) !important;
}

/* ============================================
   21. Footer (FooterSection)
   ============================================ */
.footer {
    font-size: 0.9rem;
    color: #dbe7f5;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
}

.footer a {
    transition: color 0.22s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.22s ease;
}

.footer a:hover {
    color: var(--color-accent) !important;
    text-shadow: 0 0 14px rgba(59, 130, 246, 0.38);
}

.footer-copyright {
    font-size: 0.85rem;
    color: #cbd5e1;
    opacity: 0.92;
}

/* Beian */
.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.9;
    color: #94a3b8;
    text-shadow: 0 1px 0 rgba(15, 23, 42, 0.22);
}

.footer-beian a:hover {
    color: var(--color-accent) !important;
    text-decoration: underline !important;
    text-shadow: 0 0 16px rgba(59, 130, 246, 0.42);
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), filter 0.24s ease, opacity 0.24s ease;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.28));
    opacity: 0.96;
}

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.52));
    opacity: 1;
}

.footer-beian li {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .footer-beian ul {
        flex-direction: column;
        gap: var(--space-xs) !important;
    }

    .footer-beian li {
        white-space: normal;
        text-align: center;
    }
}

/* ============================================
   22. Form (Login/Signup/Contact)
   ============================================ */
.form-control:focus,
.form-select:focus {
    border-color: #3b82f6;
    outline-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 0.18rem rgba(59, 130, 246, 0.16), 0 0 22px rgba(59, 130, 246, 0.24), 0 10px 22px rgba(15, 23, 42, 0.16);
    border-radius: 12px;
    caret-color: #3b82f6;
}

.btn-primary {
    background-color: #3b82f6;
    border-color: #2563eb;
    border-style: solid;
    box-shadow: 0 0 0 rgba(59, 130, 246, 0), 0 10px 18px rgba(37, 99, 235, 0.24), 0 0 24px rgba(59, 130, 246, 0.24);
    border-radius: 12px;
    transition: background-color 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    filter: saturate(1.05);
    accent-color: #3b82f6;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #2563eb;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 rgba(59, 130, 246, 0), 0 14px 26px rgba(29, 78, 216, 0.28), 0 0 32px rgba(59, 130, 246, 0.58);
    filter: saturate(1.12) brightness(1.03);
    outline-color: rgba(59, 130, 246, 0.6);
}

.input-group-text {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
    border-style: solid;
    color: #334155;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 0 0 1px rgba(148, 163, 184, 0.08);
    border-radius: 10px;
}

/* ============================================
   23. Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   Grid Layout Defaults (CSS-Variant-Ready)
   CSSVariantEngine sẽ override các rules này
   ============================================================ */

/* 新闻网格 (默认 3 列) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* 功能特性列表 (默认 3 列) */
.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* 用户评价 (默认 3 列) */
.testimonial-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* 合作伙伴 (默认 4 列) */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
}

/* 数据统计 (默认 4 列) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

/* FAQ 列表 (默认单列居中) */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.12), 0 12px 28px rgba(15, 23, 42, 0.1), 0 0 22px rgba(59, 130, 246, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.92) 100%);
    backdrop-filter: blur(10px);
}

/* Hero 内容 (默认居中) */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #e2e8f0;
    text-shadow: 0 2px 16px rgba(15, 23, 42, 0.32), 0 0 20px rgba(59, 130, 246, 0.16);
}

/* Hero 分割布局 (左文右图) */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.hero-split-text {
    color: #cbd5e1;
    text-shadow: 0 1px 14px rgba(15, 23, 42, 0.28);
}
.hero-split-img {
    text-align: center;
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.18)) drop-shadow(0 0 24px rgba(59, 130, 246, 0.18));
}

/* CTA 内容 (默认居中) */
.cta-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.96) 0%, rgba(51, 65, 85, 0.92) 55%, rgba(59, 130, 246, 0.18) 100%);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.24), 0 0 24px rgba(59, 130, 246, 0.22);
    backdrop-filter: blur(12px);
    color: #f8fafc;
}

/* 作者团队 (默认 4 列) */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* 联系渠道 (默认 3 列) */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* 文章列表 (默认 2 列) */
.post-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* 相关文章 (默认 3 列) */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* 赛事列表 (默认 3 列) */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* 步 骤网格 (默认 4 列) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* 二维码网格 (默认 3 列) */
.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
}

/* 荣誉列表 (默认 2 列交替) */
.honor-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.honor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(241, 245, 249, 0.94) 100%);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12), 0 0 24px rgba(59, 130, 246, 0.1);
}
.honor-row-reverse {
    direction: rtl;
}
.honor-row-reverse > * {
    direction: ltr;
}

/* ============================================================
   Responsive Defaults
   ============================================================ */
@media (max-width: 1024px) {
    .news-grid,
    .feature-list,
    .channels-grid,
    .testimonial-list { grid-template-columns: repeat(2, 1fr); }

    .partner-grid,
    .stats-grid,
    .authors-grid { grid-template-columns: repeat(2, 1fr); }

    .matches-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }

    .hero-split { grid-template-columns: 1fr; }
    .honor-row { grid-template-columns: 1fr; }
    .honor-row-reverse { direction: ltr; }
}

@media (max-width: 640px) {
    .news-grid,
    .feature-list,
    .testimonial-list,
    .channels-grid,
    .post-list-grid,
    .related-grid,
    .authors-grid,
    .matches-grid { grid-template-columns: 1fr; }

    .partner-grid,
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .steps-grid { grid-template-columns: 1fr; }
    .qr-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }

    .faq-list { max-width: 100%; }
}