:root {
    --color-primary: #7c3aed;
    --color-primary-dark: #4c1d95;
    --color-primary-darker: #2e1065;

    --color-accent: #f59e0b;
    --color-accent-dark: #d97706;

    --color-success: #22c55e;
    --color-danger: #ef4444;

    --color-text: #e7eaf2;
    --color-text-muted: rgba(231, 234, 242, 0.72);
    --color-text-light: rgba(231, 234, 242, 0.92);

    --color-bg: #0b0b14;
    --color-bg-soft: rgba(255, 255, 255, 0.04);
    --color-bg-muted: rgba(255, 255, 255, 0.03);

    --color-border: rgba(255, 255, 255, 0.14);
    --color-border-soft: rgba(255, 255, 255, 0.10);

    --gradient-hero: linear-gradient(135deg, #090914 0%, #1b1038 40%, #5b21b6 100%);
    --gradient-deep: linear-gradient(135deg, #070711 0%, #120a2b 40%, #2a1557 100%);
    --gradient-dept: linear-gradient(135deg, #1f123f 0%, #3b1a73 52%, #6d28d9 100%);
    --gradient-security: linear-gradient(135deg, #120a2b 0%, #0b0b14 100%);
    --gradient-mission: linear-gradient(135deg, #5b21b6 0%, #2a0a5e 55%, #1b1038 100%);
    --gradient-trust: linear-gradient(135deg, #0b0b14 0%, #2a0a5e 52%, #4c1d95 100%);
    --gradient-cta: linear-gradient(135deg, #2a0a5e 0%, #5b21b6 55%, #f59e0b 120%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #b45309 55%, #f59e0b 100%);
    --gradient-icon: linear-gradient(135deg, #7c3aed 0%, #f59e0b 120%);

    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(12px);

    --shadow-sm: 4px 4px 0 rgba(0, 0, 0, 0.55);
    --shadow-md: 6px 6px 0 rgba(0, 0, 0, 0.6);
    --shadow-lg: 10px 10px 0 rgba(0, 0, 0, 0.65);
    --shadow-xl: 14px 14px 0 rgba(0, 0, 0, 0.7);

    --shadow-primary: 4px 4px 0 rgba(124, 58, 237, 0.35), 10px 10px 18px rgba(0, 0, 0, 0.45);
    --shadow-accent: 4px 4px 0 rgba(245, 158, 11, 0.45), 10px 10px 18px rgba(0, 0, 0, 0.45);

    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 4px;
    --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.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-base: 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

:where(body) {
    color: var(--color-text);
    background: radial-gradient(1100px 700px at 50% -10%, rgba(124, 58, 237, 0.18), transparent 60%),
                radial-gradient(900px 600px at 90% 10%, rgba(245, 158, 11, 0.14), transparent 55%),
                var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    accent-color: var(--color-accent);
}

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

.bg-glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--radius-md);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35), 10px 10px 30px rgba(0, 0, 0, 0.35);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.98);
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45), 0 14px 28px rgba(0, 0, 0, 0.35);
}

.header {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88));
    z-index: 1030;
    border-bottom: 2px solid rgba(124, 58, 237, 0.25);
}

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

.header .navbar-brand:hover img {
    transform: scale(1.05) rotate(-0.2deg);
    filter: saturate(1.2) contrast(1.1);
}

.header .nav-link {
    font-weight: 500;
    color: rgba(27, 27, 38, 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: 2px 2px 0 rgba(124, 58, 237, 0.18);
}

.hero-section {
    min-height: 480px;
    background: radial-gradient(1100px 600px at 50% 15%, rgba(245, 158, 11, 0.22), transparent 55%),
                radial-gradient(900px 500px at 12% 25%, rgba(124, 58, 237, 0.25), transparent 58%),
                var(--gradient-hero);
    color: #fff;
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(245, 158, 11, 0.25);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.12));
    z-index: 0;
    pointer-events: none;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-section h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55), 0 10px 26px rgba(0, 0, 0, 0.35);
}

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

    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

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

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

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

.notice-bar a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

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

.breadcrumb-nav {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
}

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

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-shadow: 3px 3px 0 rgba(124, 58, 237, 0.25);
}

.why-us-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.whyus-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    border: 2px solid var(--color-border-soft);
    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.35);
}

.whyus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(124, 58, 237, 0.45);
    background: linear-gradient(180deg, rgba(124,58,237,0.12), rgba(255,255,255,0.04));
}

.about-section {
    background: var(--gradient-deep);
    color: #fff;
    border-top: 3px solid rgba(124, 58, 237, 0.25);
    border-bottom: 3px solid rgba(245, 158, 11, 0.18);
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.14);
}

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

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

.about-card {
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.10);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: var(--shadow-md);
}

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

.departments-section {
    background: var(--gradient-dept);
    color: #fff;
    border-top: 2px solid rgba(245, 158, 11, 0.18);
    border-bottom: 2px solid rgba(124, 58, 237, 0.18);
}

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

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

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

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

.d-item {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.35);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffd27a;
    margin-bottom: var(--space-xs);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.35);
}

.d-num span {
    color: rgba(255, 255, 255, 0.92);
    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);
    border: 2px solid rgba(255,255,255,0.14);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.35);
}

.security-section {
    background: var(--gradient-security);
    color: #fff;
    border-top: 2px solid rgba(124,58,237,0.20);
}

