/* =============================================================================
   INSIDE WISCONSIN - COMPLETE CSS FRAMEWORK
   Single comprehensive stylesheet replacing all modular files
============================================================================= */

/* =============================================================================
   RESET AND BASE STYLES
============================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
============================================================================= */
:root {
  /* Colors */
  --color-primary: #1b5e20;
  --color-primary-light: #2d7d32;
  --color-secondary: #c5282f;
  --color-accent: #ffc72a;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-100: #f9fafb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
  
  /* Radio Section Colors */
  --color-radio-blue: #1976d2;
  --color-radio-overlay: rgba(25, 118, 210, 0.25);
  --color-radio-bloom: rgba(255, 255, 255, 0.08);
  
  /* Podcast Section Colors */
  --color-podcast-red: #c5282f;
  --color-podcast-overlay: rgba(197, 40, 47, 0.25);
  --color-podcast-bloom: rgba(255, 199, 42, 0.20);
  
  /* Spacing Scale */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 0.75rem;    /* 12px */
  --space-lg: 1rem;       /* 16px */
  --space-xl: 1.5rem;     /* 24px */
  --space-2xl: 2rem;      /* 32px */
  --space-3xl: 3rem;      /* 48px */
  --space-4xl: 4rem;      /* 64px */
  --space-5xl: 5rem;      /* 80px */
  
  /* Font Sizes */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 2rem;       /* 32px */
  --text-4xl: 2.5rem;     /* 40px */
  
  /* Border Radius */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  
  /* Z-index Scale */
  --z-behind: -10;
  --z-base: 1;
  --z-elevated: 10;
  --z-overlay: 20;
  --z-modal: 50;
}

/* =============================================================================
   MAIN APP STRUCTURE (FROM ORIGINAL)
============================================================================= */
#app {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#background {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-behind);
    background-image: url('../assets/core/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#split-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
    position: relative;
    z-index: var(--z-base);
    transition: opacity 0.3s ease;
}

/* =============================================================================
   UTILITY CLASSES
============================================================================= */
/* Display */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none !important; }
.block { display: block; }

/* Flex Direction */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }

/* Flex Alignment */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Font Weights */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Text Sizes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

