:root {
  --spacing-xs: clamp(8px, 1vw, 12px);
  --spacing-sm: clamp(12px, 2vw, 20px);
  --spacing-md: clamp(20px, 3vw, 30px);
  --spacing-lg: clamp(30px, 4vw, 40px);
  --spacing-xl: clamp(40px, 6vw, 60px);
  --spacing-2xl: clamp(60px, 8vw, 80px);
  font-family: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: white;
  overflow-x: hidden;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
  background-color: #000;
}

.app {
  position: relative;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Ensure no gaps between sections */
.hero-section + * {
  margin-top: 0;
}

.main-content {
  margin-top: 0;
  padding-top: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100vw; /* Full viewport width */
  height: 100vh; /* Full viewport height */
  background-image: 
    linear-gradient(to bottom, 
      transparent 0%, 
      rgba(0, 0, 0, 0.1) 10%, 
      rgba(0, 0, 0, 0.2) 20%, 
      transparent 30%, 
      transparent 70%, 
      rgba(0, 0, 0, 0.3) 85%, 
      rgba(0, 0, 0, 0.8) 100%), 
    var(--hero-bg-image);
  background-size: cover; /* Scale image to cover entire container */
  background-position: center center; /* Center the image */
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 100vh;
  min-width: 100vw;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
  display: block;
  left: 50%;
  transform: translateX(-50%); /* Center the full-width container */
}

/* Ensure background always covers full area */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to bottom, 
      transparent 0%, 
      rgba(0, 0, 0, 0.1) 10%, 
      rgba(0, 0, 0, 0.2) 20%, 
      transparent 30%, 
      transparent 70%, 
      rgba(0, 0, 0, 0.3) 85%, 
      rgba(0, 0, 0, 0.8) 100%), 
    var(--hero-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: -1;
}

/* Animated Hero Logo */
.hero-logo {
  position: absolute;
  top: 50%;
  left: 40%; /* 10% left of center (50% - 10% = 40%) */
  transform: translate(-50%, -50%);
  z-index: 6;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-logo a {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.hero-logo a:hover {
  transform: scale(1.05); /* Subtle hover effect */
}

.hero-logo.loaded {
  opacity: 1;
}

.hero-logo img {
  width: auto;
  height: 200px;
  max-width: none;
  object-fit: contain;
  filter: blur(25px);
  transform: scale(1.1);
  animation: logoBlurFade 3s ease-out forwards;
}

@keyframes logoBlurFade {
  0% {
    filter: blur(25px);
    opacity: 0.7;
    transform: scale(1.1);
  }
  100% {
    filter: blur(0px);
    opacity: 1;
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.6) 0%,
    rgba(17, 17, 17, 0.7) 100%
  );
  z-index: 2;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  z-index: 10;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.desktop-social {
  position: absolute;
  right: var(--spacing-lg);
  top: 50%;
  transform: translateY(-50%);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-social {
  margin-top: 40px;
  justify-content: center;
}

.mobile-social .social-link {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-social .social-link:hover {
  background: #1a1a1a;
  color: white;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #1a1a1a;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: absolute;
  right: var(--spacing-lg);
  top: 50%;
  transform: translateY(-50%);
}

.hamburger {
  display: flex;
  flex-direction: column;
  width: 24px;
  height: 18px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.3s ease-in-out;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: white;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

.hamburger.open span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger.open span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  padding-top: 80px;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 30px;
  padding: 40px;
  align-items: center;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #1a1a1a;
}

/* Hero Content */
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
  z-index: 5;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
}

/* Main Content */
.main-content {
  position: relative;
  background: linear-gradient(
    135deg,
    #0f0f0f 0%,
    #050505 100%
  );
  margin-top: -200px; /* Aggressive negative margin to completely eliminate any gap */
  min-height: 50vh; /* Ensure adequate content height */
  z-index: 2; /* Ensure content appears above background */
}

.episode-info {
  margin-bottom: 40px;
}

.episode-number {
  font-size: 14px;
  color: #1a1a1a;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}

.podcast-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 10px;
  font-style: italic;
}

.highlight {
  color: #1a1a1a;
  font-weight: 400;
}

.host-name {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: #1a1a1a;
  margin-top: 10px;
}

.episode-title {
  margin-bottom: clamp(40px, 8vw, 60px);
}

.episode-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.3;
  color: white; /* Ensure episode title is white */
}

/* Action Buttons */
.action-buttons {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .action-buttons {
    bottom: 30px;
    right: 40px;
  }
}

.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid white;
  background: white;
  color: #0f0f0f; /* Match the dark theme from bottom sections */
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #050505; /* Match the dark gradient end */
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* Platform Links */
.platform-links {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 40px;
  background: rgba(15, 15, 15, 0.9);
  flex-wrap: wrap;
  justify-content: space-between;
}

.platform-buttons-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(10, 10, 10, 0.5); /* Updated to match dark theme */
  background: rgba(10, 10, 10, 0.1); /* Updated to match dark theme */
  color: #0f0f0f; /* Match the dark theme */
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.platform-btn:hover {
  background: rgba(10, 10, 10, 0.2); /* Updated to match dark theme */
}

.learn-more {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  margin-left: auto;
}

/* Recent Episodes */
.recent-episodes {
  background: rgba(15, 15, 15, 0.95);
  padding: 120px 40px 60px 40px; /* Reduced top padding to move episodes content up */
}

.episodes-header {
  margin-bottom: 40px;
  text-align: center;
}

.episodes-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 300;
  color: white;
  margin: 0;
}

.episodes-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .episodes-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .episode-thumbnail {
    width: 240px; /* Larger 16:9 thumbnail: 135px height * (16/9) = 240px width */
    height: 135px;
  }
}

