:root {
    --color-primary: #ff2e63;
    --color-primary-dark: #7a0b2b;
    --color-primary-darker: #2b0a14;
    --color-accent: #00e5ff;
    --color-accent-dark: #00a3cc;
    --color-success: #35ff7a;
    --color-danger: #ff3b30;

    --color-text: #1f2937;
    --color-text-muted: #4b5563;
    --color-text-light: #6b7280;
    --color-bg: #f6f7fb;
    --color-bg-soft: #ffffff;
    --color-bg-muted: #eef2ff;
    --color-border: #dbe1ff;
    --color-border-soft: #e8ecff;

    --gradient-hero: linear-gradient(135deg, #ff2e63 0%, #7c3aed 50%, #00e5ff 100%);
    --gradient-deep: linear-gradient(135deg, #05070f 0%, #0b1022 45%, #111a33 100%);
    --gradient-dept: linear-gradient(135deg, #1f1147 0%, #7c3aed 45%, #00e5ff 100%);
    --gradient-security: linear-gradient(135deg, #0b1220, #1f2a44 55%, #0b1220);
    --gradient-mission: linear-gradient(135deg, #00e5ff 0%, #7c3aed 60%, #ff2e63 100%);
    --gradient-trust: linear-gradient(135deg, #091026 0%, #1b2b66 55%, #00a3cc 100%);
    --gradient-cta: linear-gradient(135deg, #2b0a14 0%, #ff2e63 55%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, #00e5ff 0%, #ff2e63 55%, #ffd166 100%);
    --gradient-icon: linear-gradient(135deg, #00e5ff 0%, #ff2e63 70%, #7c3aed 100%);

    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.22);
    --glass-blur: blur(12px);

    --shadow-sm: 4px 4px 0px rgba(0, 0, 0, 0.12), 8px 10px 18px rgba(8, 10, 20, 0.10);
    --shadow-md: 4px 4px 0px rgba(0, 0, 0, 0.14), 10px 14px 26px rgba(8, 10, 20, 0.14);
    --shadow-lg: 5px 5px 0px rgba(0, 0, 0, 0.16), 14px 18px 34px rgba(8, 10, 20, 0.18);
    --shadow-xl: 6px 6px 0px rgba(0, 0, 0, 0.18), 18px 22px 44px rgba(8, 10, 20, 0.22);
    --shadow-primary: 4px 4px 0px rgba(255, 46, 99, 0.55), 10px 14px 26px rgba(255, 46, 99, 0.18);
    --shadow-accent: 4px 4px 0px rgba(0, 229, 255, 0.55), 10px 14px 26px rgba(0, 229, 255, 0.18);

    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 4px;
    --radius-pill: 26px;

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

    --transition-fast: 0.15s cubic-bezier(0.2, 0.9, 0.2, 1);
    --transition-base: 0.15s cubic-bezier(0.2, 0.9, 0.2, 1);
    --transition-slow: 0.22s cubic-bezier(0.2, 0.9, 0.2, 1);
}

:where(body) {
    color: var(--color-text);
    background: linear-gradient(180deg, #f6f7fb 0%, #f1f5ff 55%, #f6f7fb 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.bg-glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 3px solid var(--glass-border);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0) 55%), var(--gradient-icon);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.14), 10px 14px 26px rgba(124, 58, 237, 0.18);
}

.header {
    background: #ffffff;
    z-index: 1030;
    box-shadow: 0 0 0 1px rgba(219, 225, 255, 0.9), 6px 10px 24px rgba(17, 24, 39, 0.10);
}

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

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: saturate(1.12) contrast(1.05) drop-shadow(4px 4px 0 rgba(255, 46, 99, 0.25));
}

.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: 3px 3px 0 rgba(0, 229, 255, 0.20);
}

.hero-section {
    min-height: 480px;
    background: var(--gradient-hero);
    color: #fff;
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid rgba(255, 255, 255, 0.12);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.10) 45%, rgba(0, 0, 0, 0.22) 100%);
    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: 4px 4px 0 rgba(0, 0, 0, 0.20), 0 10px 26px rgba(0, 0, 0, 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: 2px 2px 0 rgba(0, 0, 0, 0.14);
}

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

.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.38s cubic-bezier(0.2, 0.9, 0.2, 1);
}

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

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

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

.breadcrumb-nav {
    background: linear-gradient(180deg, var(--color-bg-muted) 0%, #ffffff 100%);
    border-bottom: 3px solid rgba(124, 58, 237, 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: 3px 3px 0 rgba(255, 46, 99, 0.22);
}

.why-us-section {
    background: linear-gradient(180deg, #eef2ff 0%, #f6f7fb 70%, #eef2ff 100%);
}

.whyus-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 3px solid rgba(219, 225, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    height: 100%;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.10);
}

.whyus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(255, 46, 99, 0.55);
    background: linear-gradient(180deg, #fff 0%, rgba(255, 46, 99, 0.04) 100%);
}

.about-section {
    background: var(--gradient-deep);
    color: #fff;
    border-top: 4px solid rgba(255, 255, 255, 0.08);
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 3px solid rgba(255, 255, 255, 0.16);
    box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.16);
}

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

.about-img-wrap:hover img {
    transform: scale(1.05);
    filter: saturate(1.18) contrast(1.08) drop-shadow(4px 4px 0 rgba(0, 229, 255, 0.18));
}

.about-card {
    transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    border: 3px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
}

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 4px 4px 0 rgba(0, 229, 255, 0.18);
}

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

.departments-section {
    background: var(--gradient-dept);
    color: #fff;
    border-bottom: 4px solid rgba(0, 229, 255, 0.18);
}

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.20);
}

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.90);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 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: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.06) 100%);
    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: 3px solid rgba(255, 255, 255, 0.22);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.14);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00e5ff;
    margin-bottom: var(--space-xs);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.16);
}

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

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

