:root {
    --color-primary: #ff2d55;
    --color-primary-dark: #a10f27;
    --color-primary-darker: #3a0a12;
    --color-accent: #00e5ff;
    --color-accent-dark: #00bcd4;
    --color-success: #2ee59d;
    --color-danger: #ff3b30;

    --color-text: #111827;
    --color-text-muted: #4b5563;
    --color-text-light: #6b7280;
    --color-bg: #0b1220;
    --color-bg-soft: #0f1a2e;
    --color-bg-muted: #0c1730;
    --color-border: #1f2a44;
    --color-border-soft: #1a2440;

    --gradient-hero: linear-gradient(135deg, #00e5ff 0%, #ff2d55 100%);
    --gradient-deep: linear-gradient(135deg, #050914 0%, #0b1220 55%, #121a33 100%);
    --gradient-dept: linear-gradient(135deg, #2b1055 0%, #7597de 100%);
    --gradient-security: linear-gradient(135deg, #0b1220, #1b2a4a);
    --gradient-mission: linear-gradient(135deg, #00e5ff 0%, #2b1055 100%);
    --gradient-trust: linear-gradient(135deg, #0f172a 0%, #00bcd4 100%);
    --gradient-cta: linear-gradient(135deg, #ff2d55 0%, #00e5ff 100%);
    --gradient-accent: linear-gradient(135deg, #00e5ff 0%, #00bcd4 45%, #ff2d55 100%);
    --gradient-icon: linear-gradient(135deg, #00e5ff 0%, #ff2d55 100%);

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

    --shadow-sm: 0 0 0 rgba(0, 0, 0, 0);
    --shadow-md: 4px 4px 0 rgba(0, 0, 0, 0.45), 0 10px 26px rgba(0, 0, 0, 0.20);
    --shadow-lg: 4px 4px 0 rgba(0, 0, 0, 0.55), 0 16px 34px rgba(0, 0, 0, 0.24);
    --shadow-xl: 6px 6px 0 rgba(0, 0, 0, 0.58), 0 22px 46px rgba(0, 0, 0, 0.28);

    --shadow-primary: 4px 4px 0 rgba(255, 45, 85, 0.35), 0 14px 28px rgba(255, 45, 85, 0.20);
    --shadow-accent: 4px 4px 0 rgba(0, 229, 255, 0.35), 0 14px 28px rgba(0, 229, 255, 0.18);

    --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.9, 0.2, 1);
    --transition-base: 0.15s cubic-bezier(0.2, 0.9, 0.2, 1);
    --transition-slow: 0.2s cubic-bezier(0.2, 0.9, 0.2, 1);
}

:where(body) {
    color: var(--color-text);
    background: radial-gradient(1200px 600px at 15% 10%, rgba(0, 229, 255, 0.12), transparent 55%),
                radial-gradient(900px 480px at 85% 20%, rgba(255, 45, 85, 0.14), transparent 50%),
                linear-gradient(180deg, var(--color-bg) 0%, #070c17 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    accent-color: var(--color-accent);
}

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

.bg-glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(9px) saturate(120%);
    -webkit-backdrop-filter: blur(9px) saturate(120%);
    border: 2px solid rgba(255, 255, 255, 0.20);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #08101f;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 2px solid rgba(0, 0, 0, 0.25);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.header {
    background: #0c1222;
    z-index: 1030;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.header .navbar-brand img {
    transition: transform var(--transition-fast), filter var(--transition-fast);
    filter: drop-shadow(2px 2px 0 rgba(0, 229, 255, 0.18));
}

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(3px 3px 0 rgba(255, 45, 85, 0.22));
}

.header .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.80);
    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: #ffffff;
    text-shadow: 3px 3px 0 rgba(255, 45, 85, 0.28);
}

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

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

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

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

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

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.98;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 2px 2px 0 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 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
}

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

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

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

.breadcrumb-nav {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

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

.breadcrumb-nav .breadcrumb-item a:hover {
    color: #ffffff !important;
    text-shadow: 3px 3px 0 rgba(0, 229, 255, 0.24);
}

.why-us-section {
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.08), rgba(255, 45, 85, 0.06));
}

.whyus-card {
    background: rgba(255, 255, 255, 0.92);
    border: 3px solid rgba(0, 0, 0, 0.06);
    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.18);
}

.whyus-card:hover {
    transform: translateY(-6px);
    box-shadow: 4px 4px 0 rgba(255, 45, 85, 0.35), 0 18px 36px rgba(0, 0, 0, 0.16);
    border-color: rgba(255, 45, 85, 0.35);
}

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

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

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

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

.about-card {
    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.10);
    border-radius: var(--radius-md);
}

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

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.16);
}

.departments-section {
    background: var(--gradient-dept);
    color: #f7fbff;
    border-top: 2px solid rgba(0, 0, 0, 0.10);
    border-bottom: 2px solid rgba(0, 0, 0, 0.10);
}

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

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

.departments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    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.08);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border: 3px solid rgba(255, 255, 255, 0.16);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.20);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.18);
}

