/*
Theme Name: Pensando de Más
Theme URI:
Author: Tommy Soriano
Description: Custom theme for the Pensando de Más podcast by Muma Centanin Moliné.
Version: 1.0
*/

/* ================================
   PENSANDO DE MÁS — style.css
================================ */

:root {
  --cream: #FAF6F2;
  --cream-dark: #F0E8DF;
  --rose: #AC6069;
  --rose-light: #C98A93;
  --rose-pale: #EDD5D8;
  --mauve: #7B5EA7;
  --mauve-light: #A98FCC;
  --plum: #1E1020;
  --plum-mid: #2D1A30;
  --warm-dark: #2C1B1E;
  --warm-text: #3D2B30;
  --gray-warm: #8C7B7E;
  --gray-light: #C4B8BB;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 28px rgba(44, 27, 30, 0.07);
  --shadow-lg: 0 16px 56px rgba(44, 27, 30, 0.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--warm-text); background: var(--cream); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: all 0.35s ease;
}
.nav.scrolled {
  background: rgba(30, 16, 32, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: white; letter-spacing: 0.02em; font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: white; }
.nav-cta { color: var(--rose-pale) !important; border: 1px solid rgba(172,96,105,0.4) !important; padding: 7px 18px !important; border-radius: 100px !important; font-size: 13px !important; transition: all 0.2s !important; }
.nav-cta:hover { background: rgba(172,96,105,0.15) !important; color: white !important; }

/* ---- HERO ---- */
.hero { position: relative; height: 100vh; min-height: 720px; background: var(--plum); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.orb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 720px; }
.hero-label { display: inline-block; color: rgba(172,96,105,0.9); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 24px; }
.hero-title { font-family: var(--font-display); font-size: clamp(72px, 12vw, 120px); font-weight: 300; color: white; line-height: 0.95; letter-spacing: -1px; margin-bottom: 28px; }
.hero-title em { font-style: italic; color: var(--rose-light); font-weight: 300; }
.hero-tagline { color: rgba(255,255,255,0.5); font-size: 17px; line-height: 1.7; font-weight: 300; margin-bottom: 44px; letter-spacing: 0.01em; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-wave-bottom { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 2; }
.hero-wave-bottom svg { display: block; width: 100%; height: 90px; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 100px; font-size: 14px; font-weight: 400; transition: all 0.22s; cursor: pointer; border: none; font-family: var(--font-body); letter-spacing: 0.01em; }
.btn-rose { background: var(--rose); color: white; }
.btn-rose:hover { background: #96505A; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(172,96,105,0.35); }
.btn-ghost { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost-light:hover { color: white; border-color: rgba(255,255,255,0.4); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--warm-text); border: 1.5px solid var(--cream-dark); }
.btn-outline:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }

/* ---- LABELS & TITLES ---- */
.section-label { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose); margin-bottom: 14px; }
.section-label.light { color: rgba(172,96,105,0.7); }
.section-title { font-family: var(--font-display); font-size: clamp(38px, 5vw, 58px); font-weight: 300; color: white; line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 52px; }
.section-title em { font-style: italic; color: var(--rose-light); }
.section-title.dark { color: var(--warm-dark); }

/* ---- TAGS ---- */
.tag { display: inline-block; background: var(--rose-pale); color: var(--rose); font-size: 12px; font-weight: 500; padding: 5px 14px; border-radius: 100px; }
.tag-sm { font-size: 11px; padding: 3px 11px; }

/* ---- LATEST EPISODE ---- */
.latest { background: var(--cream); padding: 88px 0 100px; }
.latest-card { background: white; border-radius: var(--radius-lg); padding: 52px; box-shadow: var(--shadow); }
.latest-card-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.episode-number { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; color: var(--rose); text-transform: uppercase; }
.episode-date { font-size: 13px; color: var(--gray-light); }
.latest-card-title { font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 38px); font-weight: 400; color: var(--warm-dark); line-height: 1.2; letter-spacing: -0.3px; margin-bottom: 16px; max-width: 640px; }
.latest-card-desc { color: var(--gray-warm); font-size: 15px; line-height: 1.8; max-width: 600px; margin-bottom: 32px; font-weight: 300; }
.latest-card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }

