/* 
========================================================================
   USFBulls.com - CSS Design System
   Modern Sports Media Aesthetic (Premium Dark Mode Default)
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* --- Design Tokens & Variables --- */
:root {
  /* Colors - Brand Official (USF Green & Gold) */
  --usf-green: #006747;
  --usf-green-dark: #004d34;
  --usf-green-light: #008f62;
  --usf-green-glow: rgba(0, 143, 98, 0.15);

  --usf-gold: #CFC493;
  --usf-gold-bright: #e5d9a9;
  --usf-gold-dark: #ab9e6c;
  --usf-gold-glow: rgba(207, 196, 147, 0.15);

  /* Theme Colors - Dark Theme (Default) */
  --bg-base: #060c09;
  --bg-surface: #0f1814;
  --bg-surface-elevated: #16241e;
  --bg-glass: rgba(15, 24, 20, 0.8);
  --border: #1a2a22;
  --border-focus: #008f62;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #060c09;

  /* Premium Skeleton Shimmer Colors - Dark Theme */
  --skeleton-bg: #101c18;
  --skeleton-shimmer: #1b2f28;

  /* Sponsored/Affiliate Specific Accent (Amber/Gold Warning/Trust Theme) */
  --affiliate-accent: #d97706;
  --affiliate-bg-glow: rgba(217, 119, 6, 0.05);
  --affiliate-border: rgba(217, 119, 6, 0.25);
  --affiliate-badge-bg: rgba(217, 119, 6, 0.15);

  /* Fonts */
  --font-headline: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1280px;
  --header-height: 72px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows & Glows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.6);
  --green-glow-shadow: 0 0 20px rgba(0, 143, 98, 0.2);
  --gold-glow-shadow: 0 0 20px rgba(207, 196, 147, 0.25);
}

/* --- Theme Override: Light Mode --- */
body.light-theme {
  --bg-base: #f4f6f5;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #e9eef0;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border: #e2e8f0;
  --border-focus: #006747;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --affiliate-bg-glow: rgba(217, 119, 6, 0.03);
  --affiliate-border: rgba(217, 119, 6, 0.3);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --green-glow-shadow: 0 0 15px rgba(0, 103, 71, 0.08);
  --gold-glow-shadow: 0 0 15px rgba(207, 196, 147, 0.15);

  /* Premium Skeleton Shimmer Colors - Light Theme */
  --skeleton-bg: #e2e8f0;
  --skeleton-shimmer: #cbd5e1;
}

/* --- Modern Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

button,
input,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* --- Accessibility Focus States --- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 4px;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* --- Sticky Top Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  display: inline-block;
}

.logo-accent {
  color: var(--usf-green-light);
  transition: color var(--transition-smooth);
}

body.light-theme .logo-accent {
  color: var(--usf-green);
}

.logo-dot {
  color: var(--usf-gold);
}

/* Navigation Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  height: 100%;
}

.nav-desktop-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-mobile-container {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  height: 100%;
}

.nav-link {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--spacing-xs) var(--spacing-sm);
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--usf-green-light);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform var(--transition-fast) ease-out;
}

body.light-theme .nav-link::after {
  background-color: var(--usf-green);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Navigation Dropdown Menu */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.dropdown-caret {
  transition: transform var(--transition-fast) ease;
  flex-shrink: 0;
  opacity: 0.8;
}

.nav-item-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-xs) 0;
  min-width: 170px;
  box-shadow: var(--shadow-lg), var(--green-glow-shadow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast) ease-in-out;
  z-index: 999;
}

/* Invisible bridge to prevent hover flicker/gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(2px);
}

.dropdown-item {
  display: block;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-align: left;
}

.dropdown-item:hover {
  background-color: var(--usf-green-glow);
  color: var(--usf-gold-bright);
  padding-left: 20px;
}

body.light-theme .dropdown-item:hover {
  background-color: var(--usf-green-glow);
  color: var(--usf-green);
}

/* Action items in nav */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  color: var(--text-primary);
  border-color: var(--border-focus);
  background-color: var(--bg-surface-elevated);
  transform: translateY(-2px);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.cta-button-gold {
  background-color: var(--usf-gold);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.cta-button-gold:hover {
  background-color: var(--usf-gold-bright);
  transform: translateY(-2px);
  box-shadow: var(--gold-glow-shadow);
}

.cta-button-outline {
  border: 1px solid var(--border);
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.02);
}

.cta-button-outline:hover {
  border-color: var(--usf-green-light);
  background-color: var(--usf-green-glow);
  transform: translateY(-2px);
}

/* Mobile Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
}

/* --- Game Ticker Component --- */
.game-ticker {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: var(--spacing-sm) 0;
  overflow: hidden;
  position: relative;
}

.ticker-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--usf-gold);
  border-right: 1px solid var(--border);
  padding-right: var(--spacing-md);
  margin-right: var(--spacing-md);
  flex-shrink: 0;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
}

.ticker-scroll-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

.ticker-scroll-container::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.ticker-matchup {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 600;
}

.ticker-team-logo {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
}

.ticker-vs {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.ticker-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ticker-date {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.ticker-tv {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--usf-green-light);
}

body.light-theme .ticker-tv {
  color: var(--usf-green);
}

.ticker-ticket-btn {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--usf-gold-glow);
  border: 1px solid var(--usf-gold-dark);
  color: var(--usf-gold-bright);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

body.light-theme .ticker-ticket-btn {
  background-color: rgba(207, 196, 147, 0.15);
  color: var(--usf-green-dark);
}

.ticker-ticket-btn:hover {
  background-color: var(--usf-gold);
  color: var(--text-inverse);
  transform: scale(1.05);
}

/* --- Hero Grid / Top Stories Area --- */
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.hero-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
  box-shadow: var(--shadow-lg);
}

.hero-sub-column {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--spacing-md);
}

.hero-sub-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: calc(250px - (var(--spacing-md) / 2));
  box-shadow: var(--shadow-md);
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  transition: transform var(--transition-smooth) ease;
}

@media (hover: hover) {
  .hero-main:hover .hero-image-wrapper img,
  .hero-sub-item:hover .hero-image-wrapper img {
    transform: scale(1.03);
  }
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, rgba(6, 12, 9, 0.95) 0%, rgba(6, 12, 9, 0.6) 50%, rgba(6, 12, 9, 0) 100%);
  z-index: 2;
  transition: background var(--transition-smooth);
}

body.light-theme .hero-overlay {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-lg);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.hero-sub-item .hero-content {
  padding: var(--spacing-md);
  gap: var(--spacing-xs);
}

