<style>
.border-box {
  border: 1px solid #362348;
  border-radius: 12px;
  padding: 15px;
  background-color: #362348;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.border-box .card {
  flex: 1 1 calc(20% - 15px);
  max-width: 100px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #362348, #4a2f63);
  box-shadow: 0 4px 12px rgba(54, 35, 72, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.border-box .card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(54, 35, 72, 0.8);
}

.border-box .card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .border-box .card {
    flex: 1 1 calc(33.33% - 10px);
  }
}

@media (max-width: 480px) {
  .border-box .card {
    flex: 1 1 calc(50% - 10px);
  }
}

/* WRAPPER */
.prdx-wrapper {
  background: #362348;
  padding: 30px;
  border-radius: 20px;
  color: #ffffff;
  max-width: 750px;
  margin: auto;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 25px rgba(255,255,255,0.08);
  font-family: "Segoe UI", sans-serif;
}

.prdx-title {
  text-align: center;
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.prdx-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.prdx-input {
  background: #362348;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 12px;
  color: #ffffff;
  width: 100%;
}

.prdx-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.prdx-btn {
  background: #4a2f63;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  font-weight: bold;
  transition: 0.25s;
}

.prdx-btn:hover {
  background: #5d3b7d;
}

.prdx-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  opacity: 0;
  transition: 0.5s ease-out;
}

.prdx-box {
  background: #362348;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 12px rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(15px);
  transition: 0.5s;
}

.prdx-label {
  display: block;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 6px;
}

.prdx-num {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 3px;
  min-height: 34px;
  color: #ffffff;
  transition: 0.3s ease-in-out;
}

.prdx-num.glow {
  color: #ffffff;
  text-shadow: 0 0 10px #ffffff, 0 0 20px rgba(255,255,255,0.5);
}

.prdx-hacker-text {
  font-family: "Consolas", "Courier New", monospace;
  color: #ffffff;
  background: #362348;
  padding: 12px 18px;
  border-left: 3px solid #ffffff;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 15px;
  text-shadow: 0 0 8px rgba(255,255,255,0.5);
  animation: prdxGlowWhite 1.5s infinite alternate;
}

@keyframes prdxGlowWhite {
  0% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}
</style>