/* Spotify Player */
.spotify-player { background: #121212; border-radius: var(--radius); padding: 18px 20px; max-width: 560px; }
.spotify-player-inner { display: flex; align-items: center; gap: 16px; }
.spotify-artwork { width: 64px; height: 64px; border-radius: 10px; background: linear-gradient(135deg, #2D1A30, #4A2535); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.spotify-info { flex: 1; min-width: 0; }
.spotify-episode-title { color: white; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.spotify-show-name { color: rgba(255,255,255,0.4); font-size: 12px; margin-bottom: 10px; }
.spotify-progress { display: flex; align-items: center; gap: 8px; }
.spotify-time { color: rgba(255,255,255,0.3); font-size: 11px; font-variant-numeric: tabular-nums; }
.spotify-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.1); border-radius: 100px; cursor: pointer; }
.spotify-bar-fill { width: 0%; height: 100%; background: #1DB954; border-radius: 100px; transition: width 0.3s linear; }
.spotify-play { width: 42px; height: 42px; border-radius: 50%; background: #1DB954; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: transform 0.2s, background 0.2s; }
.spotify-play:hover { transform: scale(1.08); background: #1ed760; }
.spotify-play svg { width: 16px; height: 16px; margin-left: 2px; }
.spotify-branding { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.07); }
.spotify-branding span { color: rgba(255,255,255,0.35); font-size: 11px; }
.spotify-embed { margin-top: 20px; border-radius: var(--radius); overflow: hidden; }
.spotify-embed iframe { display: block; border-radius: var(--radius); }

/* ---- EPISODES GRID ---- */
.episodes { background: var(--cream); padding: 100px 0 80px; }
.episodes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; margin-bottom: 52px; }
.episode-card { background: white; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; border-left: 3px solid var(--rose-pale); }
.episode-card:hover { border-left-color: var(--rose); }
.episode-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.episode-card-number { font-family: var(--font-display); font-size: 56px; font-weight: 300; color: var(--rose-pale); line-height: 1; letter-spacing: -2px; }
.episode-card-body { flex: 1; }
.episode-card-meta { font-size: 12px; color: var(--gray-light); margin-bottom: 8px; }
.episode-card-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: var(--warm-dark); line-height: 1.3; margin-bottom: 10px; }
.episode-card-body p { font-size: 14px; color: var(--gray-warm); line-height: 1.7; margin-bottom: 12px; font-weight: 300; }
.episode-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.episode-card-listen { font-size: 13px; font-weight: 500; color: var(--rose); align-self: flex-start; transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.episode-card-listen:hover { color: #96505A; }
.episode-card-listen::after { content: ''; position: absolute; inset: 0; }
.episodes-cta { text-align: center; }

/* Interview episodes — purple accent */
.episode-card--interview { border-left: 3px solid var(--mauve); }
.episode-card--interview .episode-card-number { color: #D5CCE8; }
.episode-card--interview .episode-card-body h3 { color: var(--mauve); }
.episode-card--interview .episode-card-listen { color: var(--mauve); }
.episode-card--interview .episode-card-listen:hover { color: #5a4180; }
.episode-card--interview .tag-sm { background: #EDE8F5; color: var(--mauve); }

/* Interview label badge */
.interview-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve);
  background: #EDE8F5;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

/* ---- WAVE DIVIDERS ---- */
.wave-divider-mid { background: var(--cream); line-height: 0; }
.wave-divider-mid svg { display: block; width: 100%; height: 100px; }
.wave-divider-light { background: var(--plum); line-height: 0; }
.wave-divider-light svg { display: block; width: 100%; height: 80px; }

/* ---- ABOUT ---- */
.about { background: var(--plum); padding: 100px 0 120px; }
.about-inner { display: grid; grid-template-columns: 1fr 1.7fr; gap: 80px; align-items: center; }
.about-visual { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.about-avatar { position: relative; width: 200px; height: 200px; }
.about-avatar-ring { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(172,96,105,0.25); animation: ring-pulse 4s ease-in-out infinite; }
.ring-2 { inset: -22px; border-color: rgba(172,96,105,0.12); animation-delay: 0.8s; animation-duration: 5s; }
@keyframes ring-pulse { 0%, 100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.05); opacity: 1; } }
.about-avatar-img { width: 200px; height: 200px; border-radius: 50%; background: linear-gradient(135deg, #2D1A30, #3D2040); border: 1px solid rgba(172,96,105,0.2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-avatar-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.about-avatar-img svg { width: 150px; height: 150px; }
.about-stats { display: flex; gap: 52px; }
.stat { text-align: center; }
.stat-number { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 300; color: white; letter-spacing: -1px; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.3); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.about-title { font-family: var(--font-display); font-size: clamp(44px, 5vw, 62px); font-weight: 300; color: white; letter-spacing: -1px; line-height: 1.05; margin-bottom: 28px; }
.about-bio { color: rgba(255,255,255,0.5); font-size: 16px; line-height: 1.85; margin-bottom: 16px; font-weight: 300; }
.about-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* ---- BLOG ---- */
.blog { background: var(--cream); padding: 100px 0 120px; }
.blog .section-title { color: var(--warm-dark); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 52px; }
.blog-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; position: relative; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 180px; background-size: cover; background-position: center; }
.blog-card-img.no-image { background: linear-gradient(135deg, #EDD5D8 0%, #C98A93 50%, #AC6069 100%); }
.blog-card-body { padding: 28px; }
.blog-category { font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--rose); display: block; margin-bottom: 10px; }
.blog-card-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: var(--warm-dark); line-height: 1.3; margin-bottom: 10px; }
.blog-card-body p { font-size: 14px; color: var(--gray-warm); line-height: 1.7; margin-bottom: 18px; font-weight: 300; }
.blog-read-more { font-size: 13px; font-weight: 500; color: var(--rose); transition: color 0.2s; }
.blog-read-more:hover { color: #96505A; }
.blog-read-more::after { content: ''; position: absolute; inset: 0; }
.blog-cta { text-align: center; }

/* ---- SINGLE POST / EPISODE ---- */
.post-hero { background: var(--plum); padding: 160px 0 80px; position: relative; overflow: hidden; }
.post-hero-bg { position: absolute; inset: 0; opacity: 0.4; background-size: cover; background-position: center; }
.post-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(30,16,32,0.5), rgba(30,16,32,0.95)); }
.post-hero-content { position: relative; z-index: 2; max-width: 760px; }
.post-back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.45); font-size: 13px; margin-bottom: 32px; transition: color 0.2s; }
.post-back:hover { color: white; }
.post-hero-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.post-hero-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); font-weight: 300; color: white; line-height: 1.1; letter-spacing: -1px; margin-bottom: 20px; }
.post-hero-excerpt { color: #ffffff; font-size: 17px; line-height: 1.7; font-weight: 300; max-width: 640px; }
.post-hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; }
.post-hero-wave svg { display: block; width: 100%; height: 60px; }

.post-body { background: var(--cream); padding: 80px 0 120px; }
.post-content-wrap { max-width: 720px; }
.post-spotify { margin-bottom: 48px; }
.post-content { font-size: 17px; line-height: 1.85; color: var(--warm-text); font-weight: 300; }
.post-content p { margin-bottom: 24px; }
.post-content h2 { font-family: var(--font-display); font-size: 32px; font-weight: 400; color: var(--warm-dark); margin: 40px 0 16px; letter-spacing: -0.3px; }
.post-content h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--warm-dark); margin: 32px 0 12px; }
.post-content a { color: var(--rose); border-bottom: 1px solid rgba(172,96,105,0.3); transition: border-color 0.2s; }
.post-content a:hover { border-color: var(--rose); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 24px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 3px solid var(--rose-pale); padding-left: 24px; margin: 32px 0; font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--rose); line-height: 1.5; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--cream-dark); }

