/* ========================================
   KALKULATOR MIX PARLAY - BOLAPELANGI
   Style terpisah dari HTML
   ======================================== */

* {
  font-family: 'Poppins', 'Inter', sans-serif;
}

body {
  background: linear-gradient(135deg, #0a0f2a 0%, #0f172a 100%);
  min-height: 100vh;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #60a5fa;
}

/* Animasi fade in */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.parlay-card {
  animation: fadeInUp 0.3s ease-out forwards;
}

/* Radio button custom */
input[type="radio"] {
  accent-color: #3b82f6;
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

/* Number input spinner */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 0.5;
}

/* Glow effect */
.glow-text {
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Hover card */
.result-card {
  transition: all 0.3s ease;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
}

/* Disabled button style */
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Input number dengan step 0.01 */
input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Navbar styling */
nav {
  transition: all 0.3s ease;
}

/* Hover effect untuk link */
.nav-link:hover {
  color: #60a5fa;
  transition: color 0.2s ease;
}

/* Custom button styling */
.btn-custom {
  transition: all 0.2s ease;
}

.btn-custom:hover {
  transform: translateY(-1px);
}

/* Radio label hover */
.radio-label:hover {
  color: #3b82f6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .parlay-card .flex {
    gap: 0.75rem;
  }
  
  .result-card p.text-2xl {
    font-size: 1.25rem;
  }
  
  .glow-text {
    font-size: 1.5rem;
  }
}

/* Loading state (jika diperlukan) */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #3b82f6;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Tooltip style untuk informasi */
.tooltip-info {
  position: relative;
  cursor: help;
}

.tooltip-info:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  z-index: 10;
}

/* Card border glow on focus */
input:focus {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Smooth transition for all interactive elements */
button, a, input, label {
  transition: all 0.2s ease;
}

/* Footer styling */
footer a {
  transition: color 0.2s ease;
}

footer a:hover {
  color: #60a5fa;
}