/* CSS Custom Properties for Cherry Theme */
:root {
  /* Cherry Theme Colors */
  --cherry-red: #73091e;
  --dark-cherry: #570606;
  --light-cherry: #FF6B8A;
  --cream: #FFF8F0;
  /*--cream: #E8F4FD;*//*STYLE*/
  --dark-text: #2C2C2C;
  --light-text: #FFFFFF;
  
  /* Additional Theme Colors */
  --cherry-gradient: linear-gradient(135deg, var(--cherry-red), var(--dark-cherry));
  --cherry-hover: #8B0000;
  --cherry-accent: #DC143C;
  
  /* Typography */
  /*
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Fredoka One', cursive;
  --font-accent: 'Dancing Script', cursive;
*/
  /*STYLE*/
  --font-primary: 'Georgia', 'Times New Roman', serif;
  --font-heading: 'Arial', 'Helvetica', sans-serif;
  --font-accent: 'Courier New', monospace;

  /* Google Font Combinations */
  --font-playfair-regular: 'Playfair Display', serif;
  --font-playfair-italic: 'Playfair Display', serif;
  --font-playfair-bold: 'Playfair Display', serif;
  --font-playfair-bold-italic: 'Playfair Display', serif;
  
  /* Font Style Presets */
  --hero-title-font: var(--font-playfair-italic);
  --hero-title-weight: 400;
  --hero-title-style: italic;
  
  --section-title-font: var(--font-playfair-regular);
  --section-title-weight: 400;
  --section-title-style: normal;
  
  --accent-text-font: var(--font-playfair-bold);
  --accent-text-weight: 700;
  --accent-text-style: normal;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Breakpoints */
  --mobile-max: 767px;
  --tablet-min: 768px;
  --tablet-max: 1023px;
  --desktop-min: 1024px;
  --desktop-max: 1199px;
  --large-desktop-min: 1200px;
  
  /* Layout */
  --container-max-width: 1200px;
  --section-padding: var(--spacing-xl);
  --border-radius: 8px;
  --border-radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--cream);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--cherry-red);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus {
  color: var(--cherry-hover);
  outline: 2px solid var(--cherry-red);
  outline-offset: 2px;
}

/* Remove outline from anchor tags wrapping buttons to prevent wide borders */
.episode-card a:hover,
.episode-card a:focus {
  outline: none;
}

/* Layout Components */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section-title {
  color: var(--cherry-red);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--cherry-gradient);
  margin: var(--spacing-sm) auto 0;
  border-radius: 2px;
}

/* Header and Navigation - Complete Implementation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--cherry-red);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

/* Mobile header styling - reduce red bar prominence */
@media (max-width: 767px) {
  .header {
    background: rgba(115, 9, 30, 0.95); /* More transparent on mobile */
    backdrop-filter: blur(10px);
  }
  
  /* Mobile Navigation Enhancements */
  .nav-container {
    padding: 0 var(--spacing-sm);
    height: 60px; /* Slightly smaller on mobile */
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Ensure nav-brand title is visible on mobile */
  .nav-brand {
    flex: 1; /* Take up available space */
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    height: 100%; /* Fill the container height */
    overflow: visible;
  }
  
  .nav-brand a {
    font-size: 1.3rem !important; /* Larger font to match height */
    color: var(--light-text) !important;
    text-decoration: none !important;
    font-weight: bold !important;
    white-space: nowrap !important; /* Prevent text wrapping */
    overflow: visible !important; /* Allow text to be fully visible */
    text-overflow: unset !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    align-items: center;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.2;
    z-index: 1003; /* Higher than toggle button */
  }
  
  /* Mobile Hamburger Icon - Override desktop styles with high specificity */
  .nav-toggle .hamburger {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 24px !important;
    height: 3px !important;
    background: var(--light-text) !important;
    border-radius: 2px !important;
    position: relative !important;
    transition: all 0.3s ease !important;
  }
  
  .nav-toggle .hamburger::before,
  .nav-toggle .hamburger::after {
    content: '' !important;
    position: absolute !important;
    width: 24px !important;
    height: 3px !important;
    background: var(--light-text) !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    left: 0 !important;
  }
  
  .nav-toggle .hamburger::before {
    top: -8px !important;
  }
  
  .nav-toggle .hamburger::after {
    bottom: -8px !important;
  }
  
  /* Mobile hamburger animation when expanded */
  .nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent !important;
  }
  
  .nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) !important;
    top: 0 !important;
  }
  
  .nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) !important;
    bottom: 0 !important;
  }
  
  /* Hide desktop navigation on mobile */
  .nav-menu {
    position: fixed !important;
    top: 50px !important; /* Position with proper gap to prevent nav-brand overlap */
    left: 0 !important;
    right: 0 !important;
    background: var(--cherry-red) !important;
    flex-direction: column !important;
    padding: var(--spacing-lg) var(--spacing-md) !important;
    gap: var(--spacing-md) !important;
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow-lg) !important;
    max-height: calc(100vh - 64px) !important; /* Account for header height with proper gap */
    overflow-y: auto !important;
    z-index: 1001 !important;
    display: flex !important;
    width: 100% !important;
  }
  
  .nav-menu--open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Mobile menu items styling */
  .nav-menu li {
    width: 100% !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  
  .nav-menu a {
    padding: var(--spacing-md) !important;
    border-radius: var(--border-radius) !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    border: 1px solid transparent !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    color: var(--light-text) !important;
    text-decoration: none !important;
    background: transparent !important;
    font-weight: 500 !important;
  }
  
  .nav-menu a:hover,
  .nav-menu a:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--light-cherry) !important;
  }
  
  .nav-menu a.nav-link--active {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: var(--light-cherry) !important;
  }
  
  .nav-menu a.nav-link--active::after {
    display: none !important;
  }
}

.header--scrolled {
  background: rgba(115, 9, 30, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center; /* Ensure all children are vertically centered */
  height: 70px;
  position: relative; /* For proper positioning context */
}

.nav-brand {
  display: flex;
  align-items: center; /* Center the brand vertically */
  height: 70px; /* Match nav-container height exactly */
  justify-content: flex-start;
}

.nav-brand a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--light-text);
  font-weight: bold;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center; /* Center text vertically */
  gap: var(--spacing-xs); /* Space between logo and text */
  height: 70px; /* Match container height exactly */
  line-height: 1; /* Prevent extra spacing */
  padding: 0; /* Remove any default padding */
  margin: 0; /* Remove any default margin */
}

/* Logo Image Styling */
.nav-logo {
  height: 40px;
  width: auto;
  border-radius: var(--border-radius);
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.nav-brand a:hover .nav-logo,
.nav-brand a:focus .nav-logo {
  transform: scale(1.05);
}

/* Mobile logo sizing */
@media (max-width: 767px) {
  .nav-logo {
    height: 32px;
  }
  
  .nav-brand a {
    font-size: 1.3rem !important;
    gap: var(--spacing-xs);
  }
}

.nav-brand a:hover,
.nav-brand a:focus {
  color: var(--light-cherry);
  outline: 2px solid var(--light-text);
  outline-offset: 2px;
}

/* Desktop Navigation Menu - Override global styles */
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-lg);
    visibility: visible;
    opacity: 1;
    align-items: center; /* Center menu items vertically */
    height: 70px; /* Match nav-container height exactly */
  }

  .nav-menu a {
    color: var(--light-text) !important;
    font-weight: 500;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
    display: flex !important;
    align-items: center !important; /* Center text vertically */
    justify-content: center;
    height: 70px !important; /* Match nav-brand height for perfect alignment */
    line-height: 1 !important; /* Prevent extra spacing */
    margin: 0; /* Remove any default margin */
    opacity: 1 !important; /* Override global opacity */
    transform: none !important; /* Override global transform */
  }

  .nav-menu a::after {
    display: none !important; /* Remove underline completely on desktop */
  }
}

/* Desktop navigation hover and active states */
@media (min-width: 768px) {
  .nav-menu a:hover,
  .nav-menu a:focus {
    color: var(--light-cherry);
    background: rgba(255, 255, 255, 0.1);
    outline: 1px solid var(--light-text);
    outline-offset: 1px;
    /* Maintain exact same alignment on hover */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px; /* Keep same height as nav-brand */
    line-height: 1;
  }

  .nav-menu a.nav-link--active {
    color: var(--light-cherry);
    background: rgba(255, 255, 255, 0.15);
    /* Maintain exact same alignment when active */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px; /* Keep same height as nav-brand */
    line-height: 1;
    /* Remove underline - no ::after pseudo-element */
  }
}

/* Mobile Navigation Toggle - hidden on desktop */
@media (min-width: 768px) {
  .nav-toggle {
    display: none !important; /* Force hidden by default on desktop */
  }
}

/* Show nav-toggle ONLY on mobile */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex !important; /* Force show on mobile */
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 12px !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--light-text);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    z-index: 1002 !important;
    position: relative;
  }
}

.nav-toggle:hover,
.nav-toggle:focus {
  background: rgba(255, 255, 255, 0.1);
  outline: 2px solid var(--light-text);
  outline-offset: 2px;
}

/* Hide hamburger on desktop completely */
@media (min-width: 768px) {
  .hamburger {
    display: none !important; /* Hidden on desktop since nav-toggle is hidden */
  }
}

/* Mobile Hamburger Animation - only active on mobile */
@media (max-width: 767px) {
  .nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent !important;
  }

  .nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) !important;
    top: 0 !important;
  }

  .nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) !important;
    bottom: 0 !important;
  }
}

/* Main Content */
.main {
  margin-top: 70px; /* Account for fixed header */
}

/* Section Base Styles */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

section:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Hero Section - Enhanced with Carousel */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  text-align: center;
  position: relative;
  /* overflow: hidden removed to allow hover labels to show */
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 300%; /* 3 slides */
  height: 100%;
  transition: transform var(--transition-slow);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 33.333%;
  position: relative;
  width: 33.333%;
  height: 100%;
}

/* IMPORTANT: For simplified carousel to work, override the 33.333% with 100% */
.carousel-track {
  width: 100% !important; /* Single track width */
}

.carousel-slide {
  flex: 0 0 100% !important; /* Each slide takes full width */
  width: 100% !important;
  min-width: 100% !important;
}

.slide-background {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform var(--transition-slow);
}

/* Carousel Background Presets */
.slide-bg-1 {
  /*background-image: linear-gradient(rgba(115, 9, 30, 0.7), rgba(87, 6, 6, 0.7)), url('images/carousel-slide-1.jpg');*/
  background-image: linear-gradient(rgba(100, 100, 100, 0.7), rgba(87, 6, 6, 0.7)), url('images/carousel/carousel-background-1.jpg');

}

.slide-bg-2 {
  /*background-image: linear-gradient(rgba(87, 6, 6, 0.8), rgba(87, 6, 6, 0.9)), url('images/carousel-slide-2.jpg');*/
  background-image: linear-gradient(rgba(100, 100, 100, 0.8), rgba(87, 6, 6, 0.7)), url('images/carousel/carousel-background-2.jpg');
}

.slide-bg-3 {
  background-image: linear-gradient(rgba(255, 107, 138, 0.7), rgba(220, 20, 60, 0.8)), url('images/carousel-slide-3.jpg');
}

/* Responsive background positioning */
@media (max-width: 767px) {
  .slide-background {
    background-position: center center; /* Always center on mobile */
  }
}

@media (min-width: 768px) {
  .slide-background {
    background-position: center center; /* Center for desktop too */
    background-size: cover; /* Ensure full coverage */
  }
}

.carousel-slide.active .slide-background {
  transform: scale(1.05);
}

/* Slide Content Styles */
.slide-content {
  position: absolute;
  top: 10%; /* 50%->10% */ /* Moved down from 50% to 60% to create more space from title */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 var(--spacing-md);
}

.slide-title {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: normal;
  color: var(--light-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: normal;
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.carousel-slide.active .slide-title {
  opacity: 1;
  transform: translateY(0);
  animation: slideContentFadeIn 1s ease-out 0.3s both;
}

/* Slide Content Animation */
@keyframes slideContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Carousel Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--light-text);
  color: var(--light-text);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  z-index: 10;
  backdrop-filter: blur(10px);
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}

.carousel-btn:hover,
.carousel-btn:focus {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
  outline: 2px solid var(--light-text);
  outline-offset: 2px;
}

.carousel-btn--prev {
  left: var(--spacing-lg);
}

.carousel-btn--next {
  right: var(--spacing-lg);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: var(--spacing-lg);
  /*bottom: 20px;*/ /* Fixed small value instead of var(--spacing-lg) */ /* Task 19.1 */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 10;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Task-19.1.1 Ensure carousel indicators are ALWAYS visible on ALL screen sizes */
/*
.carousel-indicators {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
*/

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--light-text);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}

.carousel-indicator:hover,
.carousel-indicator:focus {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
  outline: 2px solid var(--light-text);
  outline-offset: 2px;
}

