/* Sơ đồ địa điểm Đại hội - UI & Visual Redesign */
.dh-map-accent { --dh-accent: #0d9488; --dh-accent-dark: #0f766e; }

/* Hero Banner Bản đồ tổng thể */
.dh-master-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
  border: 1px solid #ccfbf1;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px -5px rgba(13, 148, 136, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
}
.dh-master-card::after {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.dh-master-thumb {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  background: #fff;
  border: 1px solid #e2e8f0;
  max-width: 380px;
  margin: 0 auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dh-master-thumb:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.18);
}
.dh-master-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.dh-master-thumb__badge {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s ease;
}
.dh-master-thumb:hover .dh-master-thumb__badge {
  background: var(--dh-accent);
}
.dh-master-thumb__badge .material-symbols-outlined { font-size: 16px; }

/* Nút tuỳ chỉnh */
.btn-teal-solid {
  background: var(--dh-accent);
  color: #fff;
  border: 1px solid var(--dh-accent);
  transition: all 0.2s ease;
}
.btn-teal-solid:hover {
  background: var(--dh-accent-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline-teal {
  background: #fff;
  color: var(--dh-accent);
  border: 1px solid #99f6e4;
  transition: all 0.2s ease;
}
.btn-outline-teal:hover {
  background: #f0fdfa;
  color: var(--dh-accent-dark);
  border-color: var(--dh-accent);
}

/* Grid Hub & Spoke */
.dh-hub {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

/* Node địa điểm chung */
.dh-node {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 18px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.dh-node:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(13, 148, 136, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: #99f6e4;
}

/* Khung hiển thị Mascot & Ảnh */
.dh-node__media {
  position: relative;
  border-radius: 1rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 195px;
  overflow: hidden;
  padding: 12px 16px;
  background: radial-gradient(circle at 50% 35%, #f0fdfa 0%, #ccfbf1 60%, #99f6e4 100%);
}

/* Vòng hào quang mềm trung tâm */
.dh-node__media::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Hiệu ứng nổi khối 3D cho Mascot */
.dh-node__media img {
  max-height: 94%;
  max-width: 90%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 18px rgba(15, 23, 42, 0.16));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
.dh-node:hover .dh-node__media img {
  transform: scale(1.06) translateY(-4px);
}

/* Phối màu nền nghệ thuật riêng cho từng môn */
.dh-node--golf .dh-node__media {
  background: radial-gradient(circle at 50% 35%, #ecfdf5 0%, #d1fae5 60%, #a7f3d0 100%);
}
.dh-node--stadium .dh-node__media {
  background: radial-gradient(circle at 50% 35%, #f0fdfa 0%, #ccfbf1 60%, #99f6e4 100%);
}
.dh-node--soccer .dh-node__media {
  background: radial-gradient(circle at 50% 35%, #f0fdf4 0%, #dcfce7 60%, #bbf7d0 100%);
}
.dh-node--hub .dh-node__media {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  height: 220px;
  padding: 0;
}
.dh-node--hub .dh-node__media img {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 0.4s ease;
}
.dh-node--hub:hover .dh-node__media img {
  transform: scale(1.04);
}

/* Floating Media Tag */
.dh-media-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.dh-media-tag .material-symbols-outlined { font-size: 15px; color: var(--dh-accent); }
.dh-media-tag--gold {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #fcd34d;
}
.dh-media-tag--gold .material-symbols-outlined { color: #b45309; }

/* Thông tin thẻ địa điểm */
.dh-node__title {
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  font-size: 1.05rem;
}
.dh-node__addr {
  color: #64748b;
  font-size: 0.82rem;
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  gap: 3px;
}
.dh-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.dh-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.dh-chip--hero {
  background: #ccfbf1;
  color: var(--dh-accent-dark);
}
.dh-chip--hero .material-symbols-outlined { font-size: 15px; }
.dh-chip--date {
  background: var(--dh-accent);
  color: #fff;
}
.dh-chip--dist {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.dh-chip .material-symbols-outlined { font-size: 14px; }
.dh-node__note {
  color: #475569;
  font-size: 0.8rem;
  margin: 10px 0 0;
  font-weight: 500;
}

/* Nút chỉ đường bản đồ */
.dh-map-btn {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f0fdfa;
  color: var(--dh-accent-dark);
  border: 1px solid #99f6e4;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 0.65rem;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
}
.dh-map-btn:hover {
  background: var(--dh-accent);
  border-color: var(--dh-accent);
  color: #fff;
  transform: translateY(-1px);
}
.dh-map-btn .material-symbols-outlined { font-size: 18px; }

/* Interactive Sport Tabs cho Nhà thi đấu */
.dh-sport-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0 4px;
  background: #f8fafc;
  padding: 4px;
  border-radius: 0.65rem;
  border: 1px solid #e2e8f0;
}
.dh-sport-tab {
  flex: 1;
  min-width: 75px;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.dh-sport-tab:hover {
  background: rgba(13, 148, 136, 0.08);
  color: var(--dh-accent-dark);
}
.dh-sport-tab.active {
  background: var(--dh-accent);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

/* Feature item rows */
.dh-feature-list {
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  margin-top: 10px;
}
.dh-sport-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: #334155;
  padding: 4px 0;
}
.dh-sport-item .material-symbols-outlined {
  font-size: 16px;
  color: var(--dh-accent);
  flex-shrink: 0;
}

/* Hub trung tâm (khách sạn) nổi bật */
.dh-node--hub {
  border: 2px solid var(--dh-accent);
  background: #ffffff;
  box-shadow: 0 10px 30px -5px rgba(13, 148, 136, 0.15), 0 4px 12px rgba(0, 0, 0, 0.04);
}
.dh-node--hub .dh-node__title {
  font-size: 1.15rem;
  color: #0f172a;
}
.dh-sched {
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed #cbd5e1;
}
.dh-sched li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.82rem;
  color: #334155;
}
.dh-sched b {
  color: var(--dh-accent);
  background: #f0fdfa;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 0.78rem;
}

/* Desktop layout: hub ở giữa, các địa điểm vệ tinh */
@media (min-width: 992px) {
  .dh-hub {
    grid-template-columns: 1fr 1.25fr 1fr;
    grid-template-areas:
      "golf   hub   stadium"
      "soccer hub   stadium";
    align-items: stretch;
    position: relative;
  }
  .dh-hub::before {
    content: "";
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle at center, color-mix(in srgb, var(--dh-accent) 6%, transparent) 0, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  .dh-node { z-index: 1; }
  .dh-area-golf { grid-area: golf; }
  .dh-area-soccer { grid-area: soccer; }
  .dh-area-stadium { grid-area: stadium; }
  .dh-area-hub { grid-area: hub; }
}

/* Thẻ mặt bằng tầng - Architectural Blueprint Card */
.dh-floor {
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #ffffff;
  width: 100%;
  text-align: left;
  padding: 0;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}
.dh-floor:hover {
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
  border-color: #99f6e4;
}
.dh-floor__img {
  position: relative;
  background: #f8fafc;
  height: 195px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}
.dh-floor__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}
.dh-floor:hover .dh-floor__img img {
  transform: scale(1.04);
}
.dh-floor__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dh-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.2);
}
.dh-floor__zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease;
}
.dh-floor:hover .dh-floor__zoom {
  background: var(--dh-accent);
}
.dh-floor__zoom .material-symbols-outlined { font-size: 16px; }

/* Facility Chips cho từng tầng */
.dh-facility-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.dh-facility-chip {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 500;
}

/* Modal hình ảnh tương tác */
.dh-modal-viewer {
  background: #0f172a;
  position: relative;
  overflow: auto;
  max-height: 75vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.dh-modal-viewer img {
  max-width: 100%;
  height: auto;
  transition: transform 0.2s ease;
  user-select: none;
}
.dh-zoom-toolbar {
  position: sticky;
  bottom: 16px;
  margin-top: -50px;
  z-index: 10;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dh-zoom-btn {
  background: transparent;
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.dh-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.dh-zoom-btn .material-symbols-outlined { font-size: 18px; }
