:root {
    --color-primary: #2563eb;
    --color-primary-dark: #0b3a78;
    --color-primary-darker: #0a2447;
    --color-accent: #f97316;
    --color-accent-dark: #ea580c;
    --color-success: #22c55e;
    --color-danger: #ef4444;

    --color-text: #1f2a37;
    --color-text-muted: #5b6b7e;
    --color-text-light: #7f93aa;
    --color-bg: #f7f8fb;
    --color-bg-soft: #ffffff;
    --color-bg-muted: #f0f3f8;
    --color-border: #e6eaf2;
    --color-border-soft: #f0f3f8;

    --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #2563eb 45%, #4f46e5 100%);
    --gradient-deep: linear-gradient(135deg, #0b1020 0%, #0f3a68 55%, #0b1020 100%);
    --gradient-dept: linear-gradient(135deg, #1f2a7a 0%, #4338ca 52%, #4f46e5 100%);
    --gradient-security: linear-gradient(135deg, #0b2a4a 0%, #0f172a 55%, #071326 100%);
    --gradient-mission: linear-gradient(135deg, #0ea5e9 0%, #1d4ed8 40%, #312e81 100%);
    --gradient-trust: linear-gradient(135deg, #0f172a 0%, #111827 55%, #0b2545 100%);
    --gradient-cta: linear-gradient(135deg, #0284c7 0%, #2563eb 55%, #4f46e5 100%);
    --gradient-accent: linear-gradient(135deg, #fb923c 0%, #f97316 55%, #ea580c 100%);
    --gradient-icon: linear-gradient(135deg, #1d4ed8 0%, #0284c7 60%, #4f46e5 100%);

    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(15, 23, 42, 0.10);
    --glass-blur: blur(10px);

    --shadow-sm: 0 1px 0 rgba(15, 23, 42, 0.04), 0 6px 16px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 1px 0 rgba(15, 23, 42, 0.04), 0 10px 26px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 1px 0 rgba(15, 23, 42, 0.05), 0 14px 36px rgba(15, 23, 42, 0.14);
    --shadow-xl: 0 1px 0 rgba(15, 23, 42, 0.05), 0 18px 48px rgba(15, 23, 42, 0.18);
    --shadow-primary: 0 1px 0 rgba(37, 99, 235, 0.10), 0 10px 26px rgba(37, 99, 235, 0.16), 0 1px 0 rgba(255, 255, 255, 0.35) inset;
    --shadow-accent: 0 1px 0 rgba(249, 115, 22, 0.10), 0 10px 26px rgba(249, 115, 22, 0.16), 0 1px 0 rgba(255, 255, 255, 0.35) inset;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-pill: 999px;

    --space-xs: 0.45rem;
    --space-sm: 0.85rem;
    --space-md: 1.15rem;
    --space-lg: 1.6rem;
    --space-xl: 2.15rem;
    --space-2xl: 3.2rem;

    --transition-fast: 170ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-base: 240ms cubic-bezier(0.2, 0.85, 0.2, 1);
    --transition-slow: 420ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

:where(body) {
    color: var(--color-text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 248, 251, 1) 60%, rgba(242, 245, 252, 1) 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.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: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 28px rgba(2, 132, 199, 0.10);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 40%), var(--gradient-icon);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.22), 0 1px 0 rgba(255, 255, 255, 0.45) inset;
    text-shadow: 0 1px 0 rgba(2, 6, 23, 0.25);
}

.header {
    background: #ffffff;
    z-index: 1030;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 10px 26px rgba(15, 23, 42, 0.06);
}

.header .navbar-brand img {
    transition: transform var(--transition-fast), filter var(--transition-fast);
    filter: saturate(1.05);
}

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: saturate(1.15) contrast(1.02);
}

.header .nav-link {
    font-weight: 500;
    color: rgba(31, 42, 55, 0.92);
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.header .nav-link:hover {
    color: var(--color-primary);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-section {
    min-height: 480px;
    background: var(--gradient-hero);
    color: rgba(255, 255, 255, 0.98);
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 500px at 10% 15%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(700px 420px at 85% 30%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 60%),
        rgba(2, 6, 23, 0.22);
    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 10px 40px rgba(2, 6, 23, 0.25);
}

.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 8px 28px rgba(2, 6, 23, 0.18);
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.96;
    text-shadow: 0 10px 30px rgba(2, 6, 23, 0.16);
}

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

.notice-bar {
    animation: noticeSlideIn 0.55s var(--transition-base);
}

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

.notice-bar a:hover {
    opacity: 0.86;
    transform: translateY(-1px);
}

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

.breadcrumb-nav {
    background: linear-gradient(180deg, rgba(240, 243, 248, 1) 0%, rgba(241, 245, 249, 1) 100%);
    border-block: 1px solid rgba(15, 23, 42, 0.06);
}

.breadcrumb-nav .breadcrumb-item a {
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
    text-decoration-color: rgba(37, 99, 235, 0.0);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-decoration-color: rgba(37, 99, 235, 0.65);
}

.why-us-section {
    background: linear-gradient(180deg, rgba(245, 247, 252, 1) 0%, rgba(255, 255, 255, 1) 70%);
}

.whyus-card {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast), background var(--transition-base);
    height: 100%;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 10px 24px rgba(2, 6, 23, 0.05);
}

.whyus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 0 rgba(37, 99, 235, 0.10), 0 14px 34px rgba(37, 99, 235, 0.16), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
    border-color: rgba(37, 99, 235, 0.22);
}

.about-section {
    background: var(--gradient-deep);
    color: rgba(255, 255, 255, 0.98);
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 16px 40px rgba(2, 6, 23, 0.25);
}

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

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

.about-card {
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 18px 45px rgba(0, 0, 0, 0.18);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.78) !important;
    text-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
}

.departments-section {
    background: var(--gradient-dept);
    color: rgba(255, 255, 255, 0.98);
}

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 12px 40px rgba(2, 6, 23, 0.25);
}

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 10px 30px rgba(2, 6, 23, 0.20);
}

.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: rgba(255, 255, 255, 0.78);
    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.55);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 16px 38px rgba(2, 6, 23, 0.10);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    text-shadow: 0 10px 24px rgba(234, 88, 12, 0.18);
}

