:root {
    --color-primary: #7c3aed;
    --color-primary-dark: #4c1d95;
    --color-primary-darker: #2e1065;
    --color-accent: #f59e0b;
    --color-accent-dark: #b45309;
    --color-success: #10b981;
    --color-danger: #ef4444;

    --color-text: #e5e7ff;
    --color-text-muted: #a9b1d6;
    --color-text-light: #c7cbee;
    --color-bg: #0b0c14;
    --color-bg-soft: #121327;
    --color-bg-muted: #0f1020;
    --color-border: rgba(255, 255, 255, 0.14);
    --color-border-soft: rgba(255, 255, 255, 0.10);

    --gradient-hero: radial-gradient(1200px 500px at 50% -10%, rgba(245, 158, 11, 0.35) 0%, rgba(124, 58, 237, 0.35) 30%, rgba(0, 0, 0, 0) 60%),
        linear-gradient(135deg, #0f0f1a 0%, #1b1033 35%, #2b1670 68%, #7c3aed 100%);
    --gradient-deep: radial-gradient(900px 420px at 20% 0%, rgba(124, 58, 237, 0.35) 0%, rgba(0, 0, 0, 0) 55%),
        linear-gradient(135deg, #070712 0%, #0f1020 48%, #1a1238 100%);
    --gradient-dept: radial-gradient(700px 380px at 80% 0%, rgba(245, 158, 11, 0.30) 0%, rgba(0, 0, 0, 0) 55%),
        linear-gradient(135deg, #2b1670 0%, #4f46e5 100%);
    --gradient-security: radial-gradient(650px 340px at 30% 10%, rgba(245, 158, 11, 0.25) 0%, rgba(0, 0, 0, 0) 55%),
        linear-gradient(135deg, #22134f, #070712);
    --gradient-mission: radial-gradient(900px 430px at 50% 10%, rgba(124, 58, 237, 0.40) 0%, rgba(0, 0, 0, 0) 58%),
        linear-gradient(135deg, #4f46e5 0%, #2b1670 45%, #7c3aed 100%);
    --gradient-trust: radial-gradient(800px 420px at 60% 10%, rgba(245, 158, 11, 0.28) 0%, rgba(0, 0, 0, 0) 55%),
        linear-gradient(135deg, #070712, #2b1670);
    --gradient-cta: radial-gradient(900px 420px at 50% 0%, rgba(245, 158, 11, 0.34) 0%, rgba(0, 0, 0, 0) 55%),
        linear-gradient(135deg, #2b1670 0%, #7c3aed 55%, #f59e0b 140%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fb7185 45%, #7c3aed 100%);
    --gradient-icon: linear-gradient(135deg, #7c3aed 0%, #f59e0b 65%, #22c55e 140%);

    --glass-bg: rgba(20, 20, 40, 0.58);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(14px);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.52);
    --shadow-xl: 0 26px 70px rgba(0, 0, 0, 0.62);
    --shadow-primary: 0 14px 40px rgba(124, 58, 237, 0.28), 0 3px 10px rgba(0, 0, 0, 0.45);
    --shadow-accent: 0 14px 40px rgba(245, 158, 11, 0.26), 0 3px 10px rgba(0, 0, 0, 0.45);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-pill: 999px;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.75rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    --transition-fast: 180ms cubic-bezier(0.22, 1, 0.36, 1);
    --transition-base: 320ms cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

:where(body) {
    color: var(--color-text);
    background: radial-gradient(1200px 700px at 50% -20%, rgba(124, 58, 237, 0.18) 0%, rgba(0, 0, 0, 0) 50%),
        radial-gradient(900px 600px at 0% 0%, rgba(245, 158, 11, 0.10) 0%, rgba(0, 0, 0, 0) 45%),
        linear-gradient(180deg, #0a0a12 0%, #0b0c14 35%, #070712 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 10px 30px rgba(0, 0, 0, 0.35);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 18px 45px rgba(124, 58, 237, 0.22), 0 10px 28px rgba(245, 158, 11, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.header {
    background: rgba(13, 13, 26, 0.78);
    z-index: 1030;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header .navbar-brand img {
    transition: transform var(--transition-fast), filter var(--transition-fast);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 14px 26px rgba(124, 58, 237, 0.28));
}

.header .nav-link {
    font-weight: 500;
    color: rgba(229, 231, 255, 0.85);
    transition: color var(--transition-fast), text-shadow var(--transition-fast), opacity var(--transition-fast);
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.header .nav-link:hover {
    color: #e9d5ff;
    text-shadow: 0 0 22px rgba(124, 58, 237, 0.45);
}

.hero-section {
    min-height: 480px;
    background: var(--gradient-hero);
    color: #ffffff;
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -80px 160px rgba(0, 0, 0, 0.35);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 430px at 50% 20%, rgba(245, 158, 11, 0.12) 0%, rgba(0, 0, 0, 0) 55%),
        rgba(0, 0, 0, 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 18px 50px rgba(0, 0, 0, 0.55), 0 0 28px rgba(124, 58, 237, 0.35);
}

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

    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.95;
    text-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
}

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

.notice-bar {
    animation: noticeSlideIn 620ms var(--transition-base) both;
}

.notice-bar a {
    transition: opacity var(--transition-fast), color var(--transition-fast), text-shadow var(--transition-fast), transform var(--transition-fast);
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.notice-bar a:hover {
    opacity: 0.9;
    color: #fce7f3;
    text-shadow: 0 0 22px rgba(124, 58, 237, 0.45);
}

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

.breadcrumb-nav {
    background: linear-gradient(180deg, rgba(18, 19, 39, 0.8) 0%, rgba(15, 16, 32, 0.9) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb-nav .breadcrumb-item a {
    transition: color var(--transition-fast), opacity var(--transition-fast), text-shadow var(--transition-fast);
    color: rgba(229, 231, 255, 0.82);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: #e9d5ff !important;
    text-shadow: 0 0 18px rgba(124, 58, 237, 0.40);
}

.why-us-section {
    background: linear-gradient(180deg, rgba(18, 19, 39, 0.75) 0%, rgba(14, 14, 28, 0.85) 100%);
}

.whyus-card {
    background: rgba(18, 20, 44, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    padding: var(--space-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    height: 100%;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
}

.whyus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(124, 58, 237, 0.22), 0 10px 30px rgba(0, 0, 0, 0.46);
    border-color: rgba(245, 158, 11, 0.24);
    background: rgba(24, 26, 56, 0.8);
}

.about-section {
    background: var(--gradient-deep);
    color: #ffffff;
    box-shadow: inset 0 40px 120px rgba(0, 0, 0, 0.35);
}

.about-img-wrap {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

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

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

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

.about-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
}

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

.departments-section {
    background: var(--gradient-dept);
    color: #fff;
}

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 18px 55px rgba(0, 0, 0, 0.55), 0 0 30px rgba(245, 158, 11, 0.25);
}

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
}

.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(18, 20, 44, 0.55);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--space-md);
    border-radius: 18px;
    margin-bottom: var(--space-sm);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: var(--space-xs);
    text-shadow: 0 16px 44px rgba(245, 158, 11, 0.20);
}

.d-num span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-inline-start: var(--space-xs);
}

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

.d-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.security-section {
    background: var(--gradient-security);
    color: #fff;
}

.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: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: #1b1033;
    font-weight: 700;
    box-shadow:
        0 28px 90px rgba(245, 158, 11, 0.24),
        0 18px 55px rgba(124, 58, 237, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.node {
    background: rgba(18, 20, 44, 0.55);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 18px;
    padding: var(--space-sm);
    text-align: center;
    color: #ffffff;
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.32);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 30px 95px rgba(124, 58, 237, 0.18), 0 20px 60px rgba(0, 0, 0, 0.55);
    border-color: rgba(245, 158, 11, 0.20);
}

.node-title {
    font-weight: 600;
    color: #fbbf24;
    margin-block: var(--space-xs);
    text-shadow: 0 14px 45px rgba(245, 158, 11, 0.18);
}

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

.honor-section {
    background: linear-gradient(180deg, rgba(18, 19, 39, 0.65) 0%, rgba(12, 13, 28, 0.85) 100%);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: rgba(18, 20, 44, 0.72);
    border-radius: 18px;
    border-inline-start: 4px solid #7c3aed;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.honor-text-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 78px rgba(124, 58, 237, 0.22), 0 18px 55px rgba(0, 0, 0, 0.55);
    background: rgba(24, 26, 56, 0.82);
    border-inline-start-color: #f59e0b;
}

.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: #fff;
    box-shadow: inset 0 -80px 180px rgba(0, 0, 0, 0.42);
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(226, 232, 240, 0.92);
    text-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
}

.stats-section {
    background: #0b0c14;
}

.stats-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    background: rgba(18, 19, 39, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.28);
    border-radius: 18px;
}

.stats-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 95px rgba(124, 58, 237, 0.22), 0 18px 55px rgba(0, 0, 0, 0.58);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(99, 102, 241, 0.18) 60%, rgba(245, 158, 11, 0.12) 110%);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: #d9bffd;
    text-shadow: 0 16px 44px rgba(124, 58, 237, 0.22);
}

.news-section {
    background: linear-gradient(180deg, rgba(18, 19, 39, 0.75) 0%, rgba(12, 13, 28, 0.88) 100%);
}

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 1px solid var(--color-border-soft);
    background: rgba(18, 20, 44, 0.58);
    border-radius: 18px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 34px 105px rgba(0, 0, 0, 0.62), 0 22px 70px rgba(124, 58, 237, 0.18);
    border-color: rgba(245, 158, 11, 0.18);
    background: rgba(24, 26, 56, 0.72);
}

.news-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

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

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

.matches-section {
    background: linear-gradient(180deg, rgba(18, 19, 39, 0.75) 0%, rgba(12, 13, 28, 0.88) 100%);
}

.match-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 1px solid var(--color-border-soft);
    background: rgba(18, 20, 44, 0.58);
    border-radius: 18px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 95px rgba(124, 58, 237, 0.18), 0 18px 55px rgba(0, 0, 0, 0.58);
    border-color: rgba(124, 58, 237, 0.65);
    background: rgba(24, 26, 56, 0.72);
}

.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: #e9d5ff;
    text-shadow: 0 14px 44px rgba(124, 58, 237, 0.22);
}

.trust-section {
    background: var(--gradient-trust);
    color: #fff;
}

.trust-card {
    background: rgba(18, 20, 44, 0.55);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 18px;
    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-base);
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 30px 110px rgba(0, 0, 0, 0.62), 0 22px 70px rgba(124, 58, 237, 0.18);
    border-color: rgba(245, 158, 11, 0.20);
}

