:root {
    --color-primary: #3b82f6;
    --color-primary-dark: #1d4ed8;
    --color-primary-darker: #0b3a91;
    --color-accent: #22d3ee;
    --color-accent-dark: #06b6d4;
    --color-success: #34d399;
    --color-danger: #fb7185;

    --color-text: #cbd5e1;
    --color-text-muted: #94a3b8;
    --color-text-light: #e2e8f0;
    --color-bg: #0b1220;
    --color-bg-soft: #0f172a;
    --color-bg-muted: #0c1528;
    --color-border: rgba(148, 163, 184, 0.22);
    --color-border-soft: rgba(148, 163, 184, 0.16);

    --gradient-hero: radial-gradient(1200px 700px at 15% 10%, rgba(59, 130, 246, 0.55) 0%, rgba(59, 130, 246, 0) 55%),
        linear-gradient(135deg, #0f172a 0%, #1b2a49 30%, #0b4fc8 100%);
    --gradient-deep: linear-gradient(180deg, rgba(11, 18, 32, 1) 0%, rgba(15, 23, 42, 1) 55%, rgba(6, 28, 79, 1) 100%);
    --gradient-dept: radial-gradient(900px 420px at 80% 20%, rgba(59, 130, 246, 0.55) 0%, rgba(79, 70, 229, 0) 55%),
        linear-gradient(135deg, #0b1220 0%, #1a2d55 35%, #1d4ed8 100%);
    --gradient-security: linear-gradient(135deg, #0f172a 0%, #0b1220 35%, #0b3a91 100%);
    --gradient-mission: radial-gradient(700px 420px at 20% 10%, rgba(34, 211, 238, 0.35) 0%, rgba(34, 211, 238, 0) 55%),
        linear-gradient(135deg, #0b1220 0%, #312e81 40%, #0b4fc8 100%);
    --gradient-trust: linear-gradient(135deg, #060b16 0%, #0b1220 40%, #1d4ed8 115%);
    --gradient-cta: radial-gradient(1100px 500px at 10% 20%, rgba(59, 130, 246, 0.65) 0%, rgba(59, 130, 246, 0) 55%),
        linear-gradient(135deg, #0b1220 0%, #16325f 35%, #0b4fc8 100%);
    --gradient-accent: conic-gradient(from 220deg at 50% 50%, #22d3ee, #3b82f6, #60a5fa, #22d3ee);
    --gradient-icon: linear-gradient(135deg, #22d3ee 0%, #3b82f6 55%, #60a5fa 100%);

    --glass-bg: rgba(15, 23, 42, 0.58);
    --glass-border: rgba(148, 163, 184, 0.26);
    --glass-blur: blur(14px);

    --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(2, 6, 23, 0.45);
    --shadow-md: 0 2px 0 rgba(255, 255, 255, 0.04), 0 18px 40px rgba(2, 6, 23, 0.55);
    --shadow-lg: 0 2px 0 rgba(255, 255, 255, 0.04), 0 28px 70px rgba(2, 6, 23, 0.62);
    --shadow-xl: 0 3px 0 rgba(255, 255, 255, 0.05), 0 40px 120px rgba(2, 6, 23, 0.72);
    --shadow-primary: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 18px 50px rgba(59, 130, 246, 0.20), 0 2px 0 rgba(255, 255, 255, 0.04);
    --shadow-accent: 0 0 0 1px rgba(34, 211, 238, 0.22), 0 18px 45px rgba(34, 211, 238, 0.18), 0 2px 0 rgba(255, 255, 255, 0.04);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --space-xs: 0.5rem;
    --space-sm: 0.95rem;
    --space-md: 1.35rem;
    --space-lg: 2.1rem;
    --space-xl: 3.4rem;
    --space-2xl: 4.8rem;

    --transition-fast: 180ms cubic-bezier(.2,.9,.2,1);
    --transition-base: 260ms cubic-bezier(.2,.9,.2,1);
    --transition-slow: 520ms cubic-bezier(.15,.9,.2,1);
}

:where(body) {
    color: var(--color-text);
    background: radial-gradient(1200px 700px at 20% 0%, rgba(59, 130, 246, 0.10) 0%, rgba(59, 130, 246, 0) 60%),
        radial-gradient(900px 520px at 80% 20%, rgba(34, 211, 238, 0.10) 0%, rgba(34, 211, 238, 0) 58%),
        linear-gradient(180deg, #070b14 0%, #0b1220 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.bg-glass {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.62) 0%, rgba(2, 6, 23, 0.42) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0) 45%),
        var(--gradient-icon);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.20), 0 18px 40px rgba(59, 130, 246, 0.22);
}

.header {
    background: rgba(9, 16, 30, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    z-index: 1030;
}

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

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: saturate(1.2) contrast(1.1);
    opacity: 1;
}

.header .nav-link {
    font-weight: 500;
    color: rgba(226, 232, 240, 0.86);
    transition: color var(--transition-fast), opacity var(--transition-fast), text-shadow var(--transition-fast);
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.header .nav-link:hover {
    color: #93c5fd;
    opacity: 1;
    text-shadow: 0 0 18px rgba(59, 130, 246, 0.35);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 420px at 10% 10%, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0) 60%),
        radial-gradient(800px 480px at 90% 20%, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0) 58%),
        rgba(2, 6, 23, 0.38);
    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: 800;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-section h2 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.95;
    margin-bottom: var(--space-md);
    font-weight: 550;
    color: rgba(226, 232, 240, 0.95);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.98;
    color: rgba(226, 232, 240, 0.95);
}

.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,.9,.2,1);
}

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

.notice-bar a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    text-shadow: 0 10px 25px rgba(59, 130, 246, 0.22);
}

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

.breadcrumb-nav {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(10, 18, 34, 0.78) 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.breadcrumb-nav .breadcrumb-item a {
    transition: color var(--transition-fast), opacity var(--transition-fast), text-shadow var(--transition-fast);
    color: rgba(226, 232, 240, 0.82);
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: #93c5fd !important;
    text-shadow: 0 0 22px rgba(59, 130, 246, 0.35);
}

.why-us-section {
    background: radial-gradient(900px 520px at 20% 0%, rgba(59, 130, 246, 0.10) 0%, rgba(59, 130, 246, 0) 58%),
        linear-gradient(180deg, var(--color-bg-soft) 0%, #0b1220 100%);
}

.whyus-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 24px;
    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 8px 26px rgba(2, 6, 23, 0.35);
}

.whyus-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-primary), 0 10px 34px rgba(2, 6, 23, 0.35);
    border-color: rgba(59, 130, 246, 0.35);
}

.about-section {
    background: radial-gradient(900px 520px at 15% 0%, rgba(59, 130, 246, 0.35) 0%, rgba(59, 130, 246, 0) 60%),
        var(--gradient-deep);
    color: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

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

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

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

.about-card {
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
}

.about-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.06) 100%);
    box-shadow: 0 20px 70px rgba(2, 6, 23, 0.55);
    border-color: rgba(147, 197, 253, 0.28);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.78) !important;
    text-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

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

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 850;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
    text-shadow: 0 18px 50px rgba(0,0,0,0.3);
}

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(226, 232, 240, 0.88);
    text-shadow: 0 14px 38px rgba(0,0,0,0.25);
}

