:root {
    --color-primary: #6d28d9;
    --color-primary-dark: #3b0764;
    --color-primary-darker: #16031f;
    --color-accent: #22c55e;
    --color-accent-dark: #16a34a;
    --color-success: #10b981;
    --color-danger: #f43f5e;

    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-text-light: #9ca3af;
    --color-bg: #fbfbff;
    --color-bg-soft: #f6f7ff;
    --color-bg-muted: #eef2ff;
    --color-border: #e6e8ff;
    --color-border-soft: #f0f2ff;

    --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #6d28d9 55%, #22c55e 100%);
    --gradient-deep: linear-gradient(135deg, #0b1220 0%, #2b1055 55%, #111827 100%);
    --gradient-dept: linear-gradient(135deg, #7c3aed 0%, #4f46e5 55%, #0ea5e9 100%);
    --gradient-security: linear-gradient(135deg, #0b1220 0%, #1f2937 55%, #0f172a 100%);
    --gradient-mission: linear-gradient(135deg, #22c55e 0%, #7c3aed 55%, #0ea5e9 100%);
    --gradient-trust: linear-gradient(135deg, #111827 0%, #0ea5e9 60%, #22c55e 100%);
    --gradient-cta: linear-gradient(135deg, #10b981 0%, #6d28d9 55%, #0ea5e9 100%);
    --gradient-accent: linear-gradient(135deg, #22c55e 0%, #10b981 40%, #0ea5e9 100%);
    --gradient-icon: linear-gradient(135deg, #0ea5e9 0%, #6d28d9 55%, #22c55e 100%);

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

    --shadow-sm: 0 6px 14px rgba(2, 6, 23, 0.06), 0 2px 6px rgba(2, 6, 23, 0.03);
    --shadow-md: 0 10px 26px rgba(2, 6, 23, 0.10), 0 2px 10px rgba(2, 6, 23, 0.05);
    --shadow-lg: 0 16px 46px rgba(2, 6, 23, 0.14), 0 6px 18px rgba(2, 6, 23, 0.08);
    --shadow-xl: 0 24px 70px rgba(2, 6, 23, 0.18), 0 10px 28px rgba(2, 6, 23, 0.10);
    --shadow-primary: 0 14px 38px rgba(109, 40, 217, 0.22), 0 6px 16px rgba(14, 165, 233, 0.14);
    --shadow-accent: 0 14px 38px rgba(34, 197, 94, 0.22), 0 6px 16px rgba(16, 185, 129, 0.14);

    --radius-sm: 7px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --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: 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-base: 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

:where(body) {
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

: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 60px rgba(2, 6, 23, 0.14), 0 2px 8px rgba(2, 6, 23, 0.05);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 18px;
    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 18px 40px rgba(109, 40, 217, 0.20), 0 10px 22px rgba(14, 165, 233, 0.12);
}

.header {
    background: rgba(255, 255, 255, 0.92);
    z-index: 1030;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06), 0 2px 8px rgba(2, 6, 23, 0.04);
    border-bottom: 1px solid rgba(238, 242, 255, 0.9);
}

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

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

.header .nav-link {
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color var(--transition-fast), text-shadow var(--transition-fast), transform var(--transition-fast);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.header .nav-link:hover {
    color: var(--color-primary);
    text-shadow: 0 10px 26px rgba(109, 40, 217, 0.22);
    transform: translateY(-1px);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 600px at 20% 10%, rgba(255, 255, 255, 0.18) 0%, rgba(0, 0, 0, 0) 55%), rgba(2, 6, 23, 0.28);
    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;
    text-shadow: 0 10px 30px rgba(2, 6, 23, 0.30), 0 2px 8px rgba(2, 6, 23, 0.22);
}

.hero-section h2 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.95;
    margin-bottom: var(--space-md);
    font-weight: 600;
    text-shadow: 0 10px 30px rgba(2, 6, 23, 0.22);
}

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

.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(0.2, 0.8, 0.2, 1);
}

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

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

@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(90deg, rgba(238, 242, 255, 1) 0%, rgba(246, 247, 255, 1) 55%, rgba(236, 253, 245, 1) 100%);
    border-bottom: 1px solid rgba(230, 232, 255, 0.9);
}

.breadcrumb-nav .breadcrumb-item a {
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-shadow: 0 14px 34px rgba(59, 7, 100, 0.22);
}

.why-us-section {
    background: linear-gradient(180deg, var(--color-bg-soft) 0%, rgba(238, 242, 255, 0.75) 60%, rgba(236, 253, 245, 0.55) 100%);
}

.whyus-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(240, 242, 255, 0.95);
    border-radius: 24px;
    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 30px rgba(2, 6, 23, 0.05), 0 2px 8px rgba(2, 6, 23, 0.03);
}

.whyus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(109, 40, 217, 0.16), 0 10px 26px rgba(14, 165, 233, 0.10);
    border-color: rgba(109, 40, 217, 0.25);
    background: rgba(255, 255, 255, 0.94);
}

.about-section {
    background: var(--gradient-deep);
    color: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

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

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

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

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

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.20), 0 10px 26px rgba(2, 6, 23, 0.10);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.78) !important;
    text-shadow: 0 10px 26px rgba(2, 6, 23, 0.18);
}

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

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

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 14px 44px rgba(2, 6, 23, 0.18);
}

