:root {
    --color-primary: #6b8f7a;
    --color-primary-dark: #2f3f35;
    --color-primary-darker: #1f2a24;
    --color-accent: #c47b5a;
    --color-accent-dark: #a96445;
    --color-success: #2f8f57;
    --color-danger: #c14b4b;

    --color-text: #2d2d2d;
    --color-text-muted: #5d5d5d;
    --color-text-light: #7a7a7a;
    --color-bg: #faf8f3;
    --color-bg-soft: #f7f1e6;
    --color-bg-muted: #f2ede1;
    --color-border: rgba(45, 45, 45, 0.14);
    --color-border-soft: rgba(45, 45, 45, 0.09);

    --gradient-hero: linear-gradient(135deg, #2f3f35 0%, #6b8f7a 45%, #faf8f3 115%);
    --gradient-deep: linear-gradient(135deg, #121a17 0%, #2b3a33 55%, #0f1412 100%);
    --gradient-dept: linear-gradient(135deg, #6b8f7a 0%, #2f3f35 55%, #121a17 100%);
    --gradient-security: linear-gradient(135deg, #2f3f35 0%, #121a17 100%);
    --gradient-mission: linear-gradient(135deg, #2f3f35 0%, #6b8f7a 55%, #c47b5a 120%);
    --gradient-trust: linear-gradient(135deg, #121a17 0%, #2f3f35 70%, #1b241f 100%);
    --gradient-cta: linear-gradient(135deg, #6b8f7a 0%, #c47b5a 55%, #2f3f35 120%);
    --gradient-accent: linear-gradient(135deg, #c47b5a 0%, #a96445 55%, #6b8f7a 130%);
    --gradient-icon: linear-gradient(135deg, #c47b5a 0%, #6b8f7a 55%, #2f3f35 120%);

    --glass-bg: rgba(250, 248, 243, 0.12);
    --glass-border: rgba(250, 248, 243, 0.24);
    --glass-blur: blur(12px);

    --shadow-sm: 0 6px 14px rgba(45, 45, 45, 0.08);
    --shadow-md: 0 14px 32px rgba(45, 45, 45, 0.14);
    --shadow-lg: 0 20px 46px rgba(45, 45, 45, 0.18);
    --shadow-xl: 0 26px 62px rgba(45, 45, 45, 0.22);
    --shadow-primary: 0 0 0 1px rgba(135, 168, 120, 0.20), 0 18px 40px rgba(107, 143, 122, 0.22), 0 0 24px rgba(107, 143, 122, 0.22);
    --shadow-accent: 0 0 0 1px rgba(196, 123, 90, 0.22), 0 16px 34px rgba(196, 123, 90, 0.24), 0 0 26px rgba(196, 123, 90, 0.30);

    --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: 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-base: 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 420ms 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.35);
}

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

.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 26px rgba(20, 20, 20, 0.08), 0 0 0 1px rgba(196, 123, 90, 0.06) inset;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 25%, rgba(250, 248, 243, 0.65) 0%, rgba(250, 248, 243, 0.12) 24%, rgba(0, 0, 0, 0) 55%), var(--gradient-icon);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(250, 248, 243, 0.22) inset, 0 18px 40px rgba(196, 123, 90, 0.22), 0 0 26px rgba(107, 143, 122, 0.26);
}

.header {
    background: rgba(250, 248, 243, 0.92);
    z-index: 1030;
    box-shadow: 0 10px 30px rgba(45, 45, 45, 0.10), 0 0 0 1px rgba(45, 45, 45, 0.06) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 16px 26px rgba(196, 123, 90, 0.28));
}

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

.header .nav-link:hover {
    color: var(--color-primary-dark);
    text-shadow: 0 0 18px rgba(107, 143, 122, 0.34);
}

.hero-section {
    min-height: 480px;
    background: var(--gradient-hero);
    color: #fff;
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -1px 0 rgba(250, 248, 243, 0.18);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(196, 123, 90, 0.25) 0%, rgba(0, 0, 0, 0) 45%), rgba(0, 0, 0, 0.13);
    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 42px rgba(0, 0, 0, 0.18), 0 0 28px rgba(196, 123, 90, 0.25);
}

.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 12px 30px rgba(0, 0, 0, 0.16);
}

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

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

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

.notice-bar a:hover {
    opacity: 0.85;
    text-shadow: 0 0 22px rgba(196, 123, 90, 0.35);
}

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

.breadcrumb-nav {
    background: rgba(242, 237, 225, 0.85);
    border-top: 1px solid rgba(45, 45, 45, 0.06);
    border-bottom: 1px solid rgba(45, 45, 45, 0.06);
}

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

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-shadow: 0 0 18px rgba(107, 143, 122, 0.34);
}

.why-us-section {
    background: linear-gradient(180deg, rgba(247, 241, 230, 0.9) 0%, rgba(250, 248, 243, 1) 100%);
}

.whyus-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(45, 45, 45, 0.09);
    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(45, 45, 45, 0.07);
}

.whyus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(196, 123, 90, 0.16) inset, 0 18px 45px rgba(45, 45, 45, 0.14), 0 0 30px rgba(196, 123, 90, 0.26);
    border-color: rgba(196, 123, 90, 0.30);
    background: rgba(255, 255, 255, 0.94);
}