.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(15, 23, 42, 0.40) 0%, rgba(2, 6, 23, 0.28) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--space-md);
    border-radius: 18px;
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.45);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.d-item:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.55);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #60a5fa;
    margin-bottom: var(--space-xs);
    text-shadow: 0 14px 34px rgba(59, 130, 246, 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: 16px;
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.35);
}

.security-section {
    background: var(--gradient-security);
    color: #fff;
    border-top: 1px solid rgba(148, 163, 184, 0.10);
}

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

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

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

.core-node {
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 45%),
        var(--gradient-accent);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: rgba(7, 14, 32, 0.92);
    font-weight: 850;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.22), 0 30px 90px rgba(59, 130, 246, 0.35);
    transition: transform var(--transition-base), filter var(--transition-base);
}

.core-node:hover {
    transform: translateY(-4px);
    filter: saturate(1.15);
}

.node {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.48) 0%, rgba(2, 6, 23, 0.28) 100%);
    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.95);
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(148, 163, 184, 0.20);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.35);
}

.node:hover {
    transform: scale(1.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.07) 100%);
    box-shadow: 0 26px 90px rgba(2, 6, 23, 0.55);
    border-color: rgba(147, 197, 253, 0.34);
}

.node-title {
    font-weight: 650;
    color: #38bdf8;
    margin-block: var(--space-xs);
    text-shadow: 0 14px 34px rgba(56, 189, 248, 0.25);
}

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

.honor-section {
    background: radial-gradient(900px 520px at 30% 10%, rgba(34, 211, 238, 0.10) 0%, rgba(34, 211, 238, 0) 55%),
        linear-gradient(180deg, var(--color-bg-soft) 0%, #0b1220 100%);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
    border-radius: 18px;
    border-inline-start: 4px solid rgba(59, 130, 246, 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 40px rgba(2, 6, 23, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.honor-text-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 90px rgba(2, 6, 23, 0.55), 0 0 0 1px rgba(59, 130, 246, 0.20);
    border-color: rgba(59, 130, 246, 0.60);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(239,246,255,0.98) 100%);
}

.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: #fff;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

.stats-section {
    background: radial-gradient(900px 520px at 70% 0%, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0) 55%),
        linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.10);
}

.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(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 20px;
    box-shadow: 0 16px 55px rgba(2, 6, 23, 0.35);
}

.stats-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 100px rgba(2, 6, 23, 0.58), 0 0 0 1px rgba(59, 130, 246, 0.22);
    background: radial-gradient(900px 400px at 15% 0%, rgba(147, 197, 253, 0.55) 0%, rgba(147, 197, 253, 0) 55%),
        linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(236,253,255,0.92) 100%);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: #0b3a91;
    text-shadow: 0 14px 34px rgba(59, 130, 246, 0.18);
}

