/* ================================
   MODOFOUNDER - Dark Cinematic Theme
   ================================ */

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

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

:root {
  /* Dark Cinematic Colors */
  --color-bg-primary: #0a0a0a;
  --color-bg-secondary: #121212;
  --color-bg-card: #1a1a1a;
  --color-text-primary: #ffffff;
  --color-text-secondary: #b3b3b3;
  --color-accent: #ffffff;
  --color-overlay: rgba(0, 0, 0, 0.6);

  /* Typography */
  --font-heading: "Special Gothic Expanded One", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* ================================
   SECTIONS - Full Height
   ================================ */

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--spacing-md);
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ================================
   HERO SECTION - Video Background
   ================================ */

#hero {
  height: 100vh;
  min-height: unset;
  padding: 0;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Solo en pantallas muy grandes usamos contain */
@media (min-width: 1400px) {
  #hero-video {
    object-fit: contain;
  }
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.7) 80%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--color-text-primary);
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1.2s ease-out;
  padding: 0 3rem;
  white-space: nowrap;
  overflow: visible;
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.2;
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
  color: var(--color-text-primary);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

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

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ================================
   ABOUT SECTION
   ================================ */

#about {
  background-color: var(--color-bg-primary);
  padding: var(--spacing-xl) var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.about-content {
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

#about h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
  max-width: 800px;
  text-transform: uppercase;
}

.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
  max-width: 700px;
  font-weight: 300;
}

/* Platform Buttons */
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: var(--spacing-lg);
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--color-text-primary);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  transition: all 0.2s ease;
}

.platform-btn svg {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

.platform-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ================================
   EPISODES SECTION
   ================================ */

#episodes {
  background-color: var(--color-bg-primary);
  padding: var(--spacing-xl) var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: left;
  margin-bottom: var(--spacing-md);
  padding: 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
}

.episodes-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: var(--spacing-lg);
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.episode-card {
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.episode-card:hover {
  transform: translateY(-4px);
  opacity: 1;
}

.episode-card:hover .episode-thumbnail {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.episode-thumbnail {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--color-bg-card);
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

.episode-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
  opacity: 0.5;
}

.episode-thumbnail:hover img {
  transform: none;
  opacity: 1;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-overlay svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
  fill: #0a0a0a;
}

.episode-thumbnail:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.episode-info {
  padding: 1.5rem 0;
}

.episode-info h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.episode-info p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 300;
}

/* ================================
   HOST SECTION
   ================================ */

#host {
  background-color: var(--color-bg-primary);
  padding: var(--spacing-xl) var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.host-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.host-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.host-text h3 {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
}

.host-text p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 550px;
}

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

.host-image {
  position: relative;
}

.host-image img {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: none;
}

/* ================================
   CTA SECTION
   ================================ */

#cta {
  background-color: var(--color-bg-primary);
  padding: var(--spacing-xl) var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.cta-content {
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: var(--spacing-md);
  padding: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  font-weight: 300;
  max-width: 600px;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--color-text-primary);
  color: var(--color-bg-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

/* ================================
   FADE-IN ANIMATION
   ================================ */

/* Removed - caused scroll issues */

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1200px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  #about,
  #episodes,
  #host,
  #cta {
    padding: var(--spacing-lg) var(--spacing-md);
  }
}

@media (max-width: 968px) {
  .host-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .host-image {
    order: -1;
  }

  .host-image img {
    max-width: 100%;
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #about,
  #episodes,
  #host,
  #cta {
    padding: var(--spacing-lg) 1.5rem;
  }

  .platforms {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  /* Mejorar visibilidad de flecha de scroll en mobile */
  .scroll-indicator {
    bottom: 5rem;
  }

  .scroll-indicator svg {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 8px;
  }

  .logo {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
    letter-spacing: 0;
    padding: 0 2rem;
  }

  .episodes-grid {
    gap: var(--spacing-sm);
  }

  .host-grid {
    gap: var(--spacing-md);
  }

  .about-content,
  .cta-content {
    padding: 0 0.5rem;
  }
}

@media (max-width: 640px) {
  #about,
  #episodes,
  #host,
  #cta {
    padding: var(--spacing-lg) 1.25rem;
  }

  .container {
    padding: 0 1rem;
  }

  .platforms {
    gap: 0.75rem;
  }

  .platform-btn {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 0.7rem 1.3rem;
    font-size: 0.85rem;
  }

  .logo {
    font-size: clamp(1.2rem, 4.5vw, 2.2rem);
    letter-spacing: 0;
    padding: 0 1.5rem;
  }

  #about h2,
  .section-title,
  .cta-content h2,
  .host-text h2 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .subtitle,
  .cta-content p {
    font-size: 1rem;
  }

  .host-text p {
    font-size: 0.95rem;
  }

  .cta-btn {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }

  .episodes-grid {
    gap: 1.5rem;
  }
}

/* ================================
   ACCESSIBILITY
   ================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-text-primary);
  outline-offset: 4px;
}