/* Ultra-wide screens */
@media (min-width: 1440px) {
  .hero-section {
    background-position: center center;
    background-size: cover;
  }

  .hero-section::before {
    background-position: center center;
    background-size: cover;
  }
}

/* Extra wide screens */
@media (min-width: 1920px) {
  .hero-section {
    background-position: center center;
    background-size: cover;
  }

  .hero-section::before {
    background-position: center center;
    background-size: cover;
  }
}

.episode-card {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.7); /* Darker background for better white text contrast */
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle white border */
}

.episode-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.episode-thumbnail {
  flex-shrink: 0;
  width: 213px; /* 16:9 aspect ratio: 120px height * (16/9) = 213px width */
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
}

.episode-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.episode-details {
  flex: 1;
}

.episode-meta {
  font-size: 12px;
  color: white; /* White text for better visibility against dark background */
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.episode-details h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 15px;
  width: 100%; /* Stretch across full container width */
  color: white; /* Ensure episode titles are white */
}

.episode-description {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  width: 100%; /* Stretch across full container width */
}

.episode-actions {
  display: flex;
  gap: 15px;
}

.btn-small {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  border-radius: 20px; /* Pill shape */
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
  justify-content: center;
}

.btn-small:hover {
  background: #0f0f0f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.3);
}

.btn-small svg {
  width: 12px;
  height: 12px;
}

/* Tablet Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
  .header {
    padding: 20px 30px;
  }

  .nav ul {
    gap: 25px;
  }

  .nav a {
    font-size: 15px;
  }

  .desktop-social {
    right: 30px;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }

  .hero-section {
    background-position: center center; /* Center for tablet */
    background-attachment: scroll; /* Normal scrolling on tablet */
    min-height: 450px; /* Adjust minimum height for tablet */
    height: 80vh; /* Slightly smaller on tablet */
  }

  .hero-content {
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
  }

  .hero-logo {
    left: 42%; /* Slightly less offset for tablet */
    transform: translate(-50%, -50%);
  }

  .hero-logo img {
    height: 160px;
    max-width: none;
    object-fit: contain;
  }

  .podcast-title {
    font-size: 3.5rem;
  }

  .host-name {
    font-size: 2.2rem;
  }

  .episode-title h2 {
    font-size: 1.8rem;
  }

  .platform-links {
    padding: 30px;
    gap: 15px;
  }

  .recent-episodes {
    padding: 50px 30px;
  }

  .episode-thumbnail {
    width: 180px; /* 16:9 aspect ratio: 101px height * (16/9) = 180px width */
    height: 101px;
  }
}

