/* css/fire-map.css */
#fire-map {
  background: var(--bg-dark);
  min-height: 100vh;
  padding: 80px 0;
  color: #fff;
}

#fire-map .section-title {
  text-align: center;
}

.fire-map-intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.map-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  height: 600px;
  margin-top: 2rem;
}

#fire-map-element {
  height: 100%;
  border-radius: 15px;
  border: 2px solid var(--primary-color);
  background: #1a1a2e;
}

.fire-timeline {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 1.5rem;
  overflow-y: auto;
  border: 2px solid rgba(255, 107, 53, 0.3);
}

.fire-timeline h3 {
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 107, 53, 0.3);
  padding-bottom: 0.5rem;
}

.fire-timeline-item {
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  border-left: 4px solid var(--primary-color);
}

.fire-timeline-item:hover {
  background: rgba(255, 107, 53, 0.2);
  transform: translateX(5px);
}

.fire-timeline-item.active {
  background: rgba(255, 107, 53, 0.3);
  border-left-width: 6px;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.fire-timeline-item h4 {
  margin-bottom: 0.5rem;
}

.fire-timeline-item p {
  margin: 0.2rem 0;
}

.fire-info-card {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
  border: 2px solid rgba(255, 107, 53, 0.3);
  color: #fff;
}

.fire-rank-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-fire);
  border-radius: 20px;
  font-weight: bold;
  color: #fff;
}

/* 响应式 */
@media (max-width: 768px) {
  .map-container {
    grid-template-columns: 1fr;
    height: auto;
  }

  #fire-map-element {
    height: 400px;
  }

  .fire-timeline {
    max-height: 400px;
  }
}
