    .pre-register-container {
      text-align: center;
      padding: 60px 20px;
      font-family: 'Prompt', sans-serif;
      color: #fff;
      position: relative;
    }
    .milestone {
      display: inline-block;
      margin: 20px;
      opacity: 0.4;
      transition: 0.3s;
    }
    .milestone.unlocked {
      opacity: 1;
      transform: scale(1.1);
    }
    .milestone img {
      width: 150px;
    }


.progress-wrapper {
  position: relative;
  max-width: 800px;
  margin: 30px auto;
}

/* เรือเหาะ */
.progress-plane-container {
  position: absolute;
  top: -30px;
  transition: left 0.5s ease-in-out;
  z-index: 10;
}

.progress-plane-img {
  width: 80px;
  animation: float-plane 3s ease-in-out infinite;
}

@keyframes float-plane {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-8px) translateX(5px); }
  100% { transform: translateY(0) translateX(0); }
}

/* หลอด */
.progress-bar-outer {
  position: relative;
  height: 36px;
  background: #e0e0e0;
  border-radius: 18px;
  overflow: hidden;
}

.progress-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, #d46cff, #ae00ff);
  border-radius: 18px 0 0 18px;
  position: relative;
  overflow: hidden;
}

.progress-glow {
  position: absolute;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2s linear infinite;
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* จำนวนคนใต้หลอด */
.progress-count-text {
  text-align: center;
  margin-top: 12px;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}


.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.modal-header, .modal-body {
  background: transparent !important;
}

/* MODAL แบบใหม่ */
.custom-modal-bg {
  background: #1a1a1a; /* สีดำเข้ม */
  border: 2px solid #ae00ff; /* ขอบม่วง */
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(174, 0, 255, 0.3);
  color: #fff;
  max-width: 350px;
  margin: auto;
}

/* หัว modal */
.modal-header-dark {
  background-color: #2c003e;
  border-bottom: 1px solid #5e1b80;
  padding: 12px 20px;
}

.modal-header-dark .modal-title {
  color: #ffffff;
  font-weight: bold;
  font-family: 'Prompt', sans-serif;
  font-size: 20px;
}

.modal-body {
  padding: 20px;
}

/* รูปไอเทม */
.modal-item-img {
  max-height: 60px;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(255,255,255,0.2);
}

/* ชื่อไอเทม */
.item-name {
  color: #ffd700; /* ทอง */
  font-weight: 600;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
}

.tooltip-text .tooltip-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 0px;
}

.tooltip-text .tooltip-info strong {
  font-weight: 600;
  color: #fff;
  font-size: 13px;
  margin-bottom: 1px;
}

.tooltip-text .tooltip-info div {
  font-size: 12px;
  color: #ccc;
  white-space: normal;
  margin: 0;
  padding: 0;
}



.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translate(-100%, -50%);
  z-index: 999;
  padding: 8px 10px;
  background-color: #1a1a1a;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Prompt', sans-serif;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  white-space: normal;
  width: max-content;
  max-width: 220px;
}

/* เพิ่มลูกศร */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #1a1a1a;
}

/* รูปภายใน tooltip */
.tooltip-text img {
  width: 32px;
  height: auto;
  flex-shrink: 0;
}

/* ข้อความ tooltip */
.tooltip-text .tooltip-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.tooltip-text .tooltip-info strong {
  font-weight: 600;
  color: #fff;
  font-size: 13px;
}

.tooltip-text .tooltip-info span {
  font-size: 12px;
  color: #ccc;
  white-space: pre-line;
}


