body {
  background: #0b0f14;
  color: #e0d6b3;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 20px;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

h1 {
  color: #00ffae;
  text-shadow: 0 0 8px #00ffae;
}

.sub {
  color: #9aa6ad;
  font-size: 15px;
}

.map-section {
  margin-bottom: 60px;
  padding: 20px;
  border-radius: 10px;
}

/* Kolory sekcji */
.komnaty h2 {
  color: #47c1ff;
  text-shadow: 0 0 8px #47c1ff;
  border-bottom: 1px solid #2a4450;
}

.zywiolowe h2 {
  color: #ff9966;
  text-shadow: 0 0 6px #ff9966;
  border-bottom: 1px solid #3f2a1f;
}

.section-desc {
  color: #b8b29b;
  font-size: 14px;
  text-align: center;
  margin-bottom: 25px;
}

/* BLOK DUNGEONU = JAK map-block */
.map-block {
  margin-top: 35px;
  padding: 20px;
  background: #0f151b;
  border: 1px solid #1f2a33;
  border-radius: 10px;
  box-shadow: 0 0 8px #000;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.map-block h3 {
  color: #00ffae;
  margin-bottom: 5px;
}

.map-block p {
  color: #cfc6a8;
  margin-bottom: 16px;
  font-size: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}

/* GLASS / BLUR */
.card {
  position: relative;
  border-radius: 14px;
  padding: 12px;
  min-height: 140px;
  cursor: pointer;
  text-align: center;

  background: rgba(15, 20, 28, 0.55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.05),
    inset 0 0 25px rgba(0, 0, 0, 0.4);

  transition: 0.20s ease;
  z-index: 4;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px #00ffaa55;
}

.card img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  border-radius: 6px;
}

.card p {
  margin-top: 6px;
  font-size: 13px;
  color: #e0d6b3;
}

.card-icon {
  position: relative;
  z-index: 2;
}

/* Tooltip */
#tooltip {
  position: absolute;
  background: #0f151c;
  border: 1px solid #00ffaa;
  color: #00ffaa;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  pointer-events: none;
  display: none;
  white-space: nowrap;
  z-index: 9999;
}
