:root {
    --color-primary: #3f7f6b;
    --color-primary-dark: #1f3f35;
    --color-primary-darker: #162d25;
    --color-accent: #c47b5a;
    --color-accent-dark: #a96241;
    --color-success: #2f855a;
    --color-danger: #c53030;

    --color-text: #2a2a2a;
    --color-text-muted: #4f5b57;
    --color-text-light: #6f7b76;
    --color-bg: #faf8f3;
    --color-bg-soft: #f6f2ea;
    --color-bg-muted: #f1eee4;
    --color-border: #e7e1d7;
    --color-border-soft: #efe9df;

    --gradient-hero: linear-gradient(140deg, #c47b5a 0%, #87a878 48%, #3f7f6b 100%);
    --gradient-deep: linear-gradient(140deg, #1b2a24 0%, #2a2a2a 100%);
    --gradient-dept: linear-gradient(135deg, #2c6757 0%, #6a8b67 55%, #c47b5a 100%);
    --gradient-security: linear-gradient(135deg, #24312c, #0f1a17);
    --gradient-mission: linear-gradient(135deg, #c47b5a 0%, #3f7f6b 55%, #2f7c6b 100%);
    --gradient-trust: linear-gradient(135deg, #0f1a17 0%, #2c3a34 55%, #2a2a2a 100%);
    --gradient-cta: linear-gradient(135deg, #87a878 0%, #c47b5a 55%, #3f7f6b 100%);
    --gradient-accent: linear-gradient(135deg, #87a878 0%, #c47b5a 55%, #a96241 100%);
    --gradient-icon: linear-gradient(135deg, #87a878 0%, #3f7f6b 55%, #c47b5a 100%);

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

    --shadow-sm: 0 2px 10px rgba(28, 28, 28, 0.06);
    --shadow-md: 0 10px 26px rgba(22, 45, 37, 0.12), 0 2px 6px rgba(28, 28, 28, 0.06);
    --shadow-lg: 0 18px 46px rgba(22, 45, 37, 0.16), 0 5px 14px rgba(28, 28, 28, 0.08);
    --shadow-xl: 0 26px 70px rgba(15, 26, 23, 0.20), 0 10px 26px rgba(28, 28, 28, 0.10);
    --shadow-primary: 0 16px 40px rgba(135, 168, 120, 0.22), 0 6px 16px rgba(28, 28, 28, 0.08);
    --shadow-accent: 0 16px 38px rgba(196, 123, 90, 0.24), 0 6px 18px rgba(28, 28, 28, 0.08);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --space-xs: 0.55rem;
    --space-sm: 1.05rem;
    --space-md: 1.6rem;
    --space-lg: 2.25rem;
    --space-xl: 3.25rem;
    --space-2xl: 5.25rem;

    --transition-fast: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-base: 0.48s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 0.62s cubic-bezier(0.16, 0.84, 0.24, 1);
}

:where(body) {
    color: var(--color-text);
    background: radial-gradient(1200px 600px at 50% -10%, rgba(135, 168, 120, 0.20) 0%, rgba(250, 248, 243, 1) 55%), var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    caret-color: var(--color-primary);
    accent-color: var(--color-primary);
}

:where(img) {
    max-width: 100%;
    height: auto;
    filter: saturate(1.02) contrast(1.02);
}

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

.icon-circle {
    width: 60px;
    height: 60px;
    background: radial-gradient(70% 70% at 35% 30%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.06) 40%, rgba(0, 0, 0, 0) 70%), var(--gradient-icon);
    border-radius: 50%;
    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(63, 127, 107, 0.18), 0 10px 22px rgba(196, 123, 90, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.header {
    background: rgba(250, 248, 243, 0.96);
    z-index: 1030;
    box-shadow: 0 10px 28px rgba(15, 26, 23, 0.10), 0 1px 0 rgba(255, 255, 255, 0.65);
    border-bottom: 1px solid rgba(231, 225, 215, 0.9);
}

.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);
    filter: saturate(1.08) contrast(1.05);
}

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

.header .nav-link:hover {
    color: var(--color-primary-dark);
    text-shadow: 0 10px 20px rgba(31, 63, 53, 0.18);
}

.hero-section {
    min-height: 480px;
    background: linear-gradient(140deg, rgba(250, 248, 243, 0.06) 0%, rgba(250, 248, 243, 0) 30%), var(--gradient-hero);
    color: #fff;
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 18% 10%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(700px 360px at 82% 32%, rgba(196, 123, 90, 0.22) 0%, rgba(196, 123, 90, 0) 58%),
        rgba(0, 0, 0, 0.12);
    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 40px rgba(0, 0, 0, 0.28), 0 4px 10px rgba(0, 0, 0, 0.14);
}

.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 26px rgba(0, 0, 0, 0.20);
}

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

.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, 0.84, 0.24, 1);
}

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

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

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

.breadcrumb-nav {
    background: linear-gradient(180deg, var(--color-bg-muted) 0%, var(--color-bg-soft) 100%);
    border-bottom: 1px solid rgba(231, 225, 215, 0.9);
}

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

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-shadow: 0 10px 22px rgba(31, 63, 53, 0.14);
}

.why-us-section {
    background:
        radial-gradient(900px 420px at 20% 0%, rgba(135, 168, 120, 0.18) 0%, rgba(246, 242, 234, 0) 55%),
        var(--color-bg-soft);
}

.whyus-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 100%);
    border: 1px solid rgba(239, 233, 223, 0.95);
    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 26px rgba(22, 45, 37, 0.10), 0 2px 6px rgba(28, 28, 28, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.whyus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(135, 168, 120, 0.22), 0 8px 22px rgba(28, 28, 28, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: rgba(135, 168, 120, 0.35);
}

.about-section {
    background: linear-gradient(180deg, rgba(250, 248, 243, 0.06) 0%, rgba(250, 248, 243, 0) 30%), var(--gradient-deep);
    color: #fff;
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.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.06);
    filter: saturate(1.12) contrast(1.08);
}

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

.about-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

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

.departments-section {
    background:
        radial-gradient(900px 420px at 10% 20%, rgba(135, 168, 120, 0.22) 0%, rgba(0,0,0,0) 55%),
        var(--gradient-dept);
    color: #fff;
}

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

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

.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: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    text-shadow: 0 14px 30px rgba(196, 123, 90, 0.22);
}

.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: calc(var(--radius-md) - 2px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.security-section {
    background: linear-gradient(180deg, rgba(250, 248, 243, 0.06) 0%, rgba(0,0,0,0) 35%), 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(60% 60% at 35% 30%, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.08) 40%, 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(22, 45, 37, 0.96);
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 70px rgba(196, 123, 90, 0.22), 0 14px 34px rgba(135, 168, 120, 0.18);
    text-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.node {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 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(255, 255, 255, 0.14);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.node:hover {
    transform: scale(1.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.node-title {
    font-weight: 600;
    color: #e7d0c1;
    margin-block: var(--space-xs);
    text-shadow: 0 16px 30px rgba(0,0,0,0.22);
}

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

.honor-section {
    background:
        radial-gradient(900px 420px at 18% 0%, rgba(196, 123, 90, 0.15) 0%, rgba(246, 242, 234, 0) 58%),
        var(--color-bg-soft);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid rgba(135, 168, 120, 0.95);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(239, 233, 223, 0.9);
    box-shadow: 0 12px 30px rgba(22, 45, 37, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.honor-text-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 60px rgba(196, 123, 90, 0.20), 0 10px 26px rgba(22, 45, 37, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-inline-start-color: rgba(196, 123, 90, 0.95);
}

.mission-section {
    background:
        radial-gradient(900px 420px at 20% 10%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 55%),
        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 10px 22px rgba(0, 0, 0, 0.18);
}

.stats-section {
    background:
        linear-gradient(180deg, rgba(250, 248, 243, 0.0) 0%, rgba(246, 242, 234, 1) 100%),
        var(--color-bg-soft);
}

.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, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%);
    border: 1px solid rgba(239, 233, 223, 0.95);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(22, 45, 37, 0.10), 0 2px 6px rgba(28, 28, 28, 0.05);
}

.stats-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(135, 168, 120, 0.22), 0 10px 26px rgba(28, 28, 28, 0.08);
    background:
        radial-gradient(700px 260px at 25% 0%, rgba(135, 168, 120, 0.18) 0%, rgba(255,255,255,0) 55%),
        linear-gradient(135deg, #ffffff 0%, #f1f7f3 100%);
    border-color: rgba(135, 168, 120, 0.30);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-dark);
    text-shadow: 0 12px 26px rgba(31, 63, 53, 0.12);
}

.news-section {
    background:
        radial-gradient(950px 420px at 80% 0%, rgba(135, 168, 120, 0.16) 0%, rgba(246, 242, 234, 0) 55%),
        var(--color-bg-soft);
}

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 1px solid rgba(239, 233, 223, 0.95);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 100%);
    box-shadow: 0 12px 30px rgba(22, 45, 37, 0.08), 0 2px 6px rgba(28, 28, 28, 0.05);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196, 123, 90, 0.35);
}

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

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

.matches-section {
    background:
        radial-gradient(900px 420px at 18% 0%, rgba(196, 123, 90, 0.15) 0%, rgba(246, 242, 234, 0) 60%),
        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 rgba(239, 233, 223, 0.95);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 100%);
    box-shadow: 0 12px 30px rgba(22, 45, 37, 0.08), 0 2px 6px rgba(28, 28, 28, 0.05);
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(63, 127, 107, 0.55);
}

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

.match-card .team .small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-text-muted);
}

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-dark);
    text-shadow: 0 12px 26px rgba(31, 63, 53, 0.12);
}

