:root {
    --color-primary: #6d28d9;
    --color-primary-dark: #3b0764;
    --color-primary-darker: #290a49;
    --color-accent: #22c55e;
    --color-accent-dark: #16a34a;
    --color-success: #14b8a6;
    --color-danger: #ef4444;

    --color-text: #1f2937;
    --color-text-muted: #4b5563;
    --color-text-light: #6b7280;
    --color-bg: #fbfbff;
    --color-bg-soft: #f6f7ff;
    --color-bg-muted: #eef2ff;
    --color-border: #e7e9ff;
    --color-border-soft: #f0f2ff;

    --gradient-hero: linear-gradient(135deg, #1f1147 0%, #6d28d9 55%, #0ea5e9 100%);
    --gradient-deep: linear-gradient(135deg, #070a1a 0%, #1d1b5a 55%, #0b3b67 100%);
    --gradient-dept: linear-gradient(135deg, #2b1055 0%, #5b21b6 45%, #2563eb 100%);
    --gradient-security: linear-gradient(135deg, #140a2e 0%, #0b1220 100%);
    --gradient-mission: linear-gradient(135deg, #5b21b6 0%, #3b0764 40%, #0ea5e9 100%);
    --gradient-trust: linear-gradient(135deg, #0b1220 0%, #1f3a8a 55%, #0ea5e9 100%);
    --gradient-cta: linear-gradient(135deg, #0ea5e9 0%, #6d28d9 55%, #22c55e 100%);
    --gradient-accent: linear-gradient(135deg, #22c55e 0%, #16a34a 45%, #0ea5e9 100%);
    --gradient-icon: linear-gradient(135deg, #6d28d9 0%, #22c55e 55%, #0ea5e9 100%);

    --glass-bg: rgba(255, 255, 255, 0.10);
    --glass-border: rgba(255, 255, 255, 0.20);
    --glass-blur: blur(14px);

    --shadow-sm: 0 10px 24px rgba(9, 5, 30, 0.06);
    --shadow-md: 0 18px 45px rgba(9, 5, 30, 0.11);
    --shadow-lg: 0 26px 70px rgba(9, 5, 30, 0.14);
    --shadow-xl: 0 34px 95px rgba(9, 5, 30, 0.16);
    --shadow-primary: 0 16px 44px rgba(109, 40, 217, 0.22), 0 2px 0 rgba(255, 255, 255, 0.55) inset;
    --shadow-accent: 0 16px 40px rgba(34, 197, 94, 0.20), 0 2px 0 rgba(255, 255, 255, 0.55) inset;

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

    --space-xs: 0.6rem;
    --space-sm: 1.1rem;
    --space-md: 1.7rem;
    --space-lg: 2.6rem;
    --space-xl: 4.2rem;
    --space-2xl: 5.8rem;

    --transition-fast: 140ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-base: 260ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 520ms cubic-bezier(0.12, 0.9, 0.2, 1);
}

:where(body) {
    color: var(--color-text);
    background: radial-gradient(1200px 600px at 20% 0%, rgba(109, 40, 217, 0.10), transparent 55%),
                radial-gradient(900px 520px at 100% 20%, rgba(14, 165, 233, 0.10), transparent 50%),
                var(--color-bg);
    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 16px 45px rgba(10, 6, 32, 0.10), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.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 22px 55px rgba(109, 40, 217, 0.26), 0 10px 30px rgba(14, 165, 233, 0.14);
}

.header {
    background: rgba(255, 255, 255, 0.84);
    z-index: 1030;
    box-shadow: 0 10px 30px rgba(13, 8, 42, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.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) rotate(-0.3deg);
    filter: saturate(1.15) contrast(1.05);
}

.header .nav-link {
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.header .nav-link:hover {
    color: var(--color-primary);
    text-shadow: 0 10px 28px rgba(109, 40, 217, 0.24);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 420px at 30% 0%, rgba(0, 0, 0, 0.18), transparent 60%),
                linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 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: 0 16px 45px rgba(0, 0, 0, 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 14px 40px rgba(0, 0, 0, 0.18);
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.96;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 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 640ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.breadcrumb-nav {
    background: linear-gradient(180deg, rgba(238, 242, 255, 0.95) 0%, rgba(246, 247, 255, 0.85) 100%);
    border-top: 1px solid rgba(109, 40, 217, 0.14);
    border-bottom: 1px solid rgba(14, 165, 233, 0.12);
}

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

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-shadow: 0 10px 26px rgba(59, 7, 100, 0.18);
}

.why-us-section {
    background: radial-gradient(900px 500px at 10% 0%, rgba(109, 40, 217, 0.09), transparent 55%),
                radial-gradient(700px 420px at 100% 60%, rgba(14, 165, 233, 0.09), transparent 52%),
                var(--color-bg-soft);
}

.whyus-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(240, 242, 255, 1);
    border-color: rgba(125, 90, 255, 0.18);
    border-radius: var(--radius-lg);
    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 18px 55px rgba(14, 6, 40, 0.08), 0 0 0 1px rgba(109, 40, 217, 0.06) inset;
}

.whyus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 75px rgba(109, 40, 217, 0.20), 0 14px 35px rgba(14, 165, 233, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
    border-color: rgba(109, 40, 217, 0.28);
}

.about-section {
    background: var(--gradient-deep);
    color: #ffffff;
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.about-img-wrap:hover img {
    transform: scale(1.06) rotate(-0.15deg);
    filter: saturate(1.18) contrast(1.08);
}

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

.about-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.78) !important;
    text-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

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

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

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

.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.10);
    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.20);
    box-shadow: 0 26px 78px rgba(0, 0, 0, 0.16);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    text-shadow: 0 18px 44px rgba(34, 197, 94, 0.25);
}

.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: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
}

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

.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% 20%, rgba(255, 255, 255, 0.25), transparent 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 0 0 1px rgba(255, 255, 255, 0.22) inset,
                0 30px 90px rgba(34, 197, 94, 0.26),
                0 18px 55px rgba(109, 40, 217, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.node {
    background: rgba(255, 255, 255, 0.10);
    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), box-shadow var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.15);
}

.node:hover {
    transform: scale(1.055);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 34px 95px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.node-title {
    font-weight: 600;
    color: var(--color-accent);
    margin-block: var(--space-xs);
    text-shadow: 0 16px 44px rgba(34, 197, 94, 0.25);
}

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

.honor-section {
    background: radial-gradient(900px 520px at 0% 20%, rgba(14, 165, 233, 0.10), transparent 55%),
                radial-gradient(740px 460px at 100% 40%, rgba(109, 40, 217, 0.10), transparent 54%),
                var(--color-bg-soft);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    border-inline-start: 6px solid var(--color-primary);
    border-color: rgba(255, 255, 255, 0);
    border: 1px solid rgba(231, 233, 255, 1);
    box-shadow: 0 18px 55px rgba(14, 6, 40, 0.08);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.honor-text-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 80px rgba(109, 40, 217, 0.20), 0 0 0 1px rgba(34, 197, 94, 0.12) inset;
    border-inline-start-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.98);
}

.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: #fff;
}

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

.stats-section {
    background: #fff;
}

.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(246, 247, 255, 1) 0%, rgba(238, 242, 255, 1) 100%);
    border: 1px solid rgba(231, 233, 255, 1);
    box-shadow: 0 18px 60px rgba(14, 6, 40, 0.06);
}

.stats-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 95px rgba(109, 40, 217, 0.18), 0 18px 55px rgba(14, 165, 233, 0.10);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 247, 255, 1) 48%, rgba(237, 244, 255, 1) 100%);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-dark);
    text-shadow: 0 14px 40px rgba(59, 7, 100, 0.14);
}

