:root {
    --color-primary: #2563eb;
    --color-primary-dark: #0b2a6d;
    --color-primary-darker: #0a1b3a;
    --color-accent: #fb7185;
    --color-accent-dark: #e11d48;
    --color-success: #22c55e;
    --color-danger: #ef4444;

    --color-text: #1f2a44;
    --color-text-muted: #51627a;
    --color-text-light: #7b8aa4;
    --color-bg: #f8fafc;
    --color-bg-soft: #eef3ff;
    --color-bg-muted: #f2f6ff;
    --color-border: #dbe3f3;
    --color-border-soft: #e6ecf7;

    --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #2563eb 45%, #7c3aed 100%);
    --gradient-deep: linear-gradient(135deg, #061226 0%, #123a7a 100%);
    --gradient-dept: linear-gradient(135deg, #2b1055 0%, #4f46e5 100%);
    --gradient-security: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
    --gradient-mission: linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%);
    --gradient-trust: linear-gradient(135deg, #0b1226 0%, #0f766e 100%);
    --gradient-cta: linear-gradient(135deg, #0ea5e9 0%, #2563eb 55%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, #fb7185 0%, #f59e0b 100%);
    --gradient-icon: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);

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

    --shadow-sm:
        0 2px 10px rgba(10, 27, 58, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.55) inset;
    --shadow-md:
        0 10px 26px rgba(10, 27, 58, 0.10),
        0 2px 10px rgba(14, 165, 233, 0.10);
    --shadow-lg:
        0 16px 42px rgba(10, 27, 58, 0.14),
        0 6px 18px rgba(124, 58, 237, 0.12);
    --shadow-xl:
        0 24px 60px rgba(10, 27, 58, 0.18),
        0 10px 30px rgba(37, 99, 235, 0.12);
    --shadow-primary:
        0 18px 45px rgba(37, 99, 235, 0.16),
        0 4px 14px rgba(14, 165, 233, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.65) inset;
    --shadow-accent:
        0 18px 45px rgba(251, 113, 133, 0.18),
        0 4px 14px rgba(245, 158, 11, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.65) inset;

    --radius-sm: 8px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.75rem;
    --space-lg: 2.5rem;
    --space-xl: 3.5rem;
    --space-2xl: 5.25rem;

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

:where(body) {
    color: var(--color-text);
    background: radial-gradient(1200px 800px at 15% 5%, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0) 45%),
                radial-gradient(900px 700px at 90% 20%, rgba(124, 58, 237, 0.12) 0%, rgba(124, 58, 237, 0) 52%),
                var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    caret-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(10, 27, 58, 0.10),
        0 2px 8px rgba(14, 165, 233, 0.10);
}

.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 18px 40px rgba(37, 99, 235, 0.25),
        0 8px 18px rgba(167, 139, 250, 0.20),
        0 2px 0 rgba(255, 255, 255, 0.6) inset;
    text-shadow: 0 10px 26px rgba(2, 6, 23, 0.35);
}

.header {
    background: rgba(255, 255, 255, 0.90);
    z-index: 1030;
    box-shadow:
        0 10px 30px rgba(10, 27, 58, 0.08),
        0 2px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

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

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

.header .nav-link {
    font-weight: 500;
    color: rgba(31, 42, 68, 0.92);
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
    text-shadow: none;
}

.header .nav-link:hover {
    color: var(--color-primary);
    text-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.35) 0%, rgba(2, 6, 23, 0.15) 60%, rgba(2, 6, 23, 0.30) 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 18px 55px rgba(2, 6, 23, 0.35),
        0 2px 0 rgba(255, 255, 255, 0.12);
}

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

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.98;
    text-shadow: 0 12px 32px rgba(2, 6, 23, 0.25);
}

.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.56s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.breadcrumb-nav {
    background: linear-gradient(180deg, rgba(242, 246, 255, 0.98) 0%, rgba(238, 243, 255, 0.98) 100%);
    border-bottom: 1px solid var(--color-border-soft);
}

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

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-shadow: 0 16px 34px rgba(11, 42, 109, 0.18);
}

.why-us-section {
    background: radial-gradient(900px 600px at 20% 10%, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 55%),
                var(--color-bg-soft);
}

.whyus-card {
    background: rgba(255, 255, 255, 0.94);
    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), border-color var(--transition-base), background var(--transition-base);
    height: 100%;
    box-shadow:
        0 12px 28px rgba(10, 27, 58, 0.08),
        0 2px 0 rgba(255, 255, 255, 0.7) inset;
}

