:root {
    --color-primary: #22c55e;
    --color-primary-dark: #052e16;
    --color-primary-darker: #022013;
    --color-accent: #06b6d4;
    --color-accent-dark: #0891b2;
    --color-success: #34d399;
    --color-danger: #fb7185;

    --color-text: #0b1220;
    --color-text-muted: #334155;
    --color-text-light: #64748b;
    --color-bg: #f7fbff;
    --color-bg-soft: #eef6ff;
    --color-bg-muted: #e9f2ff;
    --color-border: #d7e6f5;
    --color-border-soft: #edf6ff;

    --gradient-hero: linear-gradient(135deg, #062b2b 0%, #0ea5e9 48%, #22c55e 100%);
    --gradient-deep: linear-gradient(135deg, #020617 0%, #083344 100%);
    --gradient-dept: linear-gradient(135deg, #073a2a 0%, #0ea5e9 100%);
    --gradient-security: linear-gradient(135deg, #052e16, #0b1020);
    --gradient-mission: linear-gradient(135deg, #22c55e 0%, #0ea5e9 100%);
    --gradient-trust: linear-gradient(135deg, #0b1020 0%, #043b2b 100%);
    --gradient-cta: linear-gradient(135deg, #06b6d4 0%, #22c55e 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 45%, #22c55e 100%);
    --gradient-icon: linear-gradient(135deg, #0ea5e9 0%, #22c55e 100%);

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

    --shadow-sm: 0 3px 10px rgba(2, 6, 23, 0.08);
    --shadow-md: 0 10px 24px rgba(2, 6, 23, 0.12);
    --shadow-lg: 0 16px 38px rgba(2, 6, 23, 0.18);
    --shadow-xl: 0 22px 56px rgba(2, 6, 23, 0.22);

    --shadow-primary: 0 0 24px rgba(34, 197, 94, 0.25), 0 14px 34px rgba(2, 6, 23, 0.16);
    --shadow-accent: 0 0 24px rgba(6, 182, 212, 0.35), 0 16px 42px rgba(2, 6, 23, 0.18);

    --radius-sm: 7px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-pill: 34px;

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

    --transition-fast: 160ms cubic-bezier(.2,.85,.2,1);
    --transition-base: 260ms cubic-bezier(.2,.85,.2,1);
    --transition-slow: 520ms cubic-bezier(.2,.85,.2,1);
}

:where(body) {
    color: var(--color-text);
    background: 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);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f0fdff;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 10px 26px rgba(2, 6, 23, 0.18), 0 0 26px rgba(6, 182, 212, 0.25);
}

.header {
    background: rgba(255, 255, 255, 0.92);
    z-index: 1030;
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header .navbar-brand img {
    transition: transform var(--transition-fast), filter var(--transition-fast);
    filter: drop-shadow(0 8px 18px rgba(2, 6, 23, 0.12));
}

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 14px 26px rgba(6, 182, 212, 0.22));
}

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

.header .nav-link:hover {
    color: var(--color-accent-dark);
    text-shadow: 0 0 18px rgba(6, 182, 212, 0.35);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1000px 420px at 20% 15%, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0) 60%),
                linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.32));
    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 10px 32px rgba(2, 6, 23, 0.28), 0 0 22px rgba(6, 182, 212, 0.25);
}

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

    font-weight: 500;
    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 26px 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(.2,.85,.2,1);
}

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

.notice-bar a:hover {
    opacity: 0.85;
    color: var(--color-accent-dark);
}

@keyframes noticeSlideIn {
    from { transform: translateY(-100%); opacity: 0; filter: blur(6px); }
    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), text-shadow var(--transition-fast);
    color: var(--color-text-muted);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-shadow: 0 0 18px rgba(34, 197, 94, 0.25);
}

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

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

.whyus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.22) inset, 0 0 24px rgba(6, 182, 212, 0.32), 0 18px 44px rgba(2, 6, 23, 0.14);
    border-color: rgba(6, 182, 212, 0.35);
    animation: glowPulse 1100ms ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { filter: saturate(1); }
    50% { filter: saturate(1.2); }
}

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

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.22);
}

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

