/* ============================================================
   yongjie.css — 永劫无间陪玩（yj- 前缀）
   风格：东方武侠 / 卷轴感；主色橙，辅助墨黑、朱砂
   ============================================================ */

.yj-hero {
    background:
        radial-gradient(circle at 90% 20%, rgba(234, 88, 12, .2), transparent 55%),
        linear-gradient(135deg, #fff7ed 0%, #ffffff 60%);
    border-bottom: 1px solid var(--ink-200);
    padding: 64px 0 56px;
}
.yj-hero-inner { max-width: 760px; }
.yj-eyebrow { background: var(--ink-900); color: var(--orange-300); }
.yj-h1 {
    font-size: 38px;
    margin: 18px 0 16px;
    line-height: 1.3;
}
.yj-lead {
    color: var(--ink-700);
    font-size: 15.5px;
    line-height: 1.9;
    margin-bottom: 26px;
    max-width: 640px;
}
.yj-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.yj-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 48px; padding: 0 30px;
    border-radius: 4px;
    font-weight: 700; font-size: 15px;
}
.yj-btn-solid {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-700));
    color: #fff;
    box-shadow: 0 8px 20px rgba(234, 88, 12, .32);
}
.yj-btn-solid:hover { color: #fff; transform: translateY(-1px); }
.yj-btn-ghost {
    background: #fff;
    color: var(--orange-700);
    border: 1.5px solid var(--orange-300);
}

/* ---------- section ---------- */
.yj-section { padding: 64px 0; background: #fff; }
.yj-section-alt { background: var(--ink-50); border-top: 1px solid var(--ink-200); border-bottom: 1px solid var(--ink-200); }
.yj-sub-head { margin-bottom: 24px; }
.yj-sub-head h2 { font-size: 22px; margin: 0; }
.yj-center { margin-inline: auto; text-align: center; }

/* ---------- 英雄卡 ---------- */
.yj-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 56px;
}
.yj-hero-card {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius);
    padding: 22px 20px;
    position: relative;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.yj-hero-card:hover {
    transform: translateY(-3px);
    border-color: var(--orange-400);
    box-shadow: var(--shadow-sm);
}
.yj-hero-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
}
.yj-hero-avatar {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-800));
    color: #fff;
    font-size: 20px; font-weight: 800;
    border-radius: 50%;
}
.yj-hero-role {
    font-size: 11.5px; font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--orange-100); color: var(--orange-700);
}
.yj-hero-role.yj-role-控制 { background: #dbeafe; color: #1d4ed8; }
.yj-hero-role.yj-role-游击 { background: #dcfce7; color: #15803d; }
.yj-hero-role.yj-role-坦克 { background: #fee2e2; color: #b91c1c; }
.yj-hero-role.yj-role-输出 { background: #ffedd5; color: #c2410c; }
.yj-hero-role.yj-role-辅助 { background: #ede9fe; color: #6d28d9; }
.yj-hero-name { font-size: 18px; margin-bottom: 4px; }
.yj-hero-weap { font-size: 12.5px; color: var(--ink-500); margin-bottom: 6px; }
.yj-hero-skill {
    font-size: 13px; color: var(--ink-700);
    line-height: 1.7; min-height: 40px;
    margin-bottom: 8px;
}
.yj-hero-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--orange-700);
    background: var(--orange-50);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
}

/* ---------- 武器网格 ---------- */
.yj-weap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.yj-weap-card {
    background: var(--ink-50);
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    padding: 16px 18px;
    transition: background .2s, border-color .2s;
}
.yj-weap-card:hover { background: #fff; border-color: var(--orange-400); }
.yj-weap-type {
    display: inline-block;
    font-size: 10.5px; font-weight: 700;
    padding: 2px 8px;
    background: var(--ink-200);
    color: var(--ink-700);
    border-radius: 4px;
    margin-bottom: 8px;
}
.yj-weap-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.yj-weap-card p { font-size: 12.5px; color: var(--ink-500); line-height: 1.6; }

/* ---------- 模式卡 ---------- */
.yj-mode-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.yj-mode {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 26px 22px;
    border-top: 5px solid var(--ink-300);
    box-shadow: var(--shadow-xs);
}
.yj-mode-orange { border-top-color: var(--orange-600); background: linear-gradient(180deg, #fff7ed, #fff); }
.yj-mode-gray  { border-top-color: var(--ink-400); }
.yj-mode-blue  { border-top-color: var(--blue); }
.yj-mode-green { border-top-color: var(--green); }
.yj-mode-tag {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    padding: 3px 10px;
    background: var(--ink-100);
    color: var(--ink-700);
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}
.yj-mode-orange .yj-mode-tag { background: var(--orange-100); color: var(--orange-700); }
.yj-mode-name { font-size: 19px; margin-bottom: 8px; }
.yj-mode-desc { font-size: 13.5px; color: var(--ink-500); line-height: 1.7; margin-bottom: 16px; }
.yj-mode-link {
    font-weight: 700; font-size: 13.5px;
    color: var(--orange-700);
}

/* ---------- 连招步骤 ---------- */
.yj-combo-steps {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 0;
}
.yj-step {
    display: flex;
    gap: 20px;
    position: relative;
    padding-bottom: 24px;
}
.yj-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 23px; top: 50px; bottom: 0;
    width: 2px;
    background: var(--orange-200);
}
.yj-step-num {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    background: #fff;
    border: 2.5px solid var(--orange-600);
    color: var(--orange-700);
    font-size: 18px; font-weight: 800;
    border-radius: 50%;
    z-index: 1;
}
.yj-step-body {
    flex: 1;
    background: var(--ink-50);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius);
    padding: 16px 20px;
}
.yj-step-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; margin-bottom: 6px;
}
.yj-step-head h3 { font-size: 16px; }
.yj-step-dur {
    font-size: 12px;
    background: var(--orange-100);
    color: var(--orange-700);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
}
.yj-step-body p { font-size: 13.5px; color: var(--ink-700); line-height: 1.7; }

/* ---------- 价格标签 ---------- */
.yj-section-dark {
    background:
        radial-gradient(circle at 80% 10%, rgba(234, 88, 12, .25), transparent 55%),
        linear-gradient(160deg, #1c1917 0%, #292524 100%);
    color: #e7e5e4;
}
.yj-section-dark .td-section-head h2 { color: #fff; }
.yj-section-dark .td-section-head p { color: #d6d3d1; }
.yj-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 880px;
    margin: 0 auto;
}
.yj-price {
    position: relative;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 26px 22px;
    text-align: center;
    transition: transform .2s, border-color .2s;
}
.yj-price:hover { transform: translateY(-3px); border-color: var(--orange-400); }
.yj-price-hot {
    background: linear-gradient(180deg, rgba(234, 88, 12, .25), rgba(234, 88, 12, .08));
    border-color: var(--orange-500);
}
.yj-price-badge {
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    background: var(--orange-600);
    color: #fff;
    font-size: 11.5px; font-weight: 700;
    padding: 3px 14px;
    border-radius: var(--radius-pill);
}
.yj-price-label { font-size: 13.5px; color: #d6d3d1; margin-bottom: 8px; }
.yj-price-value {
    font-size: 32px; font-weight: 800;
    color: var(--orange-300);
    line-height: 1.1;
    margin-bottom: 2px;
}
.yj-price-unit { font-size: 12px; color: #a8a29e; }
.yj-foot-note {
    text-align: center;
    margin-top: 28px;
    font-size: 12.5px;
    color: #a8a29e;
}

/* ---------- 陪玩师名册 ---------- */
.yj-mentor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.yj-mentor {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.yj-mentor:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.yj-mentor-avatar {
    width: 60px; height: 60px;
    margin: 0 auto 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--ink-900), #44403c);
    color: var(--orange-300);
    font-size: 24px; font-weight: 800;
    border-radius: 50%;
}
.yj-mentor-name { font-size: 17px; margin-bottom: 2px; }
.yj-mentor-hero { font-size: 12.5px; color: var(--ink-500); margin-bottom: 12px; }
.yj-mentor-meta {
    display: flex; justify-content: center; gap: 10px;
    font-size: 12px;
}
.yj-mentor-meta span {
    background: var(--orange-50);
    color: var(--orange-700);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-weight: 700;
}

/* ---------- 决赛圈提示 ---------- */
.yj-endgame-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.yj-endgame-card {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius);
    padding: 20px 22px;
    position: relative;
}
.yj-endgame-card::before {
    content: "刀";
    position: absolute;
    top: -12px; left: 18px;
    width: 28px; height: 28px;
    display: grid; place-items: center;
    background: var(--orange-600);
    color: #fff;
    font-size: 13px; font-weight: 800;
    border-radius: 50%;
}
.yj-endgame-tip { font-size: 16px; margin-bottom: 6px; color: var(--orange-700); }
.yj-endgame-card p { font-size: 13px; color: var(--ink-700); line-height: 1.7; }

/* ---------- 960 ---------- */
@media (max-width: 960px) {
    .yj-h1 { font-size: 30px; }
    .yj-hero-grid { grid-template-columns: repeat(2, 1fr); }
    .yj-weap-grid { grid-template-columns: repeat(2, 1fr); }
    .yj-mode-grid { grid-template-columns: repeat(2, 1fr); }
    .yj-price-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 640 ---------- */
@media (max-width: 640px) {
    .yj-hero { padding: 40px 0; }
    .yj-h1 { font-size: 24px; }
    .yj-section { padding: 44px 0; }
    .yj-hero-grid { grid-template-columns: 1fr; }
    .yj-weap-grid { grid-template-columns: 1fr; }
    .yj-mode-grid { grid-template-columns: 1fr; }
    .yj-price-grid { grid-template-columns: 1fr; }
    .yj-step { gap: 12px; }
    .yj-step-num { width: 40px; height: 40px; font-size: 15px; }
    .yj-step:not(:last-child)::before { left: 19px; top: 44px; }
}
