/* NFL Break Draft Board Styles */

body {
  margin: 0;
  padding: 0;
  background-color: transparent;
  overflow: hidden;
  font-family: sans-serif;
  color: #ffffff;
}

#overlay-container {
  width: 95vw;
  max-width: 1400px;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.5s ease-in-out;
}

.banner {
  text-align: center;
  padding: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.3rem;
  font-weight: bold;
  box-sizing: border-box;
  transition: all 0.5s ease-in-out;
}

#draft-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 4px;
  padding: 8px;
  box-sizing: border-box;
  background-color: #0a0a0a;
}

.team-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  padding: 12px 4px;
  min-height: 55px;
  box-sizing: border-box;
}

.team-label {
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.buyer-label {
  font-size: 1.2rem;
  margin-top: 4px;
  text-transform: uppercase;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
  margin-bottom: 5px;
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================
   THEME 1: NEON (Cyan & Magenta Glows)
   ========================================== */

#overlay-container.theme-neon {
  background-color: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(0, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), inset 0 0 10px rgba(0, 255, 255, 0.3);
}

#overlay-container.theme-neon .banner {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff, 0 0 10px rgba(0, 255, 255, 0.5);
}

#overlay-container.theme-neon .banner::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 350%;
  top: -125%;
  left: -25%;
  background: conic-gradient(from 0deg, transparent 40%, #00ffff 80%, #ff00ff 100%);
  animation: spin 4s linear infinite;
  z-index: 0;
  display: block;
}

#overlay-container.theme-neon .banner::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #09090e;
  z-index: 1;
  border-radius: 4px;
  display: block;
}

#overlay-container.theme-neon .banner .banner-text {
  position: relative;
  z-index: 2;
}

#overlay-container.theme-neon #header-banner {
  border-bottom: none;
}

#overlay-container.theme-neon #footer-banner {
  border-top: none;
}

#overlay-container.theme-neon .team-card {
  background-color: rgba(30, 30, 40, 0.7);
  color: #ffffff;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#overlay-container.theme-neon .team-card:hover {
  background-color: rgba(45, 45, 60, 0.8);
  border-color: rgba(0, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

#overlay-container.theme-neon .team-card:hover .team-logo {
  filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.6));
}

#overlay-container.theme-neon .team-label {
  text-shadow: 0 0 5px #fff, 0 0 10px rgba(0, 255, 255, 0.8);
}

#overlay-container.theme-neon .team-card.sold {
  background-color: rgba(10, 10, 10, 0.9);
  border-color: rgba(255, 0, 100, 0.6);
  box-shadow: 0 0 10px rgba(255, 0, 100, 0.4);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#overlay-container.theme-neon .team-card.sold:hover {
  background-color: rgba(15, 15, 15, 0.9);
  border-color: rgba(255, 0, 100, 0.8);
  box-shadow: 0 0 12px rgba(255, 0, 100, 0.6);
}

#overlay-container.theme-neon .team-card.sold .team-label {
  color: #444444;
  text-shadow: none;
}

#overlay-container.theme-neon .buyer-label {
  color: #ff007f;
  text-shadow: 0 0 8px #ff007f;
  font-weight: 800;
}

#overlay-container.theme-neon .team-card.sold .team-logo {
  opacity: 0.2;
  filter: grayscale(100%);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================
   THEME 2: AURORA (Fluid Moving Gradients)
   ========================================== */

#overlay-container.theme-aurora {
  background-color: rgba(10, 10, 20, 0.9);
  border: 2px solid rgba(122, 0, 255, 0.5);
  box-shadow: 0 0 20px rgba(122, 0, 255, 0.3);
}

#overlay-container.theme-aurora .banner {
  background: linear-gradient(-45deg, #ff007f, #7a00ff, #00ffff, #0011ff);
  background-size: 400% 400%;
  animation: aurora 10s ease infinite;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  border: none;
}

#overlay-container.theme-aurora .banner::before,
#overlay-container.theme-aurora .banner::after {
  display: none;
}

#overlay-container.theme-aurora #header-banner {
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

#overlay-container.theme-aurora #footer-banner {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

#overlay-container.theme-aurora .team-card {
  background-color: rgba(122, 0, 255, 0.1);
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#overlay-container.theme-aurora .team-card:hover {
  background-color: rgba(122, 0, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px rgba(122, 0, 255, 0.4);
}

#overlay-container.theme-aurora .team-label {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#overlay-container.theme-aurora .team-card.sold {
  background-color: rgba(10, 10, 15, 0.9);
  border-color: rgba(122, 0, 255, 0.5);
  box-shadow: 0 0 10px rgba(122, 0, 255, 0.3);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#overlay-container.theme-aurora .team-card.sold:hover {
  border-color: rgba(122, 0, 255, 0.7);
}

#overlay-container.theme-aurora .team-card.sold .team-label {
  color: #555555;
  text-shadow: none;
}

#overlay-container.theme-aurora .buyer-label {
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
  font-weight: 800;
}

#overlay-container.theme-aurora .team-card.sold .team-logo {
  opacity: 0.2;
  filter: grayscale(100%);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================
   THEME 3: HOLOGRAM (Glass & Sweeping Shine)
   ========================================== */

#overlay-container.theme-hologram {
  background-color: rgba(10, 20, 20, 0.8);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(0, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

#overlay-container.theme-hologram .banner {
  background: rgba(0, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  border: none;
}

#overlay-container.theme-hologram .banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.6), transparent);
  transform: skewX(-25deg);
  animation: shine 4s ease-in-out infinite;
  display: block;
  z-index: 1;
}

#overlay-container.theme-hologram .banner::after {
  display: none;
}

#overlay-container.theme-hologram .banner .banner-text {
  position: relative;
  z-index: 2;
}

#overlay-container.theme-hologram #header-banner {
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

#overlay-container.theme-hologram #footer-banner {
  border-top: 1px solid rgba(0, 255, 255, 0.3);
}

#overlay-container.theme-hologram .team-card {
  background-color: rgba(0, 255, 255, 0.05);
  color: #e2e8f0;
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 4px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#overlay-container.theme-hologram .team-card:hover {
  background-color: rgba(0, 255, 255, 0.15);
  border-color: #00ffff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

#overlay-container.theme-hologram .team-label {
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

#overlay-container.theme-hologram .team-card.sold {
  background-color: rgba(5, 10, 10, 0.95);
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: none;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#overlay-container.theme-hologram .team-card.sold .team-label {
  color: #475569;
  text-shadow: none;
}

#overlay-container.theme-hologram .buyer-label {
  color: #ffffff;
  text-shadow: 0 0 5px #ffffff;
  font-weight: bold;
}

#overlay-container.theme-hologram .team-card.sold .team-logo {
  opacity: 0.2;
  filter: grayscale(100%);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================
   GLOBAL ANIMATION KEYFRAMES
   ========================================== */

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes aurora {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shine {
  0% {
    left: -150%;
  }
  25%, 100% {
    left: 200%;
  }
}