.d-num span {
    color: #ffffff;
    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.15);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.20);
}

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

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

@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: #06111f;
    font-weight: 900;
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35), 0 20px 40px rgba(0, 229, 255, 0.18);
}

.node {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px) saturate(135%);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: #f7fbff;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    border: 3px solid rgba(255, 255, 255, 0.16);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.22);
}

.node:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.38);
    box-shadow: 4px 4px 0 rgba(0, 229, 255, 0.20), 0 18px 40px rgba(0, 0, 0, 0.22);
}

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

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

.honor-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.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: 3px solid var(--color-primary);
    border: 2px solid rgba(0, 0, 0, 0.06);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16);
    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: 4px 4px 0 rgba(255, 45, 85, 0.35), 0 18px 36px rgba(0, 0, 0, 0.16);
    border-color: rgba(255, 45, 85, 0.25);
}

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

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

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

.stats-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    background: rgba(255, 255, 255, 0.90);
    border: 3px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.14);
}

.stats-card:hover {
    transform: translateY(-6px);
    box-shadow: 4px 4px 0 rgba(0, 229, 255, 0.28), 0 20px 44px rgba(0, 0, 0, 0.16);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(0, 229, 255, 0.08) 100%);
    border-color: rgba(0, 229, 255, 0.28);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: #071221;
    text-shadow: 2px 2px 0 rgba(0, 229, 255, 0.20);
}

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

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 3px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.14);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 4px 4px 0 rgba(255, 45, 85, 0.28), 0 22px 48px rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 45, 85, 0.34);
}

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

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

.news-card:hover .news-img-wrap img {
    transform: scale(1.1);
    filter: saturate(130%) contrast(115%);
}

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

.match-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 3px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.14);
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 4px 4px 0 rgba(0, 229, 255, 0.28), 0 18px 40px rgba(0, 0, 0, 0.18);
    border-color: rgba(0, 229, 255, 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: #0a162b;
    text-shadow: 2px 2px 0 rgba(0, 229, 255, 0.22);
}

.trust-section {
    background: var(--gradient-trust);
    color: #f7fbff;
    border-top: 2px solid rgba(255, 255, 255, 0.06);
    border-bottom: 2px solid rgba(0, 0, 0, 0.10);
}

.trust-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    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: 3px solid rgba(255, 255, 255, 0.16);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.22);
}

.trust-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 45, 85, 0.34);
    box-shadow: 4px 4px 0 rgba(255, 45, 85, 0.22), 0 22px 48px rgba(0, 0, 0, 0.18);
}

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

.partner-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border-radius: var(--radius-md);
    border: 3px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.14);
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 4px 4px 0 rgba(0, 229, 255, 0.28), 0 22px 48px rgba(0, 0, 0, 0.18);
    border-color: rgba(0, 229, 255, 0.35);
}

.testimonials-section {
    background: rgba(255, 255, 255, 0.92);
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border-block-start: 4px solid transparent;
    border: 3px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.14);
    background: rgba(255, 255, 255, 0.92);
}

.testimonial-card:hover {
    border-block-start-color: #ff2d55;
    transform: translateY(-6px);
    box-shadow: 4px 4px 0 rgba(255, 45, 85, 0.28), 0 22px 48px rgba(0, 0, 0, 0.18);
}

.cta-banner-section {
    background: var(--gradient-cta);
    color: #f7fbff;
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(0, 0, 0, 0.10);
    border-bottom: 2px solid rgba(0, 0, 0, 0.10);
}

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

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

.cta-banner-section .btn-warning {
    box-shadow: 4px 4px 0 rgba(255, 45, 85, 0.35), 0 18px 36px rgba(0, 0, 0, 0.18);
    border: 3px solid rgba(0, 0, 0, 0.14);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.18);
}

.footer {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.9);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.12);
    border-top: 2px solid rgba(255, 255, 255, 0.06);
}

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

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

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

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.88;
    color: var(--color-text-neo);
}

.footer-beian a:hover {
    color: var(--color-accent-neo) !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: saturate(1.08) contrast(1.02);
}

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

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

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

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

/* ============================================
   22. Form (Login/Signup/Contact)
   ============================================ */
.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary-neo);
    box-shadow:
        4px 4px 0 rgba(17, 24, 39, 0.18),
        0 0 0 3px rgba(37, 99, 235, 0.18),
        0 0 0 1px rgba(37, 99, 235, 0.55) inset;
}

.btn-primary {
    background-color: var(--color-primary-neo);
    border-color: var(--color-primary-neo);
    box-shadow:
        4px 4px 0 rgba(17, 24, 39, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    border-radius: 2px;
    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: var(--color-primary-neo-2);
    border-color: var(--color-primary-neo-2);
    box-shadow:
        4px 4px 0 rgba(17, 24, 39, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transform: translate(-1px, -1px);
}

.input-group-text {
    background-color: var(--color-bg-muted-neo);
    border-color: var(--color-border-neo);
    border-radius: 2px;
    box-shadow:
        3px 3px 0 rgba(17, 24, 39, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    color: var(--color-text-neo);
    transition: box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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