body {
  background-color: #0d061a;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(88, 28, 135, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(49, 46, 129, 0.25) 0%, transparent 40%);
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding-bottom: 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.app-header {
  background: transparent;
  padding: 16px;
}
.brand-title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: #ffffff;
}

/* Tombol Refresh disesuaikan warnanya dengan aksen #8957e5 */
.btn-refresh {
  background: #16112c !important;
  border: 1px solid rgba(137, 87, 229, 0.4) !important;
  color: #c084fc !important;
  font-size: 12px;
  transition: all 0.2s;
}
.btn-refresh:hover {
  background: rgba(137, 87, 229, 0.2) !important;
  border-color: #8957e5 !important;
}

/* Floating Action Button (FAB) Telegram di Pojok Kanan Bawah */
.telegram-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #8957e5 0%, #a855f7 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(137, 87, 229, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.telegram-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(137, 87, 229, 0.6);
  color: white;
}

.game-card {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(147, 51, 234, 0.15);
  border-radius: 14px;
  color: white;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.game-card:active {
  transform: scale(0.98);
  border-color: rgba(168, 85, 247, 0.5);
  background: linear-gradient(135deg, rgba(45, 30, 90, 0.6) 0%, rgba(20, 30, 60, 0.8) 100%);
}

.modal.fade .modal-dialog {
  transform: translate(0, 100%);
  transition: transform 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
}
.modal.show .modal-dialog {
  transform: translate(0, 0);
}
.modal-dialog-slide-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 480px !important;
  width: 100%;
}
.modal-content-custom {
  background: #131126;
  border: 1px solid rgba(147, 51, 234, 0.25);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  color: white;
  max-height: 85vh;
  overflow-y: auto;
}
.custom-input {
  background: #090614;
  border: 1px solid rgba(147, 51, 234, 0.3);
  color: white;
  border-radius: 10px;
  font-size: 14px;
  padding: 12px;
}
.custom-input:focus {
  background: #090614;
  border-color: #a855f7;
  color: white;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}
.btn-custom-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px;
  transition: opacity 0.2s;
}
.btn-custom-primary:hover {
  opacity: 0.9;
  color: white;
}
.result-box {
  background: #090614;
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #4ade80;
  max-height: 180px;
  overflow-y: auto;
}

.text-accent, 
.container .text-muted, 
.modal-content-custom .form-label {
  color: #8957e5 !important;
}