/* ===================== GRID BOX ===================== */
.border-box {
  border: 2px solid;
  border-image: linear-gradient(45deg, #ffd700, #ffcc00, #ffaa00) 1;
  border-radius: 10px;
  padding: 15px;
  background: linear-gradient(135deg, #1a1a00, #000); /* dark gold tone */
  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: linear-gradient(135deg, #ffd700, #ffcc00, #ffaa00);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.border-box .card:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 15px #ffd700,
              0 0 25px #ffcc00,
              0 0 35px #ffaa00;
}

.border-box .card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  padding: 5px;
}

/* 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);
  }
}

/* ===================== PREDIKSI TOGEL PREMIUM V2 ===================== */

.prdx-wrapper {
  background: linear-gradient(135deg, #000, #1a1a00);
  padding: 25px;
  border-radius: 15px;
  color: #ffffff;
  max-width: 750px;
  margin: auto;

  border: 2px solid;
  border-image: linear-gradient(90deg, #ffd700, #ffcc00, #ffaa00) 1;

  box-shadow: 0 0 20px #ffd700,
              0 0 30px #ffcc00;
  font-family: "Segoe UI", sans-serif;
}

.prdx-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;

  background: linear-gradient(90deg, #ffd700, #ffcc00, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prdx-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.prdx-input {
  background: #111;
  border: 1px solid #555;
  border-radius: 8px;
  padding: 10px;
  color: #fff;
  width: 100%;
}

.prdx-btn {
  background: linear-gradient(45deg, #ffd700, #ffcc00, #ffaa00);
  color: #000;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-weight: bold;
  transition: 0.3s;
}

.prdx-btn:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
}

.prdx-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  opacity: 0;
  transition: 0.4s ease-out;
}

.prdx-box {
  background: linear-gradient(135deg, #111, #222);
  padding: 12px;
  border-radius: 10px;
  text-align: center;

  border: 1px solid;
  border-image: linear-gradient(45deg, #ffd700, #ffcc00, #ffaa00) 1;

  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);

  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s;
}

.prdx-label {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;

  background: linear-gradient(90deg, #ffd700, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prdx-num {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 3px;
  min-height: 32px;
  transition: 0.25s ease-in-out;
}

.prdx-num.glow {
  color: #fff;
  text-shadow: 0 0 5px #ffd700,
               0 0 10px #ffcc00,
               0 0 15px #ffaa00;
}

.prdx-hacker-text {
  font-family: "Consolas", "Courier New", monospace;
  color: #fff;
  background: #111;
  padding: 10px 15px;
  border-left: 4px solid;

  border-image: linear-gradient(#ffd700, #ffcc00, #ffaa00) 1;

  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;

  text-shadow: 0 0 10px #ffd700;
  animation: prdxGlow 1.2s infinite alternate;
}

@keyframes prdxGlow {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}