.carousel-indicator.active {
  background: var(--light-text);
}

.hero-content {
  z-index: 2;
  position: relative;
  max-width: 800px;
  padding: 0 var(--spacing-md);
}

.hero-title {
  /*  font: var(--hero-title-style) var(--hero-title-weight) clamp(2rem, 6vw, 5rem) var(--hero-title-font);*/
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 6vw, 5rem) !important;
  margin-bottom: var(--spacing-xxl); /* Increased from --spacing-xl to --spacing-xxl for more space */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: var(--spacing-xxl);
  opacity: 0.95;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Hero Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Button - Enhanced */
.cta-button {
  background: var(--light-text);
  color: var(--cherry-red);
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  margin-top: calc(var(--spacing-xs) + var(--spacing-xs)); /* Much larger spacing to prevent overlap */
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left var(--transition-slow);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover, .cta-button:focus {
  background: var(--light-cherry);
  color: var(--light-text);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  outline: 2px solid var(--light-text);
  outline-offset: 2px;
}

.cta-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Platform Links Styling */
.hero-platform-links {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-xs);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-platform-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: var(--dark-text);
  position: relative;
  /* overflow: hidden removed to allow hover labels to show */
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
  min-width: 120px;
}

.hero-platform-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--light-text), rgba(255, 255, 255, 0.8));
  border-radius: var(--border-radius-lg);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.hero-platform-link:hover::before,
.hero-platform-link:focus::before {
  opacity: 1;
}

.hero-platform-link:hover,
.hero-platform-link:focus {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-lg);
  outline: 2px solid var(--light-text);
  outline-offset: 2px;
  background: rgba(255, 255, 255, 1);
}

.hero-platform-icon {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-platform-link:hover .hero-platform-icon {
  transform: scale(1.15) rotate(5deg);
}

.hero-platform-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-text);
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Platform-specific hover effects for hero */
.hero-platform-link--spotify:hover .hero-platform-icon img {
  filter: hue-rotate(120deg) saturate(1.2);
}

.hero-platform-link--apple:hover .hero-platform-icon img {
  filter: hue-rotate(280deg) saturate(1.2);
}

/* Hero Platform Icons - Simplified Transparent Approach */
.hero-platform-icons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-xxl); /* Increased from --spacing-xl to --spacing-xxl for more space */
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-platform-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  /* overflow: hidden removed to allow labels to show */
  opacity: 0.8;
  outline: none;
  border: none;
}

/* Hero Platform Label - Task 19.7 */
.hero-platform-label {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  /*background: rgba(0, 0, 0, 0.9);*/
  /*color: white;*/
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-platform-label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
}

.hero-platform-icon-link:hover,
.hero-platform-icon-link:focus {
  transform: translateY(-2px) scale(1.1);
  opacity: 1;
  outline: none; /* Remove any border/outline on hover */
}

.hero-platform-icon-link:hover .hero-platform-label,
.hero-platform-icon-link:focus .hero-platform-label {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
  visibility: visible;
}

.hero-platform-icon {
  width: 40px;
  height: 40px;
  transition: all var(--transition-normal);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-platform-icon-link:hover .hero-platform-icon {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Platform-specific hover effects for simplified icons - removed color filtering */
.hero-platform-icon-link[href*="spotify"]:hover .hero-platform-icon {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-platform-icon-link[href*="apple"]:hover .hero-platform-icon {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Mobile responsiveness for hero platform links */
@media (max-width: 767px) {
  .hero-platform-links {
    gap: var(--spacing-md);
    margin-top: var(--spacing-xs);
  }
  
  .hero-platform-link {
    min-width: 100px;
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .hero-platform-name {
    font-size: 0.8rem;
  }
  
  .hero-platform-icon img {
    width: 28px;
    height: 28px;
  }
  
  /* Mobile styles for simplified hero platform icons */
  .hero-platform-icons {
    gap: var(--spacing-md);
    margin-top: calc(var(--spacing-lg) + var(--spacing-md)); /* Increased spacing to prevent overlap */
  }
  
  .hero-platform-icon {
    width: 32px;
    height: 32px;
  }
  
  .hero-platform-label {
    font-size: 0.7rem;
    top: -35px;
    padding: 4px 8px;
  }
}

@media (min-width: 768px) {
  .hero-platform-links {
    gap: var(--spacing-xs);
  }
  
  .hero-platform-link {
    min-width: 140px;
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .hero-platform-name {
    font-size: 1rem;
  }
  
  /* Desktop styles for simplified hero platform icons */
  .hero-platform-icons {
    gap: var(--spacing-xl);
    margin-top: calc(var(--spacing-xxl) + var(--spacing-lg)); /* Increased spacing to prevent overlap */
  }
  
  .hero-platform-icon {
    width: 48px;
    height: 48px;
  }
}

/* Footer */
.footer {
  background: var(--dark-cherry);
  color: var(--light-text);
  text-align: center;
  padding: var(--spacing-lg) 0;
}

.footer-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Enhanced Responsive Design - Mobile First Approach */

/* Mobile Styles (320px - 767px) */
@media (max-width: 767px) {
  :root {
    --section-padding: var(--spacing-lg);
    --container-padding: var(--spacing-sm);
  }
  
  /* Enhanced container for mobile */
  .container {
    padding: 0 var(--container-padding);
    max-width: 100%;
  }
  
  /* Enhanced Hero Section for Mobile */
  .hero {
    min-height: 100vh;
    padding: var(--spacing-md);
  }
  
  .hero-content {
    padding: 0 var(--spacing-sm);
    max-width: 100%;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
    margin-bottom: var(--spacing-lg); /* Increased spacing for mobile to match global styles */
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 5vw, 1.5rem);
    margin-bottom: calc(var(--spacing-xl) + var(--spacing-lg));
  }
  
  .cta-button {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    margin-top: calc(var(--spacing-xl) + var(--spacing-lg)); /* Increased spacing to prevent overlap */
    min-height: 48px; /* Better touch target */
    width: 100%;
    max-width: 280px;
  }
  
  /* Mobile slide content positioning */
  .slide-content {
    top: 10%; /* 65% -> 10% *//* Moved down further on mobile for better spacing */
  }
  
  /* Mobile Carousel Adjustments */
  .carousel-btn {
    width: 44px; /* Accessibility: minimum touch target */
    height: 44px;
    font-size: 1.2rem;
  }
  
  .carousel-btn--prev {
    left: var(--spacing-sm);
  }
  
  .carousel-btn--next {
    right: var(--spacing-sm);
  }
  
  .carousel-indicators {
    bottom: 15px; /* Fixed small value instead of var(--spacing-md) */
    gap: var(--spacing-sm);
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .carousel-indicator {
    width: 12px;
    height: 12px;
    /* Removed oversized min-width and min-height for mobile */
    border-radius: 50%;
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Remove the ::before pseudo-element that creates double circles */
  .carousel-indicator::before {
    display: none;
  }
  
  .carousel-indicator.active::before {
    background: var(--light-text);
  }
  
  /* Mobile Section Spacing */
  section {
    padding: var(--spacing-xl) 0;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: var(--spacing-lg);
  }
  
  /* Mobile Typography Adjustments */
  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  h3 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }
  
  /* Mobile Touch Optimizations */
  button, a, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Mobile-specific button styling */
  .cta-button,
  .episode-card__listen-btn,
  .blog-card__read-btn,
  .product-card__buy-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Enhanced Tablet Styles (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --section-padding: var(--spacing-xl);
    --container-padding: var(--spacing-md);
  }
  
  /* Tablet Container */
  .container {
    padding: 0 var(--container-padding);
    max-width: 100%;
  }
  
  /* Tablet Navigation */
  .nav-container {
    padding: 0 var(--spacing-md);
    height: 70px;
  }
  
  .nav-toggle {
    display: none; /* Hide hamburger on tablet */
  }
  
  .nav-menu {
    position: static;
    flex-direction: row;
    background: transparent;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding: 0;
    gap: var(--spacing-md);
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }
  
  .nav-menu a {
    font-size: 0.95rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    min-height: auto;
    border: none;
    text-align: left;
  }
  
  /* Tablet Main Content */
  .main {
    margin-top: 70px;
  }
  
  /* Tablet Hero Section */
  .hero {
    padding: var(--spacing-lg);
  }
  
  .hero-content {
    max-width: 600px;
    padding: 0 var(--spacing-md);
  }
  
  .hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
  }
  
  .hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 2rem);
  }
  
  .cta-button {
    width: auto;
    max-width: none;
    padding: var(--spacing-md) var(--spacing-xl);
  }
  
  /* Tablet Section Spacing */
  section {
    padding: var(--spacing-xxl) 0;
  }
  
  .section-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
  
  /* Tablet Grid Layouts */
  .episode-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .blog-posts {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  /* Tablet Platform Links */
  .platform-links {
    flex-direction: row;
    gap: var(--spacing-xs);
  }
  
  .platform-link {
    flex: 1;
  }
  
  /* Tablet Social Links - horizontal layout */
  .social-links {
    flex-direction: row;
    gap: var(--spacing-md);
  }
  
  .social-link {
    flex: 1;
  }
  
  /* Tablet Touch Optimizations */
  .carousel-btn {
    width: 50px;
    height: 50px;
  }
  
  .carousel-indicator {
    width: 14px;
    height: 14px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Enhanced Desktop Styles (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  :root {
    --section-padding: var(--spacing-xxl);
    --container-padding: var(--spacing-lg);
  }
  
  /* Desktop Container */
  .container {
    padding: 0 var(--container-padding);
    max-width: var(--container-max-width);
  }
  
  /* Desktop Navigation */
  .nav-container {
    padding: 0 var(--spacing-lg);
    height: 70px;
  }
  
  .nav-menu {
    gap: var(--spacing-xl);
  }
  
  .nav-menu a {
    font-size: 1rem;
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all var(--transition-normal);
  }
  
  .nav-menu a:hover {
    transform: translateY(-2px);
  }
  
  /* Desktop Hero Section */
  .hero-content {
    max-width: 700px;
  }
  
  .hero-title {
    font-size: clamp(4rem, 8vw, 6rem);
  }
  
  .hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
  }
  
  /* Desktop Section Spacing */
  section {
    padding: var(--spacing-xxl) 0;
  }
  
  /* Desktop Grid Layouts */
  .episode-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }
  
  .blog-posts {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }
  
  /* Desktop Social Links - horizontal layout */
  .social-links {
    flex-direction: row;
    gap: var(--spacing-lg);
  }
  
  .social-link {
    flex: 1;
  }
  
  /* Desktop Carousel */
  .carousel-btn {
    width: 55px;
    height: 55px;
  }
  
  .carousel-btn--prev {
    left: var(--spacing-xl);
  }
  
  .carousel-btn--next {
    right: var(--spacing-xl);
  }
  
  .carousel-indicators {
    bottom: 25px; /* Fixed small value instead of var(--spacing-xl) */
  }
  
  .carousel-indicator {
    width: 14px;
    height: 14px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Enhanced Large Desktop Styles (1200px+) */
@media (min-width: 1200px) {
  :root {
    --section-padding: var(--spacing-xxl);
    --container-padding: var(--spacing-xl);
  }
  
  /* Large Desktop Container */
  .container {
    padding: 0 var(--container-padding);
    max-width: var(--container-max-width);
  }
  
  /* Large Desktop Navigation */
  .nav-container {
    padding: 0 var(--spacing-xl);
    height: 70px;
  }
  
  .nav-menu {
    gap: var(--spacing-xxl);
  }
  
  .nav-menu a {
    font-size: 1.1rem;
    padding: var(--spacing-sm) var(--spacing-lg);
    transition: all var(--transition-normal);
  }
  
  .nav-menu a:hover {
    transform: translateY(-2px);
  }
  
  /* Large Desktop Hero Section */
  .hero-content {
    max-width: 800px;
  }
  
  .hero-title {
    font-size: clamp(5rem, 10vw, 7rem);
  }
  
  .hero-subtitle {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  
  /* Enhanced carousel for large screens */
  .carousel-btn {
    width: 60px;
    height: 60px;
  }
  
  .carousel-btn--prev {
    left: var(--spacing-xxl);
  }
  
  .carousel-btn--next {
    right: var(--spacing-xxl);
  }
  
  .carousel-indicators {
    bottom: 30px; /* Fixed small value instead of var(--spacing-xxl) */
  }
  
  .carousel-indicator {
    width: 16px;
    height: 16px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Large Desktop Section Spacing */
  section {
    padding: calc(var(--spacing-xxl) * 1.5) 0;
  }
  
  .section-title {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin-bottom: var(--spacing-xxl);
  }
  
  /* Large Desktop Grid Layouts */
  .episode-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xxl);
  }
  
  .blog-posts {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xxl);
  }
  
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xxl);
  }
  
  /* Large Desktop Platform Links */
  .platform-links {
    max-width: 800px;
    gap: var(--spacing-xs);
  }
  
  /* Large Desktop Social Links - horizontal layout */
  .social-links {
    flex-direction: row;
    gap: var(--spacing-xl);
  }
  
  .social-link {
    flex: 1;
  }
}

/* Interactive Button Animations and Hover Effects */
.cta-button,
.episode-card__listen-btn,
.blog-card__read-btn,
.product-card__buy-btn,
.platform-link,
.social-link,
.carousel-btn,
.nav-toggle {
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  transform-origin: center;
}

/* Shimmer effect for buttons */
.cta-button::before,
.episode-card__listen-btn::before,
.blog-card__read-btn::before,
.product-card__buy-btn::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 var(--transition-slow);
  z-index: 1;
}

.cta-button:hover::before,
.episode-card__listen-btn:hover::before,
.blog-card__read-btn:hover::before,
.product-card__buy-btn:hover::before {
  left: 100%;
}

/* Button hover animations */
.cta-button:hover,
.episode-card__listen-btn:hover,
.blog-card__read-btn:hover,
.product-card__buy-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(115, 9, 30, 0.3);
}

.cta-button:active,
.episode-card__listen-btn:active,
.blog-card__read-btn:active,
.product-card__buy-btn:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

/* Platform and social link hover animations */
.platform-link:hover,
.social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(115, 9, 30, 0.2);
}