.badge {
  align-self: flex-start;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--usf-green);
  color: #ffffff;
  transition: transform var(--transition-fast) ease, filter var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

a.badge:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-recruiting {
  background-color: var(--affiliate-accent);
}

.badge-basketball {
  background-color: #2563eb;
}

.badge-baseball {
  background-color: #0891b2;
}

.badge-track {
  background-color: #8b5cf6;
}

.badge-cross-country {
  background-color: #10b981;
}

.hero-title {
  font-family: var(--font-headline);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

body.light-theme .hero-title {
  color: var(--text-primary);
}

.hero-main .hero-title {
  font-size: 2rem;
}

.hero-sub-item .hero-title {
  font-size: 1.25rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

body.light-theme .hero-meta {
  color: var(--text-secondary);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.hero-excerpt {
  color: #cbd5e1;
  font-size: 0.95rem;
  max-width: 90%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.light-theme .hero-excerpt {
  color: var(--text-secondary);
}

/* --- Main Layout Grid --- */
.main-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xxl);
  align-items: start;
}

/* Left / Center Column - Feed */
.feed-column {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

#dynamic-news-feed {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.section-title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  border-bottom: 2px solid var(--border);
  padding-bottom: var(--spacing-xs);
}

.section-title::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background-color: var(--border);
}

.section-title-icon {
  color: var(--usf-green-light);
}

body.light-theme .section-title-icon {
  color: var(--usf-green);
}

/* --- Card Components --- */

/* News Card */
.news-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-lg);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.news-card.news-card-no-image {
  grid-template-columns: 1fr;
}

@media (hover: hover) {
  .news-card:hover {
    transform: translateY(-2px);
    border-color: var(--usf-green-light);
    box-shadow: var(--shadow-md), var(--green-glow-shadow);
  }

  body.light-theme .news-card:hover {
    border-color: var(--usf-green);
  }
}

.news-card-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 180px;
  position: relative;
}

/* --- Premium Brand CSS Placeholders (Non-Image) --- */
.brand-placeholder-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-surface-elevated) 0%, var(--border) 100%);
  color: var(--usf-gold);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.brand-placeholder-graphic i,
.brand-placeholder-graphic svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px var(--usf-gold-glow));
}

.brand-placeholder-graphic::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(207, 196, 147, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Sport Specific Gradients with High-Fidelity Geometric CSS Patterns */
.gradient-football {
  background:
    radial-gradient(circle at 50% 50%, rgba(207, 196, 147, 0.15) 0%, transparent 80%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(135deg, var(--usf-green-dark) 0%, #061c13 100%);
  background-size: 100% 100%, 20px 20px, 20px 20px, 100% 100%;
  color: var(--usf-gold);
  border: 1px solid var(--usf-green-light);
}

.gradient-football i {
  color: var(--usf-gold);
  filter: drop-shadow(0 0 10px rgba(207, 196, 147, 0.4));
}

.gradient-basketball {
  background:
    radial-gradient(circle at 100% 50%, rgba(255, 255, 255, 0.03) 20%, transparent 20%),
    radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.03) 20%, transparent 20%),
    radial-gradient(circle, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  background-size: 40px 40px, 40px 40px, 12px 12px, 100% 100%;
  color: #60a5fa;
  border: 1px solid #3b82f6;
}

.gradient-basketball i {
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
}

.gradient-baseball {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 14px),
    radial-gradient(circle at 50% 0%, rgba(45, 212, 191, 0.15) 0%, transparent 75%),
    linear-gradient(135deg, #0f766e 0%, #042f2e 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  color: #2dd4bf;
  border: 1px solid #0d9488;
}

.gradient-baseball i {
  filter: drop-shadow(0 0 10px rgba(13, 148, 136, 0.4));
}

.gradient-athletics {
  background:
    repeating-linear-gradient(45deg, rgba(207, 196, 147, 0.02) 0px, rgba(207, 196, 147, 0.02) 1px, transparent 1px, transparent 10px),
    repeating-linear-gradient(-45deg, rgba(207, 196, 147, 0.02) 0px, rgba(207, 196, 147, 0.02) 1px, transparent 1px, transparent 10px),
    radial-gradient(circle at 50% 50%, rgba(207, 196, 147, 0.22) 0%, transparent 75%),
    linear-gradient(135deg, #003d1c 0%, #03140b 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  color: var(--usf-gold);
  border: 1px solid rgba(207, 196, 147, 0.25);
}

.gradient-athletics i {
  color: var(--usf-gold);
  filter: drop-shadow(0 0 12px rgba(207, 196, 147, 0.5));
}

.gradient-recruiting {
  background:
    repeating-linear-gradient(-45deg, rgba(234, 88, 12, 0.03) 0px, rgba(234, 88, 12, 0.03) 4px, transparent 4px, transparent 16px),
    radial-gradient(circle at 50% 50%, rgba(234, 88, 12, 0.12) 0%, transparent 70%),
    linear-gradient(135deg, #7c2d12 0%, #431407 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  color: #ff7849;
  border: 1px solid #ea580c;
}

.gradient-recruiting i {
  filter: drop-shadow(0 0 10px rgba(234, 88, 12, 0.4));
}

.gradient-tennis {
  background:
    radial-gradient(circle at 30% 20%, rgba(133, 224, 36, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(133, 224, 36, 0.08) 0%, transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 30px),
    linear-gradient(135deg, #155e75 0%, #083344 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  color: #85e024;
  border: 1px solid #4d7c0f;
}

.gradient-tennis i {
  filter: drop-shadow(0 0 10px rgba(133, 224, 36, 0.4));
}

.gradient-golf {
  background:
    radial-gradient(circle at 70% 30%, rgba(207, 196, 147, 0.12) 0%, transparent 70%),
    radial-gradient(circle, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  background-size: 100% 100%, 8px 8px, 100% 100%;
  color: #34d399;
  border: 1px solid #059669;
}

.gradient-golf i {
  filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.4));
}

.gradient-volleyball {
  background:
    radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #1e40af 0%, #1e1b4b 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  color: #fbbf24;
  border: 1px solid #3b82f6;
}

.gradient-volleyball i {
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.4));
}

.gradient-soccer {
  background:
    radial-gradient(circle at 50% 50%, rgba(52, 211, 153, 0.1) 0%, transparent 80%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 40px, transparent 40px, transparent 80px),
    linear-gradient(135deg, #065f46 0%, #022c22 100%);
  background-size: 100% 100%, 80px 100%, 100% 100%;
  color: #34d399;
  border: 1px solid #10b981;
}

.gradient-soccer i {
  filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.5));
}

.gradient-lacrosse {
  background:
    radial-gradient(circle at 10% 20%, rgba(207, 196, 147, 0.12) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 2px, transparent 2px, transparent 8px),
    linear-gradient(135deg, #115e59 0%, #0f172a 100%);
  background-size: 100% 100%, 8px 8px, 100% 100%;
  color: var(--usf-gold);
  border: 1px solid #0d9488;
}

.gradient-lacrosse i {
  filter: drop-shadow(0 0 10px rgba(13, 148, 136, 0.4));
}

.gradient-track {
  background:
    radial-gradient(circle at 90% 10%, rgba(239, 68, 68, 0.15) 0%, transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 15px),
    linear-gradient(135deg, #991b1b 0%, #3f0712 100%);
  background-size: 100% 100%, 100% 15px, 100% 100%;
  color: #fca5a5;
  border: 1px solid #b91c1c;
}

.gradient-track i {
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.4));
}

.gradient-sailing {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 2px, transparent 2px, transparent 20px),
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.15) 0%, transparent 80%),
    linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  color: #38bdf8;
  border: 1px solid #0284c7;
}