.about-img-wrap:hover img {
    transform: scale(1.05);
    filter: contrast(1.08) saturate(1.18) drop-shadow(0 20px 36px rgba(6, 182, 212, 0.20));
}

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

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.22) inset, 0 18px 48px rgba(2, 6, 23, 0.18);
}

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

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

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 18px 40px rgba(2, 6, 23, 0.26);
}

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

.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: var(--glass-bg);
    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.18);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 12px 30px rgba(2, 6, 23, 0.12);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    text-shadow: 0 0 18px rgba(6, 182, 212, 0.35);
}

.d-num span {
    color: #e6fdff;
    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);
    box-shadow: 0 16px 44px rgba(2, 6, 23, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.security-network {
    position: relative;
    max-width: 800px;
    margin: var(--space-xl) auto;
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .security-network {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, auto);
    }

    .core-node        { grid-column: 2; grid-row: 2; }
    .node-top-left    { grid-column: 1; grid-row: 1; }
    .node-top-right   { grid-column: 3; grid-row: 1; }
    .node-bottom-left { grid-column: 1; grid-row: 3; }
    .node-bottom-right{ grid-column: 3; grid-row: 3; }
}

.core-node {
    background: var(--gradient-accent);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: var(--color-primary-darker);
    font-weight: 700;
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.45), 0 18px 54px rgba(2, 6, 23, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    animation: coreGlow 2600ms ease-in-out infinite;
}

@keyframes coreGlow {
    0%, 100% { box-shadow: 0 0 24px rgba(6, 182, 212, 0.45), 0 18px 54px rgba(2, 6, 23, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.18) inset; }
    50% { box-shadow: 0 0 34px rgba(34, 197, 94, 0.38), 0 22px 64px rgba(2, 6, 23, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.22) inset; }
}

.node {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: #e9fbff;
    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.16);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.62) inset, 0 14px 34px rgba(2, 6, 23, 0.14);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(6, 182, 212, 0.35);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.22) inset, 0 0 32px rgba(6, 182, 212, 0.50), 0 20px 48px rgba(2, 6, 23, 0.22);
}

.node-title {
    font-weight: 600;
    color: var(--color-accent);
    margin-block: var(--space-xs);
    text-shadow: 0 0 18px rgba(6, 182, 212, 0.35);
}

@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.92);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid var(--color-accent);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 12px 30px rgba(2, 6, 23, 0.08);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.22) inset, 0 0 24px rgba(34, 197, 94, 0.22), 0 18px 44px rgba(2, 6, 23, 0.14);
    border-inline-start-color: rgba(34, 197, 94, 0.95);
    background: rgba(255, 255, 255, 0.98);
}

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

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(226, 232, 240, 0.95);
    text-shadow: 0 10px 28px rgba(2, 6, 23, 0.18);
}

.stats-section {
    background: #f9fbff;
}

.stats-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    background: var(--color-bg-soft);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 12px 34px rgba(2, 6, 23, 0.06);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.22) inset, 0 0 26px rgba(6, 182, 212, 0.26), 0 22px 56px rgba(2, 6, 23, 0.16);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 246, 255, 0.98) 55%, rgba(224, 255, 246, 0.92) 100%);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-dark);
    text-shadow: 0 0 18px rgba(6, 182, 212, 0.18);
}

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

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 1px solid var(--color-border-soft);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 12px 28px rgba(2, 6, 23, 0.06);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.22) inset, 0 0 32px rgba(6, 182, 212, 0.30), 0 22px 56px rgba(2, 6, 23, 0.16);
    border-color: rgba(6, 182, 212, 0.35);
}

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

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

.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
    filter: saturate(1.18) contrast(1.06) drop-shadow(0 24px 36px rgba(6, 182, 212, 0.22));
}

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

.match-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 12px 28px rgba(2, 6, 23, 0.06);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.22) inset, 0 0 26px rgba(34, 197, 94, 0.24), 0 20px 48px rgba(2, 6, 23, 0.14);
    border-color: rgba(34, 197, 94, 0.9);
}

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

