/* NPC大全核心容器 - SEO优化 */
.npc-content-wrapper {
    width: 1200px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

/* NPC列表主卡片 - 暖调风格替换 */
.npc-main-card {
    background: #f0e8d8; /* 奶油木色，替换黑色半透 */
    border: 1px solid rgba(168, 136, 96, 0.35); /* 浅木色边框，替换紫色 */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.15); /* 暖调轻阴影 */
    transition: all 0.3s ease;
    position: relative; /* 配合伪元素定位 */
}

.npc-main-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    /* 暖调渐变，替换紫色渐变 */
    background: linear-gradient(90deg, #e69a88, #e87a6f, #f0b888);
    border-radius: 8px 8px 0 0;
}

.npc-main-card:hover {
    box-shadow: 0 6px 20px rgba(230, 154, 136, 0.3); /* 暖调阴影，替换白色 */
    transform: translateY(-3px);
    border-color: rgba(230, 154, 136, 0.6); /* 浅杏色边框，替换浅紫 */
}

/* SEO优化标题 - 暖调配色 */
.npc-title {
    color: #e87a6f; /* 珊瑚红，替换浅紫 */
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 0 8px rgba(230, 154, 136, 0.6); /* 暖调发光，替换紫色 */
    line-height: 1.4;
}

.npc-map-title {
    color: #e69a88; /* 浅杏色，替换深紫 */
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色分隔线，替换紫色 */
}

/* ========== 修复后的NPC网格布局（仅改颜色） ========== */
.npc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 保留3列修复逻辑 */
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

/* 单个NPC卡片块 - 暖调替换，保留布局修复 */
.npc-item-card {
    /* 暖调渐变背景，替换紫色 */
    background: linear-gradient(135deg, rgba(230, 154, 136, 0.08), rgba(232, 122, 111, 0.08));
    border-radius: 8px;
    border-left: 4px solid #e69a88; /* 浅杏色边框，替换深紫 */
    padding: 20px 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 100%;
}

.npc-item-card:hover {
    background: rgba(230, 154, 136, 0.15); /* 暖调背景，替换紫色 */
    box-shadow: 0 0 15px rgba(230, 154, 136, 0.4); /* 暖调发光，替换紫色 */
    transform: translateY(-2px);
    border-color: #e87a6f; /* 珊瑚红hover，替换浅紫 */
}

/* NPC信息样式 - 暖调文字，保留布局修复 */
.npc-name {
    color: #584830; /* 深木纹，替换浅紫 */
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.npc-desc {
    color: #7a6953; /* 浅木纹，替换浅紫 */
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.npc-desc strong {
    color: #e69a88; /* 浅杏色强调，替换深紫 */
    font-weight: 600;
}

/* ========== 修复后的分页样式（暖调替换） ========== */
.npc-pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 20px;
    gap: 8px;
}

.pagination-btn {
    background: rgba(230, 154, 136, 0.2); /* 暖调背景，替换紫色 */
    border: 1px solid rgba(230, 154, 136, 0.5); /* 浅杏色边框，替换紫色 */
    color: #584830; /* 深木纹文字，替换浅紫 */
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: rgba(232, 122, 111, 0.3); /* 珊瑚红背景，替换紫色 */
    color: #584830; /* 深木纹文字，替换浅紫 */
    border-color: #e87a6f; /* 珊瑚红边框，替换浅紫 */
}

.pagination-btn.active {
    /* 暖调渐变，替换紫色 */
    background: linear-gradient(135deg, #e69a88, #e87a6f);
    color: #fff; /* 白色文字保留 */
    border-color: #e87a6f; /* 珊瑚红边框，替换浅紫 */
    box-shadow: 0 0 10px rgba(230, 154, 136, 0.4); /* 暖调发光，替换紫色 */
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(230, 154, 136, 0.1); /* 暖调背景，替换紫色 */
}


