/* =========================================
   1. NPC 檔案卡 (Profile Card)
   ========================================= */
.npc-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--primary-gold, #fbb750);
    border-radius: 10px;
    padding: 25px;
    gap: 25px;
    margin-bottom: 30px;
    transition: transform 0.2s;
}

.npc-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

/* NPC 頭像區 (圓形 ICON) */
.npc-avatar {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.npc-avatar i {
    font-size: 2.5rem;
    color: #ddd;
}

/* NPC 文字資訊 */
.npc-details {
    flex-grow: 1;
}

.npc-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-gold, #fbb750);
    margin-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.npc-title {
    font-size: 0.9rem;
    color: #aaa;
    font-weight: normal;
    margin-left: 5px;
}

/* NPC 列表 */
.npc-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.npc-info-list li {
    margin-bottom: 6px;
    font-size: 1rem;
    color: #ccc;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.npc-info-list strong {
    color: #fff;
    min-width: 80px; /* 標題對齊 */
}

/* =========================================
   2. 圖片展示區
   ========================================= */
.img-container {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.img-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.shadow-box {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* =========================================
   3. 通用元件
   ========================================= */
.divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

.info-section {
    margin-bottom: 40px;
}

/* 顏色工具 */
.text-gold { color: #ffd700; }
.text-blue { color: #64b5f6; }
.text-gray { color: #9e9e9e; }

/* RWD */
@media (max-width: 768px) {
    .npc-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .npc-info-list li {
        justify-content: center; /* 手機版文字置中 */
        flex-wrap: wrap;
    }
    
    .npc-name {
        border-bottom: none; /* 手機版拿掉底線，比較不擁擠 */
    }
}