.news-section {
    background: var(--color-bg-soft);
}

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(240, 242, 255, 1);
    border-color: rgba(99, 102, 241, 0.20);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 55px rgba(14, 6, 40, 0.06);
    background: rgba(255, 255, 255, 0.94);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 95px rgba(14, 6, 40, 0.16), 0 18px 55px rgba(109, 40, 217, 0.14);
    border-color: rgba(109, 40, 217, 0.30);
}

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

.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.085);
    filter: saturate(1.18) contrast(1.08);
}

.matches-section {
    background: var(--color-bg-soft);
}

.match-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(240, 242, 255, 1);
    border-color: rgba(99, 102, 241, 0.20);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 55px rgba(14, 6, 40, 0.06);
    background: rgba(255, 255, 255, 0.94);
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 90px rgba(109, 40, 217, 0.18);
    border-color: rgba(109, 40, 217, 0.40);
}

.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: var(--color-primary-dark);
    text-shadow: 0 14px 40px rgba(59, 7, 100, 0.12);
}

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

.trust-card {
    background: rgba(255, 255, 255, 0.10);
    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-base);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 95px rgba(0, 0, 0, 0.18);
}

.trust-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.partners-section {
    background: var(--color-bg-soft);
}

.partner-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    background: rgba(255, 255, 255, 0.93);
    border-radius: var(--radius-md);
    border: 1px solid rgba(231, 233, 255, 1);
    box-shadow: 0 18px 55px rgba(14, 6, 40, 0.06);
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 98px rgba(109, 40, 217, 0.20), 0 16px 50px rgba(14, 165, 233, 0.10);
}