.whyus-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 22px 55px rgba(37, 99, 235, 0.18),
        0 8px 22px rgba(14, 165, 233, 0.14),
        0 2px 0 rgba(255, 255, 255, 0.7) inset;
    border-color: rgba(37, 99, 235, 0.35);
}

.about-section {
    background: var(--gradient-deep);
    color: rgba(255, 255, 255, 0.98);
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow:
        0 18px 55px rgba(2, 6, 23, 0.35),
        0 2px 0 rgba(255, 255, 255, 0.12) inset;
}

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

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

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

.about-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 22px 65px rgba(2, 6, 23, 0.30),
        0 10px 30px rgba(124, 58, 237, 0.18);
}

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

.departments-section {
    background: var(--gradient-dept);
    color: rgba(255, 255, 255, 0.98);
}

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 22px 70px 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);
}

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

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

.d-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    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.22);
    box-shadow:
        0 18px 55px rgba(2, 6, 23, 0.22),
        0 2px 0 rgba(255, 255, 255, 0.10) inset;
    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: 700;
    color: #ffd166;
    margin-bottom: var(--space-xs);
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.d-num span {
    color: rgba(255, 255, 255, 0.95);
    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 18px 55px rgba(2, 6, 23, 0.22),
        0 2px 0 rgba(255, 255, 255, 0.12) inset;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.security-section {
    background: var(--gradient-security);
    color: rgba(255, 255, 255, 0.98);
}

.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: linear-gradient(135deg, #f97316 0%, #fb7185 40%, #60a5fa 100%);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: #061226;
    font-weight: 700;
    box-shadow:
        0 26px 70px rgba(251, 113, 133, 0.28),
        0 14px 40px rgba(37, 99, 235, 0.22),
        0 2px 0 rgba(255, 255, 255, 0.35) inset;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
    text-shadow: none;
}

.node {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.07) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    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.22);
    box-shadow:
        0 16px 46px rgba(2, 6, 23, 0.20),
        0 2px 0 rgba(255, 255, 255, 0.10) inset;
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 26px 70px rgba(2, 6, 23, 0.28),
        0 10px 30px rgba(14, 165, 233, 0.16);
    border-color: rgba(255, 255, 255, 0.30);
}

.node-title {
    font-weight: 600;
    color: #fcd34d;
    margin-block: var(--space-xs);
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

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

.honor-section {
    background: radial-gradient(900px 600px at 20% 0%, rgba(251, 113, 133, 0.10) 0%, rgba(251, 113, 133, 0) 55%),
                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: 4px solid rgba(37, 99, 235, 0.95);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    box-shadow:
        0 14px 36px rgba(10, 27, 58, 0.08),
        0 2px 0 rgba(255, 255, 255, 0.70) inset;
}

.honor-text-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 64px rgba(37, 99, 235, 0.16),
        0 10px 28px rgba(251, 113, 133, 0.12),
        0 2px 0 rgba(255, 255, 255, 0.70) inset;
    border-inline-start-color: rgba(251, 113, 133, 0.95);
    background: rgba(255, 255, 255, 0.98);
}

.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: rgba(255, 255, 255, 0.98);
}

.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: linear-gradient(180deg, rgba(238, 243, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    box-shadow:
        0 12px 30px rgba(10, 27, 58, 0.06),
        0 2px 0 rgba(255, 255, 255, 0.7) inset;
}

.stats-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 26px 70px rgba(37, 99, 235, 0.18),
        0 12px 30px rgba(124, 58, 237, 0.14),
        0 2px 0 rgba(255, 255, 255, 0.7) inset;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 242, 254, 0.98) 55%, rgba(238, 242, 255, 0.98) 100%);
    border-color: rgba(37, 99, 235, 0.28);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: #0a1b3a;
    text-shadow: 0 14px 40px rgba(2, 6, 23, 0.12);
}

.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);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 12px 28px rgba(10, 27, 58, 0.06),
        0 2px 0 rgba(255, 255, 255, 0.65) inset;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 80px rgba(10, 27, 58, 0.16),
        0 10px 30px rgba(37, 99, 235, 0.14),
        0 2px 0 rgba(255, 255, 255, 0.65) inset;
    border-color: rgba(14, 165, 233, 0.30);
    background: rgba(255, 255, 255, 0.98);
}

