.vibes-pentagram-wrapper {
  --pentagram-bg-color: #0f0f1a;
  --pentagram-container-size: min(920px, 80vw);
  --pentagram-icon-size: clamp(55px, 8vw, 85px);
  --chill-glow: #00ff43;
  --spicy-glow: #ff6b81;
  --urban-glow: #ff3ea8;
  --dluxe-glow: #39f3ff;
  --artsy-glow: #ffd86b;
}

.vibes-pentagram-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vibes-pentagram-wrapper *,
.vibes-pentagram-wrapper *::before,
.vibes-pentagram-wrapper *::after {
  box-sizing: border-box;
}

.pentagram-container {
  position: relative;
  width: var(--pentagram-container-size);
  height: var(--pentagram-container-size);
  max-width: 90vw;
  max-height: 90vw;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.galaxy-svg {
  position: absolute;
  inset: 0%;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.galaxy-path {
  fill: none;
  stroke: rgba(255, 255, 255, 1);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.6))
    drop-shadow(0 0 26px rgba(57, 243, 255, 0.55))
    drop-shadow(0 0 40px rgba(255, 62, 168, 0.5));
  opacity: 0.95;
}

.vibes-pentagram-wrapper h1,
.vibes-pentagram-wrapper h2,
.vibes-pentagram-wrapper h3,
#modalOverlay #modalTitle,
#modalOverlay .brand-cta-text {
  font-family: "Orbitron", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.center-logo {
  position: absolute;
  z-index: 2;
  top: 47.5%;
  left: 49%;
  transform: translate(-50%, -50%);
  width: clamp(203px, 45vw, 390px);
  height: auto;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  mix-blend-mode: screen;
}

.center-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 130%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.05) 40%, 
    transparent 70%);
  animation: logoPulse 2.5s infinite ease-in-out;
  pointer-events: none;
  z-index: -1;
}

@keyframes logoPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.4;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}


.center-logo img {
  width: 120%;
  height: auto;
  display: block;
  object-fit: contain;
}

.pentagram-hint {
  text-align: center;
  margin-top: -2rem;
  padding: 0 1rem;
  margin-bottom: 210px;
}

.pentagram-hint-btn {
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(57, 243, 255, 0.6);
  opacity: 0.9;
  animation: hintPulse 2.5s infinite ease-in-out;
}

@keyframes hintPulse {
  0%, 100% {
    opacity: 0.6;
    text-shadow:
      0 0 10px rgba(0, 0, 0, 0.8),
      0 0 15px rgba(57, 243, 255, 0.4);
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 10px rgba(0, 0, 0, 0.8),
      0 0 20px rgba(57, 243, 255, 0.8),
      0 0 30px rgba(255, 62, 168, 0.5);
  }
}


@keyframes centerPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(0.92);
    opacity: 0.5;
  }
}

@keyframes hintFloat {
  0% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
}

.pentagram-container .star-point {
  position: absolute;
  width: var(--pentagram-icon-size);
  height: var(--pentagram-icon-size);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transform: translate(-50%, -50%);
  transition:
    top 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    left 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.25s ease;
}

.pentagram-container .star-point:hover .vibe-icon {
  transform: scale(var(--icon-scale-hover, 1.08));
}

.pentagram-container .star-point .vibe-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  transition: transform 0.25s ease, filter 0.25s ease;
  transform: scale(var(--icon-scale, 1));
}

.pentagram-container .point-1 {
  top: 6.5%;
  left: 60%;
  --icon-scale: 1.12;
  --icon-scale-hover: 1.22;
}

.pentagram-container .point-2 {
  top: 34%;
  left: 89%;
  --icon-scale: 1.18;
  --icon-scale-hover: 1.28;
}

.pentagram-container .point-3 {
  top: 72%;
  left: 77%;
  --icon-scale: 1.02;
  --icon-scale-hover: 1.12;
}

.pentagram-container .point-4 {
  top: 75%;
  left: 16%;
  --icon-scale: 1.30;
  --icon-scale-hover: 1.40;
}

.pentagram-container .point-5 {
  top: 30%;
  left: 15%;
  --icon-scale: 1.08;
  --icon-scale-hover: 1.18;
}

.pentagram-container .star-point.to-center {
  top: 50%;
  left: 50%;
}

