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

/* ============================================
   1. CSS Variables
   ============================================ */
:root {
    /* 品牌色 */
    --color-primary: #d14b72;
    --color-primary-dark: #9f3157;
    --color-primary-darker: #4f2a37;
    --color-accent: #f3a76f;
    --color-accent-dark: #e28752;
    --color-success: #4f9a7a;
    --color-danger: #c85b68;

    /* 中性色 */
    --color-text: #4c5564;
    --color-text-muted: #7d8898;
    --color-text-light: #a4afbd;
    --color-bg: #f5f6f8;
    --color-bg-soft: #eef1f4;
    --color-bg-muted: #e6eaee;
    --color-border: #dbe1e7;
    --color-border-soft: #e9edf1;

    /* 渐变 (Section 背景) */
    --gradient-hero: linear-gradient(135deg, #c95a7c 0%, #f0a56f 52%, #f7dcc8 100%);
    --gradient-deep: linear-gradient(135deg, #7b5c67 0%, #b97a85 50%, #efd9d2 100%);
    --gradient-dept: linear-gradient(135deg, #8c95b8 0%, #caa8b8 55%, #f3ddd2 100%);
    --gradient-security: linear-gradient(135deg, #6b727f 0%, #9fa9b8 52%, #e9edf2 100%);
    --gradient-mission: linear-gradient(135deg, #a56a7b 0%, #d38f88 50%, #f1ccb7 100%);
    --gradient-trust: linear-gradient(135deg, #7a8492 0%, #b9c3cf 52%, #f2f4f7 100%);
    --gradient-cta: linear-gradient(135deg, #cf5f7d 0%, #e58a74 48%, #f5caa8 100%);
    --gradient-accent: linear-gradient(135deg, #ffd7a8 0%, #f6b37d 48%, #e78c69 100%);
    --gradient-icon: linear-gradient(135deg, #f2b0bf 0%, #d96f8f 55%, #9d4969 100%);

    /* 玻璃效果 */
    --glass-bg: rgba(255, 255, 255, 0.46);
    --glass-border: rgba(255, 255, 255, 0.62);
    --glass-blur: blur(18px);

    /* 阴影 */
    --shadow-sm: 0 8px 18px rgba(122, 132, 146, 0.10), 0 2px 6px rgba(209, 75, 114, 0.06);
    --shadow-md: 0 14px 30px rgba(122, 132, 146, 0.14), 0 4px 12px rgba(209, 75, 114, 0.08);
    --shadow-lg: 0 22px 42px rgba(122, 132, 146, 0.16), 0 8px 20px rgba(209, 75, 114, 0.10);
    --shadow-xl: 0 30px 56px rgba(122, 132, 146, 0.18), 0 12px 28px rgba(209, 75, 114, 0.12);
    --shadow-primary: 0 20px 44px rgba(209, 75, 114, 0.18), 0 6px 18px rgba(255, 255, 255, 0.45);
    --shadow-accent: 0 18px 38px rgba(243, 167, 111, 0.24), 0 4px 14px rgba(227, 135, 82, 0.18);

    /* 圆角 */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-pill: 999px;

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

    /* 过渡 */
    --transition-fast: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-base: 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 0.68s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ============================================
   2. Base
   ============================================ */
:where(body) {
    color: var(--color-text);
    background: var(--color-bg);
    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);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fffaf7;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 14px 28px rgba(217, 111, 143, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.38);
    text-shadow: 0 1px 2px rgba(79, 42, 55, 0.18);
}

/* ============================================
   4. Header (HeaderSection)
   ============================================ */
.header {
    background: rgba(255, 255, 255, 0.94);
    z-index: 1030;
    box-shadow: 0 10px 24px rgba(122, 132, 146, 0.08), 0 1px 0 rgba(209, 75, 114, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header .navbar-brand img {
    transition: transform var(--transition-fast), filter var(--transition-fast);
    filter: drop-shadow(0 6px 10px rgba(209, 75, 114, 0.10));
}

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 18px rgba(209, 75, 114, 0.16));
}

.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 1px 0 rgba(255, 255, 255, 0.8);
}

/* ============================================
   5. Hero (HeroSection)
   ============================================ */
.hero-section {
    min-height: 480px;
    background: var(--gradient-hero);
    color: #fffaf7;
    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(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 26%, rgba(112, 70, 84, 0.18) 100%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
}

.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 10px 26px rgba(79, 42, 55, 0.24);
}

.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 6px 18px rgba(79, 42, 55, 0.16);
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.98;
    text-shadow: 0 4px 14px rgba(79, 42, 55, 0.14);
}

.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.72s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 10px 22px rgba(122, 132, 146, 0.10);
}

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

.notice-bar a:hover {
    opacity: 0.72;
    color: var(--color-primary);
}

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

/* ============================================
   7. Breadcrumb (BreadcrumbSection)
   ============================================ */
.breadcrumb-nav {
    background: linear-gradient(180deg, #eef1f4 0%, #e6eaee 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.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 1px 0 rgba(255, 255, 255, 0.7);
}

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

.whyus-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 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 10px 24px rgba(122, 132, 146, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

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

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

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

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

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

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 36px rgba(79, 42, 55, 0.14);
}

.text-white-75 {
    color: rgba(255, 249, 246, 0.80) !important;
}

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

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 8px 20px rgba(80, 56, 77, 0.18);
}

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(255, 250, 248, 0.86);
    text-shadow: 0 4px 14px rgba(80, 56, 77, 0.12);
}

.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);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: 0 16px 34px rgba(108, 98, 132, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffe0bf;
    margin-bottom: var(--space-xs);
    text-shadow: 0 4px 12px rgba(123, 92, 103, 0.16);
}

.d-num span {
    color: #fffaf8;
    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 14px 28px rgba(108, 98, 132, 0.16);
}

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

.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: 42px;
    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 24px 42px rgba(243, 167, 111, 0.28), 0 0 0 10px rgba(255, 255, 255, 0.16);
    text-shadow: 0 1px 0 rgba(255, 250, 248, 0.45);
}

.node {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: #fffdfb;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.54);
    box-shadow: 0 14px 30px rgba(107, 114, 127, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.20);
    box-shadow: 0 20px 40px rgba(107, 114, 127, 0.20), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.node-title {
    font-weight: 600;
    color: #ffd8b6;
    margin-block: var(--space-xs);
    text-shadow: 0 4px 12px rgba(79, 42, 55, 0.10);
}

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

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

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

.honor-text-card {
    padding: var(--space-md);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid var(--color-primary);
    transition: all var(--transition-base);
    box-shadow: 0 10px 22px rgba(122, 132, 146, 0.08);
}

.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: #fffaf7;
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(255, 245, 239, 0.88);
    text-shadow: 0 4px 12px rgba(79, 42, 55, 0.10);
}

/* ============================================
   14. Stats (StatsSection)
   ============================================ */
.stats-section {
    background: #f7f8fa;
}

.stats-card {
    transition: all var(--transition-base);
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 24px rgba(122, 132, 146, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    border: 1px solid #eceff2;
}

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

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-darker);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

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

.news-card {
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    box-shadow: 0 10px 22px rgba(122, 132, 146, 0.08);
    overflow: hidden;
}

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

.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(0.96) contrast(1.02);
}

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

/* ============================================
   16. Matches (MatchesSection)
   ============================================ */
.matches-section {
    background: linear-gradient(180deg, #f1f4f6 0%, #ebeff2 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%, #fbfcfd 100%);
    box-shadow: 0 10px 20px rgba(122, 132, 146, 0.07);
}

.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;
    color: var(--color-text-muted);
}

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-darker);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

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

.trust-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-sm);
    height: 100%;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.54);
    box-shadow: 0 16px 34px rgba(122, 132, 146, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 22px 44px rgba(122, 132, 146, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

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

.partner-card {
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 22px rgba(122, 132, 146, 0.08);
}

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

/* ============================================
   19. Testimonials (TestimonialsSection)
   ============================================ */
.testimonials-section {
    background: #f8f9fb;
}

.testimonial-card {
    transition: all var(--transition-base);
    border-block-start: 4px solid rgba(243, 167, 111, 0.18);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    box-shadow: 0 10px 24px rgba(122, 132, 146, 0.08);
}

.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: #fffaf7;
    position: relative;
    overflow: hidden;
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 22%, rgba(79, 42, 55, 0.18) 100%);
    z-index: 0;
    opacity: 0.95;
}

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

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