.gradient-sailing i {
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
}

.gradient-beach-volleyball {
  background:
    radial-gradient(circle at 80% 20%, rgba(253, 224, 71, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #ea580c 0%, #7c2d12 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  color: #fde047;
  border: 1px solid #ea580c;
}

.gradient-beach-volleyball i {
  filter: drop-shadow(0 0 10px rgba(253, 224, 71, 0.5));
}

/* Sponsored Gradient Graphic */
.gradient-sponsor-merch {
  background: linear-gradient(135deg, #271c0c 0%, #110c05 100%);
  color: var(--affiliate-accent);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.gradient-sponsor-merch i {
  filter: drop-shadow(0 0 12px rgba(217, 119, 6, 0.5));
}

.gradient-sponsor-tickets {
  background: linear-gradient(135deg, #271008 0%, #110502 100%);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.gradient-sponsor-tickets i {
  filter: drop-shadow(0 0 12px rgba(249, 115, 22, 0.5));
}

.news-card-image-wrapper img {
  width: 100%;
  height: 100%;
  transition: transform var(--transition-smooth);
}

@media (hover: hover) {
  .news-card:hover .news-card-image-wrapper img {
    transform: scale(1.04);
  }
}

/* Smooth absolute overlay & fade-in transitions for dynamic feed images */
.news-card-image-wrapper .feed-img,
.hero-image-wrapper .feed-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease-in-out, transform var(--transition-smooth);
}

.news-card-image-wrapper .feed-img.loaded,
.hero-image-wrapper .feed-img.loaded {
  opacity: 1;
}

.news-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--spacing-xs) 0;
}

.news-card-header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.news-card-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.source-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--usf-gold-bright);
  background-color: var(--bg-surface-elevated);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

body.light-theme .source-tag {
  color: var(--usf-green-dark);
}

.news-card-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (hover: hover) {
  .news-card:hover .news-card-title {
    color: var(--usf-green-light);
  }

  body.light-theme .news-card:hover .news-card-title {
    color: var(--usf-green);
  }
}

.news-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: var(--spacing-sm);
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--spacing-md);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-primary);
}

@media (hover: hover) {
  .news-card:hover .read-more-link {
    color: var(--usf-green-light);
  }

  body.light-theme .news-card:hover .read-more-link {
    color: var(--usf-green);
  }
}

/* --- Sponsored & Affiliate Integration Styling --- */
/*
   Crucial Requirements:
   - Must be clearly labeled "Sponsored" or "Affiliate Partner"
   - Distinct background styling, borders, and warm accent glows
   - Maintain readability and trust
*/
.sponsor-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-lg);
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--affiliate-bg-glow) 100%);
  border: 1px solid var(--affiliate-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--affiliate-accent);
}

@media (hover: hover) {
  .sponsor-card:hover {
    transform: translateY(-2px);
    border-color: var(--affiliate-accent);
    box-shadow: var(--shadow-md), 0 0 20px rgba(217, 119, 6, 0.15);
  }
}

.sponsor-badge {
  align-self: flex-start;
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background-color: var(--affiliate-badge-bg);
  color: var(--affiliate-accent);
  border: 1px solid rgba(217, 119, 6, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sponsor-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 180px;
  background-color: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

@media (hover: hover) {
  .sponsor-card:hover .sponsor-image-wrapper img {
    transform: scale(1.05);
  }
}

.sponsor-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--spacing-xs) 0;
}

.sponsor-title {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: var(--spacing-sm);
}

.sponsor-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: var(--spacing-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sponsor-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--spacing-md);
}

.sponsor-price {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--usf-gold);
}

body.light-theme .sponsor-price {
  color: var(--affiliate-accent);
}

.sponsor-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--affiliate-accent);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.sponsor-btn:hover {
  background-color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* --- Right Column - Sticky Sidebar --- */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  position: sticky;
  bottom: var(--spacing-lg);
}

/* Sidebar Widget Panel */
.widget-panel {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.widget-title-icon {
  color: var(--usf-gold);
}

/* Trending Widget */
.trending-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.trending-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.trending-rank {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--usf-green-light);
  line-height: 1;
  opacity: 0.5;
  width: 32px;
}

body.light-theme .trending-rank {
  color: var(--usf-green);
}

.trending-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trending-headline {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (hover: hover) {
  .trending-headline:hover {
    color: var(--usf-green-light);
  }

  body.light-theme .trending-headline:hover {
    color: var(--usf-green);
  }
}

.trending-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sidebar Affiliate: StubHub tickets widget */
.sidebar-ticket-widget {
  border-color: var(--affiliate-border);
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--affiliate-bg-glow) 100%);
  position: relative;
}

.sidebar-ticket-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--affiliate-accent);
}

.ticket-game-card {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.ticket-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--usf-gold-glow);
  box-shadow: var(--shadow-lg), 0 4px 20px rgba(0, 143, 98, 0.1);
}

/* Rivalry match dynamic glow effects */
.ticket-game-card.rivalry-card {
  border-color: var(--affiliate-border);
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--affiliate-bg-glow) 100%);
}

.ticket-game-card.rivalry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--affiliate-accent);
}

.ticket-game-card.rivalry-card:hover {
  border-color: var(--affiliate-accent);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(217, 119, 6, 0.2);
}

.ticket-game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--spacing-xs);
}