.testimonials-section {
    background: #fff;
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-block-start-color var(--transition-base), background var(--transition-base);
    border-block-start: 6px solid transparent;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(231, 233, 255, 1);
    box-shadow: 0 18px 60px rgba(14, 6, 40, 0.06);
}

.testimonial-card:hover {
    border-block-start-color: var(--color-accent);
    transform: translateY(-6px);
    box-shadow: 0 30px 95px rgba(34, 197, 94, 0.18), 0 18px 55px rgba(109, 40, 217, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

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

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1000px 420px at 10% 10%, rgba(0, 0, 0, 0.18), transparent 60%),
                linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.30) 100%);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 20px 55px rgba(34, 197, 94, 0.18), 0 12px 30px rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.25);
    border-style: solid;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.88) !important;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.footer {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.95);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.footer a{
    transition: color 260ms cubic-bezier(.2,.8,.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.86;
    color: var(--color-text-muted, rgba(148,163,184,.95));
}

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

.footer-beian img{
    margin-inline-end: 4px;
    transition: transform 260ms cubic-bezier(.2,.8,.2,1), filter 260ms cubic-bezier(.2,.8,.2,1);
    filter: drop-shadow(0 10px 18px rgba(2,6,23,.18)) drop-shadow(0 2px 6px rgba(2,6,23,.12));
}

.footer-beian a:hover img{
    transform: scale(1.2) rotate(-1deg);
    filter: drop-shadow(0 16px 24px rgba(2,6,23,.24)) drop-shadow(0 3px 10px rgba(2,6,23,.16));
}

.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: var(--color-primary, #4f46e5);
    box-shadow:
        0 0 0 1px rgba(79,70,229,.18),
        0 0 0 6px rgba(79,70,229,.14),
        0 22px 42px rgba(15,23,42,.10);
    transition: box-shadow 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms cubic-bezier(.2,.8,.2,1);
}

.btn-primary{
    background-color: var(--color-primary, #4f46e5);
    border-color: color-mix(in srgb, var(--color-primary, #4f46e5) 86%, #ffffff 14%);
    color: var(--color-on-primary, #ffffff);
    border-radius: 18px;
    box-shadow:
        0 10px 24px rgba(79,70,229,.22),
        0 3px 10px rgba(2,6,23,.10);
    transition: transform 180ms cubic-bezier(.2,.8,.2,1), background-color 200ms cubic-bezier(.2,.8,.2,1), border-color 200ms cubic-bezier(.2,.8,.2,1), box-shadow 200ms cubic-bezier(.2,.8,.2,1), filter 200ms cubic-bezier(.2,.8,.2,1);
}

.btn-primary:hover,
.btn-primary:focus{
    background-color: #3b82f6;
    border-color: #3b82f6;
    filter: saturate(1.04);
    box-shadow:
        0 14px 30px rgba(59,130,246,.28),
        0 4px 12px rgba(2,6,23,.12);
}

.input-group-text{
    background-color: var(--color-bg-muted, rgba(15,23,42,.04));
    border-color: var(--color-border, rgba(148,163,184,.35));
    color: var(--color-text-muted, rgba(71,85,105,.95));
    border-radius: 16px;
    box-shadow:
        0 10px 24px rgba(2,6,23,.06),
        inset 0 1px 0 rgba(255,255,255,.65);
}

/* ============================================
   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{
    color: var(--color-text, rgba(15,23,42,.96));
}
.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%; }
}