.text-white-75 {
    color: rgba(255, 248, 244, 0.88) !important;
}

/* ============================================
   21. Footer (FooterSection)
   ============================================ */
.footer {
    font-size: 0.9rem;
    color: #b6bcca;
    text-shadow: 0 1px 0 rgba(79, 42, 55, 0.10);
}

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

.footer a:hover {
    color: var(--color-accent) !important;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #7a8699;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Beian */
.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.92;
    color: #8a94a6;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.footer-beian a:hover {
    color: var(--color-accent) !important;
    text-decoration: underline !important;
    text-decoration-color: #e45b7a !important;
    text-shadow: 0 2px 8px rgba(228, 91, 122, 0.22);
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 0.42s cubic-bezier(0.2, 0.9, 0.25, 1), filter 0.42s cubic-bezier(0.2, 0.9, 0.25, 1), opacity 0.42s ease;
    filter: drop-shadow(0 6px 10px rgba(123, 141, 168, 0.22)) saturate(1.08);
    opacity: 0.96;
}

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 10px 18px rgba(228, 91, 122, 0.28)) saturate(1.16);
    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: #d76a83;
    box-shadow: 0 0 0 0.18rem rgba(215, 106, 131, 0.16), 0 12px 28px -16px rgba(109, 125, 150, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.78);
    outline-color: #f0a4b6;
    border-style: solid;
    caret-color: #c94f70;
    accent-color: #c94f70;
}

