:root {
    --color-primary: #22c55e;
    --color-primary-dark: #0f766e;
    --color-primary-darker: #064e3b;
    --color-accent: #fb7185;
    --color-accent-dark: #e11d48;
    --color-success: #2dd4bf;
    --color-danger: #f43f5e;

    --color-text: #0f172a;
    --color-text-muted: #334155;
    --color-text-light: #64748b;
    --color-bg: #fbfdff;
    --color-bg-soft: #f6f9ff;
    --color-bg-muted: #eef3fb;
    --color-border: rgba(15, 23, 42, 0.12);
    --color-border-soft: rgba(15, 23, 42, 0.08);

    --gradient-hero: radial-gradient(1200px 600px at 10% 0%, rgba(34, 197, 94, 0.85) 0%, rgba(34, 197, 94, 0) 55%),
        linear-gradient(135deg, #0ea5e9 0%, #22c55e 52%, #14b8a6 100%);
    --gradient-deep: linear-gradient(135deg, #061a2b 0%, #073a4a 35%, #0b2a52 100%);
    --gradient-dept: linear-gradient(135deg, #0ea5e9 0%, #4f46e5 55%, #22c55e 100%);
    --gradient-security: linear-gradient(135deg, #0b3a2f, #082a4d);
    --gradient-mission: radial-gradient(900px 420px at 90% 0%, rgba(251, 113, 133, 0.75) 0%, rgba(251, 113, 133, 0) 52%),
        linear-gradient(135deg, #14b8a6 0%, #4f46e5 100%);
    --gradient-trust: linear-gradient(135deg, #0b1020 0%, #0ea5e9 65%, #22c55e 100%);
    --gradient-cta: linear-gradient(135deg, #14b8a6 0%, #22c55e 45%, #60a5fa 100%);
    --gradient-accent: radial-gradient(120% 120% at 20% 10%, #fb7185 0%, #e11d48 55%, rgba(225, 29, 72, 0.6) 100%);
    --gradient-icon: linear-gradient(135deg, #22c55e 0%, #60a5fa 55%, #fb7185 100%);

    --glass-bg: rgba(255, 255, 255, 0.62);
    --glass-border: rgba(14, 165, 233, 0.22);
    --glass-blur: blur(14px);

    --shadow-sm: 0 6px 16px rgba(2, 6, 23, 0.08);
    --shadow-md: 0 14px 34px rgba(2, 6, 23, 0.12);
    --shadow-lg: 0 22px 58px rgba(2, 6, 23, 0.16);
    --shadow-xl: 0 28px 84px rgba(2, 6, 23, 0.22);
    --shadow-primary: 0 16px 42px rgba(34, 197, 94, 0.22), 0 6px 18px rgba(14, 165, 233, 0.14);
    --shadow-accent: 0 18px 48px rgba(251, 113, 133, 0.26), 0 8px 20px rgba(225, 29, 72, 0.18);

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

    --space-xs: 0.6rem;
    --space-sm: 1.1rem;
    --space-md: 1.75rem;
    --space-lg: 2.6rem;
    --space-xl: 4rem;
    --space-2xl: 5.2rem;

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

:where(body) {
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    accent-color: var(--color-primary);
}

: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(2, 6, 23, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.98);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 14px 34px rgba(20, 184, 166, 0.22), 0 6px 16px rgba(2, 6, 23, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.header {
    background: rgba(255, 255, 255, 0.9);
    z-index: 1030;
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

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

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

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

.header .nav-link:hover {
    color: var(--color-primary-dark);
    opacity: 0.95;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 520px at 15% 20%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.10) 0%, rgba(2, 6, 23, 0.24) 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: 750;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    text-shadow: 0 10px 34px rgba(2, 6, 23, 0.25);
}

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

    font-weight: 520;
    text-shadow: 0 10px 26px rgba(2, 6, 23, 0.18);
}

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

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

.notice-bar {
    animation: noticeSlideIn 520ms 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(-112%); opacity: 0; filter: blur(2px); }
    to   { transform: translateY(0); opacity: 1; filter: blur(0); }
}

.breadcrumb-nav {
    background: var(--color-bg-muted);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

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

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    opacity: 0.95;
    transform: translateY(-1px);
}

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

.whyus-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--color-border-soft);
    border-radius: 28px;
    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 10px 28px rgba(2, 6, 23, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.whyus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 56px rgba(2, 6, 23, 0.14), 0 10px 26px rgba(34, 197, 94, 0.14);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(34, 197, 94, 0.22);
}

.about-section {
    background: linear-gradient(135deg, rgba(6, 26, 43, 0.96) 0%, rgba(7, 58, 74, 0.96) 45%, rgba(11, 42, 82, 0.96) 100%);
    color: rgba(255, 255, 255, 0.98);
}

.about-img-wrap {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.28);
}

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

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

.about-card {
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.about-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 26px 76px rgba(2, 6, 23, 0.25);
    border-color: rgba(14, 165, 233, 0.22);
}

.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: 760;
    margin-bottom: var(--space-sm);
    text-shadow: 0 20px 60px rgba(2, 6, 23, 0.35);
}

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

.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.56);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--space-md);
    border-radius: 20px;
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 820;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    text-shadow: 0 14px 36px rgba(225, 29, 72, 0.28);
}

.d-num span {
    color: rgba(255, 255, 255, 0.98);
    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 18px 55px rgba(2, 6, 23, 0.18);
}

.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: 999px;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: rgba(6, 95, 70, 0.95);
    font-weight: 800;
    box-shadow: 0 30px 90px rgba(225, 29, 72, 0.32), 0 10px 26px rgba(14, 165, 233, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.node {
    background: rgba(255, 255, 255, 0.56);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 18px;
    padding: var(--space-sm);
    text-align: center;
    color: rgba(255, 255, 255, 0.98);
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), filter var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.node:hover {
    transform: translateY(-4px) scale(1.03);
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.18), 0 12px 30px rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.22);
    filter: saturate(1.08);
}

.node-title {
    font-weight: 650;
    color: var(--color-accent);
    margin-block: var(--space-xs);
    text-shadow: 0 16px 40px rgba(225, 29, 72, 0.26);
}

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

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

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

.honor-text-card {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.86);
    border-radius: 20px;
    border-inline-start: 6px solid var(--color-primary);
    border: 1px solid var(--color-border-soft);
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    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 72px rgba(2, 6, 23, 0.14), 0 10px 26px rgba(34, 197, 94, 0.16);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(34, 197, 94, 0.22);
}

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

.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: rgba(246, 249, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.stats-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.14), 0 14px 42px rgba(96, 165, 250, 0.14);
    background: radial-gradient(1200px 500px at 20% 0%, rgba(34, 197, 94, 0.10) 0%, rgba(255, 255, 255, 0.96) 40%, rgba(246, 249, 255, 0.92) 100%);
    border-color: rgba(14, 165, 233, 0.18);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-darker);
    text-shadow: 0 14px 38px rgba(34, 197, 94, 0.18);
}

