body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #3a1c71, #000000) fixed;
}

/* Force light text on dark background inside cards */
body,
.card,
.card * {
  color: #f5f5f5 !important;
}

/* Titles / logo disco */
.logo-text {
  font-family: 'Monoton', cursive;
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Limit container width for better readability */
.container {
  max-width: 960px;
}

/* Hero block with subtle light effects */
.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 133, 0, 0.25), transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(1, 114, 164, 0.25), transparent 50%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-card > .card-body {
  position: relative;
}

/* Suggestions layout */
.poster-img {
  max-width: 120px;
  border-radius: 0.75rem;
  object-fit: cover;
}

.suggestion-block p.small {
  line-height: 1.4;
}

/* Meta labels above titles */
.suggestion-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.suggestion-title {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Chips / badges for genres, era, category... */
.badge-fun {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  border-radius: 999px;
  padding-inline: 0.75rem;
  padding-block: 0.15rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.2);
}

/* Ingredients list scroll */
.ingredients-list {
  max-height: 160px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.ingredients-list::-webkit-scrollbar {
  width: 4px;
}
.ingredients-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

/* Buttons */
#btnSuggest {
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#btnSuggest::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.1)
  );
  transform: skewX(-20deg);
  transition: transform 0.35s ease-out, left 0.35s ease-out;
}

#btnSuggest:hover::after {
  left: 150%;
}

/* Fade-in animation when new suggestions arrive */
.fade-in {
  animation: fadeInUp 0.35s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* History table */
#historyTable tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}

#historyTable td {
  font-size: 0.9rem;
}

#historyTable td:first-child {
  font-weight: 600;
}

/* Sortable headers */
.sortable {
  cursor: pointer;
}
.sortable::after {
  content: " ⇅";
  font-size: 0.8em;
  opacity: 0.7;
}