.platform-link:hover .platform-arrow,
.social-link:hover .social-arrow {
  transform: translateX(4px);
  transition: transform var(--transition-fast);
}

/* Card hover animations */
.episode-card,
.blog-card,
.product-card {
  transition: all var(--transition-normal);
  transform-origin: center bottom;
}

.episode-card:hover,
.blog-card:hover,
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(115, 9, 30, 0.15);
}

/* Loading animations with cherry theme */
@keyframes cherryPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes cherryBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes cherryRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes cherrySlideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

/* Loading states */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--cherry-red);
  border-radius: 50%;
  animation: cherryRotate 1s linear infinite;
  z-index: 10;
}

/* Cherry-themed loading spinner for larger elements */
.loading.loading--large::after {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-width: 3px;
}

/* Enhanced mobile menu toggle animations */
.nav-menu {
  transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu--open {
  animation: cherrySlideIn var(--transition-normal) ease-out;
}

.nav-menu--opening {
  animation: cherrySlideIn var(--transition-normal) ease-out;
}

.nav-menu--closing {
  animation: cherrySlideOut var(--transition-normal) ease-in;
}

@keyframes cherrySlideOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* Mobile-specific animation styles */
@media (max-width: 767px) {
  .nav-menu a {
    transition: all var(--transition-fast);
    position: relative;
    opacity: 0;
    transform: translateY(-10px);
  }

  .nav-menu--open a {
    opacity: 1;
    transform: translateY(0);
    transition: all var(--transition-normal);
  }

  .nav-item--animate-in {
    animation: cherryFadeInUp 0.4s ease-out forwards;
  }

  .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-cherry);
    transition: width var(--transition-normal);
  }

  .nav-menu a:hover::after,
  .nav-menu a:focus::after {
    width: 100%;
  }
}

/* Enhanced hamburger animation */
.nav-toggle--active .hamburger {
  background: transparent;
}

.nav-toggle--active .hamburger::before {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle--active .hamburger::after {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Carousel auto-play and navigation enhancements */
.carousel-btn {
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.15);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(1.05);
}

.carousel-indicator {
  transition: all var(--transition-fast);
  position: relative;
}

.carousel-indicator:hover {
  transform: scale(1.3);
  background: rgba(255, 255, 255, 0.7);
}

.carousel-indicator.active {
  animation: cherryPulse 2s ease-in-out infinite;
}

/* Smooth scrolling enhancements */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for fixed header */
}

/* Section entrance animations */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.section-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
  animation: cherryFadeInUp 0.8s ease-out;
}

/* Staggered animation for cards */
.episode-card,
.blog-card,
.product-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.episode-card.animate-in,
.blog-card.animate-in,
.product-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.episode-card.animate-in:nth-child(1) { animation-delay: 0.1s; }
.episode-card.animate-in:nth-child(2) { animation-delay: 0.2s; }
.episode-card.animate-in:nth-child(3) { animation-delay: 0.3s; }

.blog-card.animate-in:nth-child(1) { animation-delay: 0.1s; }
.blog-card.animate-in:nth-child(2) { animation-delay: 0.2s; }
.blog-card.animate-in:nth-child(3) { animation-delay: 0.3s; }
.blog-card.animate-in:nth-child(4) { animation-delay: 0.4s; }

.product-card.animate-in:nth-child(1) { animation-delay: 0.1s; }
.product-card.animate-in:nth-child(2) { animation-delay: 0.2s; }
.product-card.animate-in:nth-child(3) { animation-delay: 0.3s; }
.product-card.animate-in:nth-child(4) { animation-delay: 0.4s; }
.product-card.animate-in:nth-child(5) { animation-delay: 0.5s; }
.product-card.animate-in:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced Mobile Touch Interactions */
@media (max-width: 767px) {
  /* Improve touch targets for all interactive elements */
  .episode-card__listen-btn,
  .blog-card__read-btn,
  .product-card__buy-btn,
  .platform-link,
  .social-link,
  .contact-link {
    min-height: 48px;
    padding: var(--spacing-md) var(--spacing-lg);
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(115, 9, 30, 0.2);
  }
  
  /* Mobile-specific card adjustments */
  .episode-card,
  .blog-card,
  .product-card {
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius);
  }
  
  /* Mobile typography scaling */
  .episode-card__title,
  .blog-card__title,
  .product-card__title {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    line-height: 1.2;
  }
  
  .episode-card__description,
  .blog-card__excerpt,
  .product-card__description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    line-height: 1.5;
  }
  
  /* Mobile platform links */
  .platform-link {
    flex-direction: row;
    text-align: left;
    padding: var(--spacing-lg);
  }
  
  .platform-icon {
    margin-right: var(--spacing-md);
    margin-bottom: 0;
  }
  
  /* Mobile social links */
  .social-links {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .social-link {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-md);
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
  }
  
  .social-icon {
    margin-right: 0;
    margin-bottom: var(--spacing-xs);
  }
  
  /* Mobile social icon images sizing */
  .social-icon img {
    width: 28px;
    height: 28px;
  }
  
  .social-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  /* Mobile story section */
  .story-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-lg);
  }
  
  .story-description {
    font-size: clamp(1rem, 4vw, 1.2rem);
    padding: var(--spacing-lg);
  }
  
  /* Mobile fan club section */
  .fan-club-content {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .contact-item {
    padding: var(--spacing-lg);
  }
  
  .contact-title {
    font-size: clamp(1.2rem, 5vw, 1.4rem);
  }
  
  .contact-link {
    font-size: clamp(1rem, 4vw, 1.1rem);
  }
}

/* Enhanced Tablet Touch Interactions */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Tablet-specific touch optimizations */
  .episode-card__listen-btn,
  .blog-card__read-btn,
  .product-card__buy-btn {
    min-height: 44px;
    touch-action: manipulation;
  }
  
  /* Tablet grid spacing */
  .episode-grid,
  .blog-posts,
  .product-grid {
    gap: var(--spacing-lg);
  }
  
  /* Tablet platform links */
  .platform-links {
    flex-direction: row;
    gap: var(--spacing-xs);
  }
  
  .platform-link {
    flex: 1;
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-xl);
  }
  
  .platform-icon {
    margin-right: 0;
    margin-bottom: var(--spacing-md);
  }
  
  /* Tablet story section */
  .story-content {
    flex-direction: row;
    text-align: left;
    gap: var(--spacing-xl);
  }
  
  .story-text {
    flex: 2;
  }
  
  .story-visual {
    flex: 1;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* Disable transform animations for reduced motion */
  .episode-card:hover,
  .blog-card:hover,
  .product-card:hover,
  .platform-link:hover,
  .social-link:hover {
    transform: none !important;
  }
}

/* Carousel Performance Optimizations */
.carousel-track {
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

.carousel-slide {
  will-change: transform;
  backface-visibility: hidden;
}

/* Carousel Loading State */
.hero-carousel.loading .carousel-track {
  opacity: 0;
}

.hero-carousel.loaded .carousel-track {
  opacity: 1;
  transition: opacity var(--transition-normal);
}

/* Carousel Pause Indicator */
.hero-carousel.paused::after {
  content: '⏸️';
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  font-size: 1.5rem;
  z-index: 4;
  opacity: 0.7;
}

/* Navigation Enhancements */
.nav-menu a {
  position: relative;
  overflow: hidden;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-normal);
}

.nav-menu a:hover::before {
  left: 100%;
}

/* Navigation Loading State */
.nav-menu.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Smooth scroll indicator */
.scroll-indicator {
  position: fixed;
  top: 70px;
  left: 0;
  height: 3px;
  background: var(--cherry-gradient);
  z-index: 999;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

/* Episode Cards Styling */
.audience-favorites {
  background: rgba(255, 255, 255, 0.3);
  padding: var(--spacing-xl) 0;
}

.episode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  visibility: visible;
  opacity: 1;
}

.episode-card {
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  visibility: visible;
  opacity: 1;
  display: block;
}

.episode-card__image {
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, rgba(115, 9, 30, 0.1), rgba(255, 107, 138, 0.1));
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: visible;
  opacity: 1;
}

.episode-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: visible;
  opacity: 1;
}

.episode-card__content {
  padding: var(--spacing-lg);
  visibility: visible;
  opacity: 1;
  display: flex;
  flex-direction: column;
}

.episode-card__title {
  color: var(--cherry-red);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
  font-weight: bold;
  visibility: visible;
  opacity: 1;
}

.episode-card__description {
  color: var(--dark-text);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  visibility: visible;
  opacity: 1;
}

.episode-card__listen-btn {
  background: var(--cherry-red);
  color: var(--light-text);
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all var(--transition-normal);
  visibility: visible;
  opacity: 1;
}

/* Our Story Section */
.our-story {
  background: var(--cream);
}

.story-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.story-text {
  flex: 2;
}

.story-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--dark-text);
}

.story-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Platform Links Styling */
.platforms {
  background: rgba(255, 255, 255, 0.5);
}

.platforms-subtitle {
  text-align: center;
  color: var(--dark-text);
  margin-bottom: var(--spacing-xl);
  font-size: 1.1rem;
}

.platform-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  max-width: 600px;
  margin: 0 auto;
}

