:root {
    --color-primary: #a855f7;
    --color-primary-dark: #6d28d9;
    --color-primary-darker: #4c1d95;
    --color-accent: #f59e0b;
    --color-accent-dark: #d97706;
    --color-success: #22c55e;
    --color-danger: #ef4444;

    --color-text: #e7e9ff;
    --color-text-muted: #b9bedc;
    --color-text-light: #8f96c7;
    --color-bg: #0b0b14;
    --color-bg-soft: #121224;
    --color-bg-muted: #0f0f1d;
    --color-border: rgba(255, 255, 255, 0.12);
    --color-border-soft: rgba(255, 255, 255, 0.08);

    --gradient-hero: radial-gradient(1200px 500px at 50% 0%, rgba(168, 85, 247, 0.55) 0%, rgba(168, 85, 247, 0.06) 45%, rgba(10, 10, 20, 0) 70%),
        linear-gradient(135deg, #0f0f1a 0%, #1d123a 35%, #6d28d9 70%, #a855f7 100%);
    --gradient-deep: radial-gradient(900px 420px at 20% 20%, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0) 55%),
        linear-gradient(135deg, #070710 0%, #111126 40%, #0f172a 100%);
    --gradient-dept: radial-gradient(1000px 500px at 80% 10%, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0) 60%),
        linear-gradient(135deg, #2e1065 0%, #3b2a9a 45%, #6d28d9 100%);
    --gradient-security: linear-gradient(135deg, #241042 0%, #0f0f1a 65%, #0b0b14 100%);
    --gradient-mission: radial-gradient(800px 420px at 15% 30%, rgba(168, 85, 247, 0.28) 0%, rgba(168, 85, 247, 0) 55%),
        linear-gradient(135deg, #0f0f1a 0%, #2b1058 40%, #3b2a9a 100%);
    --gradient-trust: radial-gradient(900px 420px at 70% 10%, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0) 55%),
        linear-gradient(135deg, #0a0a14 0%, #190b35 45%, #0f0f1a 100%);
    --gradient-cta: radial-gradient(1000px 420px at 50% 0%, rgba(245, 158, 11, 0.30) 0%, rgba(245, 158, 11, 0) 58%),
        linear-gradient(135deg, #4c1d95 0%, #a855f7 55%, #f59e0b 130%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #a855f7 100%);
    --gradient-icon: linear-gradient(135deg, #a855f7 0%, #f59e0b 100%);

    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(168, 85, 247, 0.22);
    --glass-blur: blur(14px);

    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 54px rgba(0, 0, 0, 0.55);
    --shadow-xl: 0 24px 70px rgba(0, 0, 0, 0.62);
    --shadow-primary: 0 14px 40px rgba(168, 85, 247, 0.32), 0 2px 0 rgba(255, 255, 255, 0.04) inset, 0 0 0 1px rgba(168, 85, 247, 0.22) inset;
    --shadow-accent: 0 14px 36px rgba(245, 158, 11, 0.28), 0 2px 0 rgba(255, 255, 255, 0.05) inset, 0 0 0 1px rgba(245, 158, 11, 0.22) inset;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --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.42s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-base: 0.52s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.68s cubic-bezier(0.12, 0.9, 0.2, 1);
}

:where(body) {
    color: var(--color-text);
    background:
        radial-gradient(1200px 700px at 50% -10%, rgba(168, 85, 247, 0.18) 0%, rgba(168, 85, 247, 0) 55%),
        radial-gradient(900px 500px at 85% 15%, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 55%),
        linear-gradient(180deg, #070710 0%, #0b0b14 60%, #0a0a14 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(168, 85, 247, 0.12) inset;
}

.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 16px 40px rgba(168, 85, 247, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.header {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
        radial-gradient(900px 240px at 50% 0%, rgba(168, 85, 247, 0.18) 0%, rgba(168, 85, 247, 0) 65%),
        rgba(10, 10, 20, 0.55);
    z-index: 1030;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header .navbar-brand img {
    transition: transform var(--transition-fast), filter var(--transition-fast);
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 14px 28px rgba(168, 85, 247, 0.35));
}

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

.header .nav-link:hover {
    color: rgba(210, 191, 255, 0.98);
    text-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
}

.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;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 50% 20%, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.35) 65%, rgba(0, 0, 0, 0.55) 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 14px 40px rgba(0, 0, 0, 0.55), 0 0 26px rgba(168, 85, 247, 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.35);
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.96;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

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

.notice-bar a:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    text-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}

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

.breadcrumb-nav {
    background:
        radial-gradient(900px 260px at 50% 0%, rgba(168, 85, 247, 0.16) 0%, rgba(168, 85, 247, 0) 65%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.breadcrumb-nav .breadcrumb-item a:hover {
    color: rgba(255, 220, 153, 0.98) !important;
    text-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}

.why-us-section {
    background:
        radial-gradient(1000px 520px at 50% 0%, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 60%),
        var(--color-bg-soft);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.whyus-card {
    background:
        radial-gradient(800px 260px at 20% 0%, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 60%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    height: 100%;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
}

.whyus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(168, 85, 247, 0.25), 0 0 0 1px rgba(168, 85, 247, 0.28) inset;
    border-color: rgba(168, 85, 247, 0.35);
    background:
        radial-gradient(900px 300px at 20% 0%, rgba(168, 85, 247, 0.18) 0%, rgba(168, 85, 247, 0) 60%),
        rgba(255, 255, 255, 0.05);
}

.about-section {
    background: var(--gradient-deep);
    color: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(168, 85, 247, 0.18) inset;
}

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

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

.about-card {
    transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.about-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(168, 85, 247, 0.28);
    box-shadow: 0 26px 70px rgba(168, 85, 247, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

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

.departments-section {
    background: var(--gradient-dept);
    color: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

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

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

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

.d-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(168, 85, 247, 0.22);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05) 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: rgba(245, 158, 11, 0.98);
    margin-bottom: var(--space-xs);
    text-shadow: 0 10px 28px rgba(245, 158, 11, 0.25);
}

.d-num span {
    color: rgba(255, 255, 255, 0.92);
    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 14px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.security-section {
    background: var(--gradient-security);
    color: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.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(90px 90px at 50% 40%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.06) 35%, rgba(255, 255, 255, 0) 70%),
        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(20, 10, 40, 0.95);
    font-weight: 700;
    box-shadow:
        0 26px 70px rgba(168, 85, 247, 0.35),
        0 16px 40px rgba(245, 158, 11, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.14) inset;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.20);
}

.node {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: rgba(255, 255, 255, 0.96);
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(168, 85, 247, 0.20);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.node:hover {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 158, 11, 0.30);
    box-shadow:
        0 26px 78px rgba(168, 85, 247, 0.22),
        0 16px 46px rgba(245, 158, 11, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.node-title {
    font-weight: 600;
    color: rgba(245, 158, 11, 0.98);
    margin-block: var(--space-xs);
    text-shadow: 0 12px 30px rgba(245, 158, 11, 0.25);
}

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

.honor-section {
    background:
        radial-gradient(900px 360px at 50% 0%, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 60%),
        var(--color-bg-soft);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid rgba(168, 85, 247, 0.95);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.honor-text-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 78px rgba(168, 85, 247, 0.20), 0 0 0 1px rgba(168, 85, 247, 0.24) inset;
    background: rgba(255, 255, 255, 0.08);
    border-inline-start-color: rgba(245, 158, 11, 0.95);
}

.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(226, 232, 255, 0.86);
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.stats-section {
    background:
        radial-gradient(1000px 360px at 50% 0%, rgba(245, 158, 11, 0.10) 0%, rgba(245, 158, 11, 0) 60%),
        rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.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.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

.stats-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 84px rgba(168, 85, 247, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    background:
        radial-gradient(900px 320px at 10% 0%, rgba(168, 85, 247, 0.16) 0%, rgba(168, 85, 247, 0) 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(16, 24, 58, 0.25) 100%);
    border-color: rgba(168, 85, 247, 0.25);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: rgba(210, 191, 255, 0.98);
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.news-section {
    background:
        radial-gradient(1000px 520px at 50% 0%, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 60%),
        var(--color-bg-soft);
}

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    border: 1px solid var(--color-border-soft);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 96px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(245, 158, 11, 0.18) inset;
    border-color: rgba(245, 158, 11, 0.35);
    background:
        radial-gradient(900px 320px at 15% 0%, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 60%),
        rgba(255, 255, 255, 0.04);
}

.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.05) contrast(1.05);
}

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

.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);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 78px rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.40);
    background:
        radial-gradient(900px 320px at 15% 0%, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 60%),
        rgba(255, 255, 255, 0.04);
}

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

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

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: rgba(210, 191, 255, 0.98);
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.trust-section {
    background: var(--gradient-trust);
    color: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.trust-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-sm);
    height: 100%;
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(168, 85, 247, 0.20);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.45);
}

.trust-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 158, 11, 0.30);
    box-shadow: 0 30px 96px rgba(168, 85, 247, 0.22);
}

.partners-section {
    background:
        radial-gradient(1000px 360px at 50% 0%, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 60%),
        var(--color-bg-soft);
}

.partner-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 96px rgba(168, 85, 247, 0.22);
    background:
        radial-gradient(900px 320px at 15% 0%, rgba(168, 85, 247, 0.14) 0%, rgba(168, 85, 247, 0) 60%),
        rgba(255, 255, 255, 0.05);
}

.testimonials-section {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.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: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

.testimonial-card:hover {
    border-block-start-color: rgba(245, 158, 11, 0.98);
    transform: translateY(-6px);
    box-shadow: 0 28px 84px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(245, 158, 11, 0.18) inset;
    background: rgba(255, 255, 255, 0.05);
}

.cta-banner-section {
    background: var(--gradient-cta);
    color: rgba(255, 255, 255, 0.98);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 50% 0%, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 18px 52px rgba(245, 158, 11, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
    border-radius: var(--radius-pill);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.footer {
    font-size: 0.9rem;
    color: rgba(185, 190, 220, 0.95);
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.footer a {
    transition: color 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: rgba(238, 220, 170, 0.92);
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.footer a:hover {
    color: #f6d365 !important;
    text-shadow: 0 0 18px rgba(246, 211, 101, 0.28), 0 0 42px rgba(164, 94, 255, 0.20);
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.78);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

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

.footer-beian a:hover {
    color: #f8e28a !important;
    text-decoration: underline !important;
    text-shadow: 0 0 16px rgba(248, 226, 138, 0.22);
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 14px rgba(164, 94, 255, 0.18));
    opacity: 0.95;
    border-radius: 10px;
}

.footer-beian a:hover img {
    transform: scale(1.2) translateY(-1px);
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 20px rgba(246, 211, 101, 0.22));
    opacity: 1;
}

.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: rgba(164, 94, 255, 0.95);
    box-shadow:
        0 0 0 0.2rem rgba(164, 94, 255, 0.16),
        0 16px 40px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(246, 211, 101, 0.22) inset;
    outline-style: solid;
    outline-width: 1px;
    outline-color: rgba(246, 211, 101, 0.28);
    filter: saturate(1.05);
}

.btn-primary {
    background-color: #2b1b4f;
    border-color: #2b1b4f;
    color: rgba(255, 248, 230, 0.95);
    border-radius: 14px;
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(246, 211, 101, 0.20) inset,
        0 0 0 0 rgba(164, 94, 255, 0);
    transition:
        background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    background-image: linear-gradient(135deg, rgba(246, 211, 101, 0.28), rgba(164, 94, 255, 0.22) 55%, rgba(59, 130, 246, 0.10));
    background-blend-mode: screen;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #34205f;
    border-color: #f6d365;
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(246, 211, 101, 0.26) inset,
        0 0 36px rgba(164, 94, 255, 0.22);
    transform: translateY(-1px);
    filter: brightness(1.02) saturate(1.05);
    outline-style: solid;
    outline-width: 1px;
    outline-color: rgba(246, 211, 101, 0.28);
}

.input-group-text {
    background-color: rgba(15, 15, 26, 0.72);
    border-color: rgba(148, 163, 184, 0.20);
    color: rgba(226, 232, 240, 0.86);
    border-radius: 12px;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(164, 94, 255, 0.12) inset;
    background-image: radial-gradient(900px 180px at 20% 0%, rgba(164, 94, 255, 0.22), rgba(0, 0, 0, 0) 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    transition: background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s 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%; }
}