.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 var(--color-border-soft);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.16), 0 18px 50px rgba(225, 29, 72, 0.13);
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(225, 29, 72, 0.18);
}

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

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

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

.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 var(--color-border-soft);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 38px rgba(2, 6, 23, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 84px rgba(2, 6, 23, 0.14), 0 14px 44px rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.32);
}

.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-darker);
    text-shadow: 0 14px 38px rgba(34, 197, 94, 0.16);
}

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

.trust-card {
    background: rgba(255, 255, 255, 0.56);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    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), filter var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 26px 76px rgba(2, 6, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    filter: saturate(1.02);
}

.trust-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.67);
    box-shadow: 0 42px 120px rgba(2, 6, 23, 0.24), 0 18px 50px rgba(14, 165, 233, 0.14);
    border-color: rgba(14, 165, 233, 0.22);
    filter: saturate(1.08);
}

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

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

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.15), 0 18px 50px rgba(96, 165, 250, 0.14);
}

.testimonials-section {
    background: #fff;
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border-block-start: 6px solid transparent;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.testimonial-card:hover {
    border-block-start-color: var(--color-accent);
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.16), 0 18px 50px rgba(251, 113, 133, 0.13);
    background: rgba(255, 255, 255, 0.96);
}

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

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 520px at 10% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 52%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.10) 0%, rgba(2, 6, 23, 0.28) 100%);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 24px 70px rgba(251, 191, 36, 0.26), 0 12px 30px rgba(225, 29, 72, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.footer {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.95);
    text-shadow: 0 12px 34px rgba(2, 6, 23, 0.14);
}

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

.footer a:hover {
    color: var(--color-accent) !important;
    text-shadow: 0 6px 20px rgba(59, 130, 246, 0.22);
}

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

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.9;
    color: rgba(148, 163, 184, 0.95);
}

.footer-beian a:hover {
    color: var(--color-accent) !important;
    text-decoration: underline !important;
    text-shadow: 0 10px 30px rgba(124, 58, 237, 0.25);
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), filter 260ms cubic-bezier(0.16, 1, 0.3, 1);
    filter: saturate(1.05) contrast(1.02);
}

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: saturate(1.25) contrast(1.05) drop-shadow(0 10px 22px rgba(37, 99, 235, 0.18));
}

.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: #5b6cff;
    box-shadow:
        0 0 0 0.15rem rgba(91, 108, 255, 0.14),
        0 14px 34px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    outline-color: rgba(91, 108, 255, 0.45);
}

.btn-primary {
    background-color: #4f46e5;
    border-color: #4f46e5;
    box-shadow:
        0 10px 30px rgba(79, 70, 229, 0.22),
        0 2px 0 rgba(255, 255, 255, 0.18) inset,
        0 -1px 0 rgba(0, 0, 0, 0.08) inset;
    border-style: solid;
    transition: background-color 220ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 220ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.9, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #4338ca;
    border-color: #4338ca;
    box-shadow:
        0 16px 42px rgba(67, 56, 202, 0.26),
        0 2px 0 rgba(255, 255, 255, 0.22) inset,
        0 -1px 0 rgba(0, 0, 0, 0.10) inset;
    transform: translateY(-1px);
    filter: saturate(1.05);
}

.input-group-text {
    background-color: #f8fafc;
    border-color: rgba(226, 232, 240, 0.95);
    color: rgba(51, 65, 85, 0.92);
    border-style: solid;
    border-radius: 14px;
    box-shadow:
        0 10px 24px rgba(2, 6, 23, 0.05),
        0 1px 0 rgba(255, 255, 255, 0.65) inset;
    transition: background-color 220ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 220ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.form-control,
.form-select {
    border-radius: 18px;
    caret-color: #4f46e5;
    accent-color: #4f46e5;
}

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