.pentagram-container .point-1 .vibe-icon {
  filter:
    drop-shadow(0 0 6px rgba(0, 102, 1, 0.9))
    drop-shadow(0 0 18px rgba(127, 229, 255, 0.7));
}
.pentagram-container .point-1:hover .vibe-icon {
  filter:
    drop-shadow(0 0 10px rgba(0, 142, 38, 1))
    drop-shadow(0 0 26px rgba(127, 229, 255, 0.9));
}

.pentagram-container .point-2 .vibe-icon {
  filter:
    drop-shadow(0 0 6px rgba(255, 107, 129, 0.9))
    drop-shadow(0 0 18px rgba(255, 107, 129, 0.7));
}
.pentagram-container .point-2:hover .vibe-icon {
  filter:
    drop-shadow(0 0 10px rgba(255, 107, 129, 1))
    drop-shadow(0 0 26px rgba(255, 107, 129, 0.9));
}

.pentagram-container .point-3 .vibe-icon {
  filter:
    drop-shadow(0 0 6px rgba(168, 0, 92, 0.9))
    drop-shadow(0 0 18px rgba(255, 62, 168, 0.7));
}
.pentagram-container .point-3:hover .vibe-icon {
  filter:
    drop-shadow(0 0 10px rgba(255, 62, 168, 1))
    drop-shadow(0 0 26px rgba(255, 62, 168, 0.95));
}

.pentagram-container .point-4 .vibe-icon {
  filter:
    drop-shadow(0 0 6px rgba(0, 155, 163, 0.9))
    drop-shadow(0 0 18px rgba(57, 243, 255, 0.7));
}
.pentagram-container .point-4:hover .vibe-icon {
  filter:
    drop-shadow(0 0 10px rgba(0, 208, 244, 1))
    drop-shadow(0 0 26px rgba(57, 243, 255, 0.95));
}

.pentagram-container .point-5 .vibe-icon {
  filter:
    drop-shadow(0 0 6px rgba(150, 153, 0, 0.9))
    drop-shadow(0 0 18px rgba(255, 216, 107, 0.7));
}
.pentagram-container .point-5:hover .vibe-icon {
  filter:
    drop-shadow(0 0 10px rgba(255, 216, 107, 1))
    drop-shadow(0 0 26px rgba(255, 216, 107, 0.95));
}

.pentagram-container .star-point .tooltip {
  position: absolute;
  top: 110%;
  opacity: 0;
  background: rgba(5, 5, 20, 0.95);
  color: #f5f5ff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  transition: 0.25s;
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.pentagram-container .star-point:hover .tooltip {
  opacity: 1;
  top: 130%;
}

#modalOverlay {
  position: fixed;
  inset: 0;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#modalOverlay.active {
  opacity: 1;
  visibility: visible;
}

#modalOverlay .modal-content {
  background: radial-gradient(circle at top, #2a2a50 0%, #151528 45%, #050510 100%);
  color: #dde7ff;
  padding: 40px;
  border-radius: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s ease;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

#modalOverlay.active .modal-content {
  transform: translateY(0);
}

#modalOverlay .close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  color: #a0a8cf;
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

#modalOverlay .close-btn:hover {
  color: #ffffff;
  text-shadow: 0 0 10px white;
}

#modalOverlay #modalImage {
  width: auto;
  max-width: 90%;
  height: auto;
  max-height: 50vh;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

#modalOverlay #modalTitle {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

#modalOverlay #modalDesc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
}

#modalOverlay .modal-content.brand .brand-question {
  display: block;
  margin: 16px 0 -5px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #ffffff;
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.7),
    0 0 12px rgba(255, 62, 168, 0.7);
}

#modalOverlay .modal-content.brand #modalTitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 41px;
}

#modalOverlay .modal-content.brand .brand-title-vibes {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  display: block;
}

#modalOverlay .modal-content.brand .brand-title-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  opacity: 0.9;
}

#modalOverlay .modal-content.brand .brand-text-main {
  font-size: 14.5px;
}

#modalOverlay .modal-content.chill {
  background: radial-gradient(circle at top, #021a0c 0%, #020806 45%, #010302 100%);
  border-color: rgba(0, 255, 67, 0.7);
  box-shadow:
    0 0 35px rgba(0, 255, 67, 0.4),
    0 18px 40px rgba(0, 0, 0, 0.9);
}
#modalOverlay .modal-content.chill #modalTitle {
  color: #7dffb1;
}
#modalOverlay .modal-content.chill #modalDesc {
  color: #d5ffe6;
}
#modalOverlay.chill {
  background: radial-gradient(circle at top, rgba(0, 255, 67, 0.12), rgba(0, 0, 0, 0.9));
}