.trust-section {
    background:
        radial-gradient(900px 420px at 12% 10%, rgba(135, 168, 120, 0.18) 0%, rgba(0,0,0,0) 58%),
        var(--gradient-trust);
    color: #fff;
}

.trust-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 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.14);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.trust-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.22);
}

.partners-section {
    background:
        radial-gradient(950px 420px at 90% 0%, rgba(135, 168, 120, 0.16) 0%, rgba(246, 242, 234, 0) 55%),
        var(--color-bg-soft);
}

.partner-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 100%);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(22, 45, 37, 0.08), 0 2px 6px rgba(28, 28, 28, 0.05);
    border: 1px solid rgba(239, 233, 223, 0.95);
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-primary);
    background:
        radial-gradient(700px 240px at 25% 0%, rgba(135, 168, 120, 0.18) 0%, rgba(255,255,255,0) 55%),
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.90) 100%);
}

.testimonials-section {
    background: linear-gradient(180deg, rgba(250, 248, 243, 1) 0%, var(--color-bg-soft) 100%);
}

.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);
    border: 1px solid rgba(239, 233, 223, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 100%);
    box-shadow: 0 12px 30px rgba(22, 45, 37, 0.08), 0 2px 6px rgba(28, 28, 28, 0.05);
}

.testimonial-card:hover {
    border-block-start-color: rgba(196, 123, 90, 0.95);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.cta-banner-section {
    background:
        radial-gradient(900px 420px at 18% 10%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 60%),
        var(--gradient-cta);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.10) 55%, rgba(0,0,0,0.26) 100%),
        radial-gradient(700px 260px at 70% 30%, rgba(135, 168, 120, 0.20) 0%, rgba(135, 168, 120, 0) 58%);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 18px 46px rgba(196, 123, 90, 0.26), 0 8px 22px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.86) !important;
    text-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.footer {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.88);
    background: radial-gradient(900px 420px at 50% 0%, rgba(135, 168, 120, 0.16) 0%, rgba(0,0,0,0) 58%);
}