.d-num span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-inline-start: var(--space-xs);
    text-shadow: 0 10px 24px rgba(2, 6, 23, 0.25);
}

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

.d-image img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 0 rgba(255,255,255,0.65) inset, 0 14px 34px rgba(2, 6, 23, 0.12);
}

.security-section {
    background: var(--gradient-security);
    color: rgba(255, 255, 255, 0.98);
}

.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:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 45%),
        var(--gradient-accent);
    border-radius: 50%;
    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 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 0 0 4px rgba(249, 115, 22, 0.10),
        0 18px 55px rgba(249, 115, 22, 0.35);
    text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}

.node {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: rgba(255, 255, 255, 0.96);
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 0 rgba(255,255,255,0.65) inset, 0 14px 34px rgba(2, 6, 23, 0.14);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 20px 60px rgba(2, 6, 23, 0.25);
    border-color: rgba(255, 255, 255, 0.28);
}

.node-title {
    font-weight: 600;
    color: var(--color-accent);
    margin-block: var(--space-xs);
    text-shadow: 0 12px 30px rgba(234, 88, 12, 0.18);
}

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

.honor-section {
    background: linear-gradient(180deg, rgba(245, 247, 252, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: #fff;
    border-radius: var(--radius-md);
    border-inline-start: 4px solid rgba(37, 99, 235, 0.92);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast), background var(--transition-base);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 12px 30px rgba(2, 6, 23, 0.06);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 0 rgba(37, 99, 235, 0.10), 0 14px 34px rgba(37, 99, 235, 0.16), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
    border-color: rgba(249, 115, 22, 0.95);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(240, 253, 250, 0.55) 100%);
}

.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: rgba(255, 255, 255, 0.98);
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(226, 232, 240, 0.92);
    text-shadow: 0 10px 26px rgba(2, 6, 23, 0.14);
}

.stats-section {
    background: #ffffff;
}

.stats-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-fast);
    background: linear-gradient(180deg, rgba(246, 249, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 14px 30px rgba(2, 6, 23, 0.06);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1px 0 rgba(2, 132, 199, 0.10), 0 18px 48px rgba(2, 132, 199, 0.18), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
    background: linear-gradient(135deg, #ffffff 0%, rgba(236, 253, 245, 0.85) 55%, rgba(240, 247, 255, 1) 100%);
    border-color: rgba(2, 132, 199, 0.22);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-dark);
    text-shadow: 0 10px 26px rgba(2, 6, 23, 0.08);
}

.news-section {
    background: linear-gradient(180deg, rgba(248, 250, 252, 1) 0%, rgba(243, 246, 252, 1) 100%);
}

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-fast);
    border: 1px solid rgba(240, 243, 248, 1);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 12px 28px rgba(2, 6, 23, 0.05);
    background: #fff;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1px 0 rgba(2, 6, 23, 0.05), 0 22px 60px rgba(2, 132, 199, 0.16);
    border-color: rgba(37, 99, 235, 0.18);
}

.news-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(600px 220px at 30% 20%, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 55%), rgba(2, 6, 23, 0.08);
}

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

.news-card:hover .news-img-wrap img {
    transform: scale(1.09);
    filter: saturate(1.15) contrast(1.06);
}

.match-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-fast);
    border: 1px solid rgba(240, 243, 248, 1);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 12px 28px rgba(2, 6, 23, 0.05);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 0 rgba(37, 99, 235, 0.10), 0 18px 46px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.38);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(240, 249, 255, 1) 100%);
}

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

.match-card .team .small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(31, 42, 55, 0.92);
}

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-dark);
    text-shadow: 0 10px 26px rgba(2, 6, 23, 0.08);
}

.trust-section {
    background: var(--gradient-trust);
    color: rgba(255, 255, 255, 0.98);
}