/* Mobile Responsive Design - Screens 768px and smaller */
@media screen and (max-width: 768px) {
  /* Ensure no gaps at top of page on mobile */
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth; /* Enable smooth scrolling on mobile */
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
  }

  .app {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    z-index: 1; /* Ensure app container has proper stacking context */
  }

  /* Ensure all main content appears above hero section */
  .main-content,
  .footer,
  .contact-section,
  .episodes-overlay {
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.95); /* Semi-transparent background for readability */
    scroll-margin-top: 20px; /* Add scroll margin for smooth anchor scrolling */
  }

  /* Enhanced mobile scrolling for content containers */
  .app {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .header {
    padding: 15px 20px;
    justify-content: center;
    position: relative;
    display: flex;
    align-items: center; /* Vertically center all header items */
    min-height: 60px; /* Ensure consistent header height */
  }

  /* Hide desktop nav, show mobile menu button */
  .desktop-nav {
    display: none;
  }

  /* Hide desktop social icons on mobile */
  .desktop-social {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    left: 20px;
    top: 50%; /* Center vertically in header */
    transform: translateY(-50%); /* Perfect vertical centering */
    z-index: 20; /* Above other header elements */
  }

  .mobile-nav {
    display: block;
  }

  .hero-section {
    background-image: 
      linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 10%, 
        rgba(0, 0, 0, 0.2) 20%, 
        transparent 30%, 
        transparent 70%, 
        rgba(0, 0, 0, 0.3) 85%, 
        rgba(0, 0, 0, 0.8) 100%), 
      url('assets/images/lander-mobile.jpg') !important; /* Force mobile image with fade */
    background-position: center center; /* Center the mobile image */
    background-attachment: scroll; /* Remove fixed attachment on mobile */
    min-height: 100vh; /* Full viewport height for mobile */
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    height: 100vh; /* Full viewport height on mobile */
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    width: 100%; /* Full width */
    margin: 0; /* Remove all margins */
    padding: 0; /* Remove all padding */
    position: relative; /* Back to relative positioning */
    left: auto; /* Reset left positioning */
    transform: none; /* Remove transform that centers the container */
    z-index: 1; /* Keep hero section in background */
  }

  .hero-section::before {
    background-image: 
      linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 10%, 
        rgba(0, 0, 0, 0.2) 20%, 
        transparent 30%, 
        transparent 70%, 
        rgba(0, 0, 0, 0.3) 85%, 
        rgba(0, 0, 0, 0.8) 100%), 
      url('assets/images/lander-mobile.jpg') !important; /* Force mobile image with fade on pseudo-element */
  }

  .hero-logo {
    position: absolute; /* Back to absolute positioning within hero section */
    top: 70%; /* Moved up slightly to make room for platform icons */
    left: 50%; /* Horizontally centered */
    transform: translate(-50%, -50%); /* Center both horizontally and vertically */
    text-align: center;
    margin-bottom: 0;
    opacity: 1; /* Always visible on mobile */
    z-index: 6; /* Ensure logo appears above hero section */
  }

  /* Hide mobile platform icons on mobile */
  .mobile-platform-icons {
    display: none !important; /* Hide on mobile */
  }

  .hero-logo img {
    height: 180px; /* Increased from 120px to 180px */
    max-width: none;
    object-fit: contain;
  }

  .hero-content {
    padding: 100px 20px 40px;
    justify-content: space-between;
  }

  .hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .podcast-title {
    font-size: clamp(2rem, 5vw, 2.5rem); /* Maintain fluid scaling on mobile */
    line-height: 1.2;
  }

  .host-name {
    font-size: clamp(1.5rem, 4vw, 1.8rem); /* Maintain fluid scaling on mobile */
  }

  .episode-title h2 {
    font-size: clamp(1.3rem, 3vw, 1.5rem); /* Maintain fluid scaling on mobile */
  }

  .action-buttons {
    position: static;
    justify-content: center;
    margin-top: 40px;
    gap: 12px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .platform-links {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 80px 20px 30px; /* Increased top padding to compensate for -50px margin */
  }

  .platform-buttons-group {
    justify-content: center;
    gap: 10px;
  }

  .platform-btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    justify-content: center;
  }

  .learn-more {
    text-align: center;
    margin: 0;
  }

  .recent-episodes {
    padding: 60px 20px 40px 20px; /* Reduced top padding to move episodes up on mobile */
  }

  /* Ensure no gap between hero and main content on mobile */
  .main-content {
    margin-top: -100px; /* Aggressive negative margin for mobile */
    position: relative;
    z-index: 2;
  }

  .episodes-header h2 {
    font-size: 2rem;
  }

  .episode-card {
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px;
    text-align: center; /* Center content on mobile */
  }

  .episode-thumbnail {
    width: 100%;
    max-width: 356px; /* 16:9 aspect ratio: 200px height * (16/9) = 356px width */
    height: 200px;
    align-self: center;
  }

  .episode-details h3 {
    font-size: 1.3rem;
  }

  .episode-actions {
    justify-content: center;
    gap: 10px;
  }

  .btn-small {
    flex: 1;
    max-width: 120px;
    justify-content: center;
  }
}

