/* ============================================
   Camp 8 — Home Page Styles v2
   ============================================ */

body.home-page { overflow-y: auto; height: auto; }

/* ============================================
   NAV ENHANCEMENTS (larger)
   ============================================ */
.nav { height: 60px; }

.nav-links a {
  font-size: 0.9rem;
  padding: 8px 14px;
  gap: 7px;
}

.nav-links a svg { width: 16px; height: 16px; }

.nav-external {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: var(--space-md);
  padding-left: var(--space-md);
  border-left: 1px solid var(--border-color);
  flex-shrink: 0;
}

.ext-link {
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.ext-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-dim);
}

/* ============================================
   HERO IMAGE SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  height: 520px;
  margin-top: 60px; /* nav height */
  overflow: hidden;
}

.slider-track {
  position: absolute;
  inset: 0;
}

/* Slide backgrounds — real football/camp imagery via Unsplash */
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active { opacity: 1; }

/* Use CSS bg images with Unsplash photo IDs */
.s0 { background-image: url('https://images.unsplash.com/photo-1566577134770-3d85bb3a9cc4?w=1400&q=75&auto=format&fit=crop'); }
.s1 { background-image: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=1400&q=75&auto=format&fit=crop'); }
.s2 { background-image: url('https://images.unsplash.com/photo-1612872087720-bb876e2e67d1?w=1400&q=75&auto=format&fit=crop'); }
.s3 { background-image: url('https://images.unsplash.com/photo-1546519638-68e109498ffc?w=1400&q=75&auto=format&fit=crop'); }
.s4 { background-image: url('https://images.unsplash.com/photo-1508098682722-e99c43a406b2?w=1400&q=75&auto=format&fit=crop'); }

.slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,16,0.35) 0%,
    rgba(8,8,16,0.55) 60%,
    rgba(8,8,16,0.92) 100%
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 70px;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 var(--space-xl);
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
  color: #fff;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  line-height: 1.6;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

/* ============================================
   STATS BAR — Big & Clickable
   ============================================ */
.stats-bar {
  display: flex;
  align-items: stretch;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.stat-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--space-lg) var(--space-xl);
  text-decoration: none;
  flex: 1;
  transition: background var(--transition-fast);
  text-align: center;
}

.stat-link:hover {
  background: rgba(255,255,255,0.04);
}

.stat-link:hover .stat-big-num {
  color: var(--gold-bright);
}

.nil-stat .stat-big-num { color: var(--gold); }

.stat-big-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
}

.stat-big-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stat-div {
  width: 1px;
  background: var(--border-color);
  flex-shrink: 0;
}

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */
.dashboard {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================
   SECTION HEADER / NEWS TABS
   ============================================ */
.section-header { margin-bottom: var(--space-md); }

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-dot span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4caf50;
  display: inline-block;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:0.5; transform:scale(0.8); }
}

.news-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
}

.news-tab {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: -1px;
}

.news-tab:hover { color: var(--text-secondary); }
.news-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ============================================
   NEWS GRID
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background var(--transition-fast);
}

.news-card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-1px); }
.news-card:hover::before { background: var(--gold); }

.news-card-featured {
  grid-column: 1 / -1;
  padding: var(--space-lg);
}
.news-card-featured::before { background: var(--gold); }
.news-card-featured .news-card-title { font-size: 1.05rem; font-weight: 600; }

.news-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.news-source { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); opacity: 0.9; }
.news-date { font-size: 0.68rem; color: var(--text-muted); }
.news-card-title { font-size: 0.85rem; font-weight: 500; color: var(--text-primary); line-height: 1.4; flex: 1; }
.news-card-desc { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; }
.news-card-arrow { margin-top: auto; align-self: flex-end; color: var(--text-muted); transition: all var(--transition-fast); }
.news-card:hover .news-card-arrow { color: var(--gold); transform: translateX(2px); }

/* Skeletons */
.news-skeleton {
  height: 110px;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.news-skeleton-featured { grid-column: 1/-1; height: 130px; }

@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.news-error {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.fallback-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.fallback-links a {
  color: var(--gold);
  text-decoration: underline;
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.fallback-links a:hover { color: var(--gold-bright); }

/* ============================================
   RIGHT RAIL / WIDGET
   ============================================ */
.right-rail { display: flex; flex-direction: column; gap: var(--space-md); }

.widget { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--border-color);
}

.widget-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.widget-title svg { color: var(--gold); }

.widget-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  padding: 2px 8px;
  border-radius: 100px;
}

.camps-state-row {
  display: flex;
  gap: 4px;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.camp-state-btn {
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.camp-state-btn:hover { color: var(--text-primary); border-color: var(--border-hover); }
.camp-state-btn.active { color: var(--gold); border-color: var(--gold); background: var(--gold-dim); }

.camp-list {
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-hover) transparent;
}

.camp-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px var(--space-md);
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition-fast);
  cursor: pointer;
}

.camp-item:last-child { border-bottom: none; }
.camp-item:hover { background: rgba(255,255,255,0.03); }

.camp-item-date { display: flex; align-items: center; gap: 6px; }
.camp-item-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.camp-item-dates { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }
.camp-item-name { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); line-height: 1.3; padding-left: 13px; }
.camp-item-loc { font-size: 0.72rem; color: var(--text-secondary); padding-left: 13px; }
.camp-item-tier { font-weight: 600; }

.camp-skeleton {
  height: 66px;
  margin: 4px var(--space-md);
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.camp-empty {
  padding: var(--space-lg) var(--space-md);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.widget-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px var(--space-md);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-dim);
  border-top: 1px solid rgba(212,168,67,0.15);
  text-decoration: none;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.widget-cta:hover { background: rgba(212,168,67,0.22); color: var(--gold-bright); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  margin-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: var(--space-lg) var(--space-xl);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.footer-brand span { color: var(--gold); }

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  flex: 1;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--gold); }

.ig-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.ig-link:hover {
  color: #e1306c;
  border-color: #e1306c;
  background: rgba(225,48,108,0.08);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .dashboard { grid-template-columns: 1fr 300px; padding: var(--space-md) var(--space-lg); }
  .stat-big-num { font-size: 2.2rem; }
  .nav-external { display: none; }
}

@media (max-width: 768px) {
  .nav { height: 56px; }
  .hero-slider { height: 380px; margin-top: 56px; }
  .hero-title { font-size: 3.2rem; }
  .hero-content { padding: 0 var(--space-md); bottom: 55px; }
  .stats-bar { flex-wrap: wrap; }
  .stat-link { flex: 1 1 40%; padding: var(--space-md); }
  .stat-big-num { font-size: 2rem; }
  .stat-div { display: none; }
  .dashboard { grid-template-columns: 1fr; padding: var(--space-md); gap: var(--space-md); }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-featured { padding: var(--space-md); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .ig-link { margin-left: 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .hero-slider { height: 320px; }
  .stat-link { flex: 1 1 100%; }
}