.news-section {
    background: radial-gradient(900px 520px at 20% 0%, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0) 58%),
        linear-gradient(180deg, var(--color-bg-soft) 0%, #0b1220 100%);
}

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
    box-shadow: 0 14px 45px rgba(2, 6, 23, 0.32);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 95px rgba(2, 6, 23, 0.58), 0 0 0 1px rgba(59, 130, 246, 0.22);
    border-color: rgba(59, 130, 246, 0.35);
}

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

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

.news-card:hover .news-img-wrap img {
    transform: scale(1.10);
    filter: saturate(1.2) contrast(1.12);
    opacity: 1;
}

.matches-section {
    background: radial-gradient(900px 520px at 70% 0%, rgba(34, 211, 238, 0.10) 0%, rgba(34, 211, 238, 0) 55%),
        linear-gradient(180deg, var(--color-bg-soft) 0%, #0b1220 100%);
}

.match-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
    box-shadow: 0 14px 45px rgba(2, 6, 23, 0.32);
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.56), 0 0 0 1px rgba(59, 130, 246, 0.22);
    border-color: rgba(59, 130, 246, 0.55);
    background: radial-gradient(700px 300px at 20% 0%, rgba(147, 197, 253, 0.55) 0%, rgba(147, 197, 253, 0) 55%),
        linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(236,253,255,0.92) 100%);
}

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

.match-card .team .small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(15, 23, 42, 0.72);
    text-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: #0b3a91;
    text-shadow: 0 14px 34px rgba(59, 130, 246, 0.18);
}

.trust-section {
    background: var(--gradient-trust);
    color: #fff;
    border-top: 1px solid rgba(148, 163, 184, 0.10);
}

.trust-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(2, 6, 23, 0.35) 100%);
    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);
    border: 1px solid rgba(148, 163, 184, 0.20);
    box-shadow: 0 22px 80px rgba(2, 6, 23, 0.48);
}

.trust-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.07) 100%);
    box-shadow: 0 36px 120px rgba(2, 6, 23, 0.62), 0 0 0 1px rgba(59, 130, 246, 0.22);
    border-color: rgba(147, 197, 253, 0.30);
}

.partners-section {
    background: radial-gradient(900px 520px at 15% 0%, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0) 58%),
        linear-gradient(180deg, var(--color-bg-soft) 0%, #0b1220 100%);
}

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

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(59, 130, 246, 0.35);
}

.testimonials-section {
    background: linear-gradient(180deg, #0b1220 0%, var(--color-bg-soft) 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.10);
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border-block-start: 4px solid transparent;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    box-shadow: 0 14px 45px rgba(2, 6, 23, 0.32);
}

.testimonial-card:hover {
    border-block-start-color: rgba(34, 211, 238, 0.95);
    transform: translateY(-6px);
    box-shadow: 0 30px 100px rgba(2, 6, 23, 0.58), 0 0 0 1px rgba(34, 211, 238, 0.18);
    background: radial-gradient(800px 300px at 20% 0%, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0) 60%),
        linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(236,253,255,0.94) 100%);
}

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

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 20% 0%, rgba(59, 130, 246, 0.35) 0%, rgba(59, 130, 246, 0) 58%),
        radial-gradient(700px 480px at 90% 20%, rgba(34, 211, 238, 0.22) 0%, rgba(34, 211, 238, 0) 60%),
        rgba(2, 6, 23, 0.35);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.22), 0 20px 55px rgba(251, 191, 36, 0.18), 0 2px 0 rgba(255, 255, 255, 0.04);
    border-color: rgba(251, 191, 36, 0.35);
}

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

.footer {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.78);
    text-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

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

.footer a:hover {
    color: #3b82f6 !important;
}

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

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.82;
    color: #cbd5e1;
}

.footer-beian a:hover {
    color: #60a5fa !important;
    text-decoration: underline !important;
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(0 10px 22px rgba(15, 23, 42, 0.35));
}

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 14px 28px rgba(59, 130, 246, 0.28));
}

.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: #3b82f6;
    box-shadow:
        0 0 0 0.18rem rgba(59, 130, 246, 0.18),
        0 10px 26px rgba(15, 23, 42, 0.25);
}

.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
    box-shadow:
        0 16px 30px rgba(59, 130, 246, 0.18),
        0 2px 0 rgba(255, 255, 255, 0.12) inset;
    border-style: solid;
    border-radius: 18px;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #2563eb;
    border-color: #2563eb;
    box-shadow:
        0 20px 44px rgba(37, 99, 235, 0.26),
        0 2px 0 rgba(255, 255, 255, 0.14) inset;
}

.input-group-text {
    background-color: #0f172a;
    border-color: #1f2a44;
    color: #e2e8f0;
    border-style: solid;
    border-radius: 16px;
    box-shadow:
        0 10px 24px rgba(2, 6, 23, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.06) 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
   ============================================================ */

/* 新闻网格 (默认 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%; }
}