.btn-primary {
    background-color: #d76a83;
    border-color: #d76a83;
    border-style: solid;
    box-shadow: 0 12px 24px -14px rgba(215, 106, 131, 0.48), 0 3px 10px rgba(109, 125, 150, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.58);
    color: #fffafc;
    border-radius: 18px;
    text-shadow: 0 1px 0 rgba(126, 42, 68, 0.28);
    transition: background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
    filter: saturate(1.02);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #bf5570;
    border-color: #bf5570;
    box-shadow: 0 16px 30px -16px rgba(191, 85, 112, 0.52), 0 6px 14px rgba(95, 113, 138, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 0 rgba(103, 31, 52, 0.34);
    filter: saturate(1.08) brightness(1.01);
}

.input-group-text {
    background-color: #f3f5f8;
    border-color: #dde3ec;
    border-style: solid;
    color: #7f8b9d;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 8px 18px -16px rgba(117, 132, 156, 0.26);
    border-radius: 16px;
}

/* ============================================
   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;
    background: linear-gradient(180deg, #f5f6f8 0%, #eef1f4 100%);
    border-radius: 24px;
    box-shadow: 0 22px 42px -34px rgba(111, 126, 149, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 功能特性列表 (默认 3 列) */
.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: linear-gradient(180deg, #f7f8fa 0%, #f0f3f7 100%);
    border-radius: 26px;
    box-shadow: 0 24px 44px -36px rgba(116, 131, 153, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* 用户评价 (默认 3 列) */
.testimonial-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: linear-gradient(180deg, #f8f8f9 0%, #f1f4f7 100%);
    border-radius: 28px;
    box-shadow: 0 26px 48px -38px rgba(121, 136, 158, 0.29), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

/* 合作伙伴 (默认 4 列) */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
    background: linear-gradient(180deg, #f6f7f9 0%, #edf1f5 100%);
    border-radius: 22px;
    box-shadow: 0 20px 40px -34px rgba(108, 124, 146, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 数据统计 (默认 4 列) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #f7f8fa 0%, #eef2f6 100%);
    border-radius: 24px;
    box-shadow: 0 24px 42px -36px rgba(115, 129, 150, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* FAQ 列表 (默认单列居中) */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    background: linear-gradient(180deg, #fbfbfc 0%, #f3f5f8 100%);
    border-radius: 26px;
    box-shadow: 0 28px 52px -40px rgba(120, 135, 158, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Hero 内容 (默认居中) */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.96) 0%, rgba(244, 246, 249, 0.98) 58%, rgba(237, 241, 245, 1) 100%);
    border-radius: 28px;
    box-shadow: 0 30px 56px -42px rgba(117, 132, 155, 0.3), 0 8px 18px -14px rgba(228, 91, 122, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

/* Hero 分割布局 (左文右图) */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fb 0%, #f0f3f7 100%);
    border-radius: 28px;
    box-shadow: 0 32px 58px -44px rgba(116, 131, 154, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}
.hero-split-text { 
    color: #5f6d81;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78);
}
.hero-split-img { 
    text-align: center;
    filter: drop-shadow(0 20px 30px rgba(122, 137, 160, 0.18));
}

/* CTA 内容 (默认居中) */
.cta-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, #fffafb 0%, #f6f1f4 52%, #eef2f6 100%);
    border-radius: 28px;
    box-shadow: 0 30px 58px -42px rgba(121, 135, 156, 0.28), 0 10px 24px -18px rgba(215, 106, 131, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

/* 作者团队 (默认 4 列) */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: linear-gradient(180deg, #f8f9fb 0%, #eef2f6 100%);
    border-radius: 24px;
    box-shadow: 0 24px 44px -36px rgba(114, 130, 152, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.93);
}

/* 联系渠道 (默认 3 列) */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: linear-gradient(180deg, #f7f8fa 0%, #edf1f5 100%);
    border-radius: 26px;
    box-shadow: 0 24px 46px -36px rgba(112, 128, 150, 0.29), inset 0 1px 0 rgba(255, 255, 255, 0.93);
}

/* 文章列表 (默认 2 列) */
.post-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    background: linear-gradient(180deg, #fafafb 0%, #f1f4f7 100%);
    border-radius: 24px;
    box-shadow: 0 26px 48px -38px rgba(118, 133, 156, 0.29), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

/* 相关文章 (默认 3 列) */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #eef2f5 100%);
    border-radius: 22px;
    box-shadow: 0 20px 38px -32px rgba(115, 129, 151, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* 赛事列表 (默认 3 列) */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: linear-gradient(180deg, #f9fafb 0%, #eef2f6 100%);
    border-radius: 24px;
    box-shadow: 0 22px 40px -34px rgba(113, 128, 149, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* 步 骤网格 (默认 4 列) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: linear-gradient(180deg, #f8f9fb 0%, #eef2f6 100%);
    border-radius: 26px;
    box-shadow: 0 26px 48px -38px rgba(116, 131, 153, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

/* 二维码网格 (默认 3 列) */
.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
    background: linear-gradient(180deg, #fbfbfc 0%, #f2f5f8 100%);
    border-radius: 28px;
    box-shadow: 0 28px 52px -40px rgba(117, 132, 154, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

/* 荣誉列表 (默认 2 列交替) */
.honor-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    background: linear-gradient(180deg, #f8f9fb 0%, #eff2f6 100%);
    border-radius: 28px;
    box-shadow: 0 30px 56px -42px rgba(116, 131, 154, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.honor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(244, 247, 250, 0.92) 100%);
    border-radius: 24px;
    box-shadow: 0 22px 40px -34px rgba(120, 135, 157, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}
.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%; }
}