/* Extra Small Mobile Devices - Screens 480px and smaller */
@media screen and (max-width: 480px) {
  /* Enhanced smooth scrolling for small mobile */
  html, body {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain; /* Prevent bounce scrolling on iOS */
  }

  .header {
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .hero-section {
    background-image: 
      linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 10%, 
        rgba(0, 0, 0, 0.2) 20%, 
        transparent 30%, 
        transparent 70%, 
        rgba(0, 0, 0, 0.3) 85%, 
        rgba(0, 0, 0, 0.8) 100%), 
      url('assets/images/lander-mobile.jpg') !important; /* Force mobile image with fade */
    background-position: center center; /* Center the mobile image */
    background-attachment: scroll; /* Remove fixed attachment */
    min-height: 100vh; /* Full viewport height for small screens */
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    height: 100vh; /* Full viewport height on very small screens */
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    width: 100%; /* Full width */
    margin: 0; /* Remove all margins */
    padding: 0; /* Remove all padding */
    position: relative; /* Back to relative positioning */
    left: auto; /* Reset left positioning */
    transform: none; /* Remove transform that centers the container */
  }

  .hero-section::before {
    background-image: 
      linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 10%, 
        rgba(0, 0, 0, 0.2) 20%, 
        transparent 30%, 
        transparent 70%, 
        rgba(0, 0, 0, 0.3) 85%, 
        rgba(0, 0, 0, 0.8) 100%), 
      url('assets/images/lander-mobile.jpg') !important; /* Force mobile image with fade on pseudo-element */
  }

  .mobile-menu-btn {
    left: var(--spacing-sm);
    top: 50%; /* Center vertically in header */
    transform: translateY(-50%); /* Perfect vertical centering */
  }

  .hero-logo {
    top: 70%; /* Moved up slightly to make room for platform icons */
    left: 50%; /* Horizontally centered for small screens */
    transform: translate(-50%, -50%); /* Center both horizontally and vertically */
  }

  /* Hide mobile platform icons on extra small mobile */
  .mobile-platform-icons {
    display: none !important; /* Hide on extra small mobile */
  }

  .hero-logo img {
    height: 150px; /* Increased from 100px to 150px */
    max-width: none;
    object-fit: contain;
  }

  .hero-content {
    padding: calc(var(--spacing-2xl) * 1.5) var(--spacing-sm) var(--spacing-lg);
  }

  .platform-links {
    padding: calc(var(--spacing-md) + 60px) var(--spacing-sm) var(--spacing-md); /* Increased top padding for -60px margin */
  }

  .platform-btn {
    font-size: 12px;
    padding: 8px 16px;
  }

  .recent-episodes {
    padding: 80px var(--spacing-sm) var(--spacing-lg) var(--spacing-sm); /* Reduced top padding to move episodes up on small mobile */
  }

  .episode-card {
    padding: var(--spacing-sm);
  }

  /* Ensure seamless connection on small mobile */
  .main-content {
    margin-top: -120px; /* Very aggressive negative margin for small screens */
    position: relative;
    z-index: 2;
  }
}

/* Mobile Platform Icons */
.mobile-platform-icons {
  position: absolute;
  top: 80px; /* Position in top area of mobile screen */
  right: 20px; /* Position in top right corner */
  display: none; /* Hidden by default, shown only on mobile */
  flex-direction: column; /* Stack vertically in top right */
  gap: 12px; /* Gap between stacked icons */
  align-items: center;
  justify-content: flex-start;
  z-index: 15; /* Above everything else */
  opacity: 0;
  animation: platformIconsFadeIn 2s ease-out 1.5s forwards; /* Fade in after logo animation */
  flex-wrap: nowrap; /* No wrapping needed */
}

@keyframes platformIconsFadeIn {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-platform-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; /* Good size for top right positioning */
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95); /* White background for uniform appearance */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.8); /* Stronger white border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
  flex-shrink: 0; /* Prevent icons from shrinking */
}

