<style>
/* ===================== BORDER BOX ===================== */
.border-box {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* jarak antar item */
    transition: box-shadow 0.3s ease;
}

.border-box:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.border-box .card {
    flex: 1 1 calc(20% - 20px); /* 5 item per baris */
    max-width: 120px;
    aspect-ratio: 1/1; /* persegi sempurna */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fafafa;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.border-box .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.border-box .card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive tampilan di HP */
@media (max-width: 768px) {
    .border-box .card {
        flex: 1 1 calc(33.33% - 15px); /* 3 item per baris */
    }
}

@media (max-width: 480px) {
    .border-box .card {
        flex: 1 1 calc(50% - 10px); /* 2 item per baris */
    }
}

/* ===================== PREDIKSI TOGEL PREMIUM V2 ===================== */
.prdx-wrapper {
    background: #0b0f1a;
    padding: 30px;
    border-radius: 16px;
    color: #fff;
    max-width: 750px;
    margin: 30px auto;
    border: 1px solid #00eaff55;
    box-shadow: 0 0 25px #00eaff22;
    font-family: "Segoe UI", sans-serif;
    transition: box-shadow 0.3s ease;
}

.prdx-wrapper:hover {
    box-shadow: 0 0 35px #00eaff33;
}

.prdx-title {
    text-align: center;
    color: #00eaff;
    font-size: 30px;
    margin-bottom: 25px;
    text-shadow: 0 0 8px #00eaff66;
}

.prdx-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.prdx-input {
    background: #101622;
    border: 1px solid #00eaff44;
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    flex: 1;
    min-width: 150px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.prdx-input:focus {
    border-color: #00eaff;
    box-shadow: 0 0 10px #00eaff44;
    outline: none;
}

.prdx-btn {
    background: #00eaff;
    color: #000;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    font-weight: bold;
    transition: background 0.25s ease, transform 0.25s ease;
}

.prdx-btn:hover {
    background: #00bcd4;
    transform: translateY(-2px);
}

.prdx-result {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.prdx-box {
    background: #101622;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #00eaff33;
    box-shadow: 0 0 12px #00eaff11;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.prdx-label {
    display: block;
    font-size: 13px;
    color: #00eaff;
    margin-bottom: 6px;
}

.prdx-num {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 3px;
    min-height: 36px;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.prdx-num.glow {
    color: #00eaff;
    text-shadow: 0 0 10px #00eaff, 0 0 18px #00eaffaa;
}

.prdx-hacker-text {
    font-family: "Consolas", "Courier New", monospace;
    color: #00eaff;
    background: #051019;
    padding: 12px 16px;
    border-left: 3px solid #00eaff;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    text-shadow: 0 0 6px #00eaff88;
    animation: prdxGlow 1.6s infinite alternate;
}

@keyframes prdxGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}
</style>