.match-card .team .small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-text-muted);
}

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: var(--color-accent-dark);
    text-shadow: 0 0 18px rgba(6, 182, 212, 0.28);
}

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

.trust-card {
    background: var(--glass-bg);
    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.16);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.62) inset, 0 18px 46px rgba(2, 6, 23, 0.18);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(6, 182, 212, 0.35);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.22) inset, 0 0 32px rgba(6, 182, 212, 0.45), 0 24px 64px rgba(2, 6, 23, 0.24);
}

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

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

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.20) inset, 0 0 30px rgba(6, 182, 212, 0.28), 0 20px 52px rgba(2, 6, 23, 0.16);
}

.testimonials-section {
    background: #fff;
}

.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-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 12px 30px rgba(2, 6, 23, 0.06);
}

.testimonial-card:hover {
    border-block-start-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.22) inset, 0 0 28px rgba(6, 182, 212, 0.30), 0 22px 56px rgba(2, 6, 23, 0.16);
}

.cta-banner-section {
    background: var(--gradient-cta);
    color: #f0fdff;
    position: relative;
    overflow: hidden;
}

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

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

.cta-banner-section .btn-warning {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 0 26px rgba(6, 182, 212, 0.35), 0 18px 46px rgba(2, 6, 23, 0.18);
    transition: box-shadow var(--transition-base), transform var(--transition-base), filter var(--transition-base);
    border-radius: 12px;
}

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

.footer {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.92);
}

.footer a {
    transition: color 180ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.88;
    color: rgba(226, 232, 240, 0.96);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.footer-beian a:hover {
    color: #7c3aed !important;
    text-decoration: underline !important;
    text-shadow: 0 0 18px rgba(124, 58, 237, 0.35);
}

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

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 10px 22px rgba(124, 58, 237, 0.35));
}

.footer-beian li {
    white-space: nowrap;
}

/* Reduced Motion */
@media (max-width: 575.98px) {
    .footer-beian ul {
        flex-direction: column;
        gap: var(--space-xs) !important;
    }

    .footer-beian li {
        white-space: normal;
        text-align: center;
    }
}

/* ============================================
   22. Form (Login/Signup/Contact)
   ============================================ */
.form-control:focus,
.form-select:focus {
    border-color: #7c3aed;
    box-shadow:
        0 0 0 0.22rem rgba(124, 58, 237, 0.18),
        0 0 0 0.08rem rgba(59, 130, 246, 0.10),
        0 18px 40px rgba(2, 6, 23, 0.24);
}

.btn-primary {
    background-color: #6d28d9;
    border-color: #6d28d9;
    box-shadow:
        0 10px 28px rgba(109, 40, 217, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    border-radius: 12px;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #5b21b6;
    border-color: #5b21b6;
    box-shadow:
        0 14px 34px rgba(91, 33, 182, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.07) inset,
        0 0 32px rgba(124, 58, 237, 0.28);
    transition:
        background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.input-group-text {
    background-color: rgba(15, 23, 42, 0.55);
    border-color: rgba(148, 163, 184, 0.22);
    color: rgba(226, 232, 240, 0.92);
    border-radius: 12px;
    box-shadow:
        0 10px 26px rgba(2, 6, 23, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

/* ============================================
   23. Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   Grid Layout Defaults (CSS-Variant-Ready)
   CSSVariantEngine sẽ override các rules này
   ============================================================ */

/* News grid (default 3 columns) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Feature list (default 3 columns) */
.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* User testimonials (default 3 columns) */
.testimonial-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Partners (default 4 columns) */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
}

/* Stats (default 4 columns) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

/* FAQ list (default centered single column) */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

/* Hero content (default centered) */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero split layout (left text/right image) */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.hero-split-text { }
.hero-split-img { text-align: center; }

/* CTA content (default centered) */
.cta-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Author team (default 4 columns) */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Contact channels (default 3 columns) */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Post list (default 2 columns) */
.post-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Related posts (default 3 columns) */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Matches list (default 3 columns) */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Steps grid (default 4 columns) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* QR grid (default 3 columns) */
.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

/* Honors list (default 2-column alternating rows) */
.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%; }
}