.trust-card {
    background: rgba(255, 255, 255, 0.82);
    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: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 18px 50px rgba(2, 6, 23, 0.18);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 1px 0 rgba(255,255,255,0.14) inset, 0 24px 70px rgba(2, 6, 23, 0.28);
}

.partners-section {
    background: linear-gradient(180deg, rgba(248, 250, 252, 1) 0%, rgba(245, 247, 252, 1) 100%);
}

.partner-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast), background var(--transition-base);
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 243, 248, 1);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 12px 28px rgba(2, 6, 23, 0.05);
    background: #fff;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1px 0 rgba(249, 115, 22, 0.10), 0 18px 46px rgba(249, 115, 22, 0.16);
    border-color: rgba(249, 115, 22, 0.28);
}

.testimonials-section {
    background: #ffffff;
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
    border-block-start: 4px solid transparent;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 12px 28px rgba(2, 6, 23, 0.05);
    border-radius: var(--radius-md);
    background: #fff;
}

.testimonial-card:hover {
    border-block-start-color: rgba(249, 115, 22, 0.98);
    transform: translateY(-5px);
    box-shadow: 0 1px 0 rgba(2, 132, 199, 0.10), 0 20px 55px rgba(2, 132, 199, 0.14);
}

.cta-banner-section {
    background: var(--gradient-cta);
    color: rgba(255, 255, 255, 0.98);
    position: relative;
    overflow: hidden;
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 20% 10%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(700px 380px at 85% 30%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 60%),
        rgba(2, 6, 23, 0.22);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 18px 48px rgba(249, 115, 22, 0.24);
    transition: box-shadow var(--transition-base), transform var(--transition-base), filter var(--transition-fast);
    filter: saturate(1.05);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 10px 26px rgba(2, 6, 23, 0.22);
}

.footer {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.92);
    text-shadow: 0 10px 26px rgba(2, 6, 23, 0.12);
}

.footer a {
    transition-property: color;
    transition-duration: 240ms;
    transition-timing-function: cubic-bezier(.2,.9,.2,1);
    transition-delay: 0ms;
}

.footer a:hover {
    color: var(--color-accent-2, #7c3aed) !important;
}

.footer-copyright {
    font-size: 0.85rem;
    text-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

/* Beian */
.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.88;
    color: var(--color-text-muted-2, rgba(15, 23, 42, 0.72));
}

.footer-beian a:hover {
    color: var(--color-accent-2, #7c3aed) !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(124, 58, 237, 0.65) !important;
    text-underline-offset: 3px;
}

.footer-beian img {
    margin-inline-end: 4px;
    transition-property: transform, filter;
    transition-duration: 260ms;
    transition-timing-function: cubic-bezier(.2,.9,.2,1);
    transition-delay: 0ms;
    filter: saturate(1) contrast(1) drop-shadow(0 3px 6px rgba(2, 6, 23, 0.10));
}

.footer-beian a:hover img {
    transform: scale(1.16);
    filter: saturate(1.05) contrast(1.02) drop-shadow(0 10px 18px rgba(124, 58, 237, 0.20));
}

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

/* Small-screen tightening */
@media (max-width: 575.98px) {
    .footer-beian ul {
        flex-direction: column;
        gap: var(--space-xs, 8px) !important;
    }

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

/* ============================================
   22. Form (Login/Signup/Contact)
   ============================================ */
.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary-2, #7c3aed);
    box-shadow:
        0 0 0 1px rgba(124, 58, 237, 0.25),
        0 10px 22px rgba(124, 58, 237, 0.10),
        0 0 0 0.22rem rgba(124, 58, 237, 0.14);
}

.btn-primary {
    background-color: var(--color-primary-2, #7c3aed);
    border-color: var(--color-primary-2, #7c3aed);
    box-shadow:
        0 8px 18px rgba(124, 58, 237, 0.20),
        0 1px 0 rgba(255, 255, 255, 0.60) inset;
    border-radius: 4px;
    transition-property: background-color, border-color, box-shadow, transform;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(.2,.9,.2,1);
    transition-delay: 0ms;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #6d28d9;
    border-color: #6d28d9;
    box-shadow:
        0 14px 30px rgba(109, 40, 217, 0.26),
        0 1px 0 rgba(255, 255, 255, 0.64) inset;
    transform: translateY(-1px);
}

.input-group-text {
    background-color: var(--color-bg-muted-2, #f8fafc);
    border-color: var(--color-border-2, rgba(15, 23, 42, 0.12));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 10px 24px rgba(2, 6, 23, 0.04);
    border-radius: 4px;
    transition-property: background-color, border-color;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(.2,.9,.2,1);
    transition-delay: 0ms;
}

/* ============================================
   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;
        scroll-behavior: auto !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;
}

/* Hero 内容 (默认居中) */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero 分割布局 (左文右图) */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.hero-split-text { }
.hero-split-img {
    text-align: center;
}

/* CTA 内容 (默认居中) */
.cta-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 作者团队 (默认 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;
}

/* 荣誉列表 (默认 2 列交替) */
.honor-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.honor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.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%; }
}