/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #b45309; /* Yellow-700 */
    border-radius: 4px;
}

body {
    background-color: #0a0000;
    -webkit-tap-highlight-color: transparent; 
}

.market-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-card:active {
    transform: scale(0.98);
}

.badge-buka {
    background-color: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-tutup {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Glowing Login Button for Red/Gold Theme */
.glow-login-btn {
    animation: glow-pulse 2.5s infinite;
}

@keyframes glow-pulse {
    0% { box-shadow: 0 0 5px rgba(250, 204, 21, 0.2); border-color: #7f1d1d; color: #d97706; }
    50% { box-shadow: 0 0 20px rgba(250, 204, 21, 0.6), inset 0 0 10px rgba(220, 38, 38, 0.5); border-color: #eab308; color: #fef08a; }
    100% { box-shadow: 0 0 5px rgba(250, 204, 21, 0.2); border-color: #7f1d1d; color: #d97706; }
}

/* Prediction Button Red/Gold */
.btn-prediksi {
    background: linear-gradient(to bottom, #dc2626 0%, #991b1b 100%);
    box-shadow: inset 0px 1px 0px rgba(250, 204, 21, 0.3), 0 2px 4px rgba(0, 0, 0, 0.8);
    color: #fef08a;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6);
    border: 1px solid #7f1d1d;
    transition: all 0.2s;
}

.btn-prediksi:active {
    background: linear-gradient(to bottom, #991b1b 0%, #dc2626 100%);
    transform: scale(0.98);
}

/* Modal Animations */
.modal-active {
    display: flex !important;
}
.modal-show {
    opacity: 1 !important;
}
.modal-show > div {
    transform: scale(1) !important;
}

.number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #3f0000, #1a0000);
    color: #facc15;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.35rem 0.6rem;
    border-radius: 0.375rem;
    margin: 0.15rem;
    border: 1px solid #991b1b;
    box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
