/*
 * Skin B — 蓝红(活力对比)
 * 站点:057786999999com.ind.5537.com
 * 配色:操作元素红 + 渐变标题保留蓝
 * 结构:大写粗体导航+红色下划线、标题红色粗底线、卡片红色顶边、英雄区红色调渐变
 */
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+QingKe+HuangYou&display=swap');

:root {
    --color-blue-700: #b91c1c;
    --color-blue-600: #dc2626;
    --color-blue-500: #ef4444;
    --color-blue-300: #fca5a5;
    --color-blue-200: #fecaca;
    --color-blue-100: #fee2e2;
    --color-blue-50:  #fef2f2;
    --color-cyan-400: #22d3ee;
}

/* ── 字体:站酷庆科黄油体标题 ── */
h1, h2, h3, h4 {
    font-family: 'ZCOOL QingKe HuangYou', 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    letter-spacing: 0.015em;
}

/* ── 导航:大写粗体 + 红色下划线滑出 ── */
.nav-link-desktop {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.82rem;
    position: relative;
}
.nav-link-desktop::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.3rem;
    height: 2px;
    background: #dc2626;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.nav-link-desktop:hover::after { transform: scaleX(1); }
.nav-transparent .nav-link-desktop::after { background: #f87171; }

/* ── 英雄区:红调渐变叠层 ── */
.from-black\/70.via-black\/40 {
    background: linear-gradient(90deg, rgb(127 29 29 / 0.72), rgb(15 23 42 / 0.5) 55%, transparent);
}

/* ── 标题:红色粗底线 ── */
section h2 {
    display: inline-block;
}
section h2::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: 4px;
    background: #dc2626;
    margin-top: 0.6rem;
    border-radius: 2px;
}

/* ── 卡片:红色顶边 + 微方 ── */
.rounded-sm { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.625rem; }
.rounded-2xl { border-radius: 0.75rem; }
.bg-white.border.border-slate-200 {
    border-top: 3px solid #dc2626;
}

/* ── 按钮:胶囊 + 红色光晕 + 上移 ── */
button.bg-blue-600, a.bg-blue-600 {
    border-radius: 999px;
    box-shadow: 0 10px 24px -8px rgb(220 38 38 / 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button.bg-blue-600:hover, a.bg-blue-600:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgb(220 38 38 / 0.55);
}
.shadow-sm { box-shadow: 0 2px 10px -4px rgb(220 38 38 / 0.14); }

/* ── 页脚:红色顶线 ── */
footer { border-top: 4px solid #dc2626; }

/* ── 中窄屏:隐藏右侧操作区+压缩导航,保证一级菜单完整可见 ── */
@media (min-width: 768px) and (max-width: 1279.98px) {
    .nav-link-desktop { padding-left: 0.4rem; padding-right: 0.4rem; font-size: 0.73rem; }
    .nav-link-desktop::after { display: none; }
    header .md\:flex.items-center.space-x-4 { display: none !important; }
    header .h-8 { max-width: 120px; }
}
@media (min-width: 1280px) and (max-width: 1439.98px) {
    .nav-link-desktop { padding-left: 0.6rem; padding-right: 0.6rem; font-size: 0.83rem; }
}
/* ── 一级菜单等宽等距平铺 ── */
@media (min-width: 768px) {
    header nav.md\:flex {
        flex: 1 1 auto;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    header nav.md\:flex > .menu-item {
        flex: 1 1 0;
        justify-content: center;
    }
    header nav.md\:flex > .menu-item > a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