.partners-section {
    background: linear-gradient(180deg, rgba(18, 19, 39, 0.75) 0%, rgba(12, 13, 28, 0.88) 100%);
}

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

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 34px 105px rgba(124, 58, 237, 0.18), 0 18px 55px rgba(0, 0, 0, 0.58);
    background: rgba(24, 26, 56, 0.72);
}

.testimonials-section {
    background: #0b0c14;
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border-block-start: 4px solid transparent;
}

.testimonial-card:hover {
    border-block-start-color: #f59e0b;
    transform: translateY(-5px);
    box-shadow: 0 26px 78px rgba(0, 0, 0, 0.58), 0 22px 70px rgba(245, 158, 11, 0.12);
}

.cta-banner-section {
    background: var(--gradient-cta);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -90px 180px rgba(0, 0, 0, 0.45);
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 50% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0) 60%),
        rgba(0, 0, 0, 0.26);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 22px 70px rgba(245, 158, 11, 0.24), 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.footer {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.82);
    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.55);
}

.footer a {
    transition: color 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.footer a:hover {
    color: #f5c16b !important;
}

.footer-copyright {
    font-size: 0.85rem;
}

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.9;
    color: rgba(229, 231, 235, 0.9);
}

.footer-beian a:hover {
    color: #f5c16b !important;
    text-decoration: underline !important;
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 240ms cubic-bezier(0.2, 0.9, 0.2, 1);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45));
}

.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: #7c3aed;
    box-shadow:
        0 0 0 0.2rem rgba(124, 58, 237, 0.18),
        0 18px 40px rgba(0, 0, 0, 0.35);
    outline: 2px solid rgba(124, 58, 237, 0.18);
    outline-offset: 2px;
}

.btn-primary {
    background-color: #6d28d9;
    border-color: #6d28d9;
    box-shadow:
        0 10px 26px rgba(109, 40, 217, 0.35),
        0 2px 0 rgba(255, 255, 255, 0.08) inset;
    border-radius: 999px;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #7c3aed;
    border-color: #7c3aed;
    box-shadow:
        0 14px 34px rgba(124, 58, 237, 0.42),
        0 2px 0 rgba(255, 255, 255, 0.1) inset;
}

.input-group-text {
    background-color: rgba(20, 20, 34, 0.85);
    border-color: rgba(255, 255, 255, 0.09);
    color: rgba(229, 231, 235, 0.95);
    border-radius: 14px;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

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

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