:root {
    --color-primary: #9b5cff;
    --color-primary-dark: #2a0b4f;
    --color-primary-darker: #12071f;
    --color-accent: #ffcc66;
    --color-accent-dark: #f2a900;
    --color-success: #22c55e;
    --color-danger: #ef4444;

    --color-text: #e7e7ff;
    --color-text-muted: rgba(231, 231, 255, 0.72);
    --color-text-light: rgba(231, 231, 255, 0.58);
    --color-bg: #0f0f1a;
    --color-bg-soft: #121226;
    --color-bg-muted: #0d0d18;
    --color-border: rgba(255, 255, 255, 0.16);
    --color-border-soft: rgba(255, 255, 255, 0.10);

    --gradient-hero: radial-gradient(1200px 600px at 50% -10%, rgba(255, 204, 102, 0.32) 0%, rgba(255, 204, 102, 0.06) 36%, rgba(255, 204, 102, 0) 60%), linear-gradient(135deg, #150b2a 0%, #0f0f1a 38%, #2b0b52 62%, #9b5cff 100%);
    --gradient-deep: radial-gradient(900px 500px at 15% 0%, rgba(155, 92, 255, 0.25) 0%, rgba(155, 92, 255, 0) 55%), linear-gradient(135deg, #090913 0%, #1a1230 42%, #0f0f1a 100%);
    --gradient-dept: linear-gradient(135deg, #1f0e3a 0%, #3b1b7a 40%, #6a36ff 100%);
    --gradient-security: radial-gradient(900px 450px at 50% 0%, rgba(255, 204, 102, 0.22) 0%, rgba(255, 204, 102, 0) 55%), linear-gradient(135deg, #20103d 0%, #0f0f1a 60%, #0a0a14 100%);
    --gradient-mission: radial-gradient(700px 420px at 50% 15%, rgba(155, 92, 255, 0.30) 0%, rgba(155, 92, 255, 0) 60%), linear-gradient(135deg, #20103d 0%, #3b1b7a 55%, #0f0f1a 100%);
    --gradient-trust: radial-gradient(800px 440px at 25% 0%, rgba(255, 204, 102, 0.18) 0%, rgba(255, 204, 102, 0) 60%), linear-gradient(135deg, #0f0f1a 0%, #231049 55%, #2a0b4f 100%);
    --gradient-cta: radial-gradient(600px 300px at 50% 0%, rgba(255, 204, 102, 0.30) 0%, rgba(255, 204, 102, 0) 58%), linear-gradient(135deg, #4d1b8a 0%, #9b5cff 55%, #ffcc66 140%);
    --gradient-accent: radial-gradient(120% 120% at 20% 0%, rgba(255, 204, 102, 0.85) 0%, rgba(242, 169, 0, 0.85) 35%, rgba(155, 92, 255, 0.28) 100%);
    --gradient-icon: linear-gradient(135deg, #ffcc66 0%, #9b5cff 50%, #2a0b4f 100%);

    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-blur: blur(14px);

    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.36);
    --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.45);
    --shadow-xl: 0 30px 90px rgba(0, 0, 0, 0.55);
    --shadow-primary: 0 18px 50px rgba(155, 92, 255, 0.28), 0 2px 0 rgba(255, 255, 255, 0.04) inset;
    --shadow-accent: 0 16px 42px rgba(255, 204, 102, 0.22), 0 0 0 1px rgba(255, 204, 102, 0.10) inset;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --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.38s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.52s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}

:where(body) {
    color: var(--color-text);
    background: radial-gradient(1200px 700px at 50% 0%, rgba(155, 92, 255, 0.10) 0%, rgba(155, 92, 255, 0) 60%), linear-gradient(180deg, #0f0f1a 0%, #0b0b14 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    caret-color: var(--color-accent);
    accent-color: var(--color-accent);
}

: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 18px 50px rgba(0, 0, 0, 0.30), 0 0 0 1px rgba(255, 255, 255, 0.04) 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.95);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 18px 40px rgba(155, 92, 255, 0.30), 0 10px 22px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}

.header {
    background: rgba(15, 15, 26, 0.70);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1030;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.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 16px 28px rgba(155, 92, 255, 0.35));
}

.header .nav-link {
    font-weight: 500;
    color: rgba(231, 231, 255, 0.86);
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.header .nav-link:hover {
    color: var(--color-primary);
    text-shadow: 0 0 18px rgba(155, 92, 255, 0.45);
}

.hero-section {
    min-height: 480px;
    background: var(--gradient-hero);
    color: rgba(255, 255, 255, 0.96);
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 600px at 50% 30%, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.45) 68%, rgba(0, 0, 0, 0.62) 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 60px rgba(0, 0, 0, 0.55), 0 0 22px rgba(155, 92, 255, 0.30);
}

.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 10px 40px rgba(0, 0, 0, 0.45);
}

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

.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), color var(--transition-fast), text-shadow var(--transition-fast);
}

.notice-bar a:hover {
    opacity: 0.88;
    text-shadow: 0 0 18px rgba(255, 204, 102, 0.35);
}

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

.breadcrumb-nav {
    background: linear-gradient(180deg, rgba(18, 18, 38, 0.96) 0%, rgba(13, 13, 24, 0.96) 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);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-accent-dark) !important;
    text-shadow: 0 0 16px rgba(255, 204, 102, 0.28);
}

