
:root{
  --bg:#0b0d10;
  --bg2:#0f1217;
  --card:#121722;
  --card2:#0e141f;
  --text:#f2f4f7;
  --muted:#a7b0be;
  --muted2:#7e8898;
  --line:rgba(255,255,255,.08);
  --accent:#43f7c7;     /* energía Neokybasu */
  --accent2:#6c5ce7;    /* opcional violeta */
  --shadow: 0 12px 40px rgba(0,0,0,.55);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1100px 700px at 15% -10%, rgba(67,247,199,.10), transparent 60%),
			  radial-gradient(900px 600px at 90% 0%, rgba(108,92,231,.10), transparent 60%),
			  linear-gradient(180deg, var(--bg), var(--bg2) 60%, var(--bg));
  color:var(--text);
  line-height:1.45;
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 22px}
.section{padding:74px 0}
.section.tight{padding:54px 0}
.sectionHeader{
  display:flex; gap:18px; align-items:flex-end; justify-content:space-between;
  margin-bottom:20px;
}
.kicker{
  color:var(--muted2);
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:12px;
}
h1,h2,h3{margin:0}
h1{
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing:.02em;
  line-height:1.02;
}
h2{
  font-size: clamp(22px, 2.3vw, 34px);
  letter-spacing:.01em;
  line-height:1.15;
}
p{margin:12px 0; color:var(--muted)}
.lead{font-size:18px; color:var(--text); opacity:.92; max-width:72ch}
.muted{color:var(--muted)}
.hr{height:1px; background:var(--line); margin:22px 0}

/* NAV */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,13,16,.65);
  border-bottom:1px solid var(--line);
}
.navInner{
  height:64px; display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.14em;
}
.brandDot{
  width:10px; height:10px; border-radius:99px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 18px rgba(67,247,199,.35);
}
.navLinks{
  display:flex; align-items:center; gap:18px;
  color:var(--muted);
  font-size:14px;
}
.navLinks a{padding:8px 10px; border-radius:12px}
.navLinks a:hover{background:rgba(255,255,255,.06); color:var(--text)}
.navCTA{display:flex; gap:10px; align-items:center}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 14px; border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-weight:650;
  font-size:14px;
  cursor:pointer;
  transition:.18s transform ease, .18s background ease, .18s border-color ease;
  user-select:none;
}
.btn:hover{transform:translateY(-1px); background:rgba(255,255,255,.07)}
.btn.primary{
  border-color: rgba(67,247,199,.35);
  background: linear-gradient(135deg, rgba(67,247,199,.14), rgba(108,92,231,.10));
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.btn.primary:hover{border-color: rgba(67,247,199,.55)}
.btn.ghost{background:transparent}
.btn.small{padding:9px 12px; border-radius:13px; font-size:13px}

/* HERO */
.hero{
  padding:26px 0 0;
}

.heroGrid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 980px){
  .heroGrid{ grid-template-columns: 1fr; }
}

