/* Production Tailwind CSS - Generated from your custom styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css');

:root {
  --primary: 210 40% 98%;
  --primary-foreground: 220.9 39.3% 11%;
  --secondary: 215 27.9% 16.9%;
  --secondary-foreground: 210 40% 98%;
  --accent: 215 27.9% 16.9%;
  --accent-foreground: 210 40% 98%;
  --muted: 215 27.9% 16.9%;
  --muted-foreground: 217.9 10.6% 64.9%;
  --background: 224 71.4% 4.1%;
  --foreground: 210 40% 98%;
  --card: 224 71.4% 4.1%;
  --card-foreground: 210 40% 98%;
  --popover: 224 71.4% 4.1%;
  --popover-foreground: 210 40% 98%;
  --border: 215 27.9% 16.9%;
  --input: 215 27.9% 16.9%;
  --ring: 216 12.2% 83.9%;
}

* {
  border-color: hsl(var(--border));
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

/* Utility classes */
.min-h-screen { min-height: 100vh; }
.bg-background { background-color: hsl(var(--background)); }
.text-foreground { color: hsl(var(--foreground)); }
.font-sans { font-family: 'Inter', sans-serif; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Layout */
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.bg-background\/80 { background-color: hsl(var(--background) / 0.8); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.border-b { border-bottom-width: 1px; }
.border-border { border-color: hsl(var(--border)); }

.container { width: 100%; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

/* Flexbox */
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-1 > * + * { margin-left: 0.25rem; }

/* Text */
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.font-bold { font-weight: 700; }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }

/* Buttons */
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.bg-primary { background-color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.rounded-lg { border-radius: 0.5rem; }
.hover\:opacity-90:hover { opacity: 0.9; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* Glass effect */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.dark .glass-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Episode card */
.episode-card {
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid hsl(var(--border));
}

.episode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  border-color: hsl(var(--primary));
}

/* Audio player */
.audio-player-compact {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.play-button-compact {
  background: linear-gradient(135deg, hsl(23, 92%, 53%), hsl(35, 92%, 53%));
  box-shadow: 0 4px 14px 0 rgba(251, 146, 60, 0.4);
  transition: all 0.3s ease;
}

.play-button-compact:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(251, 146, 60, 0.5);
}

.play-button-compact:active {
  transform: scale(0.95);
}

/* Wave animation */
.wave-container {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.wave-bar {
  width: 3px;
  background: linear-gradient(to top, hsl(23, 92%, 53%), hsl(35, 92%, 53%));
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; height: 8px; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 12px; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 16px; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; height: 12px; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; height: 8px; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.8); }
  50% { transform: scaleY(1.2); }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Text gradient */
.text-gradient {
  background: linear-gradient(135deg, hsl(23, 92%, 53%), hsl(215, 86%, 53%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scroll indicator */
.scroll-indicator {
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1 !important;
  transform: scale(1.2);
}

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

/* Line clamp utility */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Additional utility classes */
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.text-center { text-align: center; }
.rounded-xl { border-radius: 0.75rem; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-contain { object-fit: contain; }
.w-full { width: 100%; }
.h-auto { height: auto; }
.max-h-80 { max-height: 20rem; }
.max-h-96 { max-height: 24rem; }
.max-h-48 { max-height: 12rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.min-w-0 { min-width: 0; }
.gap-8 { gap: 2rem; }
.gap-4 { gap: 1rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-1 > * + * { margin-left: 0.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.mt-3 { margin-top: 0.75rem; }
.p-8 { padding: 2rem; }
.p-6 { padding: 1.5rem; }
.p-2 { padding: 0.5rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.flex-shrink-0 { flex-shrink: 0; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.opacity-90 { opacity: 0.9; }
.opacity-75 { opacity: 0.75; }
.opacity-50 { opacity: 0.5; }
.opacity-40 { opacity: 0.4; }
.opacity-30 { opacity: 0.3; }
.opacity-20 { opacity: 0.2; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.cursor-pointer { cursor: pointer; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }
.min-w-0 { min-width: 0; }
.rounded-full { border-radius: 9999px; }
.rounded-md { border-radius: 0.375rem; }
.bg-white\/10 { background-color: rgb(255 255 255 / 0.1); }
.bg-white\/20 { background-color: rgb(255 255 255 / 0.2); }
.bg-white\/30 { background-color: rgb(255 255 255 / 0.3); }
.from-orange-500 { --tw-gradient-from: #f97316; --tw-gradient-to: rgb(249 115 22 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-orange-400 { --tw-gradient-to: #fb923c; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.hover\:text-foreground:hover { color: hsl(var(--foreground)); }
.hover\:bg-accent:hover { background-color: hsl(var(--accent)); }
.hover\:text-primary\/80:hover { color: hsl(var(--primary) / 0.8); }

/* Responsive */
@media (min-width: 768px) {
  .md\:inline { display: inline; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row; }
  .lg\:w-96 { width: 24rem; }
  .lg\:max-h-96 { max-height: 24rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 640px) {
  .sm\:inline { display: inline; }
}

/* Carousel specific styles */
.episode-carousel-item {
  min-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.snap-x { scroll-snap-type: x mandatory; }
.snap-mandatory { scroll-snap-stop: always; }

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Episode dot indicators */
.episode-dot.active {
  background-color: hsl(var(--primary));
  transform: scale(1.2);
}

/* Animation utilities */
.animate-fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

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

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

/* Scroll behavior */
.scroll-smooth { scroll-behavior: smooth; }

/* Carousel styles */
.overflow-x-auto { overflow-x: auto; }
.snap-x { scroll-snap-type: x mandatory; }
.snap-mandatory { scroll-snap-stop: always; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
.space-x-4 > * + * { margin-left: 1rem; }
.-mx-2 { margin-left: -0.5rem; margin-right: -0.5rem; }
.pb-4 { padding-bottom: 1rem; }

/* Footer */
.bg-background { background-color: hsl(var(--background)); }
.border-t { border-top-width: 1px; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

/* Dark mode */
.dark { color-scheme: dark; }