.ticket-game-header .venue-text {
  font-weight: 500;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.ticket-game-teams {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.ticket-game-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.ticket-game-team-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ticket-game-team-badge {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  background-color: var(--bg-base);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--border);
}

.ticket-game-team.winner .ticket-game-team-info {
  color: var(--text-primary);
}

.ticket-game-team.loser .ticket-game-team-info {
  opacity: 0.6;
}

/* Premium scoreboard score or state values */
.ticket-game-score {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.ticket-game-score.winner {
  color: var(--usf-gold-bright);
  filter: drop-shadow(0 0 4px rgba(229, 217, 169, 0.3));
}

.ticket-game-score.loser {
  opacity: 0.5;
}

/* Unified Team logo borders and shadows */
.ticker-team-logo {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.04);
  padding: 1px;
  transition: transform var(--transition-fast);
}

body.light-theme .ticker-team-logo {
  background-color: rgba(0, 0, 0, 0.02);
  border: 1.5px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.ticket-game-team:hover .ticker-team-logo {
  transform: scale(1.08);
}

.ticket-game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.ticket-game-meta .broadcast-badge {
  font-weight: 700;
  color: var(--usf-green-light);
  background-color: rgba(0, 143, 98, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 143, 98, 0.15);
}

body.light-theme .ticket-game-meta .broadcast-badge {
  color: var(--usf-green-dark);
  background-color: rgba(0, 103, 71, 0.05);
  border: 1px solid rgba(0, 103, 71, 0.1);
}

.ticket-game-action {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xs);
}

.ticket-btn-stubhub {
  flex-grow: 1;
  text-align: center;
  font-family: var(--font-headline);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--affiliate-accent);
  color: #ffffff;
  padding: 8px var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
}

.ticket-btn-stubhub:hover {
  background-color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
}

/* Sidebar Affiliate: Fanatics Merch Widget */
.sidebar-merch-widget {
  border-color: var(--affiliate-border);
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--affiliate-bg-glow) 100%);
  position: relative;
}

.sidebar-merch-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--affiliate-accent);
}

.merch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.merch-card {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  text-align: center;
  transition: all var(--transition-fast);
}

.merch-card:hover {
  transform: translateY(-2px);
  border-color: var(--affiliate-accent);
}

.merch-img-wrapper {
  background-color: var(--bg-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.merch-img-wrapper img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.merch-name {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: var(--spacing-xs);
}

.merch-price {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--usf-gold);
  margin-bottom: var(--spacing-xs);
}

body.light-theme .merch-price {
  color: var(--affiliate-accent);
}

.merch-shop-btn {
  display: block;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--affiliate-accent);
  border: 1px solid rgba(217, 119, 6, 0.2);
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.merch-shop-btn:hover {
  background-color: var(--affiliate-accent);
  color: #ffffff;
}

/* --- Sticky Bottom Mobile CTA --- */
/* Displayed only on mobile screen widths during game weeks */
.mobile-sticky-cta {
  display: none;
  /* Controlled by Media Query */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-top: 1px solid var(--affiliate-border);
  padding: var(--spacing-sm) var(--spacing-md);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
  z-index: 99;
}

.mobile-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.mobile-cta-text {
  display: flex;
  flex-direction: column;
}

.mobile-cta-title {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--usf-gold);
}

.mobile-cta-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.mobile-cta-btn {
  background-color: var(--affiliate-accent);
  color: #ffffff;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* --- Site Footer & Affiliate Disclosures --- */
.site-footer {
  background-color: #040806;
  border-top: 1px solid var(--border);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: background-color var(--transition-smooth);
}

body.light-theme .site-footer {
  background-color: #eef2f1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-logo {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-desc {
  font-size: 0.85rem;
  max-width: 400px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-col-title {
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--usf-green-light);
}

body.light-theme .footer-links a:hover {
  color: var(--usf-green);
}

/* Legally Mandated Disclosure Block */
.footer-disclosure {
  border-top: 1px solid var(--border);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer Dark/Light Mode Toggle Switch */
.footer-theme-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.footer-theme-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-theme-icon--sun {
  color: var(--usf-gold);
  opacity: 0.5;
}

.footer-theme-icon--moon {
  color: var(--text-muted);
  opacity: 1;
}

body.light-theme .footer-theme-icon--sun {
  opacity: 1;
}

body.light-theme .footer-theme-icon--moon {
  opacity: 0.4;
}

.theme-pill-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  padding: 0;
  flex-shrink: 0;
}

.theme-pill-toggle:hover {
  border-color: var(--usf-green-light);
}

body.light-theme .theme-pill-toggle {
  background-color: var(--usf-green);
  border-color: var(--usf-green);
}

.theme-pill-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background-color: var(--text-muted);
  border-radius: 50%;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  display: block;
}

body.light-theme .theme-pill-knob {
  background-color: #ffffff;
  transform: translateX(18px);
}

.footer-socials {
  display: flex;
  gap: var(--spacing-md);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--text-primary);
  border-color: var(--usf-green-light);
  transform: translateY(-2px);
}

body.light-theme .footer-social-link:hover {
  border-color: var(--usf-green);
}