.platform-link {
  display: flex;
  align-items: center;
  padding: var(--spacing-lg);
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  color: var(--dark-text);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.platform-icon {
  margin-right: var(--spacing-lg);
  flex-shrink: 0;
}

.platform-content {
  flex: 1;
}

.platform-name {
  display: block;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
}

.platform-description {
  color: var(--dark-text);
  opacity: 0.8;
  font-size: 0.9rem;
}

.platform-arrow {
  margin-left: var(--spacing-md);
  opacity: 0.6;
  transition: all var(--transition-fast);
}

/* Fan Club Section */
.fan-club {
  background: var(--cream);
}

.fan-club-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

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

.social-title {
  color: var(--cherry-red);
  margin-bottom: var(--spacing-lg);
  font-size: 1.3rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: center;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  color: var(--dark-text);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  gap: var(--spacing-sm);
}

.social-icon {
  margin-right: 0;
  margin-bottom: var(--spacing-xs);
  flex-shrink: 0;
}

.social-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.social-name {
  display: block;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
}

.social-description {
  color: var(--dark-text);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Remove social arrow for cleaner centered design */
.social-arrow {
  display: none;
}

.fan-club-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Blog Section Styling */
.blog {
  background: rgba(255, 255, 255, 0.3);
}

.medium-embed-section {
  margin-bottom: var(--spacing-xxl);
}

.embed-section-title {
  color: var(--cherry-red);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  font-size: 1.5rem;
}

.medium-embeds {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.medium-embed-container {
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.custom-embed {
  padding: var(--spacing-xl);
}

.embed-placeholder h4 {
  color: var(--cherry-red);
  margin-bottom: var(--spacing-md);
}

.embed-placeholder ol {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
}

.embed-code-example {
  background: rgba(115, 9, 30, 0.1);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  margin-top: var(--spacing-md);
}

.embed-code-example code {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  word-break: break-all;
}

.blog-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.blog-card {
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.blog-card__image {
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, rgba(115, 9, 30, 0.1), rgba(255, 107, 138, 0.1));
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-card__content {
  padding: var(--spacing-lg);
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  font-size: 0.85rem;
  color: var(--dark-text);
  opacity: 0.8;
}

.blog-card__date,
.blog-card__author,
.blog-card__category {
  background: rgba(115, 9, 30, 0.1);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
}

.blog-card__title {
  color: var(--cherry-red);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
  font-weight: bold;
}

.blog-card__excerpt {
  color: var(--dark-text);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.blog-card__read-btn {
  background: var(--cherry-red);
  color: var(--light-text);
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all var(--transition-normal);
}

/* Blog Modal */
.blog-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.blog-modal.active {
  opacity: 1;
  visibility: visible;
}

.blog-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.blog-modal__content {
  position: relative;
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  max-width: 800px;
  max-height: 90vh;
  margin: var(--spacing-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.blog-modal.active .blog-modal__content {
  transform: scale(1);
}

.blog-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  border-bottom: 1px solid rgba(115, 9, 30, 0.1);
}

.blog-modal__title {
  color: var(--cherry-red);
  margin: 0;
}

.blog-modal__close {
  background: none;
  border: none;
  color: var(--dark-text);
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.blog-modal__close:hover {
  background: rgba(115, 9, 30, 0.1);
}

.blog-modal__meta {
  padding: 0 var(--spacing-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  font-size: 0.85rem;
  color: var(--dark-text);
  opacity: 0.8;
}

.blog-modal__body {
  padding: var(--spacing-lg);
  max-height: 60vh;
  overflow-y: auto;
}

/* Merch Section Styling */
.merch {
  background: rgba(255, 255, 255, 0.3);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.product-card {
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.product-card__image {
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, rgba(115, 9, 30, 0.1), rgba(255, 107, 138, 0.1));
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-card__content {
  padding: var(--spacing-lg);
}

.product-card__title {
  /*color: var(--cherry-red);*/
  color: var(--cream) !important;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
  font-weight: bold;
}

.product-card__description {
  color: var(--dark-text);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.product-card__price {
  font-size: 1.3rem;
  font-weight: bold;
  /*color: var(--cherry-red);*/
  color: var(--cream) !important;
  margin-bottom: var(--spacing-lg);
}

.product-card__buy-btn {
  background: var(--cherry-red);
  color: var(--light-text);
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all var(--transition-normal);
  width: 100%;
  justify-content: center;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --cherry-red: #8B0000;
    --dark-cherry: #4A0000;
    --light-cherry: #FF1493;
  }
  
  .nav-menu a {
    border: 1px solid transparent;
  }
  
  .nav-menu a:hover,
  .nav-menu a:focus {
    border-color: var(--light-text);
  }
  
  .carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
  }
  
  .carousel-indicator {
    border-color: #fff;
    background: #000;
  }
  
  .carousel-indicator.active {
    background: #fff;
  }
}

/* Focus Styles for Better Accessibility */
*:focus {
  outline: 2px solid var(--cherry-red);
  outline-offset: 2px;
}

button:focus, a:focus {
  outline: 2px solid var(--light-text);
  outline-offset: 2px;
}

/* Advanced Mobile Optimizations */

/* Landscape Mobile Devices */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: var(--spacing-sm);
  }
  
  .hero-content {
    padding: 0;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 3rem);
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: var(--spacing-md);
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-indicators {
    bottom: 10px; /* Very small value for landscape mobile */
  }
  
  /* Adjust section padding for landscape */
  section {
    padding: var(--spacing-lg) 0;
  }
}

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
  :root {
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 2.5rem;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2.8rem) !important;
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
  }
  
  .cta-button {
    font-size: 0.9rem;
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  
  /* Smaller cards for very small screens */
  .episode-card__content,
  .blog-card__content,
  .product-card__content {
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .episode-card__title,
  .blog-card__title,
  .product-card__title {
    font-size: 1rem;
  }
  
  .episode-card__description,
  .blog-card__excerpt,
  .product-card__description {
    font-size: 0.85rem;
  }
}

/* Large Mobile Devices (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 3.5rem) !important;
  }
  
  .hero-subtitle {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }
  
  .cta-button {
    font-size: 0.85rem;
    padding: var(--spacing-md) var(--spacing-xl);
  }
  
  /* Better spacing for larger mobile screens */
  .episode-card__content,
  .blog-card__content,
  .product-card__content {
    padding: var(--spacing-md) var(--spacing-lg);
  }
}

/* High DPI/Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Sharper borders and shadows for high DPI displays */
  .episode-card,
  .blog-card,
  .product-card,
  .platform-link,
  .social-link {
    border-width: 0.5px;
  }
  
  .carousel-btn,
  .carousel-indicator {
    border-width: 1px;
  }
}

/* Touch Device Optimizations */
@media (pointer: coarse) {
  /* Larger touch targets for coarse pointers (fingers) */
  .carousel-btn {
    min-width: 48px;
    min-height: 48px;
  }
  
  /* Remove oversized carousel indicator sizing for touch */
  .carousel-indicator {
    /* Removed: min-width: 48px; */
    /* Removed: min-height: 48px; */
    /* Removed: padding: var(--spacing-sm); */
  }
  
  .nav-menu a {
    min-height: 48px;
    padding: var(--spacing-md);
  }
  
  /* Increase hover areas for touch */
  .episode-card__listen-btn,
  .blog-card__read-btn,
  .product-card__buy-btn {
    padding: var(--spacing-md) var(--spacing-lg);
  }
}

/* Fine Pointer Optimizations (Mouse/Trackpad) */
@media (pointer: fine) {
  /* Smaller, more precise interactions for fine pointers */
  .carousel-btn:hover {
    transform: translateY(-50%) scale(1.05);
  }
  
  .carousel-indicator:hover {
    transform: scale(1.2);
  }
  
  /* Enhanced hover effects for precise pointers */
  .episode-card:hover,
  .blog-card:hover,
  .product-card:hover {
    transform: translateY(-6px);
  }
}

/* Viewport Height Optimizations */
@media (max-height: 600px) {
  .hero {
    min-height: 100vh;
    padding: var(--spacing-sm);
  }
  
  .hero-content {
    padding: var(--spacing-sm);
  }
  
  .carousel-indicators {
    bottom: 8px; /* Very small value for short viewports */
  }
  
  /* Reduce section padding on short screens */
  section {
    padding: var(--spacing-md) 0;
  }
}

@media (min-height: 800px) {
  /* More generous spacing on tall screens */
  .hero {
    padding: var(--spacing-xl);
  }
  
  section {
    padding: var(--spacing-xxl) 0;
  }
  
  .carousel-indicators {
    bottom: var(--spacing-xl);
  }
}

/* Blog Entry Form Styles */
.blog-entry-form {
  background: var(--cream);
  border: 2px solid var(--cherry-red);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  display: none;
}

.blog-entry-form.active {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}

.blog-form-title {
  color: var(--cherry-red);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.blog-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  color: var(--cherry-red);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--light-cherry);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  background: white;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cherry-red);
  box-shadow: 0 0 0 3px rgba(115, 9, 30, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.blog-submit-btn,
.blog-cancel-btn {
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  min-height: 48px;
}

.blog-submit-btn {
  background: var(--cherry-red);
  color: white;
  border: 2px solid var(--cherry-red);
}

.blog-submit-btn:hover,
.blog-submit-btn:focus {
  background: var(--cherry-hover);
  border-color: var(--cherry-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.blog-cancel-btn {
  background: transparent;
  color: var(--cherry-red);
  border: 2px solid var(--cherry-red);
}

.blog-cancel-btn:hover,
.blog-cancel-btn:focus {
  background: var(--cherry-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.blog-actions {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.add-blog-btn {
  background: var(--light-cherry);
  color: white;
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  min-height: 48px;
  font-size: 1rem;
}

.add-blog-btn:hover,
.add-blog-btn:focus {
  background: var(--cherry-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Social Link Email Styling */
.social-link--email .social-icon {
  background: var(--cherry-red);
}

.social-link--email:hover .social-icon,
.social-link--email:focus .social-icon {
  background: var(--cherry-hover);
}

/* Mobile Blog Form Styles */
@media (max-width: 767px) {
  .blog-entry-form {
    padding: var(--spacing-lg);
    margin: 0 var(--spacing-sm) var(--spacing-xl);
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .blog-submit-btn,
  .blog-cancel-btn {
    width: 100%;
    justify-content: center;
  }
  
  .add-blog-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Print Styles */
@media print {
  .header, .nav, .cta-button, .carousel-btn, .carousel-indicators, .blog-entry-form, .blog-actions {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .hero {
    background: none;
    color: black;
    min-height: auto;
    page-break-after: always;
  }
  
  .hero-title {
    font-size: 24pt;
    color: black;
  }
  
  .hero-subtitle {
    font-size: 16pt;
    color: black;
  }
  
  section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  .section-title {
    font-size: 18pt;
    color: black;
    border-bottom: 1pt solid black;
    padding-bottom: 0.5rem;
  }
  
  .episode-card,
  .blog-card,
  .product-card {
    border: 1pt solid #ccc;
    margin-bottom: 1rem;
    page-break-inside: avoid;
  }
}
/* Audie
nce Favorites Section - Episode Cards */
.audience-favorites {
  background: linear-gradient(135deg, rgba(255, 248, 240, 0.8), rgba(255, 255, 255, 0.9));
  position: relative;
}

.audience-favorites::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23FF6B8A" opacity="0.1"/><circle cx="80" cy="30" r="1.5" fill="%2373091e" opacity="0.1"/><circle cx="60" cy="70" r="2.5" fill="%23DC143C" opacity="0.1"/><circle cx="30" cy="80" r="1" fill="%23FF6B8A" opacity="0.1"/></svg>');
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

.audience-favorites .container {
  position: relative;
  z-index: 1;
}

.episode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

/* Episode Card Styles */
.episode-card {
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
  border: 3px solid transparent;
  background-clip: padding-box;
}

.episode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cherry-gradient);
  border-radius: var(--border-radius-lg);
  padding: 3px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

/* Removed hover border effect */
.episode-card:focus-within::before {
  opacity: 0;
}

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

.episode-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Episode Card Image */
.episode-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--cream), rgba(255, 248, 240, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.episode-card__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cherry-gradient);
  opacity: 0.05;
  transition: opacity var(--transition-normal);
}

.episode-card:hover .episode-card__image::before {
  opacity: 0.1;
}

.episode-placeholder {
  position: relative;
  z-index: 1;
  transition: transform var(--transition-normal);
}

/* Ensure custom images in episode placeholders display properly */
.episode-placeholder img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: var(--border-radius);
  transition: transform var(--transition-normal);
}

.episode-card:hover .episode-placeholder {
  transform: scale(1.1) rotate(5deg);
}

.episode-card:hover .episode-placeholder img {
  transform: scale(1.05);
}

/* Episode Card Content */
.episode-card__content {
  padding: var(--spacing-lg);
}

.episode-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--cherry-red);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.episode-card:hover .episode-card__title {
  color: var(--dark-cherry);
}

.episode-card__description {
  color: var(--dark-text);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  font-size: 0.95rem;
}

/* Episode Listen Button */
.episode-card__listen-btn {
  background: var(--cherry-gradient);
  color: var(--light-text);
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.episode-card__listen-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.episode-card__listen-btn:hover::before {
  left: 100%;
}

.episode-card__listen-btn:hover,
.episode-card__listen-btn:focus {
  background: linear-gradient(135deg, var(--dark-cherry), var(--cherry-hover));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(115, 9, 30, 0.3);
}

.episode-card__listen-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(115, 9, 30, 0.2);
}

.episode-card__listen-btn svg {
  transition: transform var(--transition-fast);
}

.episode-card__listen-btn:hover svg {
  transform: translateX(2px);
}

/* Responsive Grid Layout */
@media (min-width: 768px) {
  .episode-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }
  
  .episode-card__image {
    height: 180px;
  }
  
  .episode-placeholder img {
    width: 160px;
    height: 160px;
  }
  
  .episode-card__title {
    font-size: 1.1rem;
  }
  
  .episode-card__description {
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .episode-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }
  
  .episode-card__image {
    height: 160px;
  }
  
  .episode-placeholder img {
    width: 160px;
    height: 160px;
  }
  
  .episode-card__title {
    font-size: 1rem;
  }
  
  .episode-card__description {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .episode-card__content {
    padding: var(--spacing-md) var(--spacing-lg);
  }
}

@media (min-width: 1200px) {
  .episode-grid {
    gap: var(--spacing-xxl);
  }
  
  .episode-card__image {
    height: 180px;
  }
  
  .episode-card__title {
    font-size: 1.1rem;
  }
  
  .episode-card__description {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .episode-card__content {
    padding: var(--spacing-lg);
  }
}

/* Episode Card Accessibility Enhancements - Removed wide border on focus-within */
.episode-card:focus-within {
  /* Removed: outline: 3px solid var(--cherry-red); */
  /* Removed: outline-offset: 2px; */
}

/* High Contrast Mode Support for Episode Cards */
@media (prefers-contrast: high) {
  .episode-card {
    border: 2px solid var(--dark-text);
  }
  
  .episode-card__title {
    color: var(--dark-cherry);
    font-weight: bold;
  }
  
  .episode-card__listen-btn {
    background: var(--dark-cherry);
    border: none;
  }
  
  .episode-card__listen-btn:hover,
  .episode-card__listen-btn:focus {
    background: var(--cherry-hover);
    border: none;
  }
}

/* Reduced Motion Support for Episode Cards */
@media (prefers-reduced-motion: reduce) {
  .episode-card,
  .episode-card__listen-btn,
  .episode-placeholder,
  .episode-card__image::before {
    transition: none;
  }
  
  .episode-card:hover {
    transform: none;
  }
  
  .episode-card:hover .episode-placeholder {
    transform: none;
  }
  
  .episode-card__listen-btn:hover {
    transform: none;
  }
}

/* Loading State for Episode Cards */
.episode-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.episode-card.loading .episode-card__content {
  position: relative;
}

.episode-card.loading .episode-card__content::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cherry-red);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Episode Card Hover Animation Enhancement */
.episode-card {
  position: relative;
  overflow: hidden;
}

.episode-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 138, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform var(--transition-slow);
  pointer-events: none;
  z-index: 0;
}

.episode-card:hover::after {
  transform: scale(1);
}

.episode-card__content {
  position: relative;
  z-index: 1;
}

.episode-card__image {
  position: relative;
  z-index: 1;
}

/* Our Story Section */
.our-story {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 240, 0.8));
  position: relative;
  overflow: hidden;
}

.our-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="50" cy="50" r="3" fill="%23FF6B8A" opacity="0.1"/><circle cx="150" cy="80" r="2" fill="%2373091e" opacity="0.1"/><circle cx="100" cy="150" r="4" fill="%23DC143C" opacity="0.1"/><circle cx="30" cy="120" r="2.5" fill="%23FF6B8A" opacity="0.1"/><circle cx="170" cy="30" r="1.5" fill="%2373091e" opacity="0.1"/></svg>');
  background-size: 300px 300px;
  pointer-events: none;
  z-index: 0;
}

.our-story .container {
  position: relative;
  z-index: 1;
}

.story-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-text {
  flex: 1;
}

.story-description {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.7;
  color: var(--dark-text);
  margin: 0;
  font-weight: 400;
  text-align: center;
  position: relative;
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.story-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cherry-gradient);
  border-radius: var(--border-radius-lg);
  padding: 2px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: -1;
  opacity: 0.3;
}

.story-description::after {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--spacing-md);
  font-size: 3rem;
  color: var(--cherry-red);
  font-family: var(--font-accent);
  line-height: 1;
  opacity: 0.6;
}

.story-visual {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cherry-decoration {
  animation: float 6s ease-in-out infinite;
  transition: transform var(--transition-normal);
}

.cherry-decoration:hover {
  transform: scale(1.1) rotate(10deg);
}

/* Cherry Icon Styling - Task 19.6 */
.cherry-icon {
  animation: float 6s ease-in-out infinite;
  transition: transform var(--transition-normal);
}

.cherry-icon:hover {
  transform: scale(1.1) rotate(10deg);
}

.cherry-icon-image {
  width: 200px !important;
  height: 200px !important;
  object-fit: cover;
  border-radius: 10%;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

/* Floating Animation for Cherry Decoration */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(2deg);
  }
  50% {
    transform: translateY(-5px) rotate(-1deg);
  }
  75% {
    transform: translateY(-15px) rotate(1deg);
  }
}

/* Responsive Layout for Our Story */
@media (min-width: 768px) {
  .story-content {
    flex-direction: row;
    text-align: left;
    gap: var(--spacing-xxl);
    align-items: center;
  }
  
  .story-text {
    flex: 2;
  }
  
  .story-description {
    text-align: left;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  }
  
  .story-visual {
    flex: 1;
    justify-content: center;
  }
  
  .cherry-decoration {
    transform: scale(1.2);
  }
  
  .cherry-icon {
    transform: scale(1.2);
  }
  
  .cherry-icon-image {
    width: 240px;
    height: 240px;
  }
}

@media (min-width: 1024px) {
  .story-content {
    gap: var(--spacing-xxl);
  }
  
  .story-description {
    font-size: 1.3rem;
    line-height: 1.8;
    padding: var(--spacing-xl);
  }
  
  .cherry-decoration {
    transform: scale(1.4);
  }
  
  .cherry-icon {
    transform: scale(1.4);
  }
  
  .cherry-icon-image {
    width: 280px;
    height: 280px;
  }
}

@media (min-width: 1200px) {
  .story-description {
    font-size: 1.4rem;
    line-height: 1.9;
  }
  
  .cherry-decoration {
    transform: scale(1.5);
  }
  
  .cherry-icon {
    transform: scale(1.5);
  }
  
  .cherry-icon-image {
    width: 320px;
    height: 320px;
  }
}

/* Accessibility Enhancements for Our Story */
.story-description:focus-within {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
}

/* High Contrast Mode Support for Our Story */
@media (prefers-contrast: high) {
  .story-description {
    background: #fff;
    border: 2px solid var(--dark-text);
    color: #000;
  }
  
  .story-description::before {
    opacity: 0.8;
  }
  
  .story-description::after {
    color: var(--dark-cherry);
    opacity: 1;
  }
}

/* Reduced Motion Support for Our Story */
@media (prefers-reduced-motion: reduce) {
  .cherry-decoration {
    animation: none;
  }
  
  .cherry-decoration:hover {
    transform: none;
  }
  
  .cherry-icon {
    animation: none;
  }
  
  .cherry-icon:hover {
    transform: none;
  }
  
  .story-description::before {
    transition: none;
  }
}

/* Print Styles for Our Story */
@media print {
  .our-story {
    background: none;
    page-break-inside: avoid;
  }
  
  .story-description {
    background: none;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .story-description::before,
  .story-description::after {
    display: none;
  }
  
  .cherry-decoration {
    display: none;
  }
}

/* Where to Find Us - Platform Section */
.platforms {
  background: linear-gradient(135deg, rgba(255, 248, 240, 0.9), rgba(255, 255, 255, 0.8));
  position: relative;
  overflow: hidden;
}

.platforms::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 150"><circle cx="30" cy="30" r="20" fill="none" stroke="%23FF6B8A" stroke-width="2" opacity="0.1"/><circle cx="120" cy="50" r="15" fill="none" stroke="%2373091e" stroke-width="2" opacity="0.1"/><circle cx="80" cy="120" r="25" fill="none" stroke="%23DC143C" stroke-width="2" opacity="0.1"/><path d="M20 100 Q50 80 80 100 Q110 120 140 100" stroke="%23FF6B8A" stroke-width="2" fill="none" opacity="0.1"/></svg>');
  background-size: 250px 250px;
  pointer-events: none;
  z-index: 0;
}

.platforms .container {
  position: relative;
  z-index: 1;
}

.platforms-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--dark-text);
  margin-bottom: var(--spacing-xl);
  opacity: 0.8;
  font-style: italic;
}

.platform-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  max-width: 600px;
  margin: 0 auto;
}

/* Platform Link Styles */
.platform-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.platform-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--cherry-red), var(--dark-cherry));
  border-radius: var(--border-radius-lg);
  padding: 2px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.platform-link:hover::before,
