.border-box {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  background-color: #fff;
  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: 10px;
  overflow: hidden;
  background-color: #fafafa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.border-box .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.border-box .card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@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);
  }
}

.prdx-wrapper {
  background: #0b0f1a;
  padding: 25px;
  border-radius: 15px;
  color: #fff;
  max-width: 750px;
  margin: auto;
  border: 1px solid #fffb0055;
  box-shadow: 0 0 20px #fffb0022;
  font-family: "Segoe UI", sans-serif;
}

.prdx-title {
  text-align: center;
  color: #fffb00;
  font-size: 28px;
  margin-bottom: 20px;
}

.prdx-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.prdx-input {
  background: #101622;
  border: 1px solid #fffb0044;
  border-radius: 8px;
  padding: 10px;
  color: #fff;
  width: 100%;
}

.prdx-btn {
  background: #fffb00;
  color: #000;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-weight: bold;
  transition: 0.2s;
}

.prdx-btn:hover {
  background: #d4d000;
}

.prdx-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  opacity: 0;
  transition: 0.4s ease-out;
}

.prdx-box {
  background: #101622;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #fffb0033;
  box-shadow: 0 0 10px #fffb0011;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s;
}

.prdx-label {
  display: block;
  font-size: 12px;
  color: #fffb00;
  margin-bottom: 5px;
}

.prdx-num {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 3px;
  min-height: 32px;
  transition: 0.25s ease-in-out;
}

.prdx-num.glow {
  color: #fffb00;
  text-shadow: 0 0 8px #fffb00, 0 0 14px #fffb00aa;
}

.prdx-hacker-text {
  font-family: "Consolas", "Courier New", monospace;
  color: #fffb00;
  background: #051019;
  padding: 10px 15px;
  border-left: 3px solid #fffb00;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
  text-shadow: 0 0 6px #fffb0088;
  animation: prdxGlow 1.6s infinite alternate;
}

@keyframes prdxGlow {
  0% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}