.d-image img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.14);
}

.security-section {
    background: var(--gradient-security);
    color: #fff;
    border-top: 4px solid rgba(255, 255, 255, 0.06);
}

.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 25% 25%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.10) 26%, rgba(255, 255, 255, 0) 55%),
        var(--gradient-accent);
    border-radius: 0;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: #0b1022;
    font-weight: 700;
    border: 3px solid rgba(255, 255, 255, 0.22);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18), 0 0 0 4px rgba(0, 229, 255, 0.08), 0 18px 34px rgba(0, 229, 255, 0.20);
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.25);
}

.node {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: #ffffff;
    transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    border: 3px solid rgba(255, 255, 255, 0.20);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.14);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 46, 99, 0.35);
    box-shadow: 4px 4px 0 rgba(255, 46, 99, 0.30), 14px 20px 36px rgba(255, 46, 99, 0.14);
}

.node-title {
    font-weight: 600;
    color: #ffd166;
    margin-block: var(--space-xs);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.16);
}

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

.honor-section {
    background: linear-gradient(180deg, #eef2ff 0%, #f6f7fb 100%);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: var(--radius-md);
    border-inline-start: 3px solid #ff2e63;
    border: 3px solid rgba(219, 225, 255, 0.95);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.10);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 rgba(255, 46, 99, 0.22), 12px 18px 34px rgba(255, 46, 99, 0.12);
    border-color: rgba(0, 229, 255, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, rgba(0, 229, 255, 0.05) 100%);
}

.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: #fff;
    border-bottom: 4px solid rgba(0, 0, 0, 0.10);
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.12);
}

.stats-section {
    background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
}

.stats-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    border: 3px solid rgba(219, 225, 255, 0.95);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.10);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #ffffff 0%, rgba(0, 229, 255, 0.08) 35%, rgba(255, 46, 99, 0.06) 100%);
    border-color: rgba(0, 229, 255, 0.40);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: #0b1022;
    text-shadow: 3px 3px 0 rgba(255, 46, 99, 0.12);
}

.news-section {
    background: linear-gradient(180deg, #f6f7fb 0%, #eef2ff 100%);
}

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 3px solid rgba(232, 236, 255, 0.95);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.10);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(124, 58, 237, 0.45);
    background: linear-gradient(180deg, #ffffff 0%, rgba(124, 58, 237, 0.06) 100%);
}

