/* SportsBiff Homepage Styles */

.homepage {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(16px, 2.5vw, 32px);
}

/* ========== ROWS ========== */
.homepage-row {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.homepage-row-2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .homepage-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ========== CARDS ========== */
.homepage-card {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
}

.homepage-card-full {
  margin-bottom: 24px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-icon {
  font-size: 16px;
}

.card-link {
  font-size: 13px;
  color: var(--accent-primary);
  font-weight: 500;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* ========== HERO STATE SELECTOR ========== */
.hero-state-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
  z-index: 10;
}

.hero-state-btn {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--bg-tertiary);
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s;
  font-family: inherit;
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.hero-state-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-state-btn.active {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  opacity: 1;
}

.hero-state-btn.active:hover {
  opacity: 1;
}

/* ========== HERO BASE ========== */
.homepage .hero {
  border-radius: 20px;
  padding: 0;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto !important;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}

/* Preview hero — match the Live empty-state box: same generous padding so
   "No Upcoming Games" reads as a full card, not a thin banner. The partial
   strips this inline (padding:0) only when real game rows render full-width. */
.homepage .hero-preview {
  padding: 56px 32px;
}
.hero-preview .hero-content {
  gap: 14px;
}

/* Hero State Colors */
.hero-live {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.homepage .hero-live {
  padding: 56px 32px;
}

.hero-live .hero-content {
  gap: 14px;
}

.hero-badge-live {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-countdown {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.hero-badge-countdown {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--accent-primary);
}

.hero-preview {
  background: linear-gradient(135deg, var(--bg-primary) 0%, #312e81 50%, var(--bg-primary) 100%);
}

.hero-badge-preview {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #8b5cf6;
}

.hero-hottip {
  background: linear-gradient(135deg, var(--bg-primary) 0%, #14532d 50%, var(--bg-primary) 100%);
}

.hero-badge-hottip {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--accent-orange);
}

.hero-brief {
  background: linear-gradient(135deg, var(--bg-primary) 0%, #1e3a5f 50%, var(--bg-primary) 100%);
}

.hero-badge-brief {
  background: rgba(234, 179, 8, 0.2);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #eab308;
}

/* Hero Greeting */
.hero-greeting {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin: 0;
  color: white;
}

.hero-date {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* Matchup Layout (Preview Hero) */
.upcoming-games-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 0;
}

.matchup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0;
  width: 100%;
  padding: 30px 40px;
  border-radius: 0;
}

.matchup-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 60px;
}

.matchup-team {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.matchup-away,
.matchup-home {
  justify-content: center;
}

.matchup-team .team-name {
  font-size: clamp(13px, 3.4vw, 15px);
  font-weight: 700;
  color: var(--text-primary);
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.matchup-team .team-logo {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  object-fit: contain;
  background: transparent;
  padding: 12px;
  transition: transform 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.matchup-team .team-logo:hover {
  transform: scale(1.05);
}

.team-logo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  border: 2px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.matchup-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vs-text {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-primary);
  padding: 12px 24px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(59, 130, 246, 0.3);
}

.match-details {
  text-align: center;
}

.match-details p {
  margin: 6px 0;
}

.match-date {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.match-datetime {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.match-time {
  font-size: 15px;
  color: var(--accent-primary);
  font-weight: 700;
}

.match-venue {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.match-league {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  .matchup {
    flex-direction: column;
    gap: 24px;
  }

  .matchup-team .team-logo {
    width: 80px;
    height: 80px;
  }

  .matchup-team .team-name {
    font-size: 18px;
  }
}

/* Hero Actions */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
}

.hero-btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-btn-primary {
  background: var(--accent-primary);
  color: white;
}

.hero-btn-primary:hover {
  background: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Brief Content */
.brief-content {
  max-width: 600px;
  margin: 0 auto 32px;
}

.brief-intro {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.brief-features {
  display: grid;
  gap: 16px;
}

.brief-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}

.brief-feature-icon {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brief-feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brief-feature-text strong {
  font-size: 15px;
  font-weight: 600;
  color: white;
}

.brief-feature-text span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== TEAMS SCROLL ========== */
.teams-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 8px;
}

.teams-scroll::-webkit-scrollbar {
  height: 4px;
}

.teams-scroll::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 2px;
}

.teams-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 2px;
}

.team-card {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.team-card-logo-full {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20%;
}

.team-card-emoji {
  font-size: 80px;
}

.team-card-placeholder {
  background: rgba(59, 130, 246, 0.05);
  border: 2px dashed rgba(59, 130, 246, 0.3);
}

.team-card-placeholder:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--accent-primary);
}

.team-card-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.add-icon {
  font-size: 48px;
  color: var(--accent-primary);
  font-weight: 300;
  line-height: 1;
}

.add-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-primary);
}

/* ========== AI SECTION ========== */
.ai-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.ai-search-bar:hover {
  border-color: var(--accent-primary);
}

.ai-search-icon {
  font-size: 18px;
}

.ai-search-placeholder {
  flex: 1;
  font-size: 14px;
  color: var(--text-muted);
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 8px 0;
}

.ai-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.feature-icon {
  font-size: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transform: translateY(7px);
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.feature-text strong {
  font-size: 15px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.feature-text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
}

.ai-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ai-prompt-chip {
  padding: 8px 14px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.ai-prompt-chip:hover {
  border-color: var(--accent-primary);
  color: white;
}

.ai-recent h4 {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.ai-recent-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.ai-recent-item:hover {
  color: white;
}

.ai-recent-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.ai-recent-time {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.6;
}

/* ========== PLAYERS LIST ========== */
.player-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.player-row:last-child {
  border-bottom: none;
}

.player-row:hover {
  background: var(--bg-secondary);
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.player-photo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.player-info {
  flex: 1;
}

.player-name {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.player-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.player-stats {
  text-align: right;
}

.player-last {
  font-size: 13px;
  font-weight: 600;
  color: white;
}

/* ========== TIPS LIST ========== */
.tips-filter-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tip-card {
  display: block;
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.tip-card:hover {
  border-color: var(--accent-primary);
}

.tip-card:last-child {
  margin-bottom: 0;
}

.tip-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.tip-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tip-biff-info {
  flex: 1;
}

.tip-biff-name {
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.verified-badge {
  color: #10b981;
  font-size: 12px;
}

.tip-roi {
  font-size: 11px;
  color: #10b981;
}

.tip-match {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.tip-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tip-selection {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary);
}

.tip-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* ========== TRENDING GRID ========== */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trending-card {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.trending-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.trending-sport {
  font-size: 11px;
  color: var(--accent-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.trending-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
  color: white;
}

.trending-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== QUICK ACCESS GRID ========== */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quick-card {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.quick-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.quick-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.quick-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.quick-desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* ========== EMPTY STATES ========== */
.empty-state {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
}

.empty-state p {
  margin-bottom: 8px;
}

.empty-state-sub {
  font-size: 13px;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
}

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

.btn-secondary {
  background: var(--bg-secondary);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ========== BIFF SPOTLIGHT HERO ========== */
.hero-biff-spotlight {
  background: linear-gradient(135deg, #1e3a8a, var(--accent-primary));
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.hero-biff-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  pointer-events: none;
}

.hero-biff-spotlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  pointer-events: none;
}

.hero-biff-spotlight .hero-content {
  position: relative;
  z-index: 1;
}

/* Biff Header */
.biffs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.biffs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-orange);
}

.biffs-view-all {
  font-size: 13px;
  color: var(--accent-orange);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.biffs-view-all:hover {
  text-decoration: underline;
}

/* Biff Intro */
.biffs-intro {
  text-align: center;
  margin-bottom: 32px;
}

.biffs-intro-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  color: white;
}

.biffs-intro-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Top Biffs Grid */
.top-biffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  max-width: 100%;
  padding: 0;
}

@media (max-width: 900px) {
  .top-biffs-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Biff Card */
.top-biff-card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 28px 24px 50px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: hidden;
}

.top-biff-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

/* Sport badge - top left */
.top-biff-sport-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

.top-biff-sport-badge .sport-icon {
  font-size: 14px;
}

/* #1 badge - top right */
.top-biff-rank {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Avatar */
.top-biff-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin: 16px auto 18px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.top-biff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Name */
.top-biff-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: white;
}

.top-biff-name .verified {
  color: var(--accent-green);
  font-size: 16px;
}

/* Specialty */
.top-biff-specialty {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

/* Stats */
.top-biff-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 14px;
}

.top-biff-stat {
  text-align: center;
}

.top-biff-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-green);
}

.top-biff-stat-label {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Streak badge */
.top-biff-streak {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-orange);
}

/* Sport Footer Badge */
.top-biff-sport-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 16px 16px;
  transition: all 0.25s;
}

.sport-footer-icon {
  font-size: 24px;
  filter: brightness(0.9);
}

/* Sport-specific colors */
.top-biff-sport-footer[data-sport="football"],
.top-biff-sport-footer[data-sport="soccer"] {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.top-biff-sport-footer[data-sport="nba"],
.top-biff-sport-footer[data-sport="basketball"] {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.top-biff-sport-footer[data-sport="nfl"],
.top-biff-sport-footer[data-sport="american_football"] {
  background: linear-gradient(135deg, #9333ea, #7e22ce);
}

.top-biff-sport-footer[data-sport="tennis"] {
  background: linear-gradient(135deg, #eab308, #ca8a04);
}

.top-biff-sport-footer[data-sport="golf"] {
  background: linear-gradient(135deg, #10b981, #059669);
}

.top-biff-sport-footer[data-sport="mma"],
.top-biff-sport-footer[data-sport="boxing"] {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.top-biff-sport-footer[data-sport="baseball"],
.top-biff-sport-footer[data-sport="mlb"] {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary));
}

.top-biff-sport-footer[data-sport="hockey"],
.top-biff-sport-footer[data-sport="nhl"] {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.top-biff-sport-footer[data-sport="cricket"] {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* No Biffs Message */
.no-biffs-message {
  text-align: center;
  padding: 40px;
  color: var(--text-secondary);
}

/* CTA Section */
.biffs-cta {
  text-align: center;
}

.biffs-cta-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.hero-btn-orange {
  background: var(--accent-orange);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.hero-btn-orange:hover {
  background: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.biffs-cta .hero-btn-secondary {
  background: var(--accent-orange);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.biffs-cta .hero-btn-secondary:hover {
  background: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

@media (max-width: 600px) {
  .biffs-cta .hero-actions {
    flex-direction: column;
  }

  .biffs-cta .hero-btn {
    width: 100%;
  }
}

/* ============================================
   BIFF LEADERBOARD HERO - EXACT STYLES
   DO NOT MODIFY THESE VALUES
   ============================================ */

.hero-biffs {
  background: linear-gradient(135deg, var(--bg-primary) 0%, #7c2d12 30%, #431407 60%, var(--bg-primary) 100%);
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-biffs::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-biffs::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-biffs-content {
  position: relative;
  z-index: 1;
}

/* HEADER */
.hero-biffs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.hero-biffs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-orange);
}

.hero-biffs-view-all {
  font-size: 13px;
  color: var(--accent-orange);
  font-weight: 600;
  text-decoration: none;
}

.hero-biffs-view-all:hover {
  text-decoration: underline;
}

/* INTRO */
.hero-biffs-intro {
  text-align: center;
  margin-bottom: 32px;
}

.hero-biffs-intro-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.hero-biffs-intro-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.5;
}

/* GRID */
.hero-biffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

/* CARD */
.hero-biff-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.hero-biff-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

/* SPORT BADGE - TOP LEFT */
.hero-biff-sport-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

.hero-biff-sport-icon {
  font-size: 14px;
}

/* RANK BADGE - TOP RIGHT */
.hero-biff-rank {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000000;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* AVATAR */
.hero-biff-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, var(--accent-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin: 16px auto 18px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* NAME */
.hero-biff-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ffffff;
}

.hero-biff-verified {
  color: #10b981;
  font-size: 16px;
}

/* SPECIALTY */
.hero-biff-specialty {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

/* STATS */
.hero-biff-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 14px;
}

.hero-biff-stat {
  text-align: center;
}

.hero-biff-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #10b981;
}

.hero-biff-stat-label {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* STREAK */
.hero-biff-streak {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-orange);
}

/* CTA */
.hero-biffs-cta {
  text-align: center;
}

.hero-biffs-cta-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.hero-biffs-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.hero-biffs-btn-orange {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent-orange);
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.hero-biffs-btn-orange:hover {
  background: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.hero-biffs-btn-secondary {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent-orange);
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.hero-biffs-btn-secondary:hover {
  background: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-biffs-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .hero-biffs {
    padding: 24px;
  }
  
  .hero-biffs-intro-title {
    font-size: 22px;
  }
  
  .hero-biffs-actions {
    flex-direction: column;
  }
  
  .hero-biffs-btn-orange,
  .hero-biffs-btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   WELCOME HERO SECTION
   ============================================ */

.hero-welcome {
  background: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 50%, #9a3412 100%);
  border-radius: 20px;
  padding: 60px 40px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-welcome::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-welcome::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-welcome-content {
  position: relative;
  z-index: 1;
}

/* ICON */
.welcome-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

/* TITLE */
.welcome-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.welcome-title-orange {
  color: var(--accent-orange);
}

/* SUBTITLE */
.welcome-subtitle {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 48px;
  line-height: 1.6;
}

.welcome-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

/* CARDS GRID */
.welcome-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.welcome-card {
  background: rgba(17, 24, 39, 0.6);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.welcome-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.welcome-card-orange {
  border-top: 3px solid var(--accent-orange);
}

.welcome-card-purple {
  border-top: 3px solid #8b5cf6;
}

.welcome-card-blue {
  border-top: 3px solid var(--accent-primary);
}

.welcome-card-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.welcome-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.welcome-card-orange .welcome-card-title {
  color: var(--accent-orange);
}

.welcome-card-purple .welcome-card-title {
  color: #a78bfa;
}

.welcome-card-blue .welcome-card-title {
  color: #60a5fa;
}

.welcome-card-description {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 16px;
}

.welcome-card-description strong {
  color: #ffffff;
  font-weight: 600;
}

.welcome-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.welcome-card-features li {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 0;
}

/* BOTTOM TEXT */
.welcome-bottom-text {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 24px;
}

/* CTA BUTTONS */
.welcome-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.welcome-btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.welcome-btn-orange {
  background: var(--accent-orange);
  color: #ffffff;
}

.welcome-btn-orange:hover {
  background: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.welcome-btn-blue {
  background: var(--accent-primary);
  color: #ffffff;
}

.welcome-btn-blue:hover {
  background: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.welcome-btn-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-btn-dark:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .welcome-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .hero-welcome {
    padding: 40px 24px;
  }
  
  .welcome-title {
    font-size: 32px;
  }
  
  .welcome-subtitle {
    font-size: 16px;
  }
  
  .welcome-actions {
    flex-direction: column;
  }
  
  .welcome-btn {
    width: 100%;
    text-align: center;
  }
}