.footer a {
    transition: color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.85;
}

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

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(0 8px 18px rgba(45, 45, 45, 0.18));
}

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 12px 26px rgba(45, 45, 45, 0.22));
}

.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-accent);
    box-shadow:
        0 0 0 0.2rem rgba(135, 168, 120, 0.18),
        0 16px 28px rgba(45, 45, 45, 0.10),
        0 2px 0 rgba(0, 0, 0, 0.04) inset;
}

.btn-primary {
    background: linear-gradient(135deg, #c47b5a 0%, #b96f4b 40%, #a95f3f 100%);
    border-color: #b96f4b;
    color: #faf8f3;
    box-shadow:
        0 18px 36px rgba(45, 45, 45, 0.12),
        0 6px 14px rgba(45, 45, 45, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #d38a68 0%, #c47b5a 45%, #b96f4b 100%);
    border-color: #c47b5a;
    box-shadow:
        0 22px 44px rgba(45, 45, 45, 0.16),
        0 8px 18px rgba(45, 45, 45, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.62) inset;
}

.input-group-text {
    background: radial-gradient(120% 140% at 20% 0%, rgba(135, 168, 120, 0.10) 0%, rgba(250, 248, 243, 0.96) 45%, rgba(250, 248, 243, 0.88) 100%);
    border-color: rgba(45, 45, 45, 0.14);
    box-shadow:
        0 10px 24px rgba(45, 45, 45, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.5) inset;
    color: #2d2d2d;
    border-radius: 14px;
}

.btn-primary,
.form-control,
.form-select,
.input-group-text {
    border-radius: 14px;
    transition:
        background 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),
        color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 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%; }
}