.mobile-platform-link:hover {
  background: rgba(255, 255, 255, 1); /* Pure white on hover */
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* Stronger shadow on hover */
}

.mobile-platform-link img,
.mobile-platform-link svg {
  width: 32px; /* Good size for top right positioning */
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0; /* Prevent images from shrinking */
}

/* Landscape Mobile Devices */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-logo {
    top: 45%; /* Lowered from 35% to 45% for landscape */
    left: 30%; /* Left of center */
    margin-bottom: 0;
  }

  .hero-logo img {
    height: 80px;
    max-width: none;
    object-fit: contain;
  }

  .hero-content {
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
  }

  .action-buttons {
    position: static;
    margin-top: var(--spacing-md);
  }

  /* Hide mobile platform icons in landscape mode */
  .mobile-platform-icons {
    display: none !important; /* Hide in landscape mode */
  }
}

/* Listen Modal Styles - Enhanced */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85); /* Slightly darker backdrop */
  backdrop-filter: blur(8px); /* Modern blur effect */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15000;
  padding: 20px;
  animation: backdropFadeIn 0.3s ease-out;
}

@keyframes backdropFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); /* Subtle gradient background */
  border-radius: 24px; /* More rounded corners */
  max-width: 520px; /* Slightly wider */
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 
    0 32px 64px rgba(0, 0, 0, 0.2),
    0 16px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8); /* Multi-layer shadow with inset highlight */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy animation */
}

@keyframes modalSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
    filter: blur(4px);
  }
  60% {
    transform: translateY(5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 32px 0; /* More padding */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* Softer border */
  margin-bottom: 28px;
  position: relative;
}

.modal-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(26, 26, 26, 0.3) 50%, transparent 100%); /* Brand color accent line */
}

.modal-header h3 {
  margin: 0;
  font-size: 1.6rem; /* Slightly larger */
  font-weight: 700; /* Bolder */
  color: #1a1a1a; /* Deeper black */
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%); /* Text gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em; /* Tighter letter spacing */
}

