:root {
  --bg: #030712;
  --bg-soft: #07111f;
  --panel: rgba(8, 19, 36, 0.76);
  --panel-strong: rgba(10, 26, 48, 0.92);
  --text: #f8fbff;
  --muted: #a7bdd2;
  --blue: #00a8ff;
  --blue-2: #004dff;
  --orange: #ffb000;
  --orange-2: #ff7a00;
  --border: rgba(255,255,255,0.12);
  --shadow-blue: 0 0 40px rgba(0,168,255,0.35);
  --shadow-orange: 0 0 40px rgba(255,176,0,0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,176,0,0.18), transparent 26%),
    radial-gradient(circle at 80% 15%, rgba(0,168,255,0.18), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(0,78,255,0.2), transparent 34%),
    #030712;
}
.site-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(0,168,255,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,176,0,.15) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent);
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(3, 7, 18, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .3px; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--shadow-blue); }
.nav-links { display: flex; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--orange); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--border); color: white; border-radius: 10px; font-size: 22px; }
.section-pad { padding: 92px clamp(20px, 5vw, 72px); }
.hero { min-height: 88vh; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 84px); line-height: .96; letter-spacing: -0.06em; margin: 18px 0 24px; }
h2 { font-size: clamp(32px, 4.8vw, 58px); line-height: 1; letter-spacing: -0.05em; margin: 12px 0 18px; }
h3 { font-size: 20px; margin-bottom: 10px; }
p { color: var(--muted); line-height: 1.75; font-size: 17px; }
.hero-content > p { max-width: 680px; font-size: 20px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; border: 1px solid var(--border); }
.btn.primary { color: #07111f; background: linear-gradient(135deg, var(--orange), #ffe17a); box-shadow: var(--shadow-orange); }
.btn.secondary { color: var(--text); background: rgba(255,255,255,.06); }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.stats-grid div { padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.04); }
.stats-grid strong { display: block; font-size: 32px; color: var(--blue); }
.stats-grid span { color: var(--muted); font-size: 13px; }
.hero-card { position: relative; display: grid; place-items: center; min-height: 520px; border-radius: 36px; background: radial-gradient(circle, rgba(0,168,255,.16), rgba(255,176,0,.08), transparent 68%); overflow: hidden; }
.hero-card::before { content:''; position:absolute; width:86%; aspect-ratio:1; border-radius:50%; border: 2px solid rgba(255,176,0,.35); box-shadow: inset 0 0 50px rgba(0,168,255,.24), 0 0 50px rgba(255,176,0,.18); animation: spin 16s linear infinite; }
.hero-card img { width: min(85%, 440px); border-radius: 34px; position: relative; z-index: 2; filter: drop-shadow(0 0 38px rgba(0,168,255,.5)); }
.orb { position:absolute; width:130px; height:130px; border-radius:50%; filter: blur(22px); opacity:.7; }
.orb-blue { background: var(--blue); right: 8%; top: 12%; }
.orb-orange { background: var(--orange); left: 8%; bottom: 14%; }
@keyframes spin { to { transform: rotate(360deg); } }
.intro-strip { margin: 0 clamp(20px, 5vw, 72px); padding: 26px 30px; border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(90deg, rgba(0,168,255,.16), rgba(255,176,0,.12)); box-shadow: var(--shadow-blue); }
.intro-strip p { margin: 0; }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }
.text-card, .course-card, .resource-card, .soon-card { border: 1px solid var(--border); background: var(--panel); border-radius: 28px; backdrop-filter: blur(18px); box-shadow: 0 18px 60px rgba(0,0,0,.28); }
.text-card { padding: 34px; }
.inline-link { color: var(--orange); font-weight: 800; }
.section-heading.center { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
code { color: var(--orange); background: rgba(255,176,0,.1); padding: 2px 6px; border-radius: 8px; }
.course-card { padding: 28px; position: relative; overflow: hidden; min-height: 230px; display:block; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.course-card::after { content:''; position:absolute; inset:auto -30% -45% auto; width:210px; aspect-ratio:1; border-radius:50%; background: radial-gradient(circle, rgba(0,168,255,.22), transparent 68%); }
.course-card span { display: inline-flex; width: 48px; height: 48px; align-items:center; justify-content:center; border-radius:14px; font-weight:900; color:#06101e; background: linear-gradient(135deg, var(--blue), #9ee6ff); margin-bottom: 22px; }
.course-card.current-chapter {
  background:
    radial-gradient(circle at 20% 0%, rgba(255,122,0,.42), transparent 32%),
    radial-gradient(circle at 80% 12%, rgba(255,176,0,.34), transparent 30%),
    linear-gradient(145deg, rgba(255,176,0,.28), rgba(0,168,255,.16));
  border-color: rgba(255,176,0,.72);
  box-shadow: 0 0 38px rgba(255,122,0,.35), 0 18px 60px rgba(0,0,0,.32);
  animation: heatPulse 1.8s ease-in-out infinite alternate;
}
.course-card.current-chapter::before {
  content: '🔥 EN LLAMAS · CAPÍTULO ACTUAL';
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  color: #140900;
  background: linear-gradient(135deg, #ff7a00, #ffe17a);
  padding: 8px 10px;
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(255,122,0,.55);
}
.course-card.current-chapter span { background: linear-gradient(135deg, var(--orange), #ffe17a); }
.course-card.current-chapter h3 { color: #fff4cf; }
@keyframes heatPulse {
  from { transform: translateY(0); filter: saturate(1); }
  to { transform: translateY(-3px); filter: saturate(1.25); }
}
.route-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; }
.timeline { display: grid; gap: 18px; }
.timeline-item { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: rgba(255,255,255,.045); }
.timeline-item b { width: 54px; height: 54px; border-radius: 50%; display:grid; place-items:center; background: linear-gradient(135deg, var(--orange), var(--blue)); color:#03101d; font-size:22px; }
.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.resource-card { padding: 28px; transition: transform .25s ease, border-color .25s ease; }
.resource-card:hover, .course-card:hover, .channel-card:hover { transform: translateY(-5px); border-color: rgba(255,176,0,.5); }
.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.channel-card { padding: 30px; min-height: 180px; display:flex; flex-direction:column; justify-content:flex-end; gap: 10px; overflow:hidden; position:relative; transition: transform .25s ease, border-color .25s ease; }
.channel-card::before { content:''; position:absolute; inset: -45% -25% auto auto; width: 210px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.24), transparent 70%); }
.channel-card strong { font-size: 26px; position:relative; z-index:1; }
.channel-card span { color: var(--muted); position:relative; z-index:1; line-height:1.5; }
.channel-card.whatsapp { background: linear-gradient(145deg, rgba(37,211,102,.22), rgba(0,168,255,.10)); }
.channel-card.telegram { background: linear-gradient(145deg, rgba(0,168,255,.24), rgba(255,176,0,.08)); }
.channel-card.instagram { background: linear-gradient(145deg, rgba(255,122,0,.20), rgba(0,168,255,.12)); }
.site-link-card { max-width: 1050px; margin:auto; padding: clamp(30px, 5vw, 54px); display:flex; align-items:center; justify-content:space-between; gap: 28px; background: linear-gradient(145deg, rgba(0,168,255,.17), rgba(255,176,0,.15)); }
.site-link-card p { margin-bottom:0; }
small { color: var(--muted); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 34px clamp(20px, 5vw, 72px); border-top: 1px solid var(--border); color: var(--muted); }
.footer div { display: flex; align-items: center; gap: 14px; }
.footer img { width: 42px; height: 42px; border-radius: 12px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
@media (max-width: 980px) {
  .hero, .two-col, .route-section { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .resource-grid, .channel-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-link-card { flex-direction: column; align-items: flex-start; }
  .hero-card { min-height: 420px; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: 74px; display: none; flex-direction: column; padding: 20px; border: 1px solid var(--border); border-radius: 20px; background: rgba(3,7,18,.96); }
  .nav-links.open { display: flex; }
  .section-pad { padding: 70px 20px; }
  .catalog-grid, .resource-grid, .channel-grid, .stats-grid { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; }
  .footer { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 44px; }
}

/* Nuevas secciones: episodio actual, avance, últimos episodios, entrada guiada, impacto, libro y testimonios */
.episode-spotlight,
.progress-wrap,
.latest-card,
.start-card,
.impact-card,
.book-card,
.testimonial-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 28px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}

.episode-spotlight {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 78% 36%, rgba(255,122,0,.26), transparent 26%),
    radial-gradient(circle at 84% 62%, rgba(0,168,255,.22), transparent 30%),
    linear-gradient(145deg, rgba(7,17,31,.92), rgba(8,19,36,.68));
}
.episode-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(90deg, rgba(255,176,0,.28) 1px, transparent 1px), linear-gradient(rgba(0,168,255,.22) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 80% 50%, #000, transparent 72%);
}
.episode-copy { position: relative; z-index: 1; }
.episode-copy h3 { color: var(--orange); font-size: clamp(24px, 3vw, 36px); }
.episode-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.episode-meta span {
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 800;
}
.episode-flame {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.episode-flame span {
  font-size: clamp(110px, 16vw, 210px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.12em;
  color: #06101e;
  text-shadow: 0 0 24px rgba(255,176,0,.8), 0 0 50px rgba(0,168,255,.55);
  background: linear-gradient(135deg, #ffe17a, var(--orange) 42%, var(--blue) 72%, #9ee6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.episode-flame i {
  position: absolute;
  bottom: 50px;
  width: 130px;
  height: 180px;
  border-radius: 55% 55% 45% 45%;
  background: radial-gradient(circle at 50% 80%, #ffe17a, var(--orange) 36%, #ff3d00 58%, transparent 72%);
  filter: blur(3px);
  opacity: .65;
  transform-origin: bottom center;
  animation: flameMove 1.1s ease-in-out infinite alternate;
  z-index: -1;
}
.episode-flame i:nth-child(2) { left: 28%; transform: scale(.8) rotate(-12deg); animation-delay: .2s; }
.episode-flame i:nth-child(3) { right: 26%; transform: scale(.72) rotate(14deg); animation-delay: .4s; }
@keyframes flameMove {
  from { transform: translateY(8px) scale(.86) rotate(-4deg); opacity: .5; }
  to { transform: translateY(-14px) scale(1.06) rotate(5deg); opacity: .88; }
}

.progress-wrap { max-width: 980px; margin: auto; padding: 28px; }
.progress-bar { height: 18px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid var(--border); }
.progress-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--blue)); box-shadow: 0 0 28px rgba(255,176,0,.45); }
.progress-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.progress-stats div { padding: 20px; border-radius: 22px; background: rgba(255,255,255,.045); border: 1px solid var(--border); }
.progress-stats strong { display: block; font-size: 26px; color: var(--orange); }
.progress-stats span { color: var(--muted); font-size: 13px; }

.latest-grid,
.start-grid,
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.latest-card, .start-card, .testimonial-card { padding: 28px; transition: transform .25s ease, border-color .25s ease; }
.latest-card:hover, .start-card:hover { transform: translateY(-5px); border-color: rgba(255,176,0,.5); }
.latest-card span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  color: #07111f;
  background: linear-gradient(135deg, var(--orange), #ffe17a);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
}
.start-card strong { display: block; font-size: 24px; color: var(--orange); margin-bottom: 12px; }

.impact-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.impact-card { padding: 34px 24px; text-align: center; }
.impact-card strong { display: block; font-size: clamp(44px, 6vw, 78px); color: var(--blue); line-height: 1; }
.impact-card span { color: var(--muted); font-weight: 800; }

.book-card {
  max-width: 1100px;
  margin: auto;
  padding: clamp(30px, 5vw, 58px);
  display: grid;
  grid-template-columns: 1.1fr .55fr;
  gap: 30px;
  align-items: center;
  background: linear-gradient(145deg, rgba(255,176,0,.18), rgba(0,168,255,.15));
}
.book-cover-mini {
  min-height: 310px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle, rgba(0,168,255,.20), rgba(255,176,0,.12), rgba(3,7,18,.3));
}
.book-cover-mini img { width: min(78%, 240px); border-radius: 24px; filter: drop-shadow(0 0 28px rgba(0,168,255,.45)); }
.book-cover-mini span { position: absolute; right: 20px; top: 20px; color: #07111f; background: linear-gradient(135deg, var(--orange), #ffe17a); border-radius: 999px; padding: 8px 12px; font-weight: 900; }

.testimonial-card p { font-size: 20px; color: var(--text); }
.testimonial-card strong { color: var(--orange); }

.floating-social {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #06101e;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  box-shadow: 0 0 22px rgba(0,168,255,.38);
  border: 1px solid rgba(255,255,255,.22);
}

@media (max-width: 980px) {
  .episode-spotlight, .book-card { grid-template-columns: 1fr; }
  .latest-grid, .start-grid, .testimonial-grid, .impact-grid, .progress-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .latest-grid, .start-grid, .testimonial-grid, .impact-grid, .progress-stats { grid-template-columns: 1fr; }
  .episode-flame { min-height: 250px; }
  .floating-social { flex-direction: row; left: 18px; right: auto; }
}

.channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.channel-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 24px rgba(255, 122, 24, 0.12);
}

.channel-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.channel-card.whatsapp .channel-icon {
  color: #25D366;
}

.channel-card.telegram .channel-icon {
  color: #229ED9;
}

.channel-card.instagram .channel-icon {
  color: #E4405F;
}

.disabled-btn {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.2);
}

.floating-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  text-decoration: none;
}

.floating-social a svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.floating-social a {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
}

.floating-social a[title="WhatsApp"] {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-social a[title="Telegram"] {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
}

.floating-social a[title="YouTube"] {
  background: linear-gradient(135deg, #FF0000, #B80000);
}

.locked-card {
  opacity: 0.72;
  cursor: not-allowed;
  position: relative;
  pointer-events: none;
}

.locked-card::after {
  content: "En desarrollo";
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 122, 24, 0.22);
  border: 1px solid rgba(255, 122, 24, 0.45);
  border-radius: 999px;
  padding: 6px 10px;
}

.game-home-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 32px;
  border-radius: 24px;
  background: rgba(8, 18, 38, 0.78);
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.12);
}

.game-home-card h3 {
  margin-bottom: 12px;
}

.game-home-card p {
  max-width: 620px;
  margin: 0 auto 24px;
}

#juego-52 .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

#juego-52 .section-header p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

#juego-52 .eyebrow {
  display: inline-flex;
  justify-content: center;
}

.game-home-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 32px;
  border-radius: 24px;
  background: rgba(8, 18, 38, 0.78);
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.12);
}

.game-home-card h3 {
  margin-bottom: 12px;
}

.game-home-card p {
  max-width: 620px;
  margin: 0 auto 24px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #101827;
  border: 1px solid rgba(255, 214, 80, 0.8);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.28);
  font-weight: 800;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(245, 158, 11, 0.38);
}
.course-card.locked {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.course-card.locked::after {
    content: "🔒 Próximamente";
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}