/* Colors */
.text-white { color: var(--color-white); }
.text-black { color: var(--color-black); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-gray-500 { color: var(--color-gray-500); }
.text-gray-700 { color: var(--color-gray-700); }

/* Background Colors */
.bg-white { background-color: var(--color-white); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-accent { background-color: var(--color-accent); }
.bg-gray-100 { background-color: var(--color-gray-100); }

/* Spacing - Margin */
.m-0 { margin: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }

/* Spacing - Padding */
.p-0 { padding: 0; }
.py-5xl { padding-top: var(--space-5xl); padding-bottom: var(--space-5xl); }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* Width/Height */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* Gap utilities */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* =============================================================================
   ICON SYSTEM
============================================================================= */
.icon {
  flex-shrink: 0;
  transition: all var(--transition-base);
}

/* Icon Sizes */
.icon--xs { width: 0.75rem; height: 0.75rem; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--md { width: 1.25rem; height: 1.25rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
.icon--xl { width: 2rem; height: 2rem; }

/* Icon Spacing */
.icon--spaced-right { margin-right: var(--space-sm); }
.icon--spaced-left { margin-left: var(--space-sm); }

/* Icon Colors */
.icon--white { color: var(--color-white); }
.icon--primary { color: var(--color-primary); }
.icon--secondary { color: var(--color-secondary); }
.icon--accent { color: var(--color-accent); }

/* Social Icon Variants */
.icon--social {
  width: 1.25rem;
  height: 1.25rem;
  transition: all var(--transition-base);
  color: var(--color-gray-400);
}

.icon--social:hover {
  transform: scale(1.1);
}

.icon--social.youtube:hover { color: #ff0000; }
.icon--social.facebook:hover { color: #1877f2; }
.icon--social.twitter:hover { color: #1da1f2; }
.icon--social.instagram:hover { color: #e4405f; }

/* Legacy icon classes for compatibility */
.social-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: all var(--transition-base);
  color: var(--color-gray-400);
}

.social-icon:hover { transform: scale(1.1); }
.social-icon.youtube:hover { color: #ff0000; }
.social-icon.facebook:hover { color: #1877f2; }
.social-icon.twitter:hover { color: #1da1f2; }
.social-icon.instagram:hover { color: #e4405f; }

/* =============================================================================
   BUTTON SYSTEM (COMPREHENSIVE)
============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.025em;
  min-height: 48px; /* Accessibility: minimum touch target */
}

/* Button Sizes */
.btn--sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

.btn--md {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn--lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
  border-radius: var(--radius-full);
  min-width: 12.5rem;
}

/* Button Variants */
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background-color: var(--color-primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn--secondary:hover {
  background-color: #a21e24;
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn--accent:hover {
  background-color: #e6b327;
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.btn--ghost:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

.btn--outline {
  background-color: transparent;
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
}

.btn--outline:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Button States */
.btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Button Widths */
.btn--full { width: 100%; }
.btn--auto { width: auto; }

/* Special Button Types */
.btn--close {
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--color-gray-700);
  min-height: auto;
}

.btn--close:hover {
  background-color: rgba(0, 0, 0, 0.2);
  transform: none;
}

.btn--menu {
  padding: var(--space-sm);
  background-color: transparent;
  color: var(--color-white);
  border-radius: var(--radius-sm);
  min-height: auto;
}

.btn--menu:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: none;
}

/* =============================================================================
   LAYOUT SYSTEM
============================================================================= */

/* Container System */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--sm { max-width: 40rem; }
.container--md { max-width: 48rem; }
.container--lg { max-width: 64rem; }
.container--xl { max-width: 80rem; }
.container--full { max-width: none; }

/* Section System */
.section {
  position: relative;
}

.section--padded {
  padding: var(--space-5xl) 0;
}

.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section--split {
  flex: 1;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-slow);
}

/* Background Overlays */
.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.overlay--radio {
  background: linear-gradient(to right,
    var(--color-radio-overlay) 0%,
    rgba(25, 118, 210, 0.20) 70%,
    rgba(25, 118, 210, 0.05) 100%);
}

.overlay--podcast {
  background: linear-gradient(to left,
    var(--color-podcast-overlay) 0%,
    rgba(197, 40, 47, 0.20) 70%,
    rgba(197, 40, 47, 0.05) 100%);
}

/* Bloom Effects */
.bloom {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bloom--radio {
  background: radial-gradient(circle at center,
    var(--color-radio-bloom) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    transparent 70%);
}

.bloom--podcast {
  background: radial-gradient(circle at center,
    var(--color-podcast-bloom) 0%,
    rgba(255, 199, 42, 0.10) 40%,
    transparent 70%);
}

/* Content Positioning */
.content {
  position: relative;
  z-index: var(--z-elevated);
}

.content--centered {
  text-align: center;
  color: var(--color-white);
  max-width: 32rem;
  padding: var(--space-xl) var(--space-2xl);
}

/* Logo/Image Container */
.logo-container {
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.logo-image {
  max-height: 6rem;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* =============================================================================
   NAVIGATION SYSTEM (COMPLETE)
============================================================================= */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-overlay);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-logo img,
.nav__logo {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: none;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-link,
.nav__link {
    color: var(--color-gray-900);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
    padding: var(--space-sm) 0;
}

.nav-link:hover,
.nav__link:hover {
    color: var(--color-accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-social {
    display: none;
    align-items: center;
    gap: var(--space-lg);
}

/* Navigation social icons should be darker for visibility on white background */
.nav-social .icon--social {
    color: var(--color-gray-700);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    color: var(--color-gray-900);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-base);
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Mobile Navigation */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
}

.mobile-menu.show {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
}

.mobile-menu-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 20rem;
    height: 100%;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
}

.mobile-menu.show .mobile-menu-sidebar {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-gray-300);
}

.mobile-menu-header img,
.mobile-nav-logo {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
}

.mobile-nav-links {
    flex: 1;
    padding: var(--space-lg);
}

.mobile-nav-link,
.nav__link--mobile {
    display: block;
    color: var(--color-gray-700);
    text-decoration: none !important;
    font-size: var(--text-lg);
    font-weight: 500;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-gray-100);
    transition: color var(--transition-base);
}

.mobile-nav-link:hover,
.nav__link--mobile:hover {
    color: var(--color-gray-900);
}

.mobile-social {
    padding: var(--space-lg);
    border-top: 1px solid var(--color-gray-300);
}

.mobile-social-title {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-500);
    margin-bottom: var(--space-lg);
}

.mobile-social-icons {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.mobile-cta {
    padding: var(--space-lg);
    margin-top: auto;
}

.mobile-cta .btn {
    width: 100%;
    margin-bottom: var(--space-md);
}

/* =============================================================================
   PAGE-SPECIFIC COMPONENTS
============================================================================= */

/* Lineup View (Show Page) */
.lineup-view {
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
    z-index: var(--z-base);
    transition: transform 0.5s ease-in-out;
}

.lineup-header {
    position: relative;
    z-index: var(--z-overlay);
    padding: var(--space-lg) var(--space-xl);
}

.lineup-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lineup-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
}

.lineup-image-container {
    max-width: 100%;
    text-align: center;
}

.lineup-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.lineup-bottom {
    position: relative;
    z-index: var(--z-overlay);
    padding: var(--space-lg) var(--space-xl);
}

.lineup-bottom-container {
    display: flex;
    justify-content: center;
}

/* Hero Section (Podcast Page) */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-behind);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: var(--z-elevated);
    text-align: center;
    color: var(--color-white);
    max-width: 64rem;
    padding: 0 var(--space-2xl);
}

.hero-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.hero-highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
    line-height: 1.625;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
}

/* Sections */
.section-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

/* Hosts Section */
.hosts-section {
    padding: var(--space-5xl) 0;
    background-color: var(--color-gray-100);
}

.hosts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    max-width: 64rem;
    margin: 0 auto;
}

.host-card {
    text-align: center;
}

.host-image-container {
    position: relative;
    margin-bottom: var(--space-xl);
}

.host-image {
    width: 100%;
    max-width: 20rem;
    height: auto;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
}

.host-name {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.host-bio {
    font-size: var(--text-lg);
    color: var(--color-gray-700);
    line-height: 1.75;
}

/* Partners Section */
.partners-section {
    padding: var(--space-5xl) 0;
    background-color: var(--color-white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3xl);
    margin-bottom: var(--space-4xl);
}

.contact-info {
    text-align: center;
}

.contact-text {
    color: var(--color-gray-500);
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
}

/* Episodes Section */
.episodes-section {
    padding: var(--space-5xl) 0;
    background-color: var(--color-gray-100);
}

.episodes-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-lg);
}

.episodes-description {
    font-size: var(--text-lg);
    color: var(--color-gray-700);
    margin-bottom: var(--space-2xl);
    line-height: 1.75;
}

.episodes-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
}

/* About Section */
.about-section {
    padding: var(--space-5xl) 0;
    background-color: var(--color-white);
}

.about-content {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.about-description {
    font-size: var(--text-lg);
    color: var(--color-gray-700);
    margin-bottom: var(--space-xl);
    line-height: 1.75;
}

/* Footer CTA */
.footer-cta {
    padding: var(--space-5xl) 0;
    background-color: var(--color-primary);
}

.footer-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-lg);
}

.footer-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-xl);
}

.footer-subtitle {
    font-size: var(--text-xl);
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
}

/* Main Footer */
.footer {
    background-color: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.footer .footer-content {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-logo {
    height: 3rem;
    margin-bottom: var(--space-lg);
}

.footer p {
    margin: var(--space-sm) 0;
    color: var(--color-white);
}

.footer a {
    color: var(--color-white);
    text-decoration: none;
}

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

/* Privacy Section */
.privacy-section {
    padding: var(--space-5xl) 0;
    background-color: var(--color-white);
}

.privacy-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-2xl);
}

/* Modal System */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--color-gray-300);
}

