:root {
  --bg-page: #121212;
  --bg-surface: #1a1a1a;
  --bg-elevated: #242424;
  --bg-input: #2c2c2c;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f0f0f0;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.48);
  --accent: #f44336;
  --accent-hover: #ff5252;
  --accent-soft: rgba(244, 67, 54, 0.2);
  --spotify: #1db954;
  --radius: 12px;
}

html {
  color-scheme: dark;
}

body {
  background-color: var(--bg-page);
  color: var(--text);
}

.navbar {
  width: 100%;
  background-color: #151414;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 10px;
  position: relative;
  box-sizing: border-box;
}

.site-logo {
  width: 40px;
  height: auto;
  position: absolute;
  left: 10px;
}

.nav-container {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.nav-tabs {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.nav-tabs li {
  margin-right: 15px;
}

.nav-tabs li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.nav-tabs li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
}

.nav-tabs li a.active {
  background-color: var(--accent);
  color: white;
}

input,
select,
textarea {
  background: var(--bg-input);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

.add-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  max-width: calc(100vw - 32px);
  background: var(--spotify);
  color: #04120a;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.add-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.roster-slot.just-added,
.add-drop-slot.just-added {
  border-color: var(--spotify) !important;
  box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.45);
  animation: slotAddedPulse 0.9s ease-out 2;
}

@keyframes slotAddedPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

.artist-card--drafted,
.artist-result.artist-card--drafted {
  opacity: 0.48;
  filter: grayscale(0.7);
  cursor: not-allowed;
}

.artist-card.artist-card--drafted:hover,
.artist-result.artist-card--drafted:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.add-hint--drafted {
  color: var(--text-muted) !important;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .nav-tabs {
    justify-content: center;
  }

  .nav-tabs li {
    margin: 5px;
  }

  .nav-tabs li a {
    padding: 10px 12px;
    font-size: 14px;
  }
}