.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: 0;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: rgba(20, 9, 42, 0.92);
    font-weight: 900;
    border: 3px solid rgba(255, 255, 255, 0.22);
    box-shadow: 8px 8px 0 rgba(0,0,0,0.65), 0 28px 60px rgba(245,158,11,0.18);
}

.node {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.35);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: var(--shadow-md);
    border-color: rgba(245, 158, 11, 0.35);
}

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

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

.honor-section {
    background: rgba(255, 255, 255, 0.035);
    border-top: 2px solid rgba(255,255,255,0.06);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
    border-radius: var(--radius-lg);
    border-inline-start: 4px solid var(--color-primary);
    border: 2px solid rgba(255, 255, 255, 0.12);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.35);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: rgba(124,58,237,0.10);
    border-inline-start-color: rgba(245,158,11,0.9);
}

.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: #fff;
    border-top: 2px solid rgba(245,158,11,0.16);
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(226, 232, 240, 0.9);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.25);
}

.stats-section {
    background: rgba(255,255,255,0.04);
    border-top: 2px solid rgba(255,255,255,0.06);
}

.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, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 2px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.35);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    background: radial-gradient(600px 220px at 30% 0%, rgba(124,58,237,0.18), transparent 60%),
                linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
    border-color: rgba(124,58,237,0.35);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: rgba(255, 230, 173, 0.98);
    text-shadow: 3px 3px 0 rgba(0,0,0,0.45);
}

.news-section {
    background: rgba(255,255,255,0.03);
}

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    box-shadow: 6px 6px 0 rgba(0,0,0,0.30);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(245,158,11,0.07);
}

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

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

.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
    filter: saturate(1.25) contrast(1.12) brightness(1.03);
}

.matches-section {
    background: rgba(255,255,255,0.03);
}

.match-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    box-shadow: 6px 6px 0 rgba(0,0,0,0.30);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(124, 58, 237, 0.55);
    background: rgba(124,58,237,0.08);
}

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

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

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: rgba(255, 230, 173, 0.98);
    text-shadow: 3px 3px 0 rgba(0,0,0,0.45);
}

.trust-section {
    background: var(--gradient-trust);
    color: #fff;
    border-top: 2px solid rgba(124,58,237,0.20);
}

.trust-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    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);
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 8px 8px 0 rgba(0,0,0,0.40);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: var(--shadow-md);
    border-color: rgba(245,158,11,0.35);
}

.partners-section {
    background: rgba(255,255,255,0.03);
}

.partner-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    box-shadow: 6px 6px 0 rgba(0,0,0,0.30);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(124,58,237,0.45);
    background: rgba(124,58,237,0.08);
}

.testimonials-section {
    background: rgba(255,255,255,0.04);
    border-top: 2px solid rgba(255,255,255,0.06);
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), border-block-start-color var(--transition-base);
    border-block-start: 4px solid transparent;
    border: 2px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    box-shadow: 6px 6px 0 rgba(0,0,0,0.30);
}

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

.cta-banner-section {
    background: var(--gradient-cta);
    color: #fff;
    position: relative;
    overflow: hidden;
    border-top: 3px solid rgba(255,255,255,0.10);
    border-bottom: 3px solid rgba(124,58,237,0.25);
}

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

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

.cta-banner-section .btn-warning {
    box-shadow: var(--shadow-accent);
    border: 2px solid rgba(255,255,255,0.22);
    border-radius: var(--radius-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast), border-color var(--transition-fast);
}

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

.footer {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.78);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.25);
    border-top: 2px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

input, textarea, select {
    caret-color: var(--color-accent);
    outline-color: rgba(245, 158, 11, 0.6);
    outline-style: solid;
    outline-offset: 2px;
    opacity: 1;
}

.footer a {
    transition: color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: var(--color-text, #e9e9ff);
    text-decoration-color: rgba(219, 171, 64, 0.65);
}

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

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(233, 233, 255, 0.78);
}

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.9;
    color: rgba(233, 233, 255, 0.72);
}

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

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(2px 2px 0 rgba(245, 200, 90, 0.28));
}

.footer-beian a:hover img {
    transform: scale(1.2) rotate(-0.5deg);
    filter: drop-shadow(4px 4px 0 rgba(245, 200, 90, 0.35));
}

.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: #8b5cf6;
    box-shadow:
        4px 4px 0 rgba(139, 92, 246, 0.25),
        0 0 0 2px rgba(245, 200, 90, 0.55),
        0 0 0 0.35rem rgba(139, 92, 246, 0.18);
}

.btn-primary {
    background-color: #6d28d9;
    border-color: #6d28d9;
    color: #ffffff;
    border-style: solid;
    border-width: 2px;
    border-radius: 2px;
    box-shadow:
        4px 4px 0 rgba(245, 200, 90, 0.18),
        0 10px 30px rgba(0, 0, 0, 0.35);
    transition: background-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
    box-shadow:
        2px 2px 0 rgba(245, 200, 90, 0.22),
        0 14px 34px rgba(0, 0, 0, 0.42);
    transform: translate(-1px, -1px);
}

.input-group-text {
    background-color: rgba(20, 20, 38, 0.85);
    border-color: rgba(245, 200, 90, 0.35);
    border-style: solid;
    border-width: 2px;
    color: rgba(233, 233, 255, 0.9);
    border-radius: 2px;
    box-shadow:
        3px 3px 0 rgba(245, 200, 90, 0.12),
        0 10px 26px rgba(0, 0, 0, 0.35);
}

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