:root {
    --color-primary: #c44536;
    --color-primary-dark: #6b1712;
    --color-primary-darker: #2a0c0a;
    --color-accent: #6b705c;
    --color-accent-dark: #4d5446;
    --color-success: #2f6f3c;
    --color-danger: #9f1e1e;

    --color-text: #1a1a1a;
    --color-text-muted: #4a4a4a;
    --color-text-light: #6d6d6d;
    --color-bg: #f5f1e8;
    --color-bg-soft: #fbf8f1;
    --color-bg-muted: #f1ece0;
    --color-border: rgba(26, 26, 26, 0.14);
    --color-border-soft: rgba(26, 26, 26, 0.10);

    --gradient-hero: linear-gradient(135deg, #2a0c0a 0%, #6b1712 35%, #c44536 70%, #f0c7b8 100%);
    --gradient-deep: linear-gradient(135deg, #1a1a1a 0%, #2a0c0a 45%, #6b1712 100%);
    --gradient-dept: linear-gradient(135deg, #3a2f24 0%, #6b705c 50%, #c44536 100%);
    --gradient-security: linear-gradient(135deg, #2a0c0a 0%, #6b1712 40%, #1a1a1a 100%);
    --gradient-mission: linear-gradient(135deg, #6b1712 0%, #2a0c0a 45%, #6b705c 100%);
    --gradient-trust: linear-gradient(135deg, #1a1a1a 0%, #2f2a24 45%, #6b705c 100%);
    --gradient-cta: linear-gradient(135deg, #6b1712 0%, #c44536 45%, #6b705c 100%);
    --gradient-accent: linear-gradient(135deg, #c44536 0%, #8a2a23 28%, #6b705c 100%);
    --gradient-icon: linear-gradient(135deg, #c44536 0%, #6b705c 100%);

    --glass-bg: rgba(255, 255, 255, 0.10);
    --glass-border: rgba(245, 241, 232, 0.22);
    --glass-blur: blur(12px);

    --shadow-sm:
        0 1px 0 rgba(26, 26, 26, 0.06),
        0 8px 18px rgba(26, 26, 26, 0.08);
    --shadow-md:
        0 2px 0 rgba(26, 26, 26, 0.05),
        0 14px 26px rgba(26, 26, 26, 0.12),
        0 2px 8px rgba(196, 69, 54, 0.10);
    --shadow-lg:
        0 2px 0 rgba(26, 26, 26, 0.05),
        0 22px 44px rgba(26, 26, 26, 0.14),
        0 8px 18px rgba(107, 112, 92, 0.16);
    --shadow-xl:
        0 3px 0 rgba(26, 26, 26, 0.06),
        0 34px 70px rgba(26, 26, 26, 0.18),
        0 10px 24px rgba(196, 69, 54, 0.16);

    --shadow-primary:
        0 2px 0 rgba(26, 26, 26, 0.05),
        0 18px 36px rgba(196, 69, 54, 0.18),
        0 10px 20px rgba(26, 26, 26, 0.10);
    --shadow-accent:
        0 2px 0 rgba(26, 26, 26, 0.05),
        0 14px 30px rgba(107, 112, 92, 0.20),
        0 10px 22px rgba(196, 69, 54, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 34px;

    --space-xs: 0.55rem;
    --space-sm: 1.05rem;
    --space-md: 1.65rem;
    --space-lg: 2.4rem;
    --space-xl: 3.4rem;
    --space-2xl: 6rem;

    --transition-fast: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-base: 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 0.7s 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;
}

: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 1px 0 rgba(255, 255, 255, 0.14),
        0 18px 46px rgba(26, 26, 26, 0.10);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f9f4ea;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow:
        0 2px 0 rgba(26, 26, 26, 0.10),
        0 18px 32px rgba(196, 69, 54, 0.18);
}

.header {
    background: #fbf8f1;
    z-index: 1030;
    border-bottom: 1px solid rgba(26, 26, 26, 0.10);
}

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

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

.header .nav-link {
    font-weight: 500;
    color: rgba(26, 26, 26, 0.88);
    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: var(--gradient-hero);
    color: #f9f4ea;
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -120px 180px rgba(0, 0, 0, 0.18);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 18% 15%, rgba(245, 241, 232, 0.18), rgba(0, 0, 0, 0) 60%),
        radial-gradient(700px 460px at 78% 35%, rgba(196, 69, 54, 0.22), rgba(0, 0, 0, 0) 58%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.22) 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(26, 26, 26, 0.15),
        0 18px 34px rgba(0, 0, 0, 0.18);
}

.hero-section h2 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.95;
    margin-bottom: var(--space-md);

    font-weight: 500;
    color: rgba(249, 244, 234, 0.92);
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.98;
    color: rgba(249, 244, 234, 0.92);
}

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

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

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

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

.breadcrumb-nav {
    background:
        linear-gradient(180deg, rgba(251, 248, 241, 0.95) 0%, rgba(241, 236, 224, 0.95) 100%);
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

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

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

.why-us-section {
    background:
        radial-gradient(900px 420px at 10% 5%, rgba(196, 69, 54, 0.10), rgba(0, 0, 0, 0) 55%),
        linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
}

.whyus-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
    border: 1px solid rgba(26, 26, 26, 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 1px 0 rgba(255, 255, 255, 0.45),
        0 18px 46px rgba(26, 26, 26, 0.08);
}

.whyus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(196, 69, 54, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 100%);
}

.about-section {
    background:
        radial-gradient(900px 420px at 20% 10%, rgba(245, 241, 232, 0.12), rgba(0, 0, 0, 0) 55%),
        var(--gradient-deep);
    color: #f9f4ea;
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.14),
        0 28px 68px rgba(0, 0, 0, 0.22);
}

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

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

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

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(245, 241, 232, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.10),
        0 26px 60px rgba(0, 0, 0, 0.22);
}

.text-white-75 {
    color: rgba(249, 244, 234, 0.75) !important;
}

.departments-section {
    background:
        radial-gradient(900px 520px at 12% 20%, rgba(245, 241, 232, 0.14), rgba(0, 0, 0, 0) 60%),
        var(--gradient-dept);
    color: #f9f4ea;
}

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

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(249, 244, 234, 0.86);
    text-shadow: 0 10px 26px rgba(0, 0, 0, 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;
    }
}

.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);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12),
        0 22px 48px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(245, 241, 232, 0.20);
}

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

.d-num span {
    color: #f9f4ea;
    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 1px 0 rgba(255, 255, 255, 0.12),
        0 24px 56px rgba(0, 0, 0, 0.22);
}

.security-section {
    background:
        radial-gradient(1000px 520px at 80% 20%, rgba(107, 112, 92, 0.22), rgba(0, 0, 0, 0) 60%),
        var(--gradient-security);
    color: #fff;
}

.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 30% 30%, rgba(245, 241, 232, 0.35), rgba(0, 0, 0, 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(26, 26, 26, 0.92);
    font-weight: 700;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.14),
        0 0 0 8px rgba(245, 241, 232, 0.06),
        0 0 38px rgba(196, 69, 54, 0.32),
        0 22px 56px rgba(0, 0, 0, 0.26);
}