.why-us-section {
    background: radial-gradient(900px 500px at 50% 0%, rgba(155, 92, 255, 0.10) 0%, rgba(155, 92, 255, 0) 55%), linear-gradient(180deg, var(--color-bg-soft) 0%, #0f0f1a 100%);
}

.whyus-card {
    background: rgba(255, 255, 255, 0.06);
    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), background var(--transition-base), border-color var(--transition-base);
    height: 100%;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.whyus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(155, 92, 255, 0.25), 0 16px 44px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 204, 102, 0.12) inset;
    border-color: rgba(255, 204, 102, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

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

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

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

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

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

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 24px 66px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(255, 204, 102, 0.10) inset;
}

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

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

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

.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: rgba(255, 255, 255, 0.06);
    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);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.30), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    text-shadow: 0 18px 40px rgba(255, 204, 102, 0.18);
}

.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 22px 60px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

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

.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(100px 100px at 35% 25%, rgba(255, 204, 102, 0.75) 0%, rgba(255, 204, 102, 0) 60%), 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(22, 7, 31, 0.98);
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10) inset, 0 26px 90px rgba(155, 92, 255, 0.35), 0 18px 46px rgba(0, 0, 0, 0.45);
}

.node {
    background: rgba(255, 255, 255, 0.06);
    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.94);
    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.10);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 90px rgba(155, 92, 255, 0.22), 0 22px 66px rgba(0, 0, 0, 0.42);
    border-color: rgba(255, 204, 102, 0.22);
}

.node-title {
    font-weight: 600;
    color: var(--color-accent);
    margin-block: var(--space-xs);
    text-shadow: 0 18px 44px rgba(255, 204, 102, 0.18);
}

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

.honor-section {
    background: radial-gradient(900px 500px at 50% 0%, rgba(255, 204, 102, 0.08) 0%, rgba(255, 204, 102, 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.06);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid #ffcc66;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 70px rgba(255, 204, 102, 0.16), 0 24px 66px rgba(0, 0, 0, 0.40);
    background: rgba(255, 255, 255, 0.10);
    border-inline-start-color: #f2a900;
}

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

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

.stats-section {
    background: radial-gradient(900px 500px at 50% 0%, rgba(155, 92, 255, 0.10) 0%, rgba(155, 92, 255, 0) 55%), #0f0f1a;
}

.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.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 90px rgba(155, 92, 255, 0.22), 0 24px 66px rgba(0, 0, 0, 0.42);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(155, 92, 255, 0.12) 45%, rgba(255, 204, 102, 0.10) 100%);
    border-color: rgba(255, 204, 102, 0.20);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: rgba(231, 231, 255, 0.96);
    text-shadow: 0 18px 50px rgba(155, 92, 255, 0.22);
}

.news-section {
    background: radial-gradient(900px 500px at 50% 0%, rgba(255, 204, 102, 0.08) 0%, rgba(255, 204, 102, 0) 55%), 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.05);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 90px rgba(155, 92, 255, 0.22), 0 24px 66px rgba(0, 0, 0, 0.42);
    border-color: rgba(155, 92, 255, 0.22);
}

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

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

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

.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.05);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 70px rgba(155, 92, 255, 0.20), 0 24px 66px rgba(0, 0, 0, 0.40);
    border-color: rgba(155, 92, 255, 0.45);
}

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

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

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: rgba(255, 204, 102, 0.95);
    text-shadow: 0 18px 50px rgba(255, 204, 102, 0.18);
}

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

.trust-card {
    background: rgba(255, 255, 255, 0.06);
    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.10);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.30);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 90px rgba(155, 92, 255, 0.22), 0 24px 66px rgba(0, 0, 0, 0.42);
    border-color: rgba(255, 204, 102, 0.20);
}