.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;
        gap: calc(var(--space-lg) * 0.85);
    }
}

.d-item {
    background: rgba(255, 255, 255, 0.08);
    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(255, 255, 255, 0.16);
    box-shadow: 0 16px 46px rgba(2, 6, 23, 0.18), 0 2px 10px rgba(2, 6, 23, 0.08);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 850;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    text-shadow: 0 18px 40px rgba(34, 197, 94, 0.28);
}

.d-num span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
    margin-inline-start: var(--space-xs);
    text-shadow: 0 14px 34px rgba(2, 6, 23, 0.20);
}

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

.d-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.22);
}

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

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

@media (min-width: 768px) {
    .security-network {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, auto);
        gap: calc(var(--space-md) * 0.9);
    }

    .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: var(--gradient-accent);
    border-radius: 999px;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: rgba(22, 3, 31, 0.92);
    font-weight: 900;
    box-shadow: 0 26px 70px rgba(34, 197, 94, 0.28), 0 14px 34px rgba(14, 165, 233, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.node {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: var(--space-sm);
    text-align: center;
    color: rgba(255, 255, 255, 0.96);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base), filter var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.16), 0 2px 10px rgba(2, 6, 23, 0.06);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(34, 197, 94, 0.30);
    box-shadow: 0 26px 80px rgba(34, 197, 94, 0.18), 0 14px 34px rgba(109, 40, 217, 0.12);
    filter: saturate(1.05);
}

.node-title {
    font-weight: 750;
    color: var(--color-accent);
    margin-block: var(--space-xs);
    text-shadow: 0 18px 40px rgba(34, 197, 94, 0.28);
}

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

.honor-section {
    background: linear-gradient(180deg, var(--color-bg-soft) 0%, rgba(238, 242, 255, 0.9) 60%, rgba(255, 255, 255, 0.75) 100%);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.88);
    border-radius: 16px;
    border-inline-start: 4px solid rgba(14, 165, 233, 0.95);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 1px solid rgba(230, 232, 255, 0.95);
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.06), 0 2px 10px rgba(2, 6, 23, 0.04);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.16), 0 10px 26px rgba(109, 40, 217, 0.10);
    border-color: rgba(109, 40, 217, 0.55);
    background: rgba(255, 255, 255, 0.94);
}

.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(226, 232, 240, 0.95);
    text-shadow: 0 14px 38px rgba(2, 6, 23, 0.20);
}

.stats-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(246, 247, 255, 0.92) 100%);
}

.stats-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    background: rgba(246, 247, 255, 0.92);
    border-radius: 18px;
    border: 1px solid rgba(230, 232, 255, 0.95);
    box-shadow: 0 12px 36px rgba(2, 6, 23, 0.06), 0 2px 10px rgba(2, 6, 23, 0.03);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 80px rgba(14, 165, 233, 0.14), 0 14px 34px rgba(109, 40, 217, 0.10);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 247, 255, 0.98) 55%, rgba(236, 253, 245, 0.70) 100%);
    border-color: rgba(14, 165, 233, 0.26);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: rgba(59, 7, 100, 0.92);
    text-shadow: 0 16px 46px rgba(109, 40, 217, 0.18);
}

.news-section {
    background: linear-gradient(180deg, var(--color-bg-soft) 0%, rgba(239, 246, 255, 0.92) 100%);
}

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(240, 242, 255, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.05), 0 2px 10px rgba(2, 6, 23, 0.03);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 88px rgba(109, 40, 217, 0.16), 0 14px 34px rgba(14, 165, 233, 0.10);
    border-color: rgba(109, 40, 217, 0.28);
    background: rgba(255, 255, 255, 0.94);
}

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

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

.matches-section {
    background: linear-gradient(180deg, rgba(246, 247, 255, 1) 0%, rgba(255, 255, 255, 0.9) 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(240, 242, 255, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 36px rgba(2, 6, 23, 0.05), 0 2px 10px rgba(2, 6, 23, 0.03);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 66px rgba(109, 40, 217, 0.14), 0 14px 34px rgba(14, 165, 233, 0.10);
    border-color: rgba(109, 40, 217, 0.42);
    background: rgba(255, 255, 255, 0.95);
}

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

.match-card .team .small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: rgba(22, 3, 31, 0.92);
    text-shadow: 0 18px 50px rgba(109, 40, 217, 0.20);
}

.trust-section {
    background: var(--gradient-trust);
    color: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trust-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 18px;
    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.16);
    box-shadow: 0 20px 70px rgba(2, 6, 23, 0.20), 0 2px 10px rgba(2, 6, 23, 0.06);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 110px rgba(14, 165, 233, 0.16), 0 18px 60px rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
}