.about-section {
    background: var(--gradient-deep);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(250, 248, 243, 0.10);
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.20);
}

.about-img-wrap img {
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: saturate(1.04) contrast(1.02) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22));
}

.about-img-wrap:hover img {
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.04) drop-shadow(0 26px 44px rgba(196, 123, 90, 0.22));
}

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

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(250, 248, 243, 0.12);
    box-shadow: 0 0 0 1px rgba(107, 143, 122, 0.18) inset, 0 16px 36px rgba(0, 0, 0, 0.20), 0 0 28px rgba(107, 143, 122, 0.22);
}

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

.departments-section {
    background: 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 22px 48px rgba(0, 0, 0, 0.20), 0 0 26px rgba(196, 123, 90, 0.22);
}

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 14px 34px 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: rgba(250, 248, 243, 0.10);
    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(250, 248, 243, 0.22);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

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

.d-num span {
    color: rgba(255, 255, 255, 0.90);
    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 18px 44px rgba(0, 0, 0, 0.22);
}

.security-section {
    background: 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(circle at 30% 25%, rgba(250, 248, 243, 0.55) 0%, rgba(250, 248, 243, 0.12) 25%, rgba(0, 0, 0, 0) 55%), 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(31, 42, 36, 0.95);
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(250, 248, 243, 0.22) inset, 0 0 34px rgba(196, 123, 90, 0.34), 0 22px 58px rgba(0, 0, 0, 0.20);
    animation: corePulse 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes corePulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(250, 248, 243, 0.22) inset, 0 0 34px rgba(196, 123, 90, 0.30), 0 22px 58px rgba(0, 0, 0, 0.20); }
    50% { box-shadow: 0 0 0 1px rgba(250, 248, 243, 0.26) inset, 0 0 44px rgba(196, 123, 90, 0.42), 0 26px 70px rgba(0, 0, 0, 0.22); }
}

.node {
    background: rgba(250, 248, 243, 0.10);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: #fff;
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(250, 248, 243, 0.18);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(250, 248, 243, 0.14);
    box-shadow: 0 0 0 1px rgba(196, 123, 90, 0.20) inset, 0 20px 56px rgba(0, 0, 0, 0.20), 0 0 32px rgba(196, 123, 90, 0.30);
}

.node-title {
    font-weight: 600;
    color: rgba(196, 123, 90, 1);
    margin-block: var(--space-xs);
    text-shadow: 0 0 18px rgba(196, 123, 90, 0.32);
}

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

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

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

.honor-text-card {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid rgba(107, 143, 122, 1);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    box-shadow: 0 10px 26px rgba(45, 45, 45, 0.07);
    border-color: rgba(45, 45, 45, 0.10);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(196, 123, 90, 0.16) inset, 0 18px 45px rgba(45, 45, 45, 0.14), 0 0 28px rgba(107, 143, 122, 0.22);
    background: rgba(255, 255, 255, 0.96);
}

.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: #fff;
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(250, 248, 243, 0.90);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.stats-section {
    background: #faf8f3;
}

.stats-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    background: rgba(247, 241, 230, 0.72);
    box-shadow: 0 10px 26px rgba(45, 45, 45, 0.07);
    border: 1px solid rgba(45, 45, 45, 0.06);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(107, 143, 122, 0.18) inset, 0 18px 52px rgba(45, 45, 45, 0.14), 0 0 28px rgba(107, 143, 122, 0.20);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 244, 238, 0.92) 55%, rgba(247, 241, 230, 0.92) 100%);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: rgba(31, 42, 36, 0.96);
    text-shadow: 0 10px 24px rgba(107, 143, 122, 0.18);
}

.news-section {
    background: 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 var(--color-border-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 26px rgba(45, 45, 45, 0.06);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(196, 123, 90, 0.16) inset, 0 22px 60px rgba(45, 45, 45, 0.14), 0 0 34px rgba(196, 123, 90, 0.24);
    border-color: rgba(196, 123, 90, 0.40);
    background: rgba(255, 255, 255, 0.94);
}

.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.03) contrast(1.02);
}

.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.04) drop-shadow(0 26px 46px rgba(196, 123, 90, 0.20));
}

.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);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 26px rgba(45, 45, 45, 0.06);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(107, 143, 122, 0.18) inset, 0 18px 48px rgba(45, 45, 45, 0.14), 0 0 30px rgba(107, 143, 122, 0.20);
    border-color: rgba(107, 143, 122, 0.55);
    background: rgba(255, 255, 255, 0.94);
}

.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(31, 42, 36, 0.98);
    text-shadow: 0 10px 26px rgba(196, 123, 90, 0.16);
}

.trust-section {
    background: var(--gradient-trust);
    color: #fff;
}