.modal-close {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%; /* Circular close button */
  color: #666;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.1); /* Red tint on hover */
  color: #ef4444;
  transform: scale(1.1) rotate(90deg); /* Scale and rotate on hover */
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.modal-close:active {
  transform: scale(0.95) rotate(90deg);
}

.modal-body {
  padding: 0 32px 32px; /* Increased padding to match header */
}

.modal-body h4 {
  margin: 0 0 12px 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

.modal-description {
  margin: 0 0 32px 0;
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

.platform-grid {
  display: grid;
  gap: 16px;
}

.platform-button {
  display: flex;
  align-items: center;
  gap: 18px; /* Slightly more gap */
  padding: 18px 24px; /* More padding */
  border: 2px solid rgba(0, 0, 0, 0.06); /* Softer border */
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); /* Subtle gradient */
  border-radius: 16px; /* More rounded */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother transition */
  text-decoration: none;
  color: #333;
  font-size: 1.05rem; /* Slightly larger text */
  font-weight: 600; /* Bolder */
  position: relative;
  overflow: hidden;
}

.platform-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s;
}

.platform-button:hover {
  border-color: rgba(26, 26, 26, 0.3); /* Brand color border */
  background: linear-gradient(135deg, #1a1a1a 0%, #111111 100%); /* Brand gradient */
  color: white;
  transform: translateY(-4px) scale(1.02); /* More pronounced lift */
  box-shadow: 
    0 12px 32px rgba(26, 26, 26, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.1);
}

.platform-button:hover::before {
  left: 100%; /* Shimmer effect */
}

.platform-button:active {
  transform: translateY(-2px) scale(1);
}

.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.platform-button:hover .platform-icon {
  background: rgba(255, 255, 255, 0.2);
}

.platform-name {
  flex: 1;
  text-align: left;
}

/* Modal Responsive Styles */
@media (max-width: 768px) {
  .modal-backdrop {
    padding: 10px;
  }

  .modal-content {
    max-width: 100%;
    border-radius: 12px;
  }

  .modal-header {
    padding: 20px 20px 0;
    margin-bottom: 20px;
  }

  .modal-header h3 {
    font-size: 1.3rem;
  }

  .modal-body {
    padding: 0 20px 20px;
  }

  .modal-body h4 {
    font-size: 1.1rem;
  }

  .platform-button {
    padding: 14px 16px;
    gap: 12px;
  }

  .platform-icon {
    width: 36px;
    height: 36px;
  }

  .platform-name {
    font-size: 0.9rem;
  }
}

/* Extra Small Mobile Modal Styles */
@media (max-width: 480px) {
  .modal-backdrop {
    padding: 5px;
  }

  .modal-header {
    padding: 16px 16px 0;
    margin-bottom: 16px;
  }

  .modal-header h3 {
    font-size: 1.2rem;
  }

  .modal-body {
    padding: 0 16px 16px;
  }

  .modal-body h4 {
    font-size: 1rem;
  }

  .modal-description {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .platform-button {
    padding: 12px 14px;
    gap: 10px;
  }

  .platform-icon {
    width: 32px;
    height: 32px;
  }

  .platform-name {
    font-size: 0.85rem;
  }
}

/* Footer Styles */
.footer {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-content p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #1a1a1a;
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer {
    padding: 30px 0;
    position: relative;
    z-index: 10; /* Ensure footer appears above hero section */
    background: rgba(0, 0, 0, 0.9); /* Slightly more opaque on mobile */
  }
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Episodes Modal */
.episodes-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  overflow: hidden;
}

.episodes-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.episodes-overlay-content {
  width: 90%;
  height: 85%;
  max-width: 1400px;
  min-height: 600px;
  background: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.episodes-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #2a2a2a;
}

.episodes-overlay-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: white; /* Changed to white */
  margin: 0;
}

.episodes-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.episodes-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.episodes-overlay-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-content: start;
}

/* Episode cards within modal */
.episodes-overlay-list .episode-card {
  background: rgba(0, 0, 0, 0.8); /* Darker background for white text */
  border-radius: 8px;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle white border */
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
}

.episodes-overlay-list .episode-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.episodes-overlay-list .episode-thumbnail {
  flex-shrink: 0;
  width: 213px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
}

.episodes-overlay-list .episode-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.episodes-overlay-list .episode-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.episodes-overlay-list .episode-meta {
  font-size: 12px;
  color: white;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.episodes-overlay-list .episode-details h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.episodes-overlay-list .episode-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Pill-shaped buttons for modal */
.episodes-overlay-list .episode-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.episodes-overlay-list .listen-btn,
.episodes-overlay-list .watch-btn,
.episodes-overlay-list .btn-small {
  background: #1a1a1a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px; /* Pill shape */
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 80px;
  justify-content: center;
  text-decoration: none;
}

.episodes-overlay-list .listen-btn:hover,
.episodes-overlay-list .watch-btn:hover,
.episodes-overlay-list .btn-small:hover {
  background: #0f0f0f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.3);
}

/* Responsive Episodes Modal */
@media (max-width: 1200px) {
  .episodes-overlay-content {
    width: 95%;
    height: 90%;
  }
}

@media (max-width: 768px) {
  .episodes-overlay-content {
    width: 95%;
    height: 90%;
    max-width: none;
  }

  .episodes-overlay-title {
    font-size: 1.5rem;
  }

  .episodes-overlay-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .episodes-overlay-list .episode-card {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .episodes-overlay-list .episode-thumbnail {
    width: 100%;
    height: 180px;
    max-width: 100%;
  }

  .episodes-overlay-list .episode-details h3 {
    font-size: 1rem;
  }

  .episodes-overlay-list .episode-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .episodes-overlay-list .episode-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .episodes-overlay-list .btn-small {
    padding: 10px 18px;
    font-size: 0.9rem;
    min-width: 90px;
  }
}

@media (max-width: 480px) {
  .episodes-overlay-content {
    width: 98%;
    height: 95%;
    border-radius: 8px;
  }

  .episodes-overlay-header {
    padding: 16px;
  }

  .episodes-overlay-title {
    font-size: 1.3rem;
  }

  .episodes-overlay-list {
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .episodes-overlay-list .episode-card {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .episodes-overlay-list .episode-thumbnail {
    width: 100%;
    height: 150px;
    max-width: 100%;
  }

  .episodes-overlay-list .episode-meta {
    font-size: 11px;
  }

  .episodes-overlay-list .episode-details h3 {
    font-size: 0.95rem;
  }

  .episodes-overlay-list .episode-description {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .episodes-overlay-list .episode-actions {
    gap: 8px;
  }

  .episodes-overlay-list .btn-small {
    padding: 8px 14px;
    font-size: 0.85rem;
    min-width: 80px;
  }
}