/* --- Responsive Adjustments / Media Queries --- */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-main {
    height: 400px;
  }

  .hero-sub-column {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    height: 220px;
  }

  .hero-sub-item {
    height: 100%;
  }

  .main-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .sidebar-column {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  /* Make the hero grid act as a vertical card list */
  .hero-grid {
    display: none !important;
  }

  /* Allow sub-column cards to stack in the same uniform flow */
  .hero-sub-column {
    display: none !important;
  }

  /* Re-define Hero Cards to mirror News Card layouts */
  .hero-main,
  .hero-sub-item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--spacing-md) !important;
    box-shadow: var(--shadow-sm) !important;
    height: auto !important;
  }

  /* Match the image wrapper scaling of normal news-cards */
  .hero-image-wrapper {
    position: relative !important;
    height: 200px !important;
    width: 100% !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    z-index: 1 !important;
  }

  /* Hide the dark cover overlay since background is a solid panel now */
  .hero-overlay {
    display: none !important;
  }

  /* Convert content wrapper from absolute position to static text flow */
  .hero-content {
    position: static !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--spacing-sm) !important;
    z-index: 2 !important;
  }

  /* Align text colors and sizes with standard news-card typography */
  .hero-title,
  .hero-title a {
    font-family: var(--font-headline) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: var(--text-primary) !important;
  }

  .hero-main .hero-title,
  .hero-sub-item .hero-title {
    font-size: 1.2rem !important;
    margin: 0 !important;
  }

  body.light-theme .hero-title,
  body.light-theme .hero-title a {
    color: var(--text-primary) !important;
  }

  /* Reinstate the article excerpt on mobile to match normal news cards */
  .hero-excerpt {
    display: -webkit-box !important;
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    margin-bottom: var(--spacing-xs) !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }

  body.light-theme .hero-excerpt {
    color: var(--text-secondary) !important;
  }

  /* Render the metadata as a card footer */
  .hero-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: var(--spacing-md) !important;
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    border-top: 1px solid var(--border) !important;
    padding-top: var(--spacing-sm) !important;
  }

  body.light-theme .hero-meta {
    color: var(--text-muted) !important;
  }

  .news-card-category-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: var(--spacing-xs) var(--spacing-sm) !important;
  }

  .news-card-category-row .badge,
  .news-card-category-row .source-tag {
    white-space: nowrap !important;
  }

  .news-card {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .news-card-image-wrapper {
    height: 200px;
  }

  .sponsor-card {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .sponsor-image-wrapper {
    height: 200px;
  }

  .sidebar-column {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  /* Display the sticky ticket ad block on mobile */
  .mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 70px;
    /* Offset for sticky bottom banner */
  }

  /* Hide the redundant 'More Articles' section title on home page mobile view */
  #latest-news-heading {
    display: none !important;
  }

  /* Prevent horizontal overflow on sports landing pages */
  .sport-navigation-tabs {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    gap: var(--spacing-sm) !important;
  }

  .sport-navigation-tabs .filter-pill {
    flex: 1 !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    padding: 6px 10px !important;
    white-space: nowrap !important;
  }

  .schedule-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  /* Scale image heights down proportionally for compact mobile screens */
  .hero-image-wrapper {
    height: 160px !important;
  }

  .news-card-image-wrapper {
    height: 160px;
  }

  .sponsor-image-wrapper {
    height: 160px;
  }

  .ticker-title {
    padding-right: var(--spacing-sm);
    margin-right: var(--spacing-sm);
  }

  .ticker-scroll-container {
    gap: var(--spacing-md);
  }
}

/* ==================== NCAA LIVE & SCOREBOARD DYNAMIC STYLES ==================== */
.live-badge {
  background-color: #ef4444;
  color: #ffffff;
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: pulse-red 2s infinite ease-in-out;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

@keyframes pulse-red {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  }

  50% {
    opacity: 0.65;
    box-shadow: 0 0 2px rgba(239, 68, 68, 0.2);
  }
}

.final-badge {
  background-color: var(--usf-green-light);
  color: #ffffff;
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
}

body.light-theme .final-badge {
  background-color: var(--usf-green);
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }

  100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.ticker-item.live-game {
  border-color: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.15);
  background: linear-gradient(135deg, var(--bg-surface-elevated) 0%, rgba(239, 68, 68, 0.03) 100%);
}

.ticker-item.final-game {
  border-color: var(--border-focus);
}

.ticker-watch-btn {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

body.light-theme .ticker-watch-btn {
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.ticker-watch-btn:hover {
  background-color: #ef4444;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.game-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-headline);
  font-size: 0.85rem;
  margin: 2px 0;
}

.game-score-team {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-secondary);
}

.game-score-team.winner {
  color: var(--text-primary);
  font-weight: 700;
}

.game-score-val {
  font-weight: 500;
  color: var(--text-secondary);
}

.game-score-val.winner {
  font-weight: 800;
  color: var(--usf-gold-bright);
}

body.light-theme .game-score-val.winner {
  color: var(--usf-green);
}

/* ========================================================================
   MASTER SCHEDULE SECTION STYLES
   ======================================================================== */
.schedule-header-panel {
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.schedule-header-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--usf-gold);
}

.schedule-main-title {
  font-family: var(--font-headline);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
}

.schedule-main-title i {
  width: 28px;
  height: 28px;
}

.schedule-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Filters Row */
.schedule-filters-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  overflow-x: auto;
  padding-bottom: var(--spacing-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.schedule-filters-row::-webkit-scrollbar {
  height: 4px;
}

.schedule-filters-row::-webkit-scrollbar-thumb {
  background-color: var(--border);
  border-radius: var(--radius-full);
}

.filter-pill {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  color: var(--text-primary);
  border-color: var(--usf-gold);
  background-color: var(--bg-surface-elevated);
}

.filter-pill.active {
  background-color: var(--usf-green);
  color: #ffffff;
  border-color: var(--usf-green-light);
  box-shadow: var(--green-glow-shadow);
}

body.light-theme .filter-pill.active {
  background-color: var(--usf-green);
  color: #ffffff;
  border-color: var(--usf-green);
}

/* Schedule Cards Grid */
.schedule-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-md);
  opacity: 1;
  transition: opacity var(--transition-fast) ease-in-out;
}

.schedule-cards-grid.loading {
  opacity: 0.5;
}

/* Schedule Card */
.schedule-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--spacing-md);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.schedule-card:hover {
  transform: translateY(-3px);
  border-color: var(--usf-gold-dark);
  box-shadow: var(--shadow-md), var(--gold-glow-shadow);
}

.schedule-card.rivalry-card {
  border-color: var(--affiliate-accent);
}

.schedule-card.rivalry-card:hover {
  box-shadow: var(--shadow-md), 0 0 15px rgba(217, 119, 6, 0.2);
}

.schedule-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--spacing-sm);
}

.schedule-sport-badge {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--usf-gold);
}

.schedule-away-badge {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.schedule-card.rivalry-card .schedule-away-badge {
  background-color: var(--affiliate-badge-bg);
  color: #ffffff;
  border-color: var(--affiliate-border);
}

.schedule-card-body {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.schedule-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 65px;
  border-right: 1px solid var(--border);
  padding-right: var(--spacing-md);
}

.schedule-date-day {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.schedule-date-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.schedule-card-matchup {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  flex-grow: 1;
}

.schedule-matchup-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.95rem;
}

.schedule-vs-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 2px;
}