.modal-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.modal-body {
    padding: var(--space-xl);
}

.modal-description {
    color: var(--color-gray-700);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.modal-footer {
    padding: var(--space-xl);
    border-top: 1px solid var(--color-gray-300);
    text-align: center;
}

.modal-footer-text {
    color: var(--color-gray-500);
    font-size: var(--text-sm);
}

.modal-link {
    color: var(--color-secondary);
    text-decoration: none;
}

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

/* Platform Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-white);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--color-gray-700);
    transition: all var(--transition-base);
}

.platform-btn:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* =============================================================================
   ANIMATION SYSTEM
============================================================================= */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-pulse { animation: pulse 2s infinite; }
.animate-fadeIn { animation: fadeIn var(--transition-slow); }
.animate-slideInUp { animation: slideInUp var(--transition-slow); }

/* Hover Indicator */
.hover-indicator {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-white);
  border-radius: 50%;
  opacity: 0;
  transition: all var(--transition-base);
  animation: pulse 2s infinite;
}

.hover-indicator.show {
  opacity: 1;
}

/* =============================================================================
   LEGACY COMPATIBILITY & ADDITIONAL FIXES
============================================================================= */

/* Ensure navigation transparency is correct */
.nav-bar {
    backdrop-filter: blur(10px);
}

/* Ensure all nav links have no underlines */
.nav-link,
.nav__link,
.mobile-nav-link,
.nav__link--mobile,
.footer a {
    text-decoration: none !important;
}