.poster{
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 40px rgba(0,0,0,.55);

  background: url("../img/hero-0.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.poster::after{ content:none; }



.heroCard{
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  padding: 26px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.heroActions{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}

@media (max-width: 640px){
  .poster{ min-height: 420px; background-position:center; }
  .heroActions{ flex-direction: column; align-items: stretch; }
  .heroActions .btn{ width:100%; }
}


/* CARDS / RAILS */
.railHeader{
  display:flex; align-items:end; justify-content:space-between; gap:12px;
  margin: 18px 0 12px;
}
.railHeader h3{font-size:18px}
.railHeader .note{color:var(--muted2); font-size:13px}
.rail{
  display:flex; gap:14px;
  overflow:auto;
  padding-bottom:10px;
  scroll-snap-type: x mandatory;
}
.rail::-webkit-scrollbar{height:10px}
.rail::-webkit-scrollbar-thumb{background:rgba(255,255,255,.10); border-radius:999px}
.card{
  min-width: 180px;
  scroll-snap-align:start;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  position:relative;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}
.cardPoster{
  height: 220px;
  background:#fff; /* placeholder blanco */
  border-bottom:1px solid rgba(0,0,0,.08);
  position:relative;
}
.cardPoster::after{
  content:none;
}
.cardBody{padding:12px 12px 13px}
.cardTitle{font-weight:750; color:var(--text)}
.cardMeta{font-size:12px; color:var(--muted2); margin-top:4px}

/* GRID */
.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:16px}
@media (max-width: 860px){ .grid2{grid-template-columns:1fr} }
.panel{
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}
.panel h3{font-size:18px; margin-bottom:6px}
.list{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.list li{margin:6px 0}

/* FEATURE STRIP */
.strip{
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: linear-gradient(135deg, rgba(67,247,199,.08), rgba(108,92,231,.06));
  padding:18px;
  display:flex; gap:14px; flex-wrap:wrap;
  align-items:center; justify-content:space-between;
  box-shadow: var(--shadow);
}
.strip strong{color:var(--text)}
.strip .right{display:flex; gap:10px; flex-wrap:wrap}

/* PROGRESS */
.progressWrap{margin-top:10px}
.progressTop{display:flex; align-items:center; justify-content:space-between; gap:12px}
.progressTop .goal{color:var(--text); font-weight:750}
.progressTop .value{color:var(--muted2); font-size:13px}
.bar{
  height: 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  overflow:hidden;
  margin-top:10px;
}
.bar > div{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, rgba(67,247,199,.95), rgba(108,92,231,.85));
  box-shadow:0 0 18px rgba(67,247,199,.28);
  border-radius:999px;
  transition: width .35s ease;
}

/* WEBTOON SERIES PAGE BLOCK */
.seriesHero{
  border-radius: var(--radius2);
  border:1px solid var(--line);
  overflow:hidden;
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.seriesTop{
  display:grid; grid-template-columns: 1.2fr .8fr; gap:0;
}
@media (max-width: 980px){ .seriesTop{grid-template-columns: 1fr;} }
.seriesPoster{
  min-height: 560px;              /* más alto para portada vertical */
  background-color: #0b0d10;
  background-size: cover;          /* llena el área bonito */
  background-position: center;
  background-repeat: no-repeat;
  position:relative;
}
.seriesPoster{ background-size: contain; }
.seriesPoster::after{ content:none; }
.seriesInfo{padding:18px}
.seriesInfo h2{margin-bottom:8px}
.lock{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  border:1px solid var(--line); background:rgba(255,255,255,.03);
  color:var(--muted);
  font-size:12px;
  margin:10px 0 6px;
}
.episodes{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
@media (max-width: 720px){ .episodes{grid-template-columns:1fr;} }
.ep{
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:10px 12px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  color:var(--muted);
  font-size:13px;
}
.ep strong{color:var(--text); font-weight:750}
.ep .status{color:var(--muted2)}
.ep.locked{opacity:.9}
.ep.locked .status::before{content:"🔒 ";}

/* FAQ */
details{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius:16px;
  padding:12px 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
details summary{
  cursor:pointer;
  font-weight:750;
  color:var(--text);
  list-style:none;
}
details summary::-webkit-details-marker{display:none}
details p{margin:10px 0 0}

/* FOOTER */
footer{
  padding:34px 0 44px;
  border-top:1px solid var(--line);
  color:var(--muted2);
}
.footerGrid{
  display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between;
}
.footerLinks{display:flex; gap:14px; flex-wrap:wrap}
.footerLinks a:hover{color:var(--text)}

/* SMALL HELPERS */
.pillRow{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.pillSmall{
  padding:6px 9px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--muted2);
  font-size:12px;
}
.twoCol{
  display:grid; grid-template-columns: 1fr 1fr; gap:16px;
}
@media (max-width: 860px){ .twoCol{grid-template-columns:1fr;} }
.callout{
  border-radius: var(--radius2);
  border:1px solid rgba(67,247,199,.25);
  background: linear-gradient(135deg, rgba(67,247,199,.10), rgba(255,255,255,.03));
  padding:16px;
  color:var(--text);
  box-shadow: var(--shadow);
}
.callout p{color:rgba(242,244,247,.86)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;}


@media (max-width: 640px){
  .poster{ min-height: 420px; }
  .heroGrid{ grid-template-columns: 1fr; }
}

.heroCard{
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  padding: 26px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  min-height: 520px; /* igual que el poster */
}

.heroCard h1{
  margin: 8px 0 6px;
}

.heroActions{
  margin-top: 16px;
}


@media (max-width: 980px){
  .heroGrid{
    grid-template-columns: 1fr;
  }
  .poster{
    min-height: 360px;
    background-position: center;
  }
  .heroCard{
    min-height: auto;
  }
}
/* --- HERO SLIDER (mínimo, sin capas) --- */
.heroSlider{
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 520px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
}

.heroImg{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity .28s ease;
}

.heroImg.is-fading{
  opacity: 0;
}


/* --- ROADMAP --- */
.roadmapWrap{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}
.roadmapSlider{
  position: relative;
  border-radius: 18px;
  overflow:hidden;
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.10);
}
.roadmapSlides{ position: relative; width:100%; height:100%; }
.roadmapSlide{
  position:absolute; inset:0;
  background-size: cover;
  background-position:center;
  opacity:0;
  transform: scale(1.02);
  transition: opacity .35s ease, transform .35s ease;
}
.roadmapSlide.is-active{ opacity:1; transform: scale(1); }
.roadmapDots{
  position:absolute;
  left:0; right:0; bottom: 12px;
  display:flex; justify-content:center; gap:10px;
}
.roadActions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }

@media (max-width: 980px){
  .heroSlider{ min-height: 360px; }
  .roadmapWrap{ grid-template-columns: 1fr; }
  .roadmapSlider{ min-height: 280px; }
}


/* --- SLIDER ARROWS (hero + roadmap) --- */
.sliderArrow{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.85);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index: 5;
  backdrop-filter: blur(10px);
}
.sliderArrow:hover{
  background: rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.35);
}
.sliderArrow.prev{ left: 12px; }
.sliderArrow.next{ right: 12px; }

@media (max-width: 520px){
  .sliderArrow{ width: 36px; height: 36px; }
  .sliderArrow.prev{ left: 8px; }
  .sliderArrow.next{ right: 8px; }
}

/* =====================================================
   02 — SINOPSIS (imágenes 9:16 derecha)
===================================================== */

.sinopsisWrap{
  display:grid;
  grid-template-columns: 1fr .85fr;
  gap:18px;
  align-items:center;
}

.sinopsisImages{
  position:relative;
  aspect-ratio: 9 / 16;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:#000;
  box-shadow: var(--shadow);
}

.sinopsisImg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition: opacity .6s ease;
}

