/* =============================================================================
 * FWO Player Portal - World Boss Stylesheet
 * High-end MMORPG dark theme styling with glowing status badges and timers.
 * ========================================================================== */

.world-boss-container {
  margin: 2.5rem 0 1.5rem 0;
  width: 100%;
}

.world-boss-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--line);
}

.world-boss-title-wrap h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.world-boss-title-wrap h2 span.fire {
  filter: drop-shadow(0 0 10px rgba(229, 83, 75, 0.6));
}

.world-boss-title-wrap p {
  margin: 0.35rem 0 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.boss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}

.boss-card {
  background: linear-gradient(180deg, #181c24 0%, #12141a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.boss-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 75, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 15px rgba(201, 162, 75, 0.15);
}

.boss-card-top {
  position: relative;
  background: #0b111e;
  padding: 1.5rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.boss-badge-tl {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
}

.boss-badge-tr {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-status.alive {
  background: rgba(63, 178, 127, 0.15);
  border: 1px solid rgba(63, 178, 127, 0.5);
  color: #4ade80;
  box-shadow: 0 0 12px rgba(63, 178, 127, 0.3);
}

.badge-status.respawn {
  background: rgba(229, 83, 75, 0.15);
  border: 1px solid rgba(229, 83, 75, 0.4);
  color: #f87171;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulseLive 1.5s infinite ease-in-out;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #4ade80; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.boss-img-wrap {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
  transition: transform 0.25s ease;
}

.boss-card:hover .boss-img-wrap {
  transform: scale(1.06);
}

.boss-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.boss-name-wrap {
  text-align: center;
  margin-top: 0.25rem;
}

.boss-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
}

.boss-subtitle {
  font-size: 0.82rem;
  color: var(--gold2);
  margin-top: 0.2rem;
}

.boss-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.boss-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.4;
}

.boss-info-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.boss-info-content {
  display: flex;
  flex-direction: column;
}

.boss-info-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  font-weight: 600;
}

.boss-info-val {
  color: #e2e8f0;
  font-weight: 600;
}

.boss-coords-tag {
  display: inline-block;
  background: #0d1117;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.84rem;
  margin-top: 0.25rem;
}

.boss-slayer-name {
  color: var(--gold2);
  font-weight: 700;
}

.boss-drops-wrap {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
}

.boss-drops-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.boss-drops-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.boss-drop-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.boss-timer-num {
  font-family: monospace;
  font-weight: 700;
  color: #fca5a5;
  font-size: 0.88rem;
}

/* Video sambungan fight */
.comic-banner.comic-video{display:block;width:100%;padding:0;background:none;object-fit:cover}
@media(prefers-reduced-motion:reduce){.comic-banner.comic-video{display:none}}

.badge-loc {
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #7dd3fc;
}

.boss-spawn {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.spawn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.spawn-kitaran {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.spawn-loc {
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
}

.spawn-coords {
  font-size: 0.8rem;
  color: #7dd3fc;
}

.spawn-killer {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* Keep all four boss types balanced, with room for location details. */
.world-boss-container .boss-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.world-boss-container .spawn-head{flex-wrap:wrap}
@media(max-width:700px){.world-boss-container .boss-grid{grid-template-columns:minmax(0,1fr)}}
