:root {
    --color-primary: #7c3aed;
    --color-primary-dark: #4c1d95;
    --color-primary-darker: #2e1065;
    --color-accent: #22c55e;
    --color-accent-dark: #16a34a;
    --color-success: #06b6d4;
    --color-danger: #f43f5e;

    --color-text: #172554;
    --color-text-muted: #334155;
    --color-text-light: #64748b;
    --color-bg: #f7f7ff;
    --color-bg-soft: #eef2ff;
    --color-bg-muted: #e9d5ff;
    --color-border: rgba(15, 23, 42, 0.14);
    --color-border-soft: rgba(15, 23, 42, 0.10);

    --gradient-hero: linear-gradient(125deg, #4c1d95 0%, #7c3aed 45%, #06b6d4 100%);
    --gradient-deep: linear-gradient(125deg, #0b1026 0%, #1f1147 50%, #4c1d95 100%);
    --gradient-dept: linear-gradient(125deg, #0ea5e9 0%, #4f46e5 50%, #7c3aed 100%);
    --gradient-security: linear-gradient(135deg, #2b145f 0%, #061a2b 100%);
    --gradient-mission: linear-gradient(135deg, #06b6d4 0%, #7c3aed 55%, #22c55e 100%);
    --gradient-trust: linear-gradient(135deg, #0b1026 0%, #1e293b 55%, #0ea5e9 100%);
    --gradient-cta: linear-gradient(135deg, #7c3aed 0%, #4f46e5 35%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #22c55e 0%, #16a34a 40%, #06b6d4 100%);
    --gradient-icon: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);

    --glass-bg: rgba(255, 255, 255, 0.11);
    --glass-border: rgba(255, 255, 255, 0.22);
    --glass-blur: blur(12px);

    --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.07);
    --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.14), 0 1px 0 rgba(255, 255, 255, 0.55) inset;
    --shadow-lg: 0 16px 42px rgba(2, 6, 23, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
    --shadow-xl: 0 22px 60px rgba(2, 6, 23, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.42) inset;
    --shadow-primary: 0 12px 26px rgba(124, 58, 237, 0.22), 0 2px 0 rgba(255, 255, 255, 0.55) inset;
    --shadow-accent: 0 12px 28px rgba(34, 197, 94, 0.18), 0 0 0 1px rgba(34, 197, 94, 0.22) inset;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-pill: 26px;

    --space-xs: 0.45rem;
    --space-sm: 0.9rem;
    --space-md: 1.2rem;
    --space-lg: 1.6rem;
    --space-xl: 2.4rem;
    --space-2xl: 3.2rem;

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

:where(body) {
    color: var(--color-text);
    background: radial-gradient(1200px 700px at 20% 0%, rgba(124, 58, 237, 0.10), transparent 55%),
                radial-gradient(900px 600px at 90% 20%, rgba(6, 182, 212, 0.12), transparent 60%),
                var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.bg-glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.10);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: conic-gradient(from 220deg, #7c3aed 0%, #06b6d4 45%, #22c55e 80%, #7c3aed 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 26px rgba(124, 58, 237, 0.22), 0 2px 0 rgba(255, 255, 255, 0.55) inset;
}

.header {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
    z-index: 1030;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

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

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

.header .nav-link {
    font-weight: 500;
    color: rgba(23, 37, 84, 0.9);
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

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

.hero-section {
    min-height: 480px;
    background: linear-gradient(115deg, rgba(76, 29, 149, 0.95) 0%, rgba(124, 58, 237, 0.92) 45%, rgba(6, 182, 212, 0.9) 100%);
    color: #ffffff;
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 420px at 15% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
                linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.24) 100%);
    z-index: 0;
    pointer-events: none;
}

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

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

.hero-section h2 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.92;
    margin-bottom: var(--space-md);
    font-weight: 500;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.98;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.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.46s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

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

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

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

.breadcrumb-nav {
    background: linear-gradient(180deg, rgba(238, 242, 255, 0.9) 0%, rgba(233, 213, 255, 0.6) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

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

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

.why-us-section {
    background: linear-gradient(180deg, #eef2ff 0%, #f7f7ff 100%);
}

.whyus-card {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.86) 100%);
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    padding: var(--space-md);
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    box-shadow: 0 2px 12px rgba(2, 6, 23, 0.06);
}

.whyus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(124, 58, 237, 0.20), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
    border-color: rgba(124, 58, 237, 0.35);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.06) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.about-section {
    background: radial-gradient(900px 420px at 10% 10%, rgba(6, 182, 212, 0.35), transparent 55%),
                linear-gradient(135deg, #0a1a3a 0%, #2e1065 50%, #4c1d95 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.about-img-wrap {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.about-img-wrap img {
    transition: transform 520ms cubic-bezier(0.1, 0.9, 0.2, 1), filter 520ms cubic-bezier(0.1, 0.9, 0.2, 1);
    filter: saturate(1.05) contrast(1.03);
}

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

.about-card {
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.80) !important;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.departments-section {
    background: linear-gradient(135deg, #0ea5e9 0%, #4f46e5 40%, #7c3aed 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

.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: 1.2rem;
    margin-block-start: var(--space-lg);
}

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

.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: 1.05rem;
    border-radius: 6px;
    margin-bottom: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.14);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 0.45rem;
    text-shadow: 0 14px 30px rgba(34, 197, 94, 0.22);
}

.d-num span {
    color: #ffffff;
    font-size: 1.1rem;
    margin-inline-start: var(--space-xs);
    opacity: 0.9;
}

.d-image {
    margin-bottom: var(--space-sm);
}

.d-image img {
    width: 100%;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.18);
}

.security-section {
    background: linear-gradient(135deg, #26124d 0%, #0b1026 45%, #083344 100%);
    color: #fff;
}

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

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

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

.core-node {
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.30) 0%, transparent 45%),
                linear-gradient(135deg, #22c55e 0%, #06b6d4 55%, #7c3aed 100%);
    border-radius: 999px;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: #08152d;
    font-weight: 800;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.20) inset, 0 20px 60px rgba(34, 197, 94, 0.22);
}

.node {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 6px;
    padding: 0.85rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.96);
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.node:hover {
    transform: scale(1.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.24);
    border-color: rgba(34, 197, 94, 0.35);
}

.node-title {
    font-weight: 650;
    color: #22c55e;
    margin-block: var(--space-xs);
    text-shadow: 0 12px 30px rgba(34, 197, 94, 0.20);
}

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

.honor-section {
    background: linear-gradient(180deg, #f7f7ff 0%, #eef2ff 100%);
}

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

.honor-text-card {
    padding: 1.05rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.86) 100%);
    border-radius: 6px;
    border-inline-start: 4px solid #7c3aed;
    border: 1px solid rgba(15, 23, 42, 0.12);
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 12px rgba(2, 6, 23, 0.06);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(124, 58, 237, 0.20), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
    border-color: rgba(124, 58, 237, 0.35);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.06) 0%, rgba(34, 197, 94, 0.03) 100%);
}

.mission-section {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.95) 0%, rgba(124, 58, 237, 0.90) 45%, rgba(34, 197, 94, 0.92) 100%);
    padding-block: var(--space-2xl);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