.sinopsisImg.is-active{
  opacity:1;
}

/* Responsive */
@media (max-width: 860px){
  .sinopsisWrap{
    grid-template-columns:1fr;
  }
  .sinopsisImages{
    max-width:280px;
    margin:14px auto 0;
  }
}


/* --- FIX 02 SINOPSIS: imagen 9:16 a tamaño editorial --- */

.sinopsisWrap{
  grid-template-columns: 1fr minmax(240px, 360px);
  align-items:start;
}

.sinopsisImages{
  width:100%;
  max-width: 360px;      /* ← CLAVE */
  aspect-ratio: 9 / 16;
  margin-left:auto;     /* la empuja a la derecha */
}
/* =====================================================
   02 — SINOPSIS · GRID 4 COLUMNAS
===================================================== */

.sinopsisGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
  margin-top:16px;
}

.sinopsisCol{
  border:1px solid var(--line);
  border-radius:18px;
  background: rgba(255,255,255,.03);
  padding:14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
  display:flex;
  flex-direction:column;
}

.sinopsisThumb{
  aspect-ratio: 9 / 16;
  border-radius:14px;
  background-size:cover;
  background-position:center;
  margin-bottom:10px;
  border:1px solid rgba(255,255,255,.10);
}

.sinopsisCol h4{
  margin:4px 0 6px;
  font-size:15px;
  color:var(--text);
}

.sinopsisCol p{
  font-size:14px;
  line-height:1.45;
  color:var(--muted);
}

/* Responsive */
@media (max-width: 980px){
  .sinopsisGrid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px){
  .sinopsisGrid{
    grid-template-columns: 1fr;
  }
}

/* Placeholder "EVOLVING" sobre posters vacíos */
.cardPoster.is-evolving{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cardPoster.is-evolving::after{
  content:"EVOLVING";
  position:absolute;
  left:12px;
  bottom:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: rgba(242,244,247,.9);
  font-weight:800;
  letter-spacing:.12em;
  font-size:11px;
  text-transform:uppercase;
  backdrop-filter: blur(8px);
}


.btn:disabled{
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}