.platform-link:focus::before {
  opacity: 1;
}

.platform-link:hover,
.platform-link:focus {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  outline: 2px solid var(--cherry-red);
  outline-offset: 2px;
}

.platform-icon {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

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

.platform-content {
  flex: 1;
}

.platform-name {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-text);
  margin-bottom: var(--spacing-xs);
}

.platform-description {
  display: block;
  font-size: 0.9rem;
  color: var(--dark-text);
  opacity: 0.7;
}

.platform-arrow {
  flex-shrink: 0;
  color: var(--cherry-red);
  transition: transform var(--transition-normal);
}

.platform-link:hover .platform-arrow {
  transform: translateX(4px);
}

/* Platform-specific styles */
.platform-link--spotify:hover .platform-icon svg circle {
  fill: #1ed760;
}

.platform-link--apple:hover .platform-icon svg circle {
  fill: #9333ea;
}

/* Loading state for platform links */
.platform-link.loading {
  opacity: 0.7;
  pointer-events: none;
}

.platform-link.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: var(--spacing-lg);
  width: 16px;
  height: 16px;
  border: 2px solid var(--cherry-red);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translateY(-50%);
}

/* Responsive platform links */
@media (min-width: 768px) {
  .platform-links {
    flex-direction: row;
    gap: var(--spacing-xs);
  }
  
  .platform-link {
    flex: 1;
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xl) var(--spacing-lg);
  }
  
  .platform-content {
    order: 2;
  }
  
  .platform-arrow {
    order: 3;
    transform: rotate(90deg);
  }
  
  .platform-link:hover .platform-arrow {
    transform: rotate(90deg) translateX(4px);
  }
}

@media (min-width: 1024px) {
  .platform-link {
    padding: var(--spacing-xxl) var(--spacing-xl);
  }
  
  .platform-name {
    font-size: 1.2rem;
  }
  
  .platform-description {
    font-size: 1rem;
  }
}

/* Fan Club Contact Section */
.fan-club {
  background: linear-gradient(135deg, rgba(255, 248, 240, 0.8), rgba(255, 255, 255, 0.9));
  position: relative;
  overflow: hidden;
}

.fan-club::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"><circle cx="30" cy="30" r="2" fill="%23FF6B8A" opacity="0.15"/><circle cx="90" cy="40" r="1.5" fill="%2373091e" opacity="0.15"/><circle cx="60" cy="80" r="2.5" fill="%23DC143C" opacity="0.15"/><circle cx="20" cy="90" r="1" fill="%23FF6B8A" opacity="0.15"/><circle cx="100" cy="20" r="1.8" fill="%2373091e" opacity="0.15"/></svg>');
  background-size: 180px 180px;
  pointer-events: none;
  z-index: 0;
}

.fan-club .container {
  position: relative;
  z-index: 1;
}

.fan-club-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxl);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
  width: 100%;
}

/* Contact Item Styles */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
  background-clip: padding-box;
  transition: all var(--transition-normal);
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cherry-gradient);
  border-radius: var(--border-radius-lg);
  padding: 3px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: -1;
  opacity: 0.3;
  transition: opacity var(--transition-normal);
}

.contact-item:hover::before,
.contact-item:focus-within::before {
  opacity: 0.6;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--cherry-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  transition: transform var(--transition-normal);
}

.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-content {
  flex: 1;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--cherry-red);
  margin-bottom: var(--spacing-xs);
}

.contact-link {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  text-decoration: none;
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.contact-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(115, 9, 30, 0.1), transparent);
  transition: left var(--transition-slow);
}

.contact-link:hover::before {
  left: 100%;
}

.contact-link:hover,
.contact-link:focus {
  background: rgba(115, 9, 30, 0.1);
  color: var(--cherry-red);
  transform: translateX(4px);
  outline: 2px solid var(--cherry-red);
  outline-offset: 2px;
}

.contact-description {
  font-size: 0.95rem;
  color: var(--dark-text);
  opacity: 0.8;
  line-height: 1.5;
  margin: 0;
}

/* Social Media Section */
.social-media {
  margin-top: var(--spacing-xl);
}

.social-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--cherry-red);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.social-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--cherry-gradient);
  margin: var(--spacing-xs) auto 0;
  border-radius: 1px;
}

.social-links {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-md);
  justify-content: center;
  align-items: stretch;
}

/* Social Link Styles */
.social-link {
  display: flex;
  flex-direction: column; /* Stack icon and content vertically */
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  flex: 1;
  min-width: 0;
  text-align: center;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--cherry-red), var(--dark-cherry));
  border-radius: var(--border-radius-lg);
  padding: 2px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.social-link:hover::before,
.social-link:focus::before {
  opacity: 0.8;
}

.social-link:hover,
.social-link:focus {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  outline: 2px solid var(--cherry-red);
  outline-offset: 2px;
}

.social-icon {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

/* Ensure custom images in social icons display properly */
.social-icon img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
}

.social-link:hover .social-icon {
  transform: scale(1.1) rotate(-5deg);
}

.social-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.social-name {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark-text);
  margin-bottom: var(--spacing-xs);
}

.social-description {
  display: block;
  font-size: 0.85rem;
  color: var(--dark-text);
  opacity: 0.7;
}

/* Remove social arrow for cleaner centered design */
.social-arrow {
  display: none;
}

/* Removed: .social-link:hover .social-arrow hover effect since arrow is hidden */

/* Fan Club Visual */
.fan-club-visual {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cherry-cluster {
  animation: float 8s ease-in-out infinite;
  transition: transform var(--transition-normal);
}

.cherry-cluster:hover {
  transform: scale(1.05) rotate(5deg);
}

/* Floating Animation for Cherry Cluster */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(1deg);
  }
  50% {
    transform: translateY(-4px) rotate(-0.5deg);
  }
  75% {
    transform: translateY(-12px) rotate(0.5deg);
  }
}

/* Responsive Design for Fan Club */
@media (min-width: 768px) {
  .fan-club-content {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--spacing-xxl);
  }
  
  .contact-info {
    flex: 2;
  }
  
  .fan-club-visual {
    flex: 1;
    justify-content: center;
  }
  
  .social-links {
    flex-direction: row;
    gap: var(--spacing-lg);
  }
  
  .social-link {
    flex: 1;
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
  }
  
  .social-content {
    order: 2;
  }
  
  .social-arrow {
    order: 3;
    transform: rotate(90deg);
  }
  
  .social-link:hover .social-arrow {
    transform: rotate(90deg) translateX(3px);
  }
  
  .cherry-cluster {
    transform: scale(1.1);
  }
}