.news-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.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-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 12px 28px rgba(10, 27, 58, 0.06),
        0 2px 0 rgba(255, 255, 255, 0.65) inset;
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 26px 70px rgba(37, 99, 235, 0.16),
        0 10px 30px rgba(251, 113, 133, 0.12),
        0 2px 0 rgba(255, 255, 255, 0.65) inset;
    border-color: rgba(37, 99, 235, 0.55);
    background: rgba(255, 255, 255, 0.98);
}

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

.match-card .team .small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(31, 42, 68, 0.90);
}

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: #081427;
    text-shadow: 0 18px 50px rgba(2, 6, 23, 0.10);
}

.trust-section {
    background: var(--gradient-trust);
    color: rgba(255, 255, 255, 0.98);
}

.trust-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.07) 100%);
    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.22);
    box-shadow:
        0 22px 65px rgba(2, 6, 23, 0.28),
        0 2px 0 rgba(255, 255, 255, 0.10) inset;
}

.trust-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 30px 90px rgba(2, 6, 23, 0.34),
        0 12px 34px rgba(20, 184, 166, 0.16);
    border-color: rgba(255, 255, 255, 0.30);
}

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

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 80px rgba(251, 113, 133, 0.18),
        0 10px 30px rgba(245, 158, 11, 0.12),
        0 2px 0 rgba(255, 255, 255, 0.65) inset;
    border-color: rgba(251, 113, 133, 0.35);
    background: rgba(255, 255, 255, 0.98);
}

.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: 4px solid transparent;
    border-radius: var(--radius-lg);
    box-shadow:
        0 12px 30px rgba(10, 27, 58, 0.06),
        0 2px 0 rgba(255, 255, 255, 0.65) inset;
    background: rgba(255, 255, 255, 0.95);
}

.testimonial-card:hover {
    border-block-start-color: rgba(251, 113, 133, 0.95);
    transform: translateY(-6px);
    box-shadow:
        0 26px 70px rgba(251, 113, 133, 0.18),
        0 12px 34px rgba(37, 99, 235, 0.12),
        0 2px 0 rgba(255, 255, 255, 0.65) inset;
    background: rgba(255, 255, 255, 0.99);
}

.cta-banner-section {
    background: var(--gradient-cta);
    color: rgba(255, 255, 255, 0.98);
    position: relative;
    overflow: hidden;
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.28) 0%, rgba(2, 6, 23, 0.18) 55%, rgba(2, 6, 23, 0.34) 100%);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow:
        0 22px 60px rgba(251, 191, 36, 0.35),
        0 10px 26px rgba(245, 158, 11, 0.20),
        0 2px 0 rgba(255, 255, 255, 0.35) inset;
    border-radius: var(--radius-pill);
}

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

.footer {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.92);
    text-shadow: 0 18px 55px rgba(2, 6, 23, 0.20);
}

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

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

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

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

.footer-beian a:hover {
    color: var(--color-accent) !important;
    text-decoration: underline !important;
    text-shadow: 0 0 18px rgba(99, 102, 241, 0.35);
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: saturate(1.08) contrast(1.02);
    opacity: 0.95;
}

.footer-beian a:hover img {
    transform: scale(1.2) translateY(-1px);
    filter: saturate(1.15) contrast(1.06);
    opacity: 1;
}

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

/* Cards/mosaic identity variables (safe defaults; other files may override) */
:root {
    --color-accent: #7c3aed;
    --color-primary: #2563eb;
    --color-bg-muted: rgba(255, 255, 255, 0.06);
    --color-border: rgba(255, 255, 255, 0.14);

    --transition-fast: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --shadow-card-1: 0 18px 45px rgba(2, 6, 23, 0.35);
    --shadow-card-2: 0 6px 16px rgba(2, 6, 23, 0.22);
    --shadow-card-soft: 0 10px 25px rgba(124, 58, 237, 0.18);
}

@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: #60a5fa;
    box-shadow:
        0 0 0 0.18rem rgba(96, 165, 250, 0.18),
        0 10px 28px rgba(37, 99, 235, 0.18);
    background-image: linear-gradient(to bottom, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0));
}

.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: rgba(255, 255, 255, 0.98);
    border-radius: 999px;
    box-shadow:
        0 16px 40px rgba(37, 99, 235, 0.28),
        0 8px 18px rgba(37, 99, 235, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        background-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #2563eb;
    border-color: #2563eb;
    box-shadow:
        0 18px 46px rgba(37, 99, 235, 0.34),
        0 10px 22px rgba(37, 99, 235, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
}

.input-group-text {
    background-color: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    box-shadow:
        0 10px 26px rgba(2, 6, 23, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

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