html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.container {
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.wheel-wrapper {
  position: relative;
  min-height: 620px;
  min-width: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 0 16px rgba(255, 200, 0, 0.7));
}

#loginbox,
#spinbtns {
  box-shadow:
    0 0 0 1px rgba(255, 210, 70, 0.12),
    0 12px 30px rgba(0, 0, 0, 0.45);
  border-radius: 16px;
}

#loginbox input,
#spinbtns input {
  height: 54px;
  font-size: 18px;
}

#btn-login,
#loginbox button,
#spinbtns button {
  transition: all 0.2s ease;
}

#btn-login:hover,
#loginbox button:hover,
#spinbtns button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

#winner-list {
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#winner-modal .bg-gray-900 {
  border: 1px solid rgba(255, 210, 70, 0.25);
}

#winner-name {
  color: #fcd34d;
  text-shadow: 0 0 10px rgba(252, 211, 77, 0.18);
}

/* overlay wheel image biar pas */
main .relative img[alt="Wheel Overlay"] {
  z-index: 3;
}

/* Popup aturan */
#popup-box a {
  color: #0d6efd;
  text-decoration: none;
}

#popup-box a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1279px) {
  .wheel-wrapper {
    min-width: 520px;
    min-height: 520px;
  }
}

@media (max-width: 1024px) {
  .wheel-wrapper {
    min-width: 420px;
    min-height: 420px;
  }

  #loginbox,
  #spinbtns {
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  body {
    background-position: center center;
  }

  .container {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .wheel-wrapper {
    min-width: 300px;
    min-height: 300px;
  }

  #loginbox,
  #spinbtns {
    padding: 24px 20px !important;
    max-width: 100%;
  }

  #loginbox h2,
  #spinbtns h2 {
    font-size: 20px !important;
    line-height: 1.5;
  }

  #loginbox input,
  #spinbtns input {
    height: 48px;
    font-size: 16px;
  }

  #btn-login,
  #loginbox button,
  #spinbtns button {
    font-size: 18px !important;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #winner-list {
    right: 10px !important;
    left: 10px;
    bottom: 10px !important;
    max-width: unset !important;
    width: auto !important;
  }
}