.stats-section {
    background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
}

.stats-card {
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(180deg, rgba(238, 242, 255, 0.70) 0%, rgba(255, 255, 255, 0.84) 100%);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(2, 6, 23, 0.05);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.65) inset;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 242, 255, 0.92) 40%, rgba(224, 231, 255, 0.95) 100%);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: #2e1065;
    text-shadow: 0 12px 30px rgba(76, 29, 149, 0.16);
}

.news-section {
    background: linear-gradient(180deg, #eef2ff 0%, #f7f7ff 100%);
}

.news-card {
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(2, 6, 23, 0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 56px rgba(2, 6, 23, 0.22), 0 0 0 1px rgba(124, 58, 237, 0.22) inset;
    border-color: rgba(124, 58, 237, 0.35);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.05) 0%, rgba(6, 182, 212, 0.03) 100%);
}

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

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 520ms cubic-bezier(0.1, 0.9, 0.2, 1), filter 520ms cubic-bezier(0.1, 0.9, 0.2, 1);
    filter: saturate(1.05) contrast(1.03);
}

.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
    filter: saturate(1.18) contrast(1.1) brightness(1.02);
}

.matches-section {
    background: #eef2ff;
}

.match-card {
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(2, 6, 23, 0.05);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(124, 58, 237, 0.20);
    border-color: #22c55e;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.06) 0%, rgba(124, 58, 237, 0.04) 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.78);
}

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: #4c1d95;
    text-shadow: 0 10px 26px rgba(124, 58, 237, 0.18);
}