.schedule-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: var(--spacing-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.schedule-venue-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-venue-info i {
  color: var(--text-muted);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.schedule-tv-info {
  font-weight: 700;
  color: var(--usf-green-light);
}

body.light-theme .schedule-tv-info {
  color: var(--usf-green);
}

.schedule-card-action {
  margin-top: var(--spacing-xs);
}

.schedule-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  width: 100%;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.schedule-action-btn:hover {
  background-color: var(--usf-green-glow);
  border-color: var(--usf-green-light);
  color: var(--text-primary);
}

.schedule-card.rivalry-card .schedule-action-btn {
  background-color: var(--affiliate-badge-bg);
  border-color: var(--affiliate-border);
  color: #ffffff;
}

.schedule-card.rivalry-card .schedule-action-btn:hover {
  background-color: var(--affiliate-accent);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.4);
}

/* Keyframes for premium fadeInUp micro-animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Sport Sub-Page Hero Banner --- */

.schedule-header-flex {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

/* Responsive Banner adjustments for mobile */
@media (max-width: 768px) {
  .schedule-header-panel {
    padding: var(--spacing-md) !important;
    margin-bottom: var(--spacing-md) !important;
  }

  .schedule-header-flex {
    display: block !important;
    position: relative;
  }

  .schedule-header-panel h1 {
    font-size: 1.75rem !important;
  }

  .schedule-header-panel p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-top: var(--spacing-sm) !important;
  }
}

/* ==================== MOBILE NAVIGATION ==================== */
@media (max-width: 991px) {
  /* Disable pull to refresh when mobile menu is active */
  body.mobile-menu-open,
  html.mobile-menu-open {
    overscroll-behavior: none;
  }

  :root {
    --header-height: 60px;
  }

  /* Disable backdrop-filter on mobile to prevent browser container/stacking context clipping */
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--bg-surface) !important;
  }

  /* Show hamburger button */
  .menu-toggle {
    display: flex;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  /* Hide header CTA buttons on mobile to prevent header crowding/accidental clicks */
  .site-header .cta-button {
    display: none !important;
  }

  /* The nav panel slides in from top as a full-width dropdown */
  .main-nav {
    display: none;
    position: fixed !important;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    height: auto !important; /* Force override desktop height: 100% relative to backdrop-filter containing header */
    background: var(--bg-surface) !important;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 999; /* Raise layer above all other content panels */
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: none;
    padding: 0 !important;
  }

  .nav-desktop-container {
    display: none !important;
  }

  .nav-mobile-container {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    user-select: none;
    -webkit-user-select: none;
  }

  .nav-mobile-container a,
  .nav-mobile-container button {
    -webkit-tap-highlight-color: transparent;
  }

  /* Segmented Controls for Mobile Tabs */
  .mobile-menu-tabs {
    display: flex;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 4px;
    margin: var(--spacing-md) var(--spacing-lg);
    gap: 4px;
  }

  .mobile-tab-btn {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
    font-family: var(--font-headline);
    font-size: 0.85rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: calc(var(--radius-md) - 2px);
    color: var(--text-secondary);
    transition: all var(--transition-fast) ease-in-out;
  }

  .mobile-tab-btn:hover {
    color: var(--text-primary);
  }

  .mobile-tab-btn.active {
    background-color: var(--usf-green);
    color: #ffffff !important;
    box-shadow: var(--green-glow-shadow);
  }

  body.light-theme .mobile-tab-btn.active {
    background-color: var(--usf-green);
    color: #ffffff !important;
    box-shadow: none;
  }

  /* Tab Content Panels */
  .mobile-tab-content {
    display: none;
  }

  .mobile-tab-content.active {
    display: block;
    animation: fadeInUp 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  /* Sports Directory Lists */
  .mobile-sports-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xxl) 0;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
  }

  .mobile-sports-list li {
    width: 100%;
  }

  .mobile-sport-item {
    display: flex;
    align-items: center;
    padding: 14px var(--spacing-lg);
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-headline);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background var(--transition-fast), padding-left var(--transition-fast);
  }

  .mobile-sport-item:hover {
    background-color: var(--usf-green-glow);
    color: var(--usf-green-light);
    padding-left: calc(var(--spacing-lg) + 4px);
  }

  .mobile-sport-item.active {
    background-color: var(--usf-green-glow);
    color: var(--usf-gold);
    border-left: 4px solid var(--usf-green-light);
    padding-left: calc(var(--spacing-lg) - 4px);
  }

  /* Themed Custom Icons */
  .sport-icon-wrapper {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-md);
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast) ease-in-out;
  }

  .mobile-sport-item:hover .sport-icon-wrapper {
    transform: scale(1.08);
    border-color: var(--usf-green-light);
    box-shadow: 0 0 10px rgba(0, 143, 98, 0.15);
  }

  /* Specific Sport Icon Theming Colors */
  .text-home i { color: var(--usf-gold-bright); }       /* Home Gold */
  .text-football i { color: #cfc493; }     /* Gold */
  .text-basketball i { color: #f97316; }   /* Orange */
  .text-baseball i { color: #fbbf24; }     /* Yellow-Gold */
  .text-soccer i { color: #34d399; }       /* Emerald */
  .text-golf i { color: #10b981; }         /* Green */
  .text-tennis i { color: #a3e635; }       /* Lime */
  .text-track i { color: #c084fc; }        /* Purple */
  .text-xc i { color: #38bdf8; }           /* Sky Blue */
  .text-volleyball i { color: #60a5fa; }   /* Blue */
  .text-beach i { color: #fbbf24; }        /* Beach Gold */
  .text-lacrosse i { color: #f472b6; }     /* Pink-Magenta */
  .text-sailing i { color: #38bdf8; }      /* Cyan */

  /* Navigation chevron edge indicator */
  .chevron-icon {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform var(--transition-fast), color var(--transition-fast);
  }

  .mobile-sport-item:hover .chevron-icon {
    transform: translateX(4px);
    color: var(--usf-green-light);
  }

  /* Mobile Quick Action Footer */
  .mobile-menu-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: var(--bg-surface-elevated);
    border-top: 1px solid var(--border);
    padding: var(--spacing-sm) var(--spacing-md);
    gap: var(--spacing-sm);
    margin-top: auto; /* Push to bottom of the fixed height container */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  }

  .mobile-footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: var(--font-headline);
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
  }

  .mobile-footer-link i {
    font-size: 1.05rem;
    transition: transform var(--transition-fast);
  }

  .mobile-footer-link:hover {
    color: var(--usf-gold-bright);
    background-color: var(--bg-surface);
  }

  .mobile-footer-link:hover i {
    transform: translateY(-2px);
  }

  .mobile-footer-link.active {
    color: var(--usf-gold);
  }

  /* Light Theme Overrides for Mobile navigation components */
  body.light-theme .main-nav {
    background-color: #ffffff !important;
    background: #ffffff !important;
  }
  
  body.light-theme .mobile-menu-tabs {
    background-color: var(--bg-base);
    border-color: var(--border);
  }

  body.light-theme .mobile-tab-btn.active {
    background-color: var(--usf-green);
    color: #ffffff !important;
  }

  body.light-theme .mobile-sport-item {
    color: var(--text-primary);
  }

  body.light-theme .mobile-sport-item:hover {
    background-color: var(--usf-green-glow);
    color: var(--usf-green);
  }

  body.light-theme .mobile-sport-item.active {
    background-color: var(--usf-green-glow);
    color: var(--usf-green-dark);
  }

  body.light-theme .sport-icon-wrapper {
    background-color: #ffffff;
    border-color: var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  body.light-theme .mobile-menu-footer {
    background-color: var(--bg-base);
    border-top: 1px solid var(--border);
  }

  body.light-theme .mobile-footer-link:hover {
    color: var(--usf-green);
    background-color: #ffffff;
  }
}


/* ========================================================================
   LEGAL PAGES (Privacy Policy & Terms of Service)
   ======================================================================== */
.legal-page {
  max-width: 820px;
  margin: var(--spacing-xl) auto var(--spacing-xxl);
  padding: 0;
}

.legal-header {
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 2px solid var(--border);
}

.legal-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--usf-gold);
  margin-bottom: var(--spacing-md);
}

.legal-title {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--spacing-sm);
}

.legal-effective {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.legal-section h2 {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--border);
}

.legal-section h3 {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--usf-green-light);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

body.light-theme .legal-section h3 {
  color: var(--usf-green);
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--spacing-md);
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.legal-section ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--usf-green-light);
}

body.light-theme .legal-section ul li::before {
  background-color: var(--usf-green);
}

.legal-section a {
  color: var(--usf-green-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

body.light-theme .legal-section a {
  color: var(--usf-green);
}

.legal-section a:hover {
  color: var(--usf-gold-bright);
}

body.light-theme .legal-section a:hover {
  color: var(--usf-green-dark);
}

.legal-callout {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--affiliate-bg-glow) 100%);
  border: 1px solid var(--affiliate-border);
  border-left: 4px solid var(--affiliate-accent);
  border-radius: var(--radius-md);
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: var(--spacing-md) 0;
}

.legal-callout strong {
  color: var(--affiliate-accent);
}

.legal-partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.legal-partner-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: all var(--transition-fast);
}

.legal-partner-card:hover {
  border-color: var(--usf-green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

body.light-theme .legal-partner-card:hover {
  border-color: var(--usf-green);
}

.legal-partner-card h4 {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.legal-partner-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.legal-contact-block {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md) var(--spacing-lg);
  margin-top: var(--spacing-sm);
}

.legal-contact-block p {
  margin-bottom: var(--spacing-xs);
  font-size: 0.9rem;
}

.legal-contact-block p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-title {
    font-size: 1.75rem;
  }

  .legal-partner-grid {
    grid-template-columns: 1fr;
  }
}

/* Monetization Feature Flag Utility */
.mon-element:not(.mon-enabled) {
  display: none !important;
}

/* --- Premium Brand Shimmering Skeleton Loaders --- */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton-shimmer-base {
  background: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shimmer) 50%, var(--skeleton-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
}

/* Base class applied to skeleton items */
.skeleton-card {
  pointer-events: none;
  user-select: none;
}

.skeleton-card .news-card-image-wrapper {
  background: var(--skeleton-bg);
}

.skeleton-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shimmer) 50%, var(--skeleton-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
}

.skeleton-text {
  height: 12px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shimmer) 50%, var(--skeleton-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: 4px;
}

.skeleton-text.skeleton-title {
  height: 20px;
  width: 85%;
  margin-bottom: 14px;
}

.skeleton-text.skeleton-subtitle {
  height: 14px;
  width: 60%;
  margin-bottom: 12px;
}

.skeleton-text.skeleton-excerpt {
  height: 10px;
  width: 95%;
  margin-bottom: 8px;
}

.skeleton-text.skeleton-excerpt:last-child {
  width: 70%;
}

.skeleton-badge {
  width: 70px;
  height: 18px;
  background: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shimmer) 50%, var(--skeleton-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.skeleton-button {
  width: 110px;
  height: 32px;
  background: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shimmer) 50%, var(--skeleton-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: var(--radius-md);
  display: inline-block;
}

/* Skeleton layouts for Ticker items */
.ticker-item-skeleton {
  width: 250px;
  height: 46px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-shrink: 0;
  pointer-events: none;
}

.ticker-item-skeleton .skeleton-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shimmer) 50%, var(--skeleton-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
  flex-shrink: 0;
}

/* Skeleton layout for Hero Main/Sub elements when they have the 'skeleton' class active */
.hero-main.skeleton,
.hero-sub-item.skeleton {
  pointer-events: none;
  background: var(--skeleton-bg);
}

.hero-main.skeleton .hero-image-wrapper,
.hero-sub-item.skeleton .hero-image-wrapper {
  background: var(--skeleton-bg);
  opacity: 0.5;
}

.hero-main.skeleton .badge,
.hero-sub-item.skeleton .badge {
  background: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shimmer) 50%, var(--skeleton-bg) 75%) !important;
  background-size: 200% 100% !important;
  animation: shimmer 1.6s infinite linear !important;
  color: transparent !important;
  border: none;
  width: 100px;
  height: 20px;
}

.hero-main.skeleton .hero-title,
.hero-sub-item.skeleton .hero-title {
  color: transparent !important;
}

.hero-main.skeleton .hero-excerpt,
.hero-sub-item.skeleton .hero-excerpt {
  color: transparent !important;
}

/* News cards skeleton display styles */
.news-card-skeleton {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-lg);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  pointer-events: none;
}

/* Trending widget line skeleton styles */
.trending-item-skeleton {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.trending-item-skeleton .skeleton-rank {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--border);
  flex-shrink: 0;
}

/* Sidebar Ticket Card skeleton styling */
.ticket-card-skeleton {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  pointer-events: none;
}

/* Schedule Card Dashboard skeleton styling */
.schedule-card-skeleton {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

/* --- Premium Feed Error/Retry Card Panel styling --- */
.feed-error-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xxl) var(--spacing-lg);
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  animation: fadeInUp 0.4s ease forwards;
}