#modalOverlay .modal-content.spicy {
  background: radial-gradient(circle at top, #290308 0%, #120107 45%, #050005 100%);
  border-color: rgba(255, 107, 129, 0.8);
  box-shadow:
    0 0 35px rgba(255, 107, 129, 0.5),
    0 18px 40px rgba(0, 0, 0, 0.9);
}
#modalOverlay .modal-content.spicy #modalTitle {
  color: #ff8fa1;
}
#modalOverlay .modal-content.spicy #modalDesc {
  color: #ffd6dd;
}
#modalOverlay.spicy {
  background: radial-gradient(circle at top, rgba(255, 107, 129, 0.12), rgba(0, 0, 0, 0.9));
}

#modalOverlay .modal-content.urban {
  background: radial-gradient(circle at top, #29011b 0%, #140010 45%, #050008 100%);
  border-color: rgba(255, 62, 168, 0.85);
  box-shadow:
    0 0 35px rgba(255, 62, 168, 0.6),
    0 18px 40px rgba(0, 0, 0, 0.9);
}
#modalOverlay .modal-content.urban #modalTitle {
  color: #ffc2ef;
}
#modalOverlay .modal-content.urban #modalDesc {
  color: #ffdff6;
}
#modalOverlay.urban {
  background: radial-gradient(circle at top, rgba(255, 62, 168, 0.12), rgba(0, 0, 0, 0.9));
}

#modalOverlay .modal-content.dluxe {
  background: radial-gradient(circle at top, #031b23 0%, #020d14 45%, #010408 100%);
  border-color: rgba(57, 243, 255, 0.9);
  box-shadow:
    0 0 40px rgba(57, 243, 255, 0.7),
    0 20px 45px rgba(0, 0, 0, 0.95);
}
#modalOverlay .modal-content.dluxe #modalTitle {
  color: #c1f9ff;
}
#modalOverlay .modal-content.dluxe #modalDesc {
  color: #e0fcff;
}
#modalOverlay.dluxe {
  background: radial-gradient(circle at top, rgba(57, 243, 255, 0.12), rgba(0, 0, 0, 0.9));
}

#modalOverlay .modal-content.artsy {
  background: radial-gradient(circle at top, #241a02 0%, #120c02 45%, #050301 100%);
  border-color: rgba(255, 216, 107, 0.9);
  box-shadow:
    0 0 40px rgba(255, 216, 107, 0.55),
    0 18px 40px rgba(0, 0, 0, 0.9);
}
#modalOverlay .modal-content.artsy #modalTitle {
  color: #ffe58a;
}
#modalOverlay .modal-content.artsy #modalDesc {
  color: #fff3c7;
}
#modalOverlay.artsy {
  background: radial-gradient(circle at top, rgba(255, 216, 107, 0.12), rgba(0, 0, 0, 0.9));
}

#modalOverlay .modal-content.brand {
  background:
    radial-gradient(circle at top, rgba(0, 255, 67, 0.28) 0%, rgba(5, 3, 20, 0.98) 40%, #020008 100%);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 30px rgba(0, 255, 67, 0.5),
    0 0 40px rgba(255, 107, 129, 0.5),
    0 0 50px rgba(255, 62, 168, 0.5),
    0 0 60px rgba(57, 243, 255, 0.5),
    0 0 70px rgba(255, 216, 107, 0.55);
}

#modalOverlay .modal-content.brand #modalTitle {
  color: #ffffff;
}

#modalOverlay .modal-content.brand #modalDesc {
  color: #f4fff9;
}

#modalOverlay.brand {
  background:
    radial-gradient(circle at top,
      rgb(10, 30, 15) 0%,
      rgb(15, 10, 20) 25%,
      rgb(10, 15, 20) 50%,
      rgb(15, 12, 8) 75%,
      #000000 100%);
}

#modalOverlay .brand-cta {
  margin-top: 38px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#modalOverlay .brand-cta-text {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff00a5;
  margin-bottom: -2px;
}

#modalOverlay .modal-content.brand #modalTitle {
  margin-top: 25px;
}