.trust-section {
    background: linear-gradient(135deg, #0b1026 0%, #1e293b 35%, #7c3aed 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-card {
    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);
    border-radius: 6px;
    padding: var(--space-lg) var(--space-sm);
    height: 100%;
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0 14px 38px rgba(2, 6, 23, 0.18);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 0 22px 56px rgba(2, 6, 23, 0.24);
    border-color: rgba(6, 182, 212, 0.35);
}

.partners-section {
    background: #f7f7ff;
}

.partner-card {
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 56px rgba(34, 197, 94, 0.18), 0 0 0 1px rgba(34, 197, 94, 0.22) inset;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06) 0%, rgba(6, 182, 212, 0.04) 55%, rgba(124, 58, 237, 0.03) 100%);
}

.testimonials-section {
    background: #ffffff;
}

.testimonial-card {
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), border-block-start-color 240ms cubic-bezier(0.16, 1, 0.3, 1);
    border-block-start: 4px solid transparent;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 242, 255, 0.35) 100%);
}

.testimonial-card:hover {
    border-block-start-color: #06b6d4;
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(6, 182, 212, 0.20);
}

.cta-banner-section {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 40%, #06b6d4 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 520px at 20% 20%, rgba(255, 255, 255, 0.16), transparent 55%),
                linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.28) 100%);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 16px 42px rgba(34, 197, 94, 0.20), 0 0 0 1px rgba(34, 197, 94, 0.24) inset;
    border-radius: 6px;
}

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

.footer {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.92);
    text-shadow: 0 10px 22px rgba(2, 6, 23, 0.18);
}

.footer a {
    transition: color var(--transition-fast, 140ms) cubic-bezier(0.2, 0.8, 0.2, 1), filter var(--transition-fast, 140ms) cubic-bezier(0.2, 0.8, 0.2, 1);
    color: rgba(226, 232, 240, 0.92);
}
.footer a:hover {
    color: #f97316 !important;
    filter: saturate(1.08) contrast(1.05);
}

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

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

.footer-beian a:hover {
    color: #f97316 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 4px;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.25));
}

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

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

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

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

/* ============================================
   22. Form (Login/Signup/Contact)
   ============================================ */
.form-control:focus,
.form-select:focus {
    border-color: #22c55e;
    box-shadow:
        0 0 0 2px rgba(34, 197, 94, 0.18),
        0 10px 26px rgba(16, 185, 129, 0.12),
        0 2px 0 rgba(0, 0, 0, 0.06);
    outline: 1px solid rgba(34, 197, 94, 0.35);
    outline-offset: 2px;
}

.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: rgba(255,255,255,0.96);
    box-shadow:
        0 10px 18px rgba(59, 130, 246, 0.18),
        0 2px 0 rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #2563eb;
    border-color: #2563eb;
    box-shadow:
        0 14px 26px rgba(37, 99, 235, 0.22),
        0 2px 0 rgba(0, 0, 0, 0.14);
    transition: box-shadow 160ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 160ms 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.28);
    color: rgba(226, 232, 240, 0.86);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

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