.trust-card {
    background: rgba(250, 248, 243, 0.10);
    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: 1px solid rgba(250, 248, 243, 0.20);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(250, 248, 243, 0.14);
    box-shadow: 0 0 0 1px rgba(196, 123, 90, 0.22) inset, 0 20px 56px rgba(0, 0, 0, 0.22), 0 0 32px rgba(196, 123, 90, 0.26);
}

.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);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(45, 45, 45, 0.06);
    box-shadow: 0 10px 26px rgba(45, 45, 45, 0.06);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(196, 123, 90, 0.18) inset, 0 22px 60px rgba(45, 45, 45, 0.14), 0 0 34px rgba(196, 123, 90, 0.22);
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(196, 123, 90, 0.35);
}

.testimonials-section {
    background: #faf8f3;
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border-block-start: 4px solid transparent;
    background: rgba(255, 255, 255, 0.76);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 26px rgba(45, 45, 45, 0.06);
    border: 1px solid rgba(45, 45, 45, 0.06);
}

.testimonial-card:hover {
    border-block-start-color: rgba(196, 123, 90, 1);
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(107, 143, 122, 0.18) inset, 0 18px 52px rgba(45, 45, 45, 0.14), 0 0 28px rgba(107, 143, 122, 0.20);
    background: rgba(255, 255, 255, 0.96);
}

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

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(250, 248, 243, 0.18) 0%, rgba(0, 0, 0, 0) 40%),
        radial-gradient(circle at 85% 35%, rgba(196, 123, 90, 0.24) 0%, rgba(0, 0, 0, 0) 45%),
        rgba(0, 0, 0, 0.18);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 0 0 1px rgba(250, 248, 243, 0.18) inset, 0 18px 48px rgba(196, 123, 90, 0.28), 0 0 26px rgba(196, 123, 90, 0.35);
    border-radius: 12px;
    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;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.footer {
    font-size: 0.9rem;
    color: rgba(90, 90, 90, 0.95);
    text-shadow: 0 10px 26px rgba(255, 255, 255, 0.25);
}

.footer a{
    transition: color 320ms cubic-bezier(.2,.8,.2,1);
    color: rgba(45,45,45,.92);
    text-shadow: none;
}
.footer a:hover{
    color: var(--color-accent) !important;
    text-shadow: 0 0 18px rgba(135,168,120,.35);
}

.footer-copyright{
    font-size: 0.85rem;
    color: rgba(45,45,45,.82);
}

.footer-beian{
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.88;
    color: rgba(45,45,45,.78);
}

.footer-beian a:hover{
    color: var(--color-accent) !important;
    text-decoration: underline !important;
    text-shadow: 0 0 22px rgba(135,168,120,.42);
}

.footer-beian img{
    margin-inline-end: 4px;
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), filter 220ms cubic-bezier(.2,.8,.2,1);
    filter: drop-shadow(0 10px 16px rgba(45,45,45,.08));
    border-radius: 10px;
}

.footer-beian a:hover img{
    transform: scale(1.2);
    filter: drop-shadow(0 0 22px rgba(135,168,120,.35)) drop-shadow(0 18px 26px rgba(45,45,45,.12));
}

.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,123,90,.95);
    box-shadow:
        0 0 0 0 rgba(196,123,90,0),
        0 0 0 0.18rem rgba(196,123,90,.16),
        0 0 26px rgba(196,123,90,.22);
    transition: box-shadow 240ms cubic-bezier(.2,.8,.2,1), border-color 240ms cubic-bezier(.2,.8,.2,1);
    outline: 2px solid rgba(196,123,90,.14);
    outline-offset: 2px;
    border-radius: 12px;
}

.btn-primary{
    background-color: #c47b5a;
    border-color: #c47b5a;
    color: #faf8f3;
    box-shadow:
        0 10px 24px rgba(196,123,90,.22),
        0 2px 0 rgba(45,45,45,.06),
        inset 0 1px 0 rgba(255,255,255,.22);
    border-radius: 12px;
    transition: background-color 260ms cubic-bezier(.2,.8,.2,1), border-color 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms cubic-bezier(.2,.8,.2,1), transform 260ms cubic-bezier(.2,.8,.2,1);
}

.btn-primary:hover,
.btn-primary:focus{
    background-color: #b86f4f;
    border-color: #b86f4f;
    box-shadow:
        0 0 0 0 rgba(196,123,90,0),
        0 14px 30px rgba(196,123,90,.30),
        0 0 34px rgba(196,123,90,.22),
        inset 0 1px 0 rgba(255,255,255,.18);
    transform: translateY(-1px);
    text-shadow: 0 0 18px rgba(45,45,45,.10);
}

.input-group-text{
    background-color: rgba(250,248,243,.92);
    border-color: rgba(45,45,45,.14);
    color: rgba(45,45,45,.78);
    box-shadow:
        0 10px 18px rgba(45,45,45,.06),
        inset 0 1px 0 rgba(255,255,255,.5);
    border-radius: 12px;
    transition: background-color 240ms cubic-bezier(.2,.8,.2,1), border-color 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms 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;
    }
}

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