/* ============================================================
   bossblog.css — 보스 공략 페이지 공통 스타일
   ============================================================ */

.boss-guide-page { max-width: 900px; margin: 0 auto; padding: 48px 20px 80px; }

/* 브레드크럼 */
.breadcrumb { font-size: 13px; color: #999; margin-bottom: 20px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: #666; text-decoration: none; }
.breadcrumb a:hover { color: #3C3744; }
.breadcrumb span { color: #ccc; }

/* 페이지 상단 타이틀 */
.page-hero { margin-bottom: 36px; }
.page-hero .category-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  background: #3C3744; color: #fff; padding: 4px 12px;
  border-radius: 20px; margin-bottom: 14px; letter-spacing: 0.5px;
}
.page-hero h1 { font-size: 32px; font-weight: 700; color: #2C2C2C; line-height: 1.3; margin-bottom: 10px; }
.page-hero .hero-sub { font-size: 14px; color: #666; }

/* 목차 */
.toc {
  background: #fff;
  border: 2px solid #B4C5E4;
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 28px;
}
.toc-title { font-size: 13px; font-weight: 700; color: #3C3744; margin-bottom: 12px; }
.toc ol { list-style: decimal; padding-left: 18px; }
.toc li { font-size: 13px; color: #555; margin-bottom: 5px; line-height: 1.5; }
.toc a { color: #555; text-decoration: none; transition: color 0.2s; }
.toc a:hover { color: #3C3744; font-weight: 500; }

/* 섹션 공통 */
.guide-section {
  background: #fff;
  border: 2px solid #B4C5E4;
  border-radius: 12px;
  padding: 32px 36px;
  margin-bottom: 20px;
}
@media (max-width: 600px) { .guide-section { padding: 22px 18px; } }

.section-label { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #B4C5E4; margin-bottom: 4px; }

.guide-section h2 {
  font-size: 20px; font-weight: 700; color: #2C2C2C;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid #B4C5E4;
}
.guide-section h3 {
  font-size: 15px; font-weight: 700; color: #3C3744;
  margin: 24px 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.guide-section h3::before {
  content: ""; display: inline-block;
  width: 5px; height: 5px; background: #B4C5E4;
  border-radius: 50%; flex-shrink: 0;
}
.guide-section p { font-size: 15px; color: #444; margin-bottom: 14px; line-height: 1.9; }

/* 정보 카드 그리드 */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 22px; }
.info-card {
  background: #FBFFF1; border: 2px solid #B4C5E4;
  border-radius: 10px; padding: 14px 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.info-card:hover { box-shadow: 0 4px 12px rgba(60,55,68,0.1); transform: translateY(-2px); }
.info-card-label { font-size: 11px; font-weight: 500; color: #999; margin-bottom: 5px; }
.info-card-value { font-size: 16px; font-weight: 700; color: #3C3744; }
.info-card-value.red    { color: #e74c3c; }
.info-card-value.gold   { color: #c0922a; }
.info-card-value.purple { color: #7c60b0; }

/* 패턴 블록 */
.pattern-block {
  background: #FBFFF1;
  border: 1px solid #e0e6f0;
  border-left: 4px solid #3C3744;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px; margin-bottom: 14px;
  transition: box-shadow 0.2s;
}
.pattern-block:hover { box-shadow: 0 4px 12px rgba(60,55,68,0.08); }
.pattern-block.gold-border   { border-left-color: #c0922a; }
.pattern-block.purple-border { border-left-color: #7c60b0; }
.pattern-block.danger        { border-left-color: #e74c3c; background: #fff8f8; }

.pattern-name { font-size: 15px; font-weight: 700; color: #2C2C2C; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.badge.instakill { background: #fde8e8; color: #c0392b; border: 1px solid #f5c6c6; }
.badge.caution   { background: #fef6e4; color: #c0922a; border: 1px solid #f0dda0; }
.badge.normal    { background: #eef2ff; color: #5c6bc0; border: 1px solid #c5cae9; }

.pattern-detail { font-size: 14px; color: #555; line-height: 1.85; }
.pattern-stat { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; margin-right: 14px; font-size: 12px; color: #999; font-weight: 500; }
.pattern-stat span { color: #3C3744; font-weight: 700; }

/* 팁/경고 박스 */
.tip-box {
  background: #f0f8ff; border: 2px solid #B4C5E4;
  border-left: 4px solid #3C3744;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px; margin: 16px 0;
}
.tip-box-title { font-size: 13px; font-weight: 700; color: #3C3744; margin-bottom: 7px; }
.tip-box p { font-size: 14px; margin: 0; color: #444; }

.warn-box {
  background: #fff8f8; border: 1px solid #f5c6c6;
  border-left: 4px solid #e74c3c;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px; margin: 16px 0;
}
.warn-box-title { font-size: 13px; font-weight: 700; color: #c0392b; margin-bottom: 7px; }
.warn-box p { font-size: 14px; margin: 0; color: #555; }

/* 보상 */
.reward-section { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
@media (max-width: 600px) { .reward-section { grid-template-columns: 1fr; } }
.reward-box {
  background: #FBFFF1; border: 2px solid #B4C5E4;
  border-radius: 12px; padding: 20px;
  position: relative; overflow: hidden;
}
.reward-box.hard { border-color: #f0dda0; background: #fffdf4; }
.reward-box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.reward-box.normal::before { background: #B4C5E4; }
.reward-box.hard::before   { background: linear-gradient(90deg, #c0922a, #e8b84b); }
.reward-box-title { font-size: 14px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.reward-box.normal .reward-box-title { color: #3C3744; }
.reward-box.hard   .reward-box-title { color: #c0922a; }
.reward-list { list-style: none; padding: 0; }
.reward-list li { font-size: 13px; color: #555; padding: 6px 0; border-bottom: 1px solid #e0e6f0; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.reward-box.hard .reward-list li { border-color: #f0e4b0; }
.reward-list li:last-child { border-bottom: none; }
.reward-list li::before { content: "▸"; color: #B4C5E4; flex-shrink: 0; margin-top: 1px; }

/* 업적 */
.achievement-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.achievement-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: #FBFFF1; border: 1px solid #e0e6f0;
  border-radius: 8px; padding: 11px 16px; font-size: 13px;
  transition: background 0.2s, border-color 0.2s;
}
.achievement-item:hover { background: #fff; border-color: #B4C5E4; }
.ach-grade { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; flex-shrink: 0; white-space: nowrap; }
.rare      { background: #e8f4fd; color: #2980b9; border: 1px solid #aed6f1; }
.epic      { background: #f3eaff; color: #7c60b0; border: 1px solid #d7bff5; }
.unique    { background: #fef9e7; color: #c0922a; border: 1px solid #f0dda0; }
.legendary { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c6; }
.ach-text  { color: #555; line-height: 1.5; }

/* 유저 평가 */
.review-block {
  background: #FBFFF1; border: 2px solid #B4C5E4;
  border-radius: 10px; padding: 22px 26px; margin-bottom: 14px; position: relative;
}
.review-block::before { content: "\201C"; position: absolute; top: 6px; left: 16px; font-size: 56px; color: #B4C5E4; line-height: 1; opacity: 0.5; }
.review-block p { font-size: 14px; font-style: italic; padding-left: 10px; color: #555; margin: 0; }

/* 타임라인 */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 4px; bottom: 0; width: 2px; background: linear-gradient(to bottom, #B4C5E4, transparent); border-radius: 2px; }
.timeline-item { position: relative; padding: 0 0 18px 20px; font-size: 14px; color: #555; }
.timeline-item::before { content: ""; position: absolute; left: -2px; top: 6px; width: 8px; height: 8px; background: #fff; border: 2px solid #B4C5E4; border-radius: 50%; }
.timeline-date { font-size: 11px; font-weight: 700; color: #3C3744; margin-bottom: 3px; }

/* 페이즈 뱃지 */
.phase-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 4px 12px; margin-bottom: 16px; border-radius: 20px; }
.phase-1 { background: #eef2ff; color: #5c6bc0; border: 1px solid #c5cae9; }
.phase-2 { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c6; }

/* 스크롤 애니메이션 */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── 주요 드랍 아이템 섹션 ── */
.boss-items-section {
  background: #fff;
  border: 2px solid #B4C5E4;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.boss-items-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
}
.boss-items-header .section-label { margin-bottom: 0; }
.bi-server-toggle { display: flex; gap: 6px; }
.bi-server-btn {
  font-size: 12px; font-weight: 600; padding: 5px 14px;
  border-radius: 20px; border: 1px solid #B4C5E4;
  background: transparent; color: #999; cursor: pointer; transition: all 0.2s;
}
.bi-server-btn.active { background: #3C3744; color: #fff; border-color: #3C3744; }

.boss-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.bi-card {
  display: block; text-decoration: none; color: inherit;
  background: #FBFFF1; border: 1px solid #e0e6f0;
  border-radius: 10px; padding: 16px 18px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.bi-card:hover { border-color: #3C3744; box-shadow: 0 4px 14px rgba(60,55,68,0.1); transform: translateY(-2px); }
.bi-card-img {
  position: absolute; bottom: -8px; right: -8px;
  width: 90px; height: 90px; object-fit: contain;
  opacity: 0.12; pointer-events: none;
  transition: opacity 0.2s;
}
.bi-card:hover .bi-card-img { opacity: 0.2; }
.bi-mode-tag {
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 4px; display: inline-block; margin-bottom: 10px;
}
.bi-mode-tag.hard   { background: #fef6e4; color: #c0922a; border: 1px solid #f0dda0; }
.bi-mode-tag.normal { background: #eef2ff; color: #5c6bc0; border: 1px solid #c5cae9; }
.bi-mode-tag.both   { background: #f0f8ff; color: #3C3744; border: 1px solid #B4C5E4; }
.bi-name { font-size: 14px; font-weight: 700; color: #2C2C2C; margin-bottom: 12px; line-height: 1.4; }
.bi-price-wrap { margin-top: auto; }
.bi-price { font-size: 18px; font-weight: 700; color: #3C3744; }
.bi-price.no-data { font-size: 13px; color: #bbb; font-weight: 400; }
.bi-date { font-size: 11px; color: #aaa; margin-top: 3px; }
.bi-link-hint { font-size: 11px; color: #B4C5E4; margin-top: 8px; font-weight: 500; }

.bi-skeleton {
  background: #FBFFF1; border: 1px solid #e0e6f0;
  border-radius: 10px; padding: 16px 18px; height: 130px;
  animation: bi-pulse 1.4s ease-in-out infinite;
}
@keyframes bi-pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.45; }
}

@media (max-width: 600px) {
  .boss-items-section { padding: 18px 16px; }
  .boss-items-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 추가 info-card 색상 ── */
.info-card-value.blue { color: #5c6bc0; }
.info-card-value.teal { color: #14a085; }

/* ── 뱃지 추가 ── */
.badge.extreme-only { background: #fde8e8; color: #c0392b; border: 1px solid #f5c6c6; }

/* ── 페이즈 3 ── */
.phase-3 { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c6; }

/* ── 난이도 비교 카드 ── */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 32px; }
@media (max-width: 600px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-card {
  background: #FBFFF1; border: 2px solid #e0e6f0;
  border-radius: 12px; padding: 22px 20px;
  position: relative; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.diff-card:hover { border-color: #B4C5E4; box-shadow: 0 4px 12px rgba(60,55,68,0.08); }
.diff-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.diff-card.normal::before  { background: #14a085; }
.diff-card.hard::before    { background: #B4C5E4; }
.diff-card.extreme::before { background: linear-gradient(90deg, #e74c3c, #c0922a); }
.diff-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.diff-card.normal .diff-title  { color: #14a085; }
.diff-card.hard .diff-title    { color: #3C3744; }
.diff-card.extreme .diff-title { color: #c0922a; }
.diff-stat { font-size: 12px; color: #666; margin-bottom: 5px; line-height: 1.5; }
.diff-stat span { color: #2C2C2C; font-weight: 600; }

/* ── HP 바 섹션 ── */
.hp-section {
  background: #FBFFF1; border: 2px solid #B4C5E4;
  border-radius: 12px; padding: 24px 28px; margin-bottom: 24px;
}
.hp-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #999; margin-bottom: 14px; }
.hp-row { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.hp-phase { font-size: 11px; color: #999; width: 56px; flex-shrink: 0; }
.hp-bar-wrap { flex: 1; background: rgba(0,0,0,0.06); height: 8px; border-radius: 4px; overflow: hidden; }
.hp-bar { height: 100%; border-radius: 4px; transition: width 1s ease; }
.hp-bar.phase1 { background: linear-gradient(90deg, #14a085, #B4C5E4); }
.hp-bar.phase2 { background: linear-gradient(90deg, #B4C5E4, #3C3744); }
.hp-bar.phase3 { background: linear-gradient(90deg, #3C3744, #e74c3c); }
.hp-value { font-size: 12px; color: #555; width: 110px; text-align: right; flex-shrink: 0; font-weight: 600; }

/* ── 스펙 테이블 ── */
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 16px 0 24px; border-radius: 8px; overflow: hidden; }
.spec-table th { background: #FBFFF1; color: #3C3744; font-weight: 700; padding: 10px 14px; text-align: left; border: 1px solid #e0e6f0; font-size: 11px; letter-spacing: 1px; }
.spec-table td { padding: 9px 14px; border: 1px solid #e0e6f0; color: #555; vertical-align: top; line-height: 1.5; }
.spec-table tr:hover td { background: #FBFFF1; }

/* ── 익스트림 보상 박스 ── */
.reward-box.extreme { border-color: #f5c6c6; background: #fff8f8; }
.reward-box.extreme::before { background: linear-gradient(90deg, #e74c3c, #c0922a); }
.reward-box.extreme .reward-box-title { color: #c0392b; }
.reward-box.extreme .reward-list li { border-color: #fde8e8; }