/* ---- ARCHIVE ---- */
.archive-hero { background: var(--plum); padding: 160px 0 80px; }
.archive-hero-wave { line-height: 0; }
.archive-hero-wave svg { display: block; width: 100%; height: 60px; }
.archive-body { background: var(--cream); padding: 80px 0 120px; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }

/* ---- FOOTER ---- */
.footer { background: var(--plum); border-top: 1px solid rgba(255,255,255,0.04); padding: 80px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 60px; flex-wrap: wrap; }
.footer-logo { font-family: var(--font-display); font-size: 22px; font-weight: 400; font-style: italic; color: white; margin-bottom: 12px; }
.footer-tagline { color: rgba(255,255,255,0.4); font-size: 14px; margin-bottom: 4px; font-weight: 300; }
.footer-copy { color: rgba(255,255,255,0.2); font-size: 13px; font-weight: 300; }
.footer-links { display: flex; gap: 52px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { color: rgba(255,255,255,0.3); font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 14px; font-weight: 300; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.18); font-size: 13px; flex-wrap: wrap; gap: 8px; font-weight: 300; }

/* ---- GUEST CARD ---- */
.guest-card { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--cream-dark); }
.guest-card-label { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mauve); margin-bottom: 20px; }
.guest-card-inner { display: flex; gap: 28px; align-items: flex-start; background: white; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); border-left: 3px solid var(--mauve); }
.guest-card-photo { flex-shrink: 0; }
.guest-card-photo img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 2px solid #EDE8F5; }
.guest-card-info { flex: 1; }
.guest-card-name { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--warm-dark); margin-bottom: 6px; }
.guest-card-instagram { display: inline-block; font-size: 13px; color: var(--mauve); font-weight: 500; margin-bottom: 14px; transition: color 0.2s; }
.guest-card-instagram:hover { color: #5a4180; }
.guest-card-bio { font-size: 15px; line-height: 1.8; color: var(--gray-warm); font-weight: 300; }

/* ---- FADE IN ---- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 52px; }
  .about-visual { flex-direction: row; justify-content: center; align-items: center; gap: 40px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-actions { flex-direction: column; align-items: center; }

  /* Latest */
  .latest { padding: 60px 0 72px; }
  .latest-card { padding: 28px 24px; }
  .latest-card-meta { flex-wrap: wrap; gap: 10px; }

  /* Episodes grid */
  .episodes { padding: 72px 0 60px; }
  .episodes-grid { grid-template-columns: 1fr; }

  /* About */
  .about { padding: 72px 0 88px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-visual { flex-direction: column; gap: 32px; }
  .about-actions { justify-content: center; }
  .about-stats { gap: 32px; }

  /* Blog */
  .blog { padding: 72px 0 88px; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Single post */
  .post-hero { padding: 120px 0 60px; }
  .post-body { padding: 52px 0 88px; }
  .post-content-wrap { max-width: 100%; }
  .post-content { font-size: 16px; }

  /* Guest card */
  .guest-card-inner { flex-direction: column; gap: 20px; padding: 24px; }
  .guest-card-photo img { width: 80px; height: 80px; }

  /* Archive */
  .archive-hero { padding: 120px 0 60px; }
  .archive-body { padding: 52px 0 88px; }
  .archive-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer { padding: 60px 0 28px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 4px; }

  /* Section headers */
  .section-header { text-align: center; }
  .section-title { margin-bottom: 36px; }
}
