:root {
  --orange: #E8431A;
  --orange-light: #FF5A2C;
  --yellow: #F5C842;
  --dark: #111111;
  --darker: #0A0A0A;
  --gray: #1C1C1C;
  --mid-gray: #2A2A2A;
  --light-gray: #888;
  --white: #F5F0EB;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--darker);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,67,26,0.12);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.nav-logo-popsicle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.pop-body {
  width: 34px; height: 32px;
  background: var(--orange);
  border-radius: 8px 8px 5px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  color: white;
  letter-spacing: 1px;
}

.pop-stick {
  width: 6px; height: 10px;
  background: var(--yellow);
  border-radius: 0 0 3px 3px;
}

.nav-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-brand span { color: var(--orange); }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange) !important;
  color: white !important;
  padding: 7px 18px;
  border-radius: 4px;
}

.nav-cta:hover { background: var(--orange-light) !important; }

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--orange);
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); }

/* ---- HERO ---- */
.hero {
  margin-top: 64px;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--orange);
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(60px, 6.5vw, 90px);
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title em { font-style: italic; color: var(--orange); }

.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--light-gray);
  max-width: 400px;
  margin-bottom: 36px;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 40px 40px 20px;
}

.hero-featured-card {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray);
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.hero-featured-card:hover { transform: scale(1.01); }

.hero-card-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  position: relative;
  min-height: 260px;
}

.hero-card-content {
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
}

.sport-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.sport-badge.nfl { background: #013369; }
.sport-badge.mlb { background: #002D72; }
.sport-badge.nhl { background: #003087; }

.hero-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 12px;
}

.hero-card-meta {
  font-size: 13px;
  color: var(--light-gray);
}

.hero-card-meta em { color: var(--orange); font-style: normal; }

/* Sport background colors */
.bg-nba { background: linear-gradient(135deg, #17408B, #C9082A); }
.bg-nfl { background: linear-gradient(135deg, #013369, #D50A0A); }
.bg-mlb { background: linear-gradient(135deg, #002D72, #E31837); }
.bg-nhl { background: linear-gradient(135deg, #000000, #003087); }

/* ---- TICKER ---- */
.ticker {
  background: var(--orange);
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: ticker 40s linear infinite;
}

.ticker-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-item::after { content: '●'; font-size: 6px; opacity: 0.5; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- FILTER BAR ---- */
.filter-bar {
  display: flex;
  gap: 10px;
  padding: 32px 80px 0;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--gray);
  border: none;
  color: var(--light-gray);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.filter-btn:hover { background: var(--mid-gray); color: var(--white); }
.filter-btn.active { background: var(--orange); color: white; }

/* ---- SECTION ---- */
.section { padding: 48px 80px 80px; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mid-gray);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  letter-spacing: 3px;
}

.section-title span { color: var(--orange); }

.post-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--light-gray);
  text-transform: uppercase;
}

/* ---- BLOG GRID ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--gray);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
}

.blog-card-body { padding: 20px; }

.blog-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #555;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-card-meta .author { color: var(--orange); }

/* ---- WRITE CTA BAND ---- */
.write-cta {
  background: linear-gradient(135deg, #1a0800, #2d0d00);
  border-top: 1px solid rgba(232,67,26,0.2);
  border-bottom: 1px solid rgba(232,67,26,0.2);
  padding: 60px 80px;
}

.write-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.write-cta h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: 3px;
  line-height: 0.95;
  margin-bottom: 10px;
}

.write-cta h2 em { font-style: normal; color: var(--orange); }

.write-cta p { color: var(--light-gray); font-size: 15px; max-width: 480px; }

/* ---- ARTICLE PAGE ---- */
.article-wrap {
  margin-top: 64px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding: 60px 40px 100px;
}

.article-back {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 40px;
  transition: gap 0.2s;
}

.article-back:hover { gap: 10px; }

.article-sport-badge { margin-bottom: 16px; }

.article-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--light-gray);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--mid-gray);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.article-meta .author { color: var(--orange); font-weight: 700; }

.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: #ccc;
}

.article-body p {
  margin-bottom: 24px;
}

.article-visual {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  margin-bottom: 40px;
}

/* ---- ARTICLE PHOTOS ---- */
.article-cover {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.article-cover-img {
  width: 100%;
  height: auto;
  display: block;
}

.article-figure {
  margin: 36px 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray);
}

.article-img {
  width: 100%;
  height: auto;
  display: block;
}

.article-figure figcaption {
  font-size: 13px;
  color: var(--light-gray);
  font-style: italic;
  padding: 10px 16px;
  border-top: 1px solid var(--mid-gray);
  text-align: center;
}

/* Graceful broken-image fallback */
.article-figure.img-error::before {
  content: '⚠ Image not found — check the filename in articles.js';
  display: block;
  padding: 32px;
  text-align: center;
  color: #555;
  font-size: 13px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px dashed #444;
  border-radius: 10px;
}

.article-figure.img-error img,
.article-figure.img-error figcaption { display: none; }

/* Also use cover images as card thumbnails on homepage */
.blog-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- APPLY PAGE ---- */
.apply-page {
  margin-top: 64px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 60px 40px 100px;
}

.apply-hero { margin-bottom: 56px; }

.apply-hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.apply-hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--orange);
}

.apply-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.apply-hero-title em { font-style: italic; color: var(--orange); }

.apply-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--light-gray);
  max-width: 560px;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--gray);
  border: 1px solid var(--mid-gray);
  border-radius: 6px;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
}

.form-group select option { background: var(--gray); }

.submit-btn { align-self: flex-start; margin-top: 8px; }

.apply-success {
  text-align: center;
  padding: 80px 40px;
}

.success-icon { font-size: 64px; margin-bottom: 24px; }

.apply-success h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.apply-success p { color: var(--light-gray); font-size: 16px; }

/* ---- FOOTER ---- */
footer {
  background: #080808;
  padding: 48px 80px 28px;
  border-top: 1px solid var(--mid-gray);
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.footer-logo span { color: var(--orange); }

.footer-desc {
  font-size: 13px;
  color: var(--light-gray);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy { font-size: 12px; color: #444; }

/* ---- EMPTY STATE ---- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 40px;
  color: var(--light-gray);
}

.empty-state h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-left > * {
  animation: fadeInUp 0.5s ease backwards;
}
.hero-eyebrow { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-desc { animation-delay: 0.3s; }
.btn-primary { animation-delay: 0.4s; }
.hero-right { animation: fadeInUp 0.7s ease 0.2s backwards; }

.blog-card { animation: fadeInUp 0.4s ease backwards; }