:root {
  --pc-max: 1600px;
  --pc-nav-h: 80px;
  --pc-radius-xl: 32px;
  --pc-radius-lg: 24px;
  --primary: #ef4444; /* Redskins Red */
  --primary-glow: rgba(239, 68, 68, 0.4);
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --bg-deep: #020617;
  --surface-blur: rgba(2, 6, 23, 0.85);
  --glass: rgba(15, 23, 42, 0.4);
  
  /* Category Colors - Optimized for Dark UI Readability */
  --color-sports: #ef4444;    /* Red */
  --color-ads: #3b82f6;       /* Blue */
  --color-history: #facc15;   /* Gold/Yellow */
  --color-community: #f97316; /* Orange */
  --color-general: #94a3b8;   /* Muted Neutral */
  --color-merch: #ffffff;
}

/* --- Global Reset & Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body.pc-portal {
  background-color: var(--bg-deep);
  color: #ffffff;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none !important; color: inherit; }

.portal-container {
  width: 100%;
  max-width: var(--pc-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Program Guide Category Color-Coding --- */
.slot-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.schedule-category {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.55rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* Category Pill Variations */
.cat-sports .schedule-category { background: rgba(239, 68, 68, 0.15); color: var(--color-sports); }
.cat-ads .schedule-category { background: rgba(59, 130, 246, 0.15); color: var(--color-ads); }
.cat-history .schedule-category { background: rgba(250, 204, 21, 0.2); color: var(--color-history); }
.cat-community .schedule-category { background: rgba(249, 115, 22, 0.15); color: var(--color-community); }
.cat-trivia .schedule-category, 
.cat-weather .schedule-category, 
.cat-general .schedule-category { background: rgba(148, 163, 184, 0.15); color: var(--color-general); }

/* Card Top Accents - Non-destructive Inset Shadows */
.schedule-slot.cat-sports { box-shadow: inset 0 2px 0 0 var(--color-sports); }
.schedule-slot.cat-ads { box-shadow: inset 0 2px 0 0 var(--color-ads); }
.schedule-slot.cat-history { box-shadow: inset 0 2px 0 0 var(--color-history); }
.schedule-slot.cat-community { box-shadow: inset 0 2px 0 0 var(--color-community); }

/* Special case for current slot to preserve its outer glow */
.schedule-slot.now.cat-sports { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 2px 0 0 var(--color-sports); }
.schedule-slot.now.cat-ads { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 2px 0 0 var(--color-ads); }
.schedule-slot.now.cat-history { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 2px 0 0 var(--color-history); }
.schedule-slot.now.cat-community { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 2px 0 0 var(--color-community); }

@media (max-width: 900px) {
  .portal-container { padding: 0 1rem; }
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes joinPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes stackGlow {
  0% { box-shadow: 0 40px 120px rgba(0, 0, 0, 1); }
  100% { box-shadow: 0 40px 120px rgba(0, 0, 0, 1), 0 0 60px rgba(239, 68, 68, 0.15); }
}