.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(245, 241, 232, 0.20);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.10),
        0 18px 46px rgba(0, 0, 0, 0.18);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(245, 241, 232, 0.12);
    box-shadow: var(--shadow-md);
    border-color: rgba(196, 69, 54, 0.28);
}

.node-title {
    font-weight: 600;
    color: var(--color-accent);
    margin-block: var(--space-xs);
    text-shadow: 0 14px 30px rgba(0, 0, 0, 0.20);
}

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

.honor-section {
    background:
        linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
}

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

.honor-text-card {
    padding: var(--space-md);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid var(--color-primary);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.42),
        0 16px 40px rgba(26, 26, 26, 0.09);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(196, 69, 54, 0.55);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 100%);
}

.mission-section {
    background:
        radial-gradient(900px 520px at 15% 20%, rgba(245, 241, 232, 0.12), rgba(0, 0, 0, 0) 60%),
        var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: #fff;
}

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

.stats-section {
    background:
        radial-gradient(880px 420px at 30% 10%, rgba(107, 112, 92, 0.10), rgba(0, 0, 0, 0) 60%),
        #fff;
}

.stats-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    background:
        linear-gradient(180deg, var(--color-bg-soft) 0%, #fff 100%);
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: var(--radius-md);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.42),
        0 16px 40px rgba(26, 26, 26, 0.08);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background:
        linear-gradient(135deg, #ffffff 0%, rgba(240, 247, 255, 0.92) 40%, rgba(245, 241, 232, 1) 100%);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: #2a0c0a;
    text-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

.news-section {
    background:
        linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 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 var(--color-border-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.45),
        0 16px 40px rgba(26, 26, 26, 0.07);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196, 69, 54, 0.26);
    background: rgba(255, 255, 255, 0.95);
}

.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::after{
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 260px at 20% 10%, rgba(245, 241, 232, 0.20), rgba(0, 0, 0, 0) 55%),
        linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.22) 100%);
    pointer-events: none;
    z-index: 1;
}

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

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

.matches-section {
    background:
        linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 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 var(--color-border-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.45),
        0 16px 40px rgba(26, 26, 26, 0.07);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(196, 69, 54, 0.55);
    background: rgba(255, 255, 255, 0.96);
}

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

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

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: #2a0c0a;
    text-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

.trust-section {
    background:
        radial-gradient(900px 520px at 70% 20%, rgba(196, 69, 54, 0.22), rgba(0, 0, 0, 0) 60%),
        var(--gradient-trust);
    color: #fff;
}