.partners-section {
    background: linear-gradient(180deg, var(--color-bg-soft) 0%, rgba(238, 242, 255, 0.85) 100%);
}

.partner-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    border-radius: 18px;
    border: 1px solid rgba(240, 242, 255, 0.95);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.05), 0 2px 10px rgba(2, 6, 23, 0.03);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 80px rgba(34, 197, 94, 0.14), 0 14px 34px rgba(109, 40, 217, 0.10);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(34, 197, 94, 0.25);
}

.testimonials-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(246, 247, 255, 0.9) 100%);
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), border-block-start-color var(--transition-base);
    border-block-start: 4px solid transparent;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(2, 6, 23, 0.05), 0 2px 10px rgba(2, 6, 23, 0.03);
    border: 1px solid rgba(240, 242, 255, 0.95);
    background: rgba(255, 255, 255, 0.88);
}

.testimonial-card:hover {
    border-block-start-color: rgba(34, 197, 94, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 26px 80px rgba(34, 197, 94, 0.14), 0 14px 34px rgba(14, 165, 233, 0.10);
    border-color: rgba(34, 197, 94, 0.24);
    background: rgba(255, 255, 255, 0.95);
}

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

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 260px at 15% 20%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 58%), rgba(2, 6, 23, 0.26);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 18px 60px rgba(34, 197, 94, 0.18), 0 10px 26px rgba(109, 40, 217, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.84) !important;
    text-shadow: 0 18px 60px rgba(2, 6, 23, 0.18);
}

.footer {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.96);
    text-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
}

.footer a {
    transition: color 420ms cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--color-text, #0f172a);
}

.footer a:hover {
    color: var(--color-accent-2, #a78bfa) !important;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.9);
}

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.9;
    color: rgba(15, 23, 42, 0.85);
}

.footer-beian a:hover {
    color: var(--color-accent-2, #a78bfa) !important;
    text-decoration: underline !important;
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    filter: drop-shadow(0 6px 14px rgba(99, 102, 241, 0.18));
}

.footer-beian a:hover img {
    transform: scale(1.2) rotate(-1deg);
    filter: drop-shadow(0 10px 18px rgba(99, 102, 241, 0.26));
}

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

/* Accent + focus */
.footer a:focus-visible,
.footer-beian a:focus-visible {
    outline: 2px solid rgba(167, 139, 250, 0.65);
    outline-offset: 3px;
    border-radius: 10px;
}

/* Soft corner glow blocks (visual-only; layout unchanged) */
.form-control:focus,
.form-select:focus {
    border-color: rgba(167, 139, 250, 0.95);
    box-shadow:
        0 4px 10px rgba(99, 102, 241, 0.10),
        0 20px 50px -14px rgba(99, 102, 241, 0.22),
        0 0 0 0.2rem rgba(167, 139, 250, 0.16);
    outline: 1px solid rgba(167, 139, 250, 0.35);
    outline-offset: 2px;
}

.btn-primary {
    background-color: linear-gradient(135deg, #6d28d9 0%, #4f46e5 55%, #2563eb 100%);
    border-color: rgba(99, 102, 241, 0.55);
    border-style: solid;
    border-radius: 16px;
    box-shadow:
        0 8px 18px rgba(79, 70, 229, 0.18),
        0 28px 60px -22px rgba(37, 99, 235, 0.28);
    transition:
        background-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
        color 420ms cubic-bezier(0.22, 1, 0.36, 1);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: linear-gradient(135deg, #5b21b6 0%, #4338ca 55%, #1d4ed8 100%);
    border-color: rgba(167, 139, 250, 0.9);
    box-shadow:
        0 10px 22px rgba(99, 102, 241, 0.22),
        0 34px 78px -26px rgba(37, 99, 235, 0.32);
    transform: translateY(-1px);
}

.input-group-text {
    background-color: radial-gradient(120% 120% at 20% 20%, rgba(167, 139, 250, 0.16) 0%, rgba(148, 163, 184, 0.12) 40%, rgba(15, 23, 42, 0.04) 100%);
    border-color: rgba(148, 163, 184, 0.35);
    border-style: solid;
    border-radius: 14px;
    box-shadow:
        0 4px 10px rgba(2, 6, 23, 0.06),
        0 18px 44px -18px rgba(79, 70, 229, 0.18);
    color: rgba(15, 23, 42, 0.9);
    transition: background-color 420ms cubic-bezier(0.22, 1, 0.36, 1), border-color 420ms cubic-bezier(0.22, 1, 0.36, 1);
    caret-color: #a78bfa;
    accent-color: #a78bfa;
}

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

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