.partners-section {
    background: var(--color-bg-soft);
}

.partner-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.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 90px rgba(155, 92, 255, 0.20), 0 24px 66px rgba(0, 0, 0, 0.42);
    border-color: rgba(155, 92, 255, 0.22);
}

.testimonials-section {
    background: radial-gradient(900px 500px at 50% 0%, rgba(255, 204, 102, 0.08) 0%, rgba(255, 204, 102, 0) 55%), #0f0f1a;
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border-block-start: 4px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.testimonial-card:hover {
    border-block-start-color: #ffcc66;
    transform: translateY(-5px);
    box-shadow: 0 30px 90px rgba(255, 204, 102, 0.16), 0 24px 66px rgba(0, 0, 0, 0.42);
}

.cta-banner-section {
    background: var(--gradient-cta);
    color: rgba(255, 255, 255, 0.96);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 500px at 50% 0%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.44) 60%, rgba(0, 0, 0, 0.60) 100%);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 20px 55px rgba(255, 204, 102, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
}

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

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

.footer a{
    transition: color var(--transition-fast), text-shadow 0.55s cubic-bezier(.2,.8,.2,1), filter 0.55s cubic-bezier(.2,.8,.2,1);
    text-shadow: none;
}

.footer a:hover{
    color: var(--color-accent) !important;
    text-shadow: 0 0 22px rgba(231, 184, 71, 0.35), 0 0 2px rgba(231, 184, 71, 0.35) !important;
    filter: saturate(1.05);
}

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

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

.footer-beian a:hover{
    color: var(--color-accent) !important;
    text-decoration: underline !important;
    text-shadow: 0 0 18px rgba(168, 85, 247, 0.32), 0 1px 0 rgba(0,0,0,0.25);
}

.footer-beian img{
    margin-inline-end: 4px;
    transition: transform 0.48s cubic-bezier(.2,.8,.2,1), filter 0.48s cubic-bezier(.2,.8,.2,1), opacity 0.48s cubic-bezier(.2,.8,.2,1);
    opacity: 0.95;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
}

.footer-beian a:hover img{
    transform: scale(1.2) translateY(-1px);
    filter: drop-shadow(0 14px 26px rgba(0,0,0,0.45)) saturate(1.05);
    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: var(--color-primary);
    box-shadow:
        0 0 0 0.18rem rgba(168, 85, 247, 0.12),
        0 0 0 0.38rem rgba(231, 184, 71, 0.10),
        0 18px 45px rgba(0,0,0,0.35);
    filter: saturate(1.03);
    transition: border-color 0.52s cubic-bezier(.2,.8,.2,1), box-shadow 0.52s cubic-bezier(.2,.8,.2,1), filter 0.52s cubic-bezier(.2,.8,.2,1);
}

.btn-primary{
    background-color: var(--color-primary);
    border-color: rgba(255,255,255,0.12);
    border-style: solid;
    border-radius: 12px;
    box-shadow:
        0 10px 28px rgba(0,0,0,0.45),
        0 0 0 1px rgba(231, 184, 71, 0.25) inset,
        0 0 0 2px rgba(168, 85, 247, 0.18) inset;
    transition: transform 0.52s cubic-bezier(.2,.8,.2,1), background-color 0.52s cubic-bezier(.2,.8,.2,1), border-color 0.52s cubic-bezier(.2,.8,.2,1), box-shadow 0.52s cubic-bezier(.2,.8,.2,1), filter 0.52s cubic-bezier(.2,.8,.2,1);
}

.btn-primary:hover,
.btn-primary:focus{
    background-color: #5b2dd6;
    border-color: rgba(231, 184, 71, 0.55);
    box-shadow:
        0 14px 38px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.14) inset,
        0 0 0 2px rgba(231, 184, 71, 0.22) inset,
        0 0 34px rgba(168, 85, 247, 0.28);
    filter: saturate(1.08);
    transform: translateY(-1px);
}

.input-group-text{
    background-color: var(--color-bg-muted);
    border-color: rgba(255,255,255,0.14);
    border-style: solid;
    border-radius: 12px;
    box-shadow:
        0 10px 26px rgba(0,0,0,0.35),
        0 0 0 1px rgba(168, 85, 247, 0.14) inset;
    transition: background-color 0.5s cubic-bezier(.2,.8,.2,1), border-color 0.5s cubic-bezier(.2,.8,.2,1), box-shadow 0.5s cubic-bezier(.2,.8,.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;
        scroll-behavior: auto !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%;
    }
}