.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(245, 241, 232, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12),
        0 26px 66px rgba(0, 0, 0, 0.20);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(245, 241, 232, 0.12);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196, 69, 54, 0.28);
}

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

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

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    background: rgba(255, 255, 255, 0.95);
}

.testimonials-section {
    background:
        radial-gradient(900px 420px at 20% 5%, rgba(196, 69, 54, 0.10), rgba(0, 0, 0, 0) 60%),
        #fff;
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border-block-start: 4px solid transparent;
    border-radius: var(--radius-md);
}

.testimonial-card:hover {
    border-block-start-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cta-banner-section {
    background:
        radial-gradient(900px 520px at 20% 10%, rgba(245, 241, 232, 0.12), rgba(0, 0, 0, 0) 60%),
        var(--gradient-cta);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -120px 220px rgba(0, 0, 0, 0.20);
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.28) 100%),
        radial-gradient(700px 260px at 80% 25%, rgba(196, 69, 54, 0.18), rgba(0, 0, 0, 0) 58%);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.12),
        0 16px 34px rgba(107, 112, 92, 0.22),
        0 10px 22px rgba(196, 69, 54, 0.16);
}

.text-white-75 {
    color: rgba(249, 244, 234, 0.86) !important;
}

.footer {
    font-size: 0.9rem;
    color: rgba(26, 26, 26, 0.62);
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.footer a {
    transition: color var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1), text-shadow var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1), filter var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--color-ink);
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.footer a:hover {
    color: var(--color-accent-deep) !important;
    text-shadow: 0 2px 18px rgba(196, 69, 54, 0.28), 0 1px 0 rgba(255, 255, 255, 0.55);
    filter: saturate(1.05);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--color-ink);
}

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.9;
    color: rgba(26, 26, 26, 0.86);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.footer-beian a:hover {
    color: var(--color-accent-deep) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-shadow: 0 2px 14px rgba(196, 69, 54, 0.22);
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1), filter var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 7px;
    filter: drop-shadow(0 8px 18px rgba(26, 26, 26, 0.12));
}

.footer-beian a:hover img {
    transform: scale(1.18) rotate(-1.5deg);
    filter: drop-shadow(0 12px 24px rgba(196, 69, 54, 0.20));
}

.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(196, 69, 54, 0.85);
    box-shadow:
        0 0 0 3px rgba(196, 69, 54, 0.12),
        0 10px 30px rgba(26, 26, 26, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    outline: 1px solid rgba(196, 69, 54, 0.18);
    outline-offset: 2px;
    transition: box-shadow var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1), border-color var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1), outline-color var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
    background-color: #c44536;
    border-color: rgba(196, 69, 54, 0.92);
    box-shadow:
        0 12px 28px rgba(196, 69, 54, 0.20),
        0 2px 0 rgba(255, 255, 255, 0.35) inset,
        0 -10px 24px rgba(26, 26, 26, 0.08) inset;
    color: #f7f1e6;
    transition: background-color var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1), border-color var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1), box-shadow var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1), transform var(--transition-soft) cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 12px;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #b13b2f;
    border-color: rgba(177, 59, 47, 0.95);
    box-shadow:
        0 18px 40px rgba(196, 69, 54, 0.26),
        0 0 0 4px rgba(196, 69, 54, 0.12),
        0 2px 0 rgba(255, 255, 255, 0.32) inset;
    transform: translateY(-1px);
}

.input-group-text {
    background-color: #f5f1e8;
    border-color: rgba(26, 26, 26, 0.12);
    color: rgba(26, 26, 26, 0.86);
    box-shadow:
        0 10px 26px rgba(26, 26, 26, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    transition: background-color var(--transition-fast) cubic-bezier(0.22, 1, 0.36, 1), border-color var(--transition-fast) cubic-bezier(0.22, 1, 0.36, 1), box-shadow var(--transition-fast) cubic-bezier(0.22, 1, 0.36, 1);
}

.input-group-text:focus-within {
    border-color: rgba(196, 69, 54, 0.35);
    box-shadow:
        0 0 0 3px rgba(196, 69, 54, 0.10),
        0 14px 30px rgba(26, 26, 26, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

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

/* Palette + effects tokens (visual only; safe for existing layout) */
:root{
    --color-bg-muted: #f5f1e8;
    --color-border: rgba(26, 26, 26, 0.14);
    --color-ink: #1a1a1a;
    --color-primary: #c44536;
    --color-accent: #c44536;
    --color-accent-deep: #c44536;

    --transition-fast: 220ms;
    --transition-soft: 520ms;

    --shadow-1: 0 14px 35px rgba(26, 26, 26, 0.10), 0 2px 0 rgba(255,255,255,0.5) inset;
    --shadow-2: 0 18px 44px rgba(196, 69, 54, 0.22), 0 0 0 4px rgba(196, 69, 54, 0.12);
    --shadow-3: 0 10px 26px rgba(26, 26, 26, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}