/* Reset */
body, h1, a, nav, button {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #111;
  color: white;
  min-height: 100vh;
  text-align: center;
}

.background-overlay {
  position: relative;
  background-color: rgba(0, 0, 0, 0.7);
  min-height: 100vh;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Stylized title */
h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

#menu-toggle {
  font-size: 1.2rem;
  background: none;
  color: white;
  border: 2px solid white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 1rem;
  z-index: 10;
}

.social-links {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  z-index: 1;
}

.social-links a {
  color: white;
  font-size: 1.8rem;
  text-decoration: none;
}

.logo-image {
  width: 66%;
  max-width: 300px;
  height: auto;
  margin-top: 1rem;
  opacity: 0.9;
}

#spotify-toggle {
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 2px solid white;
  background: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

#spotify-player {
  margin-top: 1rem;
  width: 100%;
  max-width: 400px;
}

/* Dropdown menu */
#dropdown-menu {
  position: absolute;
  top: 160px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.95);
  padding: 0.5rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  z-index: 1000;

  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease;
}

#dropdown-menu.show {
  max-height: 500px;
  opacity: 1;
}

#dropdown-menu a {
  color: white;
  text-decoration: none;
  background-color: #333;
  padding: 0.8rem;
  border-radius: 6px;
  width: 200px;
  margin: 0 auto;
}

#dropdown-menu a:hover {
  background-color: #555;
}

.hidden {
  display: none;
}

/* Partner logos at the bottom */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.partner-logos a img {
  height: 50px;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0.95);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.partner-logos a img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Player card grid on players.html */
.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 600px;
}

.player-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}