.wanted-test-btn-modal {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease;
  display: inline-block;
  position: relative;
}

.wanted-test-btn-modal img {
  display: block;
  width: auto;
  height: 200px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 3px rgba(208, 255, 0, 0.6))
          drop-shadow(0 0 6px rgba(208, 255, 0, 0.4));
  animation: hypnoticGlowModal 1.62s ease-in-out infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
}

@keyframes hypnoticGlowModal {
  0%, 100% {
    filter: drop-shadow(0 0 3px rgba(208, 255, 0, 0.6))
            drop-shadow(0 0 6px rgba(208, 255, 0, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 4px rgba(208, 255, 0, 0.9))
            drop-shadow(0 0 7px rgba(208, 255, 0, 0.7));
  }
}

.wanted-test-btn-modal:hover img {
  animation: none !important;
  filter: drop-shadow(0 0 5px rgba(208, 255, 0, 1))
          drop-shadow(0 0 35px rgba(255, 0, 204, 0.9)) !important;
  transform: scale(1.08) !important;
}

.wanted-test-btn-modal:active {
  transform: scale(0.95);
}

.wanted-test-btn-modal:active img {
  animation: none !important;
  transform: scale(0.92) !important;
  filter: drop-shadow(0 0 5px rgba(208, 255, 0, 1))
          drop-shadow(0 0 50px rgba(255, 0, 204, 1)) !important;
}

#modalOverlay .modal-content.brand .brand-cta {
  display: flex;
}

@media (max-width: 768px) {
  .vibes-pentagram-wrapper {
    --pentagram-container-size: min(95vw, 95vw);
    --pentagram-icon-size: clamp(45px, 12vw, 70px);
    padding: 1rem 0;
    min-height: auto;
  }

  .pentagram-container {
    max-width: 95vw;
    max-height: 95vw;
  }

  #modalOverlay {
    padding: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  #modalOverlay .modal-content {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 50px 24px 40px;
    overflow-y: auto;
  }
  
  #modalOverlay .modal-content.brand .brand-text-main {
    font-size: 14.5px;
  }

  #modalOverlay #modalImage {
    height: auto;
    max-height: 35vh;
    width: 100%;
    object-fit: contain;
  }

  #modalOverlay #modalTitle {
    font-size: 18px;
  }

  #modalOverlay #modalDesc {
    font-size: 13px;
  }
  
  #modalOverlay .brand-cta {
    margin-top: 53px !important;
  }

  #modalOverlay .brand-cta-text {
    font-size: 20px;
  }
  
  #modalOverlay .modal-content.brand #modalTitle {
    margin-top: 0;
  }

  .wanted-test-btn-modal img {
    height: 140px;
  }

  .center-logo-hint {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .center-logo {
    width: clamp(150px, 42vw, 240px);
  }

  .pentagram-hint {
    margin-top: 30px;
    padding: 0 1rem;
    margin-bottom: 155px;
  }
}

@media (max-width: 480px) {
  .vibes-pentagram-wrapper {
    --pentagram-container-size: 95vw;
    --pentagram-icon-size: clamp(40px, 14vw, 60px);
  }

  .pentagram-container {
    max-width: 95vw;
    max-height: 95vw;
  }

  #modalOverlay {
    padding: 0;
  }

  #modalOverlay .modal-content {
    padding: 40px 20px 30px;
    justify-content: flex-start;
  }

  #modalOverlay #modalTitle {
    font-size: 16px;
    margin-bottom: 12px;
  }

  #modalOverlay #modalDesc {
    font-size: 13px;
    line-height: 1.5;
  }
  
  #modalOverlay .modal-content.brand .brand-text-main {
    font-size: 13px;
  }

  #modalOverlay .brand-cta {
    margin-top: 40px !important;
    gap: 6px;
  }

  #modalOverlay .brand-cta-text {
    font-size: 15px;
  }
  
  #modalOverlay .modal-content.brand #modalTitle {
    margin-top: 0;
    margin-bottom: 25px;
  }

  .wanted-test-btn-modal img {
    height: 120px;
  }

  .center-logo-hint {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .center-logo {
    width: clamp(134px, 39vw, 210px);
  }

  .pentagram-hint {
    margin-top: 30px;
    padding: 0 1rem;
    margin-bottom: 135px;
  }
}