@media (min-width: 1024px) {
  .contact-item {
    padding: var(--spacing-xxl);
  }
  
  .contact-title {
    font-size: 1.4rem;
  }
  
  .contact-link {
    font-size: 1.2rem;
  }
  
  .contact-description {
    font-size: 1rem;
  }
  
  .social-title {
    font-size: 1.6rem;
  }
  
  .social-link {
    padding: var(--spacing-xl);
  }
  
  .social-name {
    font-size: 1.1rem;
  }
  
  .social-description {
    font-size: 0.9rem;
  }
  
  .cherry-cluster {
    transform: scale(1.2);
  }
}

@media (min-width: 1200px) {
  .fan-club-content {
    gap: var(--spacing-xxl);
  }
  
  .contact-title {
    font-size: 1.5rem;
  }
  
  .contact-link {
    font-size: 1.3rem;
  }
  
  .social-title {
    font-size: 1.7rem;
  }
  
  .cherry-cluster {
    transform: scale(1.3);
  }
}

/* Accessibility Enhancements for Fan Club */
.contact-item:focus-within,
.social-link:focus-within {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
}

/* High Contrast Mode Support for Fan Club */
@media (prefers-contrast: high) {
  .contact-item,
  .social-link {
    border: 2px solid var(--dark-text);
  }
  
  .contact-title,
  .social-title {
    color: var(--dark-cherry);
    font-weight: bold;
  }
  
  .contact-link:hover,
  .contact-link:focus {
    background: var(--dark-cherry);
    color: var(--light-text);
  }
  
  .social-link:hover,
  .social-link:focus {
    border-color: var(--dark-cherry);
  }
}

/* Reduced Motion Support for Fan Club */
@media (prefers-reduced-motion: reduce) {
  .cherry-cluster {
    animation: none;
  }
  
  .cherry-cluster:hover,
  .contact-icon,
  .social-icon {
    transform: none;
  }
  
  .contact-item,
  .social-link,
  .contact-link {
    transition: none;
  }
  
  .contact-item:hover,
  .social-link:hover {
    transform: none;
  }
}

/* Loading State for Contact Links */
.contact-link.loading,
.social-link.loading {
  opacity: 0.7;
  pointer-events: none;
}

.contact-link.loading::after,
.social-link.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: var(--spacing-sm);
  width: 12px;
  height: 12px;
  border: 2px solid var(--cherry-red);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translateY(-50%);
}

/* Print Styles for Fan Club */
@media print {
  .fan-club {
    background: none;
    page-break-inside: avoid;
  }
  
  .contact-item,
  .social-link {
    background: none;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .contact-item::before,
  .social-link::before {
    display: none;
  }
  
  .cherry-cluster {
    display: none;
  }
  
  .social-arrow,
  .contact-icon svg,
  .social-icon svg {
    display: none;
  }
}

/* Platform Link Styles */
.platform-link {
  display: flex;
  align-items: center;
  padding: var(--spacing-lg);
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  color: var(--dark-text);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
  background-clip: padding-box;
}

.platform-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--cherry-red), var(--dark-cherry));
  border-radius: var(--border-radius-lg);
  padding: 3px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.platform-link:hover::before,
.platform-link:focus::before {
  opacity: 1;
}

.platform-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--dark-text);
}

.platform-link:focus {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.platform-link:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Platform Icon */
.platform-icon {
  flex-shrink: 0;
  margin-right: var(--spacing-md);
  transition: transform var(--transition-normal);
}

.platform-link:hover .platform-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Platform Content */
.platform-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.platform-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-text);
  transition: color var(--transition-fast);
}

.platform-description {
  font-size: 0.9rem;
  color: var(--dark-text);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.platform-link:hover .platform-name {
  color: var(--cherry-red);
}

.platform-link:hover .platform-description {
  opacity: 0.9;
}

/* Platform Arrow */
.platform-arrow {
  flex-shrink: 0;
  color: var(--cherry-red);
  transition: all var(--transition-normal);
  opacity: 0.6;
}

.platform-link:hover .platform-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* Platform-specific styling */
.platform-link--spotify:hover {
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.05), rgba(255, 255, 255, 0.95));
}

.platform-link--apple:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(255, 255, 255, 0.95));
}

/* Platform Link Animations */
.platform-link {
  position: relative;
  overflow: hidden;
}

.platform-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left var(--transition-slow);
}

.platform-link:hover::after {
  left: 100%;
}

/* Responsive Design for Platform Section */
@media (min-width: 768px) {
  .platform-links {
    flex-direction: row;
    gap: var(--spacing-xs);
  }
  
  .platform-link {
    flex: 1;
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-xl);
  }
  
  .platform-icon {
    margin-right: 0;
    margin-bottom: var(--spacing-md);
  }
  
  .platform-content {
    align-items: center;
  }
  
  .platform-arrow {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    opacity: 0;
    transform: translateX(-10px);
  }
  
  .platform-link:hover .platform-arrow {
    opacity: 1;
    transform: translateX(0);
  }
  
  .platforms-subtitle {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .platform-links {
    max-width: 700px;
    gap: var(--spacing-xs);
  }
  
  .platform-link {
    padding: var(--spacing-xs);
  }
  
  .platform-name {
    font-size: 1.3rem;
  }
  
  .platform-description {
    font-size: 1rem;
  }
  
  .platform-icon svg {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1200px) {
  .platform-links {
    max-width: 800px;
  }
  
  .platform-link {
    padding: var(--spacing-xxl) var(--spacing-xl);
  }
  
  .platform-name {
    font-size: 1.4rem;
  }
  
  .platform-description {
    font-size: 1.1rem;
  }
  
  .platform-icon svg {
    width: 48px;
    height: 48px;
  }
}

/* Accessibility Enhancements for Platform Section */
.platform-link:focus-within {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
}

/* High Contrast Mode Support for Platform Section */
@media (prefers-contrast: high) {
  .platform-link {
    border: 2px solid var(--dark-text);
    background: #fff;
  }
  
  .platform-link:hover {
    border-color: var(--cherry-red);
    background: #f9f9f9;
  }
  
  .platform-name {
    color: #000;
    font-weight: bold;
  }
  
  .platform-description {
    color: #333;
    opacity: 1;
  }
  
  .platform-arrow {
    color: var(--dark-cherry);
    opacity: 1;
  }
}

/* Reduced Motion Support for Platform Section */
@media (prefers-reduced-motion: reduce) {
  .platform-link,
  .platform-icon,
  .platform-arrow,
  .platform-link::before,
  .platform-link::after {
    transition: none;
  }
  
  .platform-link:hover {
    transform: none;
  }
  
  .platform-link:hover .platform-icon {
    transform: none;
  }
  
  .platform-link:hover .platform-arrow {
    transform: none;
  }
}

/* Loading State for Platform Links */
.platform-link.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.platform-link.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cherry-red);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Platform Section Print Styles */
@media print {
  .platforms {
    background: none;
    page-break-inside: avoid;
  }
  
  .platform-link {
    background: none;
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
  
  .platform-link::before,
  .platform-link::after {
    display: none;
  }
  
  .platform-arrow {
    display: none;
  }
  
  .platform-icon svg {
    width: 24px;
    height: 24px;
  }
}/* Bl
og Section - From Kiwi & Berry's Journal */
.blog {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 240, 0.8));
  position: relative;
  overflow: hidden;
}

.blog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 150"><rect x="20" y="30" width="18" height="60" fill="%23FF6B8A" opacity="0.08" rx="3"/><rect x="45" y="25" width="18" height="70" fill="%2373091e" opacity="0.06" rx="3"/><rect x="70" y="35" width="18" height="50" fill="%23DC143C" opacity="0.07" rx="3"/><rect x="95" y="20" width="18" height="80" fill="%23FF6B8A" opacity="0.05" rx="3"/><circle cx="30" cy="100" r="3" fill="%23FF6B8A" opacity="0.1"/><circle cx="60" cy="110" r="2" fill="%2373091e" opacity="0.1"/><circle cx="90" cy="105" r="2.5" fill="%23DC143C" opacity="0.1"/><path d="M15 120 Q35 115 55 120 Q75 125 95 120 Q115 115 135 120" stroke="%23FF6B8A" stroke-width="1" fill="none" opacity="0.06"/></svg>');
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

.blog .container {
  position: relative;
  z-index: 1;
}

.blog-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

/* Blog Card Styles */
.blog-card {
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
  border: 3px solid transparent;
  background-clip: padding-box;
  display: flex;
  flex-direction: column;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cherry-gradient);
  border-radius: var(--border-radius-lg);
  padding: 3px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.blog-card:hover::before,
.blog-card:focus-within::before {
  opacity: 1;
}

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

.blog-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Blog Card Image */
.blog-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--cream), rgba(255, 248, 240, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cherry-gradient);
  opacity: 0.05;
  transition: opacity var(--transition-normal);
}

.blog-card:hover .blog-card__image::before {
  opacity: 0.1;
}

.blog-placeholder {
  position: relative;
  z-index: 1;
  transition: transform var(--transition-normal);
}

.blog-card:hover .blog-placeholder {
  transform: scale(1.1) rotate(3deg);
}

/* Blog Card Content */
.blog-card__content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  font-size: 0.85rem;
  color: var(--dark-text);
  opacity: 0.8;
}

.blog-card__date {
  color: var(--cherry-red);
  font-weight: 600;
}

.blog-card__author {
  color: var(--dark-text);
  font-style: italic;
}

.blog-card__category {
  background: var(--cherry-red);
  color: var(--light-text);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--cherry-red);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--dark-cherry);
}

.blog-card__excerpt {
  color: var(--dark-text);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Blog Read More Button */
.blog-card__read-btn {
  background: var(--cherry-gradient);
  color: var(--light-text);
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
}

.blog-card__read-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.blog-card__read-btn:hover::before {
  left: 100%;
}

.blog-card__read-btn:hover,
.blog-card__read-btn:focus {
  background: linear-gradient(135deg, var(--dark-cherry), var(--cherry-hover));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(115, 9, 30, 0.3);
  outline: 2px solid var(--cherry-red);
  outline-offset: 2px;
}

.blog-card__read-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(115, 9, 30, 0.2);
}

.blog-card__read-btn svg {
  transition: transform var(--transition-fast);
}

.blog-card__read-btn:hover svg {
  transform: translateX(2px);
}

/* Blog Modal Styles */
.blog-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.blog-modal.blog-modal--open {
  opacity: 1;
  visibility: visible;
}

.blog-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.blog-modal__content {
  position: relative;
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  max-width: 800px;
  max-height: 90vh;
  width: 90%;
  margin: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.blog-modal.blog-modal--open .blog-modal__content {
  transform: scale(1);
}

.blog-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--spacing-lg);
  border-bottom: 2px solid var(--cream);
  background: linear-gradient(135deg, var(--cream), rgba(255, 248, 240, 0.8));
}

.blog-modal__title {
  font-family: var(--font-heading);
  color: var(--cherry-red);
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.3;
  flex-grow: 1;
  margin-right: var(--spacing-md);
}

.blog-modal__close {
  background: none;
  border: none;
  color: var(--cherry-red);
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.blog-modal__close:hover,
.blog-modal__close:focus {
  background: rgba(115, 9, 30, 0.1);
  color: var(--dark-cherry);
  outline: 2px solid var(--cherry-red);
  outline-offset: 2px;
}

.blog-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  padding: 0 var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--dark-text);
  opacity: 0.8;
}

.blog-modal__date {
  color: var(--cherry-red);
  font-weight: 600;
}

.blog-modal__author {
  color: var(--dark-text);
  font-style: italic;
}

