/* Top Fans Corner — core styles */

/* Team cards */
.team-card { transition: transform .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,.15); }

/* Hero */
.hero-section { padding: 50px 0; }
.section-divider { border-top: 3px solid rgba(255,255,255,0.6); width: 80px; margin: 15px auto; }
.team-hero-logo { border-radius: 50%; background: rgba(255,255,255,0.15); padding: 8px; }

/* Reduce hero padding on mobile */
@media (max-width: 767px) {
  .hero-section { padding: 30px 0; }
  .hero-section h1 { font-size: 1.75rem !important; }
  .hero-section .lead { font-size: 1rem; }
}

/* Footer */
footer { background: #1a1a2e; color: #fff; }
footer a { color: #e0e0e0; }
footer a:hover { color: #fff; }

/* Division intro text */
.division-intro { font-size: .95rem; color: #666; margin-bottom: 1.5rem; padding: 0 1rem; }

/* Product cards */
.product-card { border: 1px solid #e0e0e0; transition: border-color .15s, box-shadow .15s; }
.product-card:hover { border-color: #ff9900; box-shadow: 0 2px 10px rgba(255,153,0,0.25); }
.product-card .card-title { font-size: 1rem; font-weight: 600; }
.product-card .card-text { font-size: .9rem; color: #555; line-height: 1.5; }

/* Amazon CTA button — proper tap target (min 44px height) */
.amazon-cta {
  min-height: 44px;
  padding: 10px 16px;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Price inline in product card */
.product-card .text-success { font-size: 1.05rem; }

/* Price badge */
.price-badge { background: #e8f5e9; color: #2e7d32; padding: 2px 8px; border-radius: 4px; font-size: .9rem; }

/* Content page body */
.content-body h2 { font-size: 1.4rem; margin-top: 2rem; border-bottom: 2px solid #e0e0e0; padding-bottom: .5rem; }
.content-body h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.content-body p { line-height: 1.8; }

/* Sidebar */
.sidebar-team-list { border-bottom: 1px solid #f0f0f0 !important; }
.sidebar-team-list:last-child { border-bottom: none !important; }
.sidebar-sticky { position: sticky; top: 72px; max-height: calc(100vh - 90px); overflow-y: auto; }

/* Sidebar collapse toggle — pointer only on mobile */
@media (max-width: 991px) {
  [data-bs-target="#sidebar-teams"] { cursor: pointer; }
  .sidebar-sticky { position: static; max-height: none; overflow-y: visible; }
}

/* Team color accent bar on team pages */
.team-color-bar { height: 4px; border-radius: 2px; margin-bottom: 1.25rem; }

/* Section headers — left accent using team CSS variable */
.content-body h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  border-left: 4px solid var(--team-color1, #013369);
  border-bottom: none;
  padding-left: 0.65rem;
  padding-bottom: .3rem;
}
.content-body h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.content-body p { line-height: 1.8; }

/* League hub team cards */
.team-hub-header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-hub-header img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  padding: 6px;
  border: 2px solid rgba(255,255,255,0.4);
}
.team-hub-emoji {
  font-size: 2.5rem;
  line-height: 1;
}
.team-hub-btn {
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 10px;
  color: #fff !important;
  border: none;
  transition: filter .15s;
}
.team-hub-btn:hover { filter: brightness(1.15); color: #fff !important; }

/* Playoff banner */
.playoff-banner {
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* Top Picks price tier badges */
.price-tier { font-size: .7rem; font-weight: 600; padding: 2px 6px; border-radius: 10px; }
.price-tier-budget  { background: #d1fae5; color: #065f46; }
.price-tier-mid     { background: #dbeafe; color: #1e40af; }
.price-tier-premium { background: #fef3c7; color: #92400e; }

/* Breadcrumbs */
.breadcrumb { background: none; padding: 0; margin-bottom: 0; }
.breadcrumb-item a { color: #666; text-decoration: none; }
.breadcrumb-item a:hover { color: #333; text-decoration: underline; }
.breadcrumb-item.active { color: #333; }

/* Amazon search fallback button */
.amazon-search-btn {
  background: #ff9900;
  border: none;
  color: #111;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  transition: background .15s;
}
.amazon-search-btn:hover { background: #e68a00; color: #111; }
