/* ===== main.css ===== */

/* === Base Styles === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9fafb; /* Default background */
  color: #111827;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
}

/* === CTA Button === */
.cta-btn {
  background: #1e3a8a;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin: 0.5rem;
  transition: 0.2s ease;
}

.cta-btn:hover {
  background: #2563eb;
}

/* === Navigation Bar === */
.nhl-subheader {
  background-color: #2d2d2d;
  padding: 0.75rem 0;
  border-bottom: 4px solid #fbbf24;
}

.nhl-subheader ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nhl-subheader a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
}

.nhl-subheader a.active {
  color: #fbbf24;
  text-decoration: underline;
  background-color: #444;
  border-radius: 4px;
}

/* === Auth Banner === */
.auth-banner {
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  color: white;
  padding: 0.5rem 1rem;
  text-align: right;
  font-size: 0.95rem;
}

.auth-banner a {
  color: #facc15;
  font-weight: bold;
  text-decoration: none;
  margin-left: 0.75rem;
}

/* === Header Banner === */
.banner {
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  color: white;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0;
  font-weight: 800;
  letter-spacing: 2px;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
}

/* === Basketball Animation === */
.basketball-container {
  position: relative;
  width: 60px;
  height: 90px;         /* was 70px — gives room for bounce */
  flex-shrink: 0;
  overflow: visible;    /* was hidden — now lets the ball move outside */
}

.basketball-icon {
  width: 100%;
  max-width: 60px;
  height: auto;
  max-height: 60px;
  animation: bounce 1.2s infinite ease-in-out;
  transform-origin: bottom center;
  position: absolute;
  bottom: 10px;
  left: 0;
}

.basketball-shadow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  animation: shadowBounce 1.2s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0) scaleY(1);
  }
  50% {
    transform: translateY(-14px) scaleY(1.05);
  }
}

@keyframes shadowBounce {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateX(-50%) scale(0.6, 0.6);
    opacity: 0.15;
  }
}

/* === Banner Tagline === */
.tagline {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* === Coming Soon Pages === */
.coming-soon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  color: white;
  text-align: center;
}

.coming-soon-container {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: fadeInSoon 1.2s ease-in-out;
}

.coming-soon-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.coming-soon-subtext {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Fade-in Animation */
@keyframes fadeInSoon {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