.feed-error-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.feed-error-card .error-icon {
  width: 56px;
  height: 56px;
  color: var(--usf-gold);
  stroke-width: 1.5;
  margin-bottom: var(--spacing-md);
  filter: drop-shadow(0 0 8px var(--usf-gold-glow));
}

.feed-error-card h3 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  letter-spacing: -0.5px;
}

.feed-error-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 440px;
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.feed-error-card .cta-button-gold {
  padding: 12px 24px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
}

.feed-error-card .cta-button-gold i {
  width: 16px;
  height: 16px;
  transition: transform 0.5s ease;
}

.feed-error-card .cta-button-gold:hover i {
  transform: rotate(360deg);
}

/* --- Excerpt Expandable / Collapsible Styling --- */
.excerpt-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: var(--spacing-sm);
  width: 100%;
}

.excerpt-wrapper .news-card-excerpt,
.excerpt-wrapper .hero-excerpt {
  margin-top: 0;
  transition: max-height 0.3s ease;
}

.news-card-excerpt.expanded,
.hero-excerpt.expanded {
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}

.excerpt-toggle-btn {
  background: none;
  border: none;
  padding: 4px 0;
  margin-top: 4px;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--usf-gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.excerpt-toggle-btn:hover {
  color: var(--usf-gold-bright);
}

body.light-theme .excerpt-toggle-btn {
  color: var(--usf-green);
}

body.light-theme .excerpt-toggle-btn:hover {
  color: var(--usf-green-light);
}

/* ========================================================================
   COUNTDOWN BANNER STYLING (Content-Integrated Card Panel)
   ======================================================================== */
.countdown-banner {
  background: linear-gradient(135deg, #004d34 0%, #03140e 35%, #005a3d 70%, #1e1903 100%);
  background-size: 240% 240%;
  animation: gradientShift 8s ease infinite;
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--usf-gold);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 15px rgba(0, 143, 98, 0.08), 0 4px 20px rgba(207, 196, 147, 0.15); /* Dual-glow gold shadow */
  display: grid;
  grid-template-columns: 1.2fr auto 0.8fr; /* Balanced 3-column layout */
  align-items: center;
  gap: var(--spacing-lg);
  transition: all var(--transition-smooth);
  z-index: 5;
}

.countdown-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
  padding: 0;
}