/* Mobile navigation logo sizing */
.mobile-nav-logo,
.nav__logo {
    height: 2rem !important;
    width: auto;
    object-fit: contain;
}

/* Desktop navigation logo sizing */
.nav-logo img,
.nav-logo-img {
    height: 2.5rem !important;
    width: auto;
    object-fit: contain;
}

/* Ensure lineup buttons use framework styling */
.listen-live-desktop,
.listen-live-bottom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.025em;
    min-height: 48px;
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.listen-live-desktop:hover,
.listen-live-bottom:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Footer overrides to ensure black background */
.footer {
    background-color: var(--color-black) !important;
    color: var(--color-white) !important;
}

/* Ensure proper button icon spacing */
.btn .icon,
.listen-live-desktop .icon,
.listen-live-bottom .icon {
    margin-right: var(--space-sm);
}

/* Remove any default link underlines */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Ensure mobile menu has proper styling */
.mobile-menu-close {
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--color-gray-700);
    min-height: auto;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.btn--close .icon {
    margin-right: 0;
}

/* =============================================================================
   RESPONSIVE DESIGN SYSTEM
============================================================================= */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:text-xl { font-size: var(--text-xl); }
  .md\:text-2xl { font-size: var(--text-2xl); }
  .md\:text-4xl { font-size: var(--text-4xl); }
  
  #split-view {
    flex-direction: row;
  }
  
  .section--split {
    min-height: 100vh;
  }
  
  .content--centered {
    padding: var(--space-2xl);
  }
  
  /* Navigation visibility */
  .nav-links {
    display: flex !important;
  }
  
  .nav-social {
    display: flex !important;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  /* Button groups horizontal on desktop */
  .hero-buttons,
  .footer-buttons,
  .episodes-actions {
    flex-direction: row;
  }
  
  /* Hosts grid */
  .hosts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Modal full screen on mobile only */
  .modal-content {
    max-width: 50rem;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  
  .nav-social {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .btn--lg {
    min-width: auto;
    width: 100%;
  }
  
  .modal-content {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    max-width: none;
    max-height: none;
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
  
  .footer-title {
    font-size: var(--text-3xl);
  }
}
:root {
  /* Colors */
  --color-primary: #1b5e20;
  --color-primary-light: #2d7d32;
  --color-secondary: #c5282f;
  --color-accent: #ffc72a;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-100: #f9fafb;
  --color-gray-300: #d1d5db;
  --color-gray-500: #6b7280;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
  
  /* Radio Section Colors */
  --color-radio-blue: #1976d2;
  --color-radio-overlay: rgba(25, 118, 210, 0.25);
  --color-radio-bloom: rgba(255, 255, 255, 0.08);
  
  /* Podcast Section Colors */
  --color-podcast-red: #c5282f;
  --color-podcast-overlay: rgba(197, 40, 47, 0.25);
  --color-podcast-bloom: rgba(255, 199, 42, 0.20);
  
  /* Spacing Scale */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 0.75rem;    /* 12px */
  --space-lg: 1rem;       /* 16px */
  --space-xl: 1.5rem;     /* 24px */
  --space-2xl: 2rem;      /* 32px */
  --space-3xl: 3rem;      /* 48px */
  --space-4xl: 4rem;      /* 64px */
  --space-5xl: 5rem;      /* 80px */
  
  /* Font Sizes */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 2rem;       /* 32px */
  --text-4xl: 2.5rem;     /* 40px */
  
  /* Border Radius */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  
  /* Z-index Scale */
  --z-behind: -10;
  --z-base: 1;
  --z-elevated: 10;
  --z-overlay: 20;
  --z-modal: 50;
}

/* =============================================================================
   2. UTILITY CLASSES
============================================================================= */

/* Display */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Flex Direction */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }

/* Flex Wrap */
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

/* Flex Alignment */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Font Weights */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Text Sizes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

/* Colors */
.text-white { color: var(--color-white); }
.text-black { color: var(--color-black); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-gray-500 { color: var(--color-gray-500); }
.text-gray-700 { color: var(--color-gray-700); }

/* Background Colors */
.bg-white { background-color: var(--color-white); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-accent { background-color: var(--color-accent); }
.bg-gray-100 { background-color: var(--color-gray-100); }

/* Spacing - Margin */
.m-0 { margin: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }

/* Spacing - Padding */
.p-0 { padding: 0; }
.py-5xl { padding-top: var(--space-5xl); padding-bottom: var(--space-5xl); }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* Width/Height */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* =============================================================================
   3. ICON SYSTEM
============================================================================= */
.icon {
  flex-shrink: 0;
  transition: all var(--transition-base);
}

/* Icon Sizes */
.icon--xs { width: 0.75rem; height: 0.75rem; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--md { width: 1.25rem; height: 1.25rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
.icon--xl { width: 2rem; height: 2rem; }

/* Icon Spacing */
.icon--spaced-right { margin-right: var(--space-sm); }
.icon--spaced-left { margin-left: var(--space-sm); }

/* Icon Colors */
.icon--white { color: var(--color-white); }
.icon--primary { color: var(--color-primary); }
.icon--secondary { color: var(--color-secondary); }
.icon--accent { color: var(--color-accent); }

/* Social Icon Variants */
.icon--social {
  width: 1.25rem;
  height: 1.25rem;
  transition: all var(--transition-base);
}

.icon--social:hover {
  transform: scale(1.1);
}

.icon--social.youtube:hover { color: #ff0000; }
.icon--social.facebook:hover { color: #1877f2; }
.icon--social.twitter:hover { color: #1da1f2; }
.icon--social.instagram:hover { color: #e4405f; }

/* =============================================================================
   4. BUTTON SYSTEM
============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.025em;
  min-height: 48px; /* Accessibility: minimum touch target */
}

/* Button Sizes */
.btn--sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

.btn--md {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn--lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
  border-radius: var(--radius-full);
  min-width: 12.5rem;
}

/* Button Variants */
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background-color: var(--color-primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn--secondary:hover {
  background-color: #a21e24;
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn--accent:hover {
  background-color: #e6b327;
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.btn--ghost:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

.btn--outline {
  background-color: transparent;
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
}

.btn--outline:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Button States */
.btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Button Widths */
.btn--full { width: 100%; }
.btn--auto { width: auto; }

/* Special Button Types */
.btn--close {
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--color-gray-700);
  min-height: auto;
}

.btn--close:hover {
  background-color: rgba(0, 0, 0, 0.2);
  transform: none;
}

.btn--menu {
  padding: var(--space-sm);
  background-color: transparent;
  color: var(--color-black);
  border-radius: var(--radius-sm);
  min-height: auto;
}

.btn--menu:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transform: none;
}

/* =============================================================================
   5. LAYOUT SYSTEM
============================================================================= */

/* Container System */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--sm { max-width: 40rem; }
.container--md { max-width: 48rem; }
.container--lg { max-width: 64rem; }
.container--xl { max-width: 80rem; }
.container--full { max-width: none; }

/* Section System */
.section {
  position: relative;
}

.section--padded {
  padding: var(--space-5xl) 0;
}

.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section--split {
  flex: 1;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-slow);
}

/* Background Overlays */
.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.overlay--radio {
  background: linear-gradient(to right,
    var(--color-radio-overlay) 0%,
    rgba(25, 118, 210, 0.20) 70%,
    rgba(25, 118, 210, 0.05) 100%);
}

.overlay--podcast {
  background: linear-gradient(to left,
    var(--color-podcast-overlay) 0%,
    rgba(197, 40, 47, 0.20) 70%,
    rgba(197, 40, 47, 0.05) 100%);
}

/* Bloom Effects */
.bloom {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bloom--radio {
  background: radial-gradient(circle at center,
    var(--color-radio-bloom) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    transparent 70%);
}

.bloom--podcast {
  background: radial-gradient(circle at center,
    var(--color-podcast-bloom) 0%,
    rgba(255, 199, 42, 0.10) 40%,
    transparent 70%);
}

/* Content Positioning */
.content {
  position: relative;
  z-index: var(--z-elevated);
}

.content--centered {
  text-align: center;
  color: var(--color-white);
  max-width: 32rem;
  padding: var(--space-xl) var(--space-2xl);
}

/* Logo/Image Container Fix */
.logo-container {
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.logo-image {
  max-height: 6rem;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Button Groups */
.btn-group {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

.btn-group--vertical {
  flex-direction: column;
}

.btn-group--horizontal {
  flex-direction: row;
}

@media (max-width: 767px) {
  .btn-group--responsive {
    flex-direction: column;
  }
}

/* =============================================================================
   6. NAVIGATION SYSTEM
============================================================================= */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  color: var(--color-black);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-base);
  padding: var(--space-sm) 0;
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__logo {
  height: 2.5rem;
  width: auto;
}

/* Social Icon Colors - Override framework defaults */
.icon--social {
  width: 1.25rem;
  height: 1.25rem;
  transition: all var(--transition-base);
  color: #9ca3af; /* Default gray color */
}

.icon--social:hover {
  transform: scale(1.1);
}

.icon--social.youtube:hover { color: #ff0000; }
.icon--social.facebook:hover { color: #1877f2; }
.icon--social.twitter:hover { color: #1da1f2; }
.icon--social.instagram:hover { color: #e4405f; }

/* Ensure navigation links are visible */
.nav-links {
  display: flex;
}

.nav-social {
  display: flex;
}

/* Mobile Navigation */
.nav--mobile {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}

.nav__link--mobile {
  color: var(--color-gray-700);
  font-size: var(--text-lg);
  font-weight: 500;
  padding: var(--space-sm) 0;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.nav__link--mobile:hover {
  color: var(--color-gray-900);
}

/* =============================================================================
   7. CARD SYSTEM
============================================================================= */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card__content {
  padding: var(--space-xl);
}

.card__header {
  margin-bottom: var(--space-lg);
}

.card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.card__description {
  color: var(--color-gray-700);
  line-height: 1.6;
}

.card__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =============================================================================
   8. MODAL SYSTEM
============================================================================= */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.modal--show {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
}

.modal__content {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--color-gray-300);
}

.modal__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.modal__body {
  padding: var(--space-xl);
}

/* =============================================================================
   9. RESPONSIVE DESIGN SYSTEM
============================================================================= */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:text-xl { font-size: var(--text-xl); }
  .md\:text-2xl { font-size: var(--text-2xl); }
  .md\:text-4xl { font-size: var(--text-4xl); }
  
  .section--split {
    min-height: 100vh;
  }
  
  .content--centered {
    padding: var(--space-2xl);
  }
  
  /* Ensure desktop navigation is visible */
  .nav-links {
    display: flex !important;
  }
  
  .nav-social {
    display: flex !important;
  }
  
  .btn--menu {
    display: none;
  }
  
  /* Horizontal button groups on desktop */
  .btn-group--responsive {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  
  .nav-social {
    display: none;
  }
  
  .btn--lg {
    min-width: auto;
    width: 100%;
  }
  
  .modal__content {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    max-width: none;
    max-height: none;
  }
  
  /* Vertical button groups on mobile */
  .btn-group--responsive {
    flex-direction: column;
  }
}

/* =============================================================================
   10. LEGACY COMPATIBILITY & OVERRIDES
============================================================================= */

/* Ensure proper button spacing in hero sections */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Navigation overrides to ensure visibility */
.nav-bar .nav-links {
  display: none;
}

.nav-bar .nav-social {
  display: none;
}

@media (min-width: 768px) {
  .nav-bar .nav-links {
    display: flex !important;
  }
  
  .nav-bar .nav-social {
    display: flex !important;
  }
}

/* Ensure mobile menu button is visible on mobile */
@media (max-width: 767px) {
  .mobile-menu-btn {
    display: flex !important;
  }
}

/* Fix any potential image stretching */
img {
  max-width: 100%;
  height: auto;
}

.logo-image,
.nav__logo {
  object-fit: contain;
  width: auto;
  height: auto;
}

/* Gap utilities for better spacing */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* =============================================================================
   11. ANIMATION SYSTEM
============================================================================= */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-pulse { animation: pulse 2s infinite; }
.animate-fadeIn { animation: fadeIn var(--transition-slow); }
.animate-slideInUp { animation: slideInUp var(--transition-slow); }

/* Hover Indicator */
.hover-indicator {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-white);
  border-radius: 50%;
  opacity: 0;
  transition: all var(--transition-base);
}

.hover-indicator--show {
  opacity: 1;
  animation: pulse 2s infinite;
}