.news-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid rgba(255, 255, 255, 0.0);
}

.news-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 46, 99, 0.12) 0%, rgba(0, 229, 255, 0.10) 45%, rgba(124, 58, 237, 0.14) 100%);
    pointer-events: none;
    opacity: 0.9;
}

.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.04);
}

.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
    filter: saturate(1.18) contrast(1.08) drop-shadow(4px 4px 0 rgba(0, 229, 255, 0.14));
}

.match-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 3px solid rgba(232, 236, 255, 0.95);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.10);
}

.matches-section {
    background: linear-gradient(180deg, #eef2ff 0%, #f6f7fb 100%);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 46, 99, 0.55);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 46, 99, 0.06) 60%, rgba(0, 229, 255, 0.04) 100%);
}

.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: #7a0b2b;
    text-shadow: 3px 3px 0 rgba(0, 229, 255, 0.12);
}

.trust-section {
    background: var(--gradient-trust);
    color: #fff;
    border-top: 4px solid rgba(0, 0, 0, 0.10);
}

.trust-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.06) 100%);
    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), border-color var(--transition-base), box-shadow var(--transition-base);
    border: 3px solid rgba(255, 255, 255, 0.22);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.14);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(0, 229, 255, 0.40);
    box-shadow: 4px 4px 0 rgba(0, 229, 255, 0.24), 14px 20px 36px rgba(0, 229, 255, 0.12);
}

.partners-section {
    background: linear-gradient(180deg, #f6f7fb 0%, #ffffff 60%, #f6f7fb 100%);
}

.partner-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border-radius: var(--radius-md);
    border: 3px solid rgba(219, 225, 255, 0.95);
    background: #ffffff;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.10);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(255, 46, 99, 0.50);
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 46, 99, 0.06) 100%);
}

.testimonials-section {
    background: #ffffff;
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border-block-start: 3px solid transparent;
    border: 3px solid rgba(232, 236, 255, 0.95);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.10);
}

.testimonial-card:hover {
    border-block-start-color: #00e5ff;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 229, 255, 0.40);
    background: linear-gradient(135deg, #ffffff 0%, rgba(0, 229, 255, 0.06) 50%, rgba(124, 58, 237, 0.04) 100%);
}

.cta-banner-section {
    background: var(--gradient-cta);
    color: #fff;
    position: relative;
    overflow: hidden;
    border-top: 4px solid rgba(0, 229, 255, 0.18);
    border-bottom: 4px solid rgba(255, 46, 99, 0.18);
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.26) 100%);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16), 10px 14px 26px rgba(255, 209, 102, 0.22);
    border: 3px solid rgba(255, 209, 102, 0.55);
}

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

.footer {
    font-size: 0.9rem;
    color: #9aa6bd;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.10);
}

.footer a {
    transition: color var(--transition-fast) 0.15s cubic-bezier(0.2, 0.9, 0.2, 1);
}

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

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

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.9;
}

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

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform var(--transition-fast) 0.15s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.footer-beian a:hover img {
    transform: scale(1.2);
}

.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: #22c55e;
    box-shadow: 4px 4px 0 rgba(34, 197, 94, 0.35), -2px -2px 0 rgba(99, 102, 241, 0.12), 0 0 0 0.2rem rgba(34, 197, 94, 0.12);
}

.btn-primary {
    background-color: #ef4444;
    border-color: #ef4444;
    border-style: solid;
    border-width: 2px;
    border-radius: 2px;
    box-shadow: 4px 4px 0 rgba(239, 68, 68, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #dc2626;
    border-color: #dc2626;
    box-shadow: 4px 4px 0 rgba(220, 38, 38, 0.35), -2px -2px 0 rgba(0, 0, 0, 0.06);
}

.input-group-text {
    background-color: #0b1220;
    border-color: #1f2937;
    border-style: solid;
    border-width: 2px;
    border-radius: 2px;
    box-shadow: 4px 4px 0 rgba(2, 6, 23, 0.28);
}

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