.countdown-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: scale(1.05);
}

.countdown-close i {
  font-size: 0.7rem;
}


@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.countdown-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--usf-green-glow) 0%, transparent 70%);
  pointer-events: none;
}

.countdown-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  color: var(--text-primary);
  flex-shrink: 1;
  min-width: 0;
  z-index: 2;
}

.countdown-icon-wrapper {
  color: var(--usf-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-gold 2s infinite ease-in-out;
  flex-shrink: 0;
}

.countdown-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
  gap: 2px;
}

.countdown-tag {
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--usf-gold);
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.countdown-label {
  font-family: var(--font-headline);
  font-size: 1.35rem; /* Hero matchup centerpiece size */
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff; /* Premium white pop in dark theme */
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.countdown-details {
  font-size: 0.78rem; /* Clean supportive details size */
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
  opacity: 0.85;
}

/* Countdown Dynamic Timer - Dead Centered */
.countdown-timer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  z-index: 2;
  justify-content: center;
}

.countdown-segment {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Prominent elevated capsule-dashboard cells */
.countdown-value {
  font-family: var(--font-headline);
  font-size: 1.25rem; /* Larger timer values */
  font-weight: 800;
  color: #ffffff;
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  letter-spacing: -0.5px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), var(--shadow-sm);
}

.countdown-unit {
  font-family: var(--font-headline);
  font-size: 0.72rem; /* Larger units */
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.countdown-divider {
  color: var(--border);
  font-weight: 300;
  font-size: 1.15rem;
  opacity: 0.5;
}

/* Countdown Action Button - Right Aligned */
.countdown-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--usf-gold-dark);
  background: var(--usf-gold-glow);
  color: var(--usf-gold-bright);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
}

.countdown-cta:hover {
  background: var(--usf-gold);
  color: var(--text-inverse);
  border-color: var(--usf-gold);
  transform: translateY(-1px);
  box-shadow: var(--gold-glow-shadow);
}

/* --- Theme Override: Light Mode Countdown Banner --- */
body.light-theme .countdown-banner {
  background: linear-gradient(135deg, #d3e2db 0%, #ffffff 35%, #ebf2ef 70%, #f7f5db 100%);
  background-size: 240% 240%;
  animation: gradientShift 8s ease infinite;
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--usf-green);
  box-shadow: var(--shadow-sm), 0 4px 15px rgba(0, 103, 71, 0.08);
}

body.light-theme .countdown-close {
  background: rgba(0, 103, 71, 0.05);
  border: 1px solid rgba(0, 103, 71, 0.1);
  color: var(--usf-green);
}

body.light-theme .countdown-close:hover {
  background: rgba(0, 103, 71, 0.12);
  border-color: rgba(0, 103, 71, 0.2);
  color: var(--usf-green-dark);
}


body.light-theme .countdown-banner::after {
  background: radial-gradient(circle, rgba(0, 103, 71, 0.05) 0%, transparent 70%);
}

body.light-theme .countdown-info {
  color: var(--text-primary);
}

body.light-theme .countdown-icon-wrapper {
  color: var(--usf-green);
}

body.light-theme .countdown-tag {
  color: var(--usf-green);
}

body.light-theme .countdown-label {
  color: var(--usf-green-dark);
}

body.light-theme .countdown-details {
  color: var(--text-secondary);
}

body.light-theme .countdown-value {
  color: var(--usf-green);
  background: rgba(0, 103, 71, 0.04);
  border: 1px solid rgba(0, 103, 71, 0.08);
  text-shadow: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), var(--shadow-sm);
}

body.light-theme .countdown-unit {
  color: var(--text-muted);
}

body.light-theme .countdown-cta {
  border-color: var(--usf-green);
  background: rgba(0, 103, 71, 0.05);
  color: var(--usf-green);
}

body.light-theme .countdown-cta:hover {
  background: var(--usf-green);
  color: #ffffff;
  border-color: var(--usf-green);
  box-shadow: var(--green-glow-shadow);
}

/* Animations */
@keyframes pulse-gold {
  0%, 100% {
    opacity: 0.9;
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(207, 196, 147, 0.2));
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(207, 196, 147, 0.6));
  }
}

@media (max-width: 991px) {
  .countdown-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
  }

  .countdown-info {
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-xs);
  }

  .countdown-text-group {
    align-items: center;
  }
  
  .countdown-label {
    font-size: 1.2rem;
  }

  .countdown-details {
    margin-top: var(--spacing-xs);
  }

  .countdown-cta {
    align-self: center;
  }
}

@media (max-width: 576px) {
  .countdown-banner {
    padding: var(--spacing-sm) var(--spacing-md);
    gap: var(--spacing-sm);
  }

  .countdown-label {
    font-size: 1.05rem;
  }

  .countdown-details {
    display: none; /* Hide finer details to save space */
  }

  .countdown-timer {
    gap: 6px;
  }

  .countdown-segment {
    gap: 2px;
  }

  .countdown-value {
    font-size: 1rem;
    min-width: 30px;
    height: 30px;
    border-radius: 4px;
  }

  .countdown-unit {
    font-size: 0.58rem;
  }

  .countdown-divider {
    font-size: 0.9rem;
    margin: 0 1px;
  }
}