/* ═══════════════════════════════════════════
   ¿Qué Harías? Podcast — Landing Page
   Paleta: teal #1a8a8a + naranja/cobre #d46a00
   ═══════════════════════════════════════════ */

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

:root {
  --bg: #0b0f1a;
  --bg-card: #111827;
  --bg-hover: #1a2332;

  --teal: #1a8a8a;
  --teal-light: #22b5b5;
  --teal-dark: #126666;

  --copper: #d46a00;
  --copper-light: #e8891a;
  --copper-dark: #a35200;

  --text: #e8e8ec;
  --text-muted: #8892a4;
  --text-dim: #5a6375;

  --border: #1e2a3a;

  --radius: 12px;
  --radius-sm: 8px;

  --max-w: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(26, 138, 138, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(212, 106, 0, 0.1) 0%, transparent 60%),
    var(--bg);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
}

.hero-logo {
  width: 220px;
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 30px rgba(26, 138, 138, 0.3)) drop-shadow(0 0 60px rgba(212, 106, 0, 0.15));
  animation: float 6s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(42px, 9vw, 76px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal-light), var(--copper-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.4;
  margin-bottom: 8px;
  padding: 0 10px 8px;
}

.hero-subtitle {
  font-size: clamp(18px, 4vw, 30px);
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-tagline {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-tagline strong {
  color: var(--copper-light);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(212, 106, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 106, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--teal-light);
  border: 2px solid var(--teal);
}

.btn-secondary:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
.section-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--copper));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ── ABOUT ── */
.about {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(26, 138, 138, 0.08) 0%, transparent 50%),
    var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: var(--teal-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 138, 138, 0.1);
}

.about-icon {
  margin-bottom: 16px;
  color: var(--copper);
}

.about-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--teal-light);
}

.about-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── EPISODES ── */
.episodes {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 106, 0, 0.06) 0%, transparent 50%),
    var(--bg-card);
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.episode-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.episode-card:hover {
  border-color: var(--copper);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 106, 0, 0.1);
}

.episode-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-hover);
}

.episode-info {
  padding: 20px;
}

.episode-number {
  font-size: 11px;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
}

.episode-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.episode-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
}

.episode-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── PLATFORMS ── */
.platforms {
  padding: 100px 0;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.platform-card:hover {
  border-color: var(--teal-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26, 138, 138, 0.1);
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: white;
}

.platform-icon.yt { background: #ff0000; }
.platform-icon.tt { background: #010101; }
.platform-icon.ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.platform-icon.fb { background: #1877f2; }

.platform-name {
  font-size: 15px;
  font-weight: 700;
}

.platform-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── QUOTE ── */
.quote-section {
  padding: 80px 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(26, 138, 138, 0.1) 0%, transparent 60%),
    var(--bg);
  text-align: center;
}

.quote {
  font-size: clamp(20px, 4vw, 28px);
  font-style: italic;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  border: none;
  padding: 0;
}

/* ── FOOTER ── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  text-align: center;
}

.footer-logo {
  width: 56px;
  height: auto;
  margin-bottom: 16px;
  opacity: 0.8;
  filter: drop-shadow(0 0 10px rgba(26, 138, 138, 0.2));
}

.footer-text {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal-light);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-logo {
    width: 160px;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 56px);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 140px;
  }

  .platforms-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .platform-card {
    padding: 20px 12px;
  }

  .hero-subtitle {
    letter-spacing: 4px;
  }
}
