/* ============================================
   shared.css — Buttons, cards, badges, layout
   utilities used across multiple pages
   ============================================ */

/* ── Buttons ── */
.btn-primary {
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Section layout ── */
section {
  padding: 80px 48px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Background utilities */
.bg-navy { background: var(--navy); }
.bg-navy2 { background: var(--navy2); }

/* ── Sport badges (inline tags) ── */
.sport-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.sport-badge.football   { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }
.sport-badge.basketball { background: rgba(249, 115, 22, 0.15);  color: #fdba74; }
.sport-badge.tennis     { background: rgba(59, 130, 246, 0.15);  color: #93c5fd; }
.sport-badge.baseball   { background: rgba(167, 139, 250, 0.15); color: #c4b5fd; }

/* ── Article tag (pill with dot) ── */
.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.article-tag .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.article-tag.football   { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }
.article-tag.basketball { background: rgba(249, 115, 22, 0.15);  color: #fdba74; }
.article-tag.tennis     { background: rgba(59, 130, 246, 0.15);  color: #93c5fd; }

/* ── Live badge ── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #f87171;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f87171;
  animation: pulse 1.5s infinite;
}

/* ── Animations ── */
@keyframes pulse {
  0%, 100% { opacity: 1;  transform: scale(1);   }
  50%       { opacity: .5; transform: scale(1.3); }
}

/* ── Page visibility toggle ── */
.page          { display: none; }
.page.active   { display: block; }

/* ── Page wrapper (offset fixed nav) ── */
.page-wrapper {
  padding-top: 68px;
  background: var(--navy);
  min-height: 100vh;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  section { padding: 60px 20px; }
}