.blog-modal__category {
  background: var(--cherry-red);
  color: var(--light-text);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-modal__body {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
  overflow-y: auto;
  flex-grow: 1;
  line-height: 1.7;
  color: var(--dark-text);
}

.blog-modal__body h3 {
  color: var(--cherry-red);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.blog-modal__body p {
  margin-bottom: var(--spacing-md);
}

.blog-modal__body ul, .blog-modal__body ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.blog-modal__body li {
  margin-bottom: var(--spacing-xs);
}

/* Responsive Grid Layout for Blog Cards */
@media (min-width: 768px) {
  .blog-posts {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }
  
  .blog-card {
    flex-direction: row;
  }
  
  .blog-card__image {
    width: 200px;
    height: auto;
    min-height: 250px;
  }
  
  .blog-card__content {
    flex: 1;
  }
  
  .blog-card__title {
    font-size: 1.2rem;
  }
  
  .blog-card__excerpt {
    font-size: 0.9rem;
  }
  
  .blog-modal__content {
    width: 80%;
  }
  
  .blog-modal__title {
    font-size: 1.8rem;
  }
}

@media (min-width: 1024px) {
  .blog-posts {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xxl);
  }
  
  .blog-card__image {
    width: 220px;
    min-height: 280px;
  }
  
  .blog-card__title {
    font-size: 1.3rem;
  }
  
  .blog-card__excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .blog-card__content {
    padding: var(--spacing-xl);
  }
  
  .blog-modal__content {
    width: 70%;
  }
  
  .blog-modal__title {
    font-size: 2rem;
  }
}

@media (min-width: 1200px) {
  .blog-posts {
    gap: var(--spacing-xxl);
  }
  
  .blog-card__image {
    width: 240px;
    min-height: 300px;
  }
  
  .blog-card__title {
    font-size: 1.4rem;
  }
  
  .blog-card__excerpt {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .blog-modal__content {
    width: 60%;
    max-width: 900px;
  }
}

/* Blog Card Accessibility Enhancements */
.blog-card:focus-within {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
}

/* High Contrast Mode Support for Blog Cards */
@media (prefers-contrast: high) {
  .blog-card {
    border: 2px solid var(--dark-text);
  }
  
  .blog-card__title {
    color: var(--dark-cherry);
    font-weight: bold;
  }
  
  .blog-card__read-btn {
    background: var(--dark-cherry);
    border: 2px solid var(--light-text);
  }
  
  .blog-card__read-btn:hover,
  .blog-card__read-btn:focus {
    background: var(--cherry-hover);
    border-color: var(--light-text);
  }
  
  .blog-modal__content {
    border: 2px solid var(--dark-text);
  }
  
  .blog-modal__close {
    border: 1px solid var(--cherry-red);
  }
}

/* Reduced Motion Support for Blog Cards */
@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card__read-btn,
  .blog-placeholder,
  .blog-card__image::before,
  .blog-modal,
  .blog-modal__content {
    transition: none;
  }
  
  .blog-card:hover {
    transform: none;
  }
  
  .blog-card:hover .blog-placeholder {
    transform: none;
  }
  
  .blog-card__read-btn:hover {
    transform: none;
  }
}

/* Loading State for Blog Cards */
.blog-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.blog-card.loading .blog-card__content {
  position: relative;
}

.blog-card.loading .blog-card__content::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cherry-red);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

/* Blog Card Hover Animation Enhancement */
.blog-card {
  position: relative;
  overflow: hidden;
}

.blog-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 138, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform var(--transition-slow);
  pointer-events: none;
  z-index: 0;
}

.blog-card:hover::after {
  transform: scale(1);
}

.blog-card__content {
  position: relative;
  z-index: 1;
}

.blog-card__image {
  position: relative;
  z-index: 1;
}

/* Print Styles for Blog Section */
@media print {
  .blog {
    background: none;
    page-break-inside: avoid;
  }
  
  .blog-card {
    background: none;
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
    margin-bottom: var(--spacing-lg);
  }
  
  .blog-card__image {
    display: none;
  }
  
  .blog-card__read-btn {
    display: none;
  }
  
  .blog-modal {
    display: none;
  }
  
  .blog-placeholder {
    display: none;
  }
}/* Blog 
Card Animation on Scroll */
.blog-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.blog-card--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for multiple blog cards */
.blog-card:nth-child(1) {
  transition-delay: 0.1s;
}

.blog-card:nth-child(2) {
  transition-delay: 0.2s;
}

.blog-card:nth-child(3) {
  transition-delay: 0.3s;
}

.blog-card:nth-child(4) {
  transition-delay: 0.4s;
}

/* Blog card focused state */
.blog-card--focused {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
}

/* Platform link focused state (for consistency) */
.platform-link--focused {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
}

.contact-link--focused {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
}

/* Modal backdrop blur effect */
.blog-modal__overlay {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Ensure modal content is scrollable on small screens */
@media (max-height: 600px) {
  .blog-modal__content {
    max-height: 95vh;
  }
  
  .blog-modal__body {
    max-height: 60vh;
  }
}

/* Blog modal responsive adjustments */
@media (max-width: 767px) {
  .blog-modal__content {
    width: 95%;
    margin: var(--spacing-sm);
    max-height: 95vh;
  }
  
  .blog-modal__header {
    padding: var(--spacing-md);
  }
  
  .blog-modal__title {
    font-size: 1.3rem;
  }
  
  .blog-modal__body {
    padding: 0 var(--spacing-md) var(--spacing-md);
  }
  
  .blog-card {
    flex-direction: column;
  }
  
  .blog-card__image {
    width: 100%;
    height: 180px;
  }
}

/* Ensure proper z-index stacking */
.blog-modal {
  z-index: 2000;
}

.header {
  z-index: 1000;
}

.hero-carousel {
  z-index: 1;
}

/* Blog section loading state */
.blog.loading {
  opacity: 0.7;
}

.blog.loading .blog-posts {
  pointer-events: none;
}

/* Smooth scrolling for blog section */
.blog {
  scroll-margin-top: 80px; /* Account for fixed header */
}/* Mercha
ndise Shop Section */
.merch {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 240, 0.8));
  position: relative;
  overflow: hidden;
}

.merch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><circle cx="30" cy="30" r="4" fill="%23FF6B8A" opacity="0.08"/><circle cx="100" cy="40" r="3" fill="%2373091e" opacity="0.06"/><circle cx="70" cy="90" r="5" fill="%23DC143C" opacity="0.07"/><circle cx="25" cy="100" r="3.5" fill="%23FF6B8A" opacity="0.05"/><rect x="80" y="25" width="12" height="20" fill="%2373091e" opacity="0.04" rx="3"/><rect x="50" y="70" width="10" height="16" fill="%23DC143C" opacity="0.05" rx="2"/><rect x="15" y="60" width="8" height="14" fill="%23FF6B8A" opacity="0.06" rx="2"/><path d="M20 120 Q40 115 60 120 Q80 125 100 120 Q120 115 140 120" stroke="%23FF6B8A" stroke-width="1.5" fill="none" opacity="0.04"/><polygon points="110,70 115,75 110,80 105,75" fill="%23DC143C" opacity="0.06"/><polygon points="40,110 45,115 40,120 35,115" fill="%2373091e" opacity="0.05"/></svg>');
  background-size: 220px 220px;
  pointer-events: none;
  z-index: 0;
}

.merch .container {
  position: relative;
  z-index: 1;
}

/* Product Grid Layout */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

/* Product Card Styles */
.product-card {
  background: var(--light-text);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
  border: 3px solid transparent;
  background-clip: padding-box;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cherry-gradient);
  border-radius: var(--border-radius-lg);
  padding: 3px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.product-card:hover::before,
.product-card:focus-within::before {
  opacity: 1;
}

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

.product-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Product Card Image */
.product-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--cream), rgba(255, 248, 240, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.product-card__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cherry-gradient);
  opacity: 0.05;
  transition: opacity var(--transition-normal);
}

.product-card:hover .product-card__image::before {
  opacity: 0.1;
}

.product-placeholder {
  position: relative;
  z-index: 1;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-placeholder {
  transform: scale(1.1) rotate(3deg);
}

/* Product Card Content */
.product-card__content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--cherry-red);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.product-card:hover .product-card__title {
  color: var(--dark-cherry);
}

.product-card__description {
  color: var(--dark-text);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  flex-grow: 1;
}

.product-card__price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--cherry-red);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
}

/* Product Buy Button */
.product-card__buy-btn {
  background: var(--cherry-gradient);
  color: var(--light-text);
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  align-self: flex-start;
  min-height: 44px; /* Accessibility: minimum touch target size */
}

.product-card__buy-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.product-card__buy-btn:hover::before {
  left: 100%;
}

.product-card__buy-btn:hover,
.product-card__buy-btn:focus {
  background: linear-gradient(135deg, var(--dark-cherry), var(--cherry-hover));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(115, 9, 30, 0.3);
  outline: 2px solid var(--cherry-red);
  outline-offset: 2px;
  color: var(--light-text);
}

.product-card__buy-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(115, 9, 30, 0.2);
}

.product-card__buy-btn svg {
  transition: transform var(--transition-fast);
}

.product-card__buy-btn:hover svg {
  transform: translateX(2px);
}

/* Special styling for digital download button */
.product-card__buy-btn[aria-label*="Digital"] svg {
  fill: currentColor;
}

.product-card__buy-btn[aria-label*="Digital"]:hover svg {
  transform: scale(1.1);
}

/* Responsive Grid Layout */
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }
  
  .product-card__image {
    height: 180px;
  }
  
  .product-card__title {
    font-size: 1.1rem;
  }
  
  .product-card__description {
    font-size: 0.9rem;
  }
  
  .product-card__price {
    font-size: 1.3rem;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }
  
  .product-card__image {
    height: 160px;
  }
  
  .product-card__title {
    font-size: 1rem;
  }
  
  .product-card__description {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .product-card__content {
    padding: var(--spacing-md) var(--spacing-lg);
  }
  
  .product-card__price {
    font-size: 1.2rem;
  }
}

@media (min-width: 1200px) {
  .product-grid {
    gap: var(--spacing-xxl);
  }
  
  .product-card__image {
    height: 180px;
  }
  
  .product-card__title {
    font-size: 1.1rem;
  }
  
  .product-card__description {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .product-card__content {
    padding: var(--spacing-lg);
  }
  
  .product-card__price {
    font-size: 1.4rem;
  }
}

/* Product Card Accessibility Enhancements */
.product-card:focus-within {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
}

/* High Contrast Mode Support for Product Cards */
@media (prefers-contrast: high) {
  .product-card {
    border: 2px solid var(--dark-text);
  }
  
  .product-card__title {
    color: var(--dark-cherry);
    font-weight: bold;
  }
  
  .product-card__price {
    color: var(--dark-cherry);
    font-weight: bold;
  }
  
  .product-card__buy-btn {
    background: var(--dark-cherry);
    border: 2px solid var(--light-text);
  }
  
  .product-card__buy-btn:hover,
  .product-card__buy-btn:focus {
    background: var(--cherry-hover);
    border-color: var(--light-text);
  }
}

/* Reduced Motion Support for Product Cards */
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card__buy-btn,
  .product-placeholder,
  .product-card__image::before {
    transition: none;
  }
  
  .product-card:hover {
    transform: none;
  }
  
  .product-card:hover .product-placeholder {
    transform: none;
  }
  
  .product-card__buy-btn:hover {
    transform: none;
  }
}

/* Loading State for Product Cards */
.product-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.product-card.loading .product-card__content {
  position: relative;
}

.product-card.loading .product-card__content::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cherry-red);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

/* Product Card Hover Animation Enhancement */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 138, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform var(--transition-slow);
  pointer-events: none;
  z-index: 0;
}

.product-card:hover::after {
  transform: scale(1);
}

.product-card__content {
  position: relative;
  z-index: 1;
}

.product-card__image {
  position: relative;
  z-index: 1;
}

/* Product Grid Animation on Load */
.product-grid {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.product-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Print Styles for Merch Section */
@media print {
  .merch {
    background: none;
    page-break-inside: avoid;
  }
  
  .product-card {
    background: none;
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
  
  .product-card::before,
  .product-card::after {
    display: none;
  }
  
  .product-placeholder {
    display: none;
  }
  
  .product-card__buy-btn {
    background: none;
    color: #000;
    border: 1px solid #000;
  }
  
  .product-card__buy-btn::before {
    display: none;
  }
  
  .product-card__buy-btn svg {
    display: none;
  }
}

/* Product Card Focus Styles for Better Accessibility */
.product-card__buy-btn:focus {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
}

/* Enhanced Product Card Interaction States */
.product-card__buy-btn[aria-pressed="true"] {
  background: var(--dark-cherry);
  transform: translateY(1px);
}

/* Product Card Error State */
.product-card.error {
  border-color: #dc3545;
  opacity: 0.8;
}

.product-card.error .product-card__buy-btn {
  background: #dc3545;
  cursor: not-allowed;
}

.product-card.error .product-card__buy-btn:hover {
  background: #dc3545;
  transform: none;
}

/* Product Card Success State (for purchase confirmation) */
.product-card.success .product-card__buy-btn {
  background: #28a745;
}

.product-card.success .product-card__buy-btn::after {
  content: '✓';
  margin-left: var(--spacing-xs);
}/* Enhanced
 Product Card States and Animations */
.product-card--focused {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
}

.product-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.product-grid--visible {
  opacity: 1;
}

.product-card--pulse {
  animation: pulse 1s ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Mobile Touch Enhancements */
@media (max-width: 767px) {
  .product-card {
    touch-action: manipulation;
  }
  
  .product-card__buy-btn {
    min-height: 48px; /* Larger touch target on mobile */
    font-size: 1rem;
  }
  
  .product-card__content {
    padding: var(--spacing-md);
  }
  
  .product-card__title {
    font-size: 1.1rem;
  }
  
  .product-card__description {
    font-size: 0.9rem;
  }
  
  .product-card__price {
    font-size: 1.3rem;
  }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 1023px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .product-card__image {
    height: 160px;
  }
}

/* Loading Animation for Product Cards */
@keyframes productCardLoading {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

.product-card.loading {
  animation: productCardLoading 1.5s ease-in-out infinite;
}

/* Success State Animation */
.product-card.success .product-card__buy-btn {
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
    background: var(--cherry-gradient);
  }
  50% {
    transform: scale(1.05);
    background: #28a745;
  }
  100% {
    transform: scale(1);
    background: #28a745;
  }
}

/* Error State Styling */
.product-card.error {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
}

.product-card.error .product-card__title {
  color: #dc3545;
}

.product-card.error .product-card__buy-btn {
  background: #dc3545;
  cursor: not-allowed;
  opacity: 0.7;
}

.product-card.error .product-card__buy-btn:hover {
  background: #dc3545;
  transform: none;
  box-shadow: none;
}

/* Improved Focus Indicators */
.product-card__buy-btn:focus-visible {
  outline: 3px solid var(--cherry-red);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(115, 9, 30, 0.2);
}

/* Enhanced Hover States for Better Feedback */
.product-card:hover .product-card__price {
  color: var(--dark-cherry);
  transform: scale(1.05);
  transition: all var(--transition-fast);
}

/* Product Card Skeleton Loading State */
.product-card.skeleton {
  pointer-events: none;
}

.product-card.skeleton .product-card__content > * {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
  color: transparent;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Accessibility: Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .product-card--pulse,
  .product-card.loading,
  .product-card.success .product-card__buy-btn {
    animation: none;
  }
  
  .product-card:hover .product-card__price {
    transform: none;
  }
}

/* Dark mode support (if implemented in the future) */
@media (prefers-color-scheme: dark) {
  .product-card {
    background: #2a2a2a;
    color: #ffffff;
  }
  
  .product-card__description {
    color: #cccccc;
  }
  
  .product-card__image {
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
  }
}

/* Print-specific product card styles */
@media print {
  .product-card {
    break-inside: avoid;
    margin-bottom: 2rem;
  }
  
  .product-card__buy-btn::after {
    content: " (" attr(href) ")";
    font-size: 0.8rem;
    font-weight: normal;
  }
}
/* A
dditional Mobile-First Responsive Enhancements */

/* Flexible Images and Media */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Responsive Tables */
@media (max-width: 767px) {
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
  }
  
  th, td {
    padding: var(--spacing-xs);
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
  
  /* Stack table cells on very small screens */
  @media (max-width: 480px) {
    table, thead, tbody, th, td, tr {
      display: block;
    }
    
    thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }
    
    tr {
      border: 1px solid #ccc;
      margin-bottom: var(--spacing-sm);
      padding: var(--spacing-sm);
    }
    
    td {
      border: none;
      position: relative;
      padding-left: 50%;
    }
    
    td:before {
      content: attr(data-label) ": ";
      position: absolute;
      left: 6px;
      width: 45%;
      padding-right: 10px;
      white-space: nowrap;
      font-weight: bold;
    }
  }
}

/* Enhanced Focus Management for Mobile */
@media (max-width: 767px) {
  /* Ensure focus is visible on mobile */
  *:focus {
    outline: 3px solid var(--cherry-red);
    outline-offset: 2px;
  }
  
  /* Skip link for mobile accessibility */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--cherry-red);
    color: var(--light-text);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
    transition: top var(--transition-fast);
  }
  
  .skip-link:focus {
    top: 6px;
  }
}

/* Responsive Form Elements */
@media (max-width: 767px) {
  input, textarea, select {
    width: 100%;
    padding: var(--spacing-md);
    font-size: 1rem; /* Prevent zoom on iOS */
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    box-sizing: border-box;
  }
  
  input:focus, textarea:focus, select:focus {
    border-color: var(--cherry-red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(115, 9, 30, 0.2);
  }
  
  label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--dark-text);
  }
}

/* Mobile Performance Optimizations */
@media (max-width: 767px) {
  /* Reduce animations on mobile for better performance */
  .episode-card::after,
  .blog-card::after,
  .product-card::after {
    display: none;
  }
  
  /* Optimize background images for mobile */
  .hero-carousel .slide-background {
    background-attachment: scroll; /* Better performance than fixed */
  }
  
  /* Reduce box-shadows on mobile */
  .episode-card,
  .blog-card,
  .product-card,
  .platform-link,
  .social-link {
    box-shadow: var(--shadow-sm);
  }
  
  .episode-card:hover,
  .blog-card:hover,
  .product-card:hover {
    box-shadow: var(--shadow-md);
  }
}

/* Responsive Utility Classes */
.mobile-only {
  display: block;
}

.tablet-only,
.desktop-only {
  display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mobile-only,
  .desktop-only {
    display: none;
  }
  
  .tablet-only {
    display: block;
  }
}

@media (min-width: 1024px) {
  .mobile-only,
  .tablet-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
}

/* Text Scaling for Better Readability */
@media (max-width: 767px) {
  /* Ensure text is readable on small screens */
  body {
    font-size: 16px; /* Minimum for iOS to prevent zoom */
    line-height: 1.5;
  }
  
  p, li {
    font-size: clamp(0.9rem, 4vw, 1rem);
    line-height: 1.6;
  }
  
  /* Improve readability of small text */
  .blog-card__meta,
  .product-card__price,
  .contact-description {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem);
  }
}

/* Enhanced Loading States for Mobile */
@media (max-width: 767px) {
  .loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
  }
  
  @keyframes skeleton-loading {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }
  
  /* Mobile loading states */
  .episode-card.loading,
  .blog-card.loading,
  .product-card.loading {
    pointer-events: none;
  }
  
  .episode-card.loading .episode-card__title,
  .blog-card.loading .blog-card__title,
  .product-card.loading .product-card__title {
    background: #f0f0f0;
    color: transparent;
    border-radius: 4px;
    height: 1.2em;
  }
  
  .episode-card.loading .episode-card__description,
  .blog-card.loading .blog-card__excerpt,
  .product-card.loading .product-card__description {
    background: #f0f0f0;
    color: transparent;
    border-radius: 4px;
    height: 3em;
  }
}

/* Mobile Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {
  /* Fix for iOS Safari viewport height issues */
  .hero {
    min-height: -webkit-fill-available;
  }
  
  /* Fix for iOS Safari button styling */
  .cta-button,
  .episode-card__listen-btn,
  .blog-card__read-btn,
  .product-card__buy-btn {
    -webkit-appearance: none;
    border-radius: var(--border-radius);
  }
  
  /* Fix for iOS Safari input zoom */
  input, textarea, select {
    font-size: 16px;
  }
}

/* Android Chrome Specific Fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  /* Fix for Android Chrome address bar height changes */
  .hero {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
  }
}

/* Responsive Debugging (Remove in production) */
@media (max-width: 767px) {
  .debug-mobile::before {
    content: "Mobile: " screen;
    position: fixed;
    top: 0;
    right: 0;
    background: red;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    z-index: 9999;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .debug-tablet::before {
    content: "Tablet: " screen;
    position: fixed;
    top: 0;
    right: 0;
    background: orange;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    z-index: 9999;
  }
}

@media (min-width: 1024px) {
  .debug-desktop::before {
    content: "Desktop: " screen;
    position: fixed;
    top: 0;
    right: 0;
    background: green;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    z-index: 9999;
  }
}/*
 Medium Embed Section Styles */
.medium-embed-section {
  margin: var(--spacing-xxl) 0;
  padding: var(--spacing-xl);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.embed-section-title {
  color: var(--cherry-red);
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.embed-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--cherry-gradient);
  margin: var(--spacing-sm) auto 0;
  border-radius: 2px;
}

.medium-embeds {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.medium-embed-container {
  background: var(--light-text);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.medium-embed-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.medium-embed-container iframe {
  width: 100%;
  min-height: 380px !important;
  border: none;
  display: block;
}

.custom-embed {
  background: linear-gradient(135deg, var(--cream), rgba(255, 107, 138, 0.1));
  border: 2px dashed var(--cherry-red);
}

.embed-placeholder {
  padding: var(--spacing-xl);
  text-align: center;
}

.embed-placeholder h4 {
  color: var(--cherry-red);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.embed-placeholder p {
  color: var(--dark-text);
  margin-bottom: var(--spacing-md);
}

.embed-placeholder ol {
  text-align: left;
  max-width: 400px;
  margin: 0 auto var(--spacing-lg);
  color: var(--dark-text);
}

.embed-placeholder li {
  margin-bottom: var(--spacing-xs);
  padding-left: var(--spacing-xs);
}

.embed-code-example {
  background: rgba(115, 9, 30, 0.1);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.embed-code-example code {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--cherry-red);
  word-break: break-all;
  line-height: 1.4;
}

/* Responsive adjustments for Medium embeds */
@media (max-width: 767px) {
  .medium-embed-section {
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
  }
  
  .medium-embed-container iframe {
    min-height: 300px;
  }
  
  .embed-placeholder {
    padding: var(--spacing-lg);
  }
  
  .embed-code-example {
    padding: var(--spacing-sm);
  }
  
  .embed-code-example code {
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) {
  .medium-embeds {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .medium-embed-container iframe {
    min-height: 450px;
  }
}

@media (min-width: 1024px) {
  .medium-embeds {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .custom-embed {
    grid-column: 1 / -1;
  }
}

/* Carousel Slide Content */
.slide-content {
  position: absolute;
  top: 10%;/*50->10*/
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.carousel-slide.active .slide-content {
  opacity: 1;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--light-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
}

/* Show slide content on all slides including the first one */
.carousel-slide .slide-content {
  display: block;
}

/* Responsive adjustments for slide content */
@media (max-width: 767px) {
  .slide-title {
    /*font-size: clamp(1rem, 4vw, 1.5rem);*/
    font-size: clamp(1rem, 6vw, 3.5rem); /* GL enlarge font-size */
    letter-spacing: normal;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .slide-title {
    font-size: clamp(1.1rem, 3.5vw, 1.8rem);
  }
}

@media (min-width: 1024px) {
  .slide-title {
    font-size: clamp(1.2rem, 3vw, 2rem);
  }
}/* Enhance
d Platform Icon Sizes */
.platform-icon svg {
  width: 48px !important;
  height: 48px !important;
  transition: transform var(--transition-normal);
}

/* Ensure custom images in platform icons display properly */
.platform-icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.platform-link:hover .platform-icon svg {
  transform: scale(1.1);
}

.platform-link:hover .platform-icon img {
  transform: scale(1.1);
}

/* Responsive platform icon sizes */
@media (max-width: 767px) {
  .platform-icon svg {
    width: 40px !important;
    height: 40px !important;
  }
  
  .platform-icon img {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1024px) {
  .platform-icon svg {
    width: 56px !important;
    height: 56px !important;
  }
  
  .platform-icon img {
    width: 56px;
    height: 56px;
  }
}
/*
 Fix for Task 13.1 - Ensure all elements are visible */
.nav-menu,
.nav-menu a,
.nav-toggle, /* Add nav-toggle to visible elements */
.carousel-btn,
.carousel-btn--prev,
.carousel-btn--next,
.carousel-indicators,
.carousel-indicator,
.episode-grid,
.episode-card,
.episode-card__image,
.episode-card__content,
.episode-card__title,
.episode-card__description,
.episode-card__listen-btn,
.episode-placeholder {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Don't override mobile navigation display behavior */
@media (min-width: 768px) {
  .nav-menu {
    display: flex !important;
  }
}

.episode-grid {
  display: grid !important;
}

.carousel-btn,
.carousel-indicator {
  display: flex !important;
}

.episode-card__image,
.episode-card__content,
.episode-card__listen-btn,
.episode-placeholder {
  display: flex !important;
}

/* Ensure carousel buttons are properly positioned and visible */
.carousel-btn--prev,
.carousel-btn--next {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.3) !important;
  border: 2px solid var(--light-text) !important;
  color: var(--light-text) !important;
}

.carousel-btn--prev {
  left: var(--spacing-lg) !important;
}

.carousel-btn--next {
  right: var(--spacing-lg) !important;
}

/* Ensure carousel indicators are visible */
.carousel-indicators {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  z-index: 10;
}

.carousel-indicator {
  background: transparent !important;
  border: 2px solid var(--light-text) !important;
}

.carousel-indicator.active {
  background: var(--light-text) !important;
}

/* Center the contact section properly */
.fan-club-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.social-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  gap: var(--spacing-md) !important;
}

/* Task 19.1.1: Ensure carousel indicators are ALWAYS visible on ALL screen sizes */
@media screen {
  .carousel-indicators {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  .carousel-indicator {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* Override any conflicting rules for mobile, tablet, and desktop */
@media screen and (max-width: 767px),
       screen and (min-width: 768px) and (max-width: 1023px),
       screen and (min-width: 1024px) {
  .carousel-indicators {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .carousel-indicator {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}