/* ============================================================
   EVA X — DISCOVER / HOME (móvil + compartido con desktop)
   Hero, franja, pills — usa var(--theme) del usuario
   ============================================================ */

/* Pills estilo moderno (línea activa) */
#s-explore .pills {
  gap: 6px;
  padding-bottom: 12px;
}

#s-explore .pill {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 8px 14px 10px;
  color: var(--tx3);
  font-weight: 600;
}

#s-explore .pill:hover {
  color: var(--tx2);
}

#s-explore .pill.on {
  background: transparent;
  color: var(--theme);
  border-bottom-color: var(--theme);
  box-shadow: none;
}

/* Bloque discover home (hero + strip + experiencias) */
.candy-home {
  display: block;
  padding: 0 18px;
  margin-bottom: 8px;
  width: 100%;
  box-sizing: border-box;
}

/* ─── Hero Showcase Dinámico Adaptativo ────────────────── */
.candy-hero-wrap {
  position: relative;
  height: 380px;
  margin: 12px 0 20px;
  border-radius: 20px;
  overflow: hidden;
  background: #0d0d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}

.candy-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.candy-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.02);
  cursor: pointer;
}

.candy-hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.candy-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1);
  transition: transform 6s ease;
}

.candy-hero-slide--side .candy-hero-img {
  object-position: 82% 12%;
}

.candy-hero-slide.active .candy-hero-img {
  transform: scale(1.04);
}

.candy-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 14, 0.94) 0%, rgba(8, 8, 14, 0.72) 42%, rgba(8, 8, 14, 0.2) 80%, rgba(8, 8, 14, 0.5) 100%),
              linear-gradient(0deg, rgba(8, 8, 14, 0.88) 0%, transparent 55%);
  transition: background 0.5s ease;
}

.candy-hero-slide.is-right .candy-hero-overlay {
  background: linear-gradient(270deg, rgba(8, 8, 14, 0.94) 0%, rgba(8, 8, 14, 0.72) 42%, rgba(8, 8, 14, 0.18) 80%, rgba(8, 8, 14, 0.5) 100%),
              linear-gradient(0deg, rgba(8, 8, 14, 0.88) 0%, transparent 55%);
}

.candy-hero-slide.is-right .candy-hero-img {
  object-position: 22% 28%;
}

.candy-hero-slide.is-right .candy-hero-top-row {
  flex-direction: row-reverse;
}

.candy-hero-top-row {
  position: absolute;
  top: 14px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.candy-hero-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  pointer-events: auto;
}

.candy-hero-badge {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.candy-hero-badge.affinity {
  background: rgba(236, 72, 153, 0.25);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.3);
}

.candy-hero-badge.hero-pulse {
  animation: heroBadgePulse 1.7s ease-in-out infinite;
  transform-origin: center;
}

@keyframes heroBadgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.28);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 22px rgba(236, 72, 153, 0.8), 0 0 36px rgba(236, 72, 153, 0.35);
  }
}

.candy-hero-badge.most-used {
  background: rgba(139, 92, 246, 0.25);
  color: #c084fc;
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.candy-hero-badge.trending {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.5);
}

.candy-hero-badge.tag {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.62rem;
}

.candy-hero-create-btn {
  pointer-events: auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(236, 72, 153, 0.8));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
}

.candy-hero-create-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

.candy-hero-content {
  position: absolute;
  left: 20px;
  right: auto;
  bottom: 28px;
  z-index: 5;
  max-width: 58%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(-32px);
}

.candy-hero-slide.is-right .candy-hero-content {
  left: auto;
  right: 20px;
  text-align: right;
  align-items: flex-end;
  transform: translateX(32px);
}

.candy-hero-slide.is-high .candy-hero-content {
  bottom: 38%;
}

.candy-hero-slide.active .candy-hero-content {
  animation: heroCopyIn 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.candy-hero-slide.is-right.active .candy-hero-content {
  animation-name: heroCopyInRight;
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateX(-32px) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroCopyInRight {
  from { opacity: 0; transform: translateX(32px) translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.candy-hero-name {
  font-family: "Playfair Display", Cinzel, Georgia, serif;
  font-size: 2.45rem;
  font-weight: 700;
  font-style: italic;
  color: #fff8fb;
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-shadow: 0 0 22px rgba(236, 72, 153, 0.45), 0 2px 14px rgba(0, 0, 0, 0.85);
}

.candy-hero-name .hn-l {
  display: inline-block;
  opacity: 0;
}

.candy-hero-slide.active .candy-hero-name .hn-l {
  animation: heroLetterIn 0.62s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 0.038s);
}

.candy-hero-slide.is-right.active .candy-hero-name .hn-l {
  animation-name: heroLetterInRight;
}

.candy-hero-name .hn-space {
  display: inline-block;
  width: 0.32em;
}

@keyframes heroLetterIn {
  from { opacity: 0; transform: translateY(16px) rotate(-8deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroLetterInRight {
  from { opacity: 0; transform: translateY(16px) rotate(8deg) translateX(10px); }
  to   { opacity: 1; transform: none; }
}

.candy-hero-sub {
  font-size: 0.98rem;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.candy-hero-wrap.hero-copy-right .candy-hero-indicators {
  right: auto;
  left: 18px;
}

.candy-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.candy-hero-cta {
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: var(--accent-grad, linear-gradient(135deg, #8b5cf6, #ec4899));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.candy-hero-cta:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.55);
}

.candy-hero-stats {
  font-size: 0.72rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.candy-hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 15, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s, border-color 0.2s, opacity 0.2s;
  opacity: 0;
}

.candy-hero-wrap:hover .candy-hero-nav-btn {
  opacity: 1;
}

.candy-hero-nav-btn:hover {
  background: rgba(236, 72, 153, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.08);
}

.candy-hero-prev {
  left: 12px;
}

.candy-hero-next {
  right: 12px;
}

.candy-hero-indicators {
  position: absolute;
  bottom: 16px;
  right: 18px;
  z-index: 15;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 10px 6px 12px;
  border-radius: 999px;
  background: rgba(8, 8, 14, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}
.candy-hero-count {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.candy-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.candy-hero-dot.active {
  width: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
}

@media (max-width: 640px) {
  .candy-hero-wrap {
    height: 300px;
    margin: 8px 12px 14px;
    border-radius: 16px;
  }
  .candy-hero-content {
    left: 14px;
    bottom: 22px;
    max-width: 72%;
  }
  .candy-hero-slide.is-right .candy-hero-content {
    left: auto;
    right: 14px;
    max-width: 72%;
  }
  .candy-hero-slide.is-high .candy-hero-content {
    bottom: 22px;
  }
  .candy-hero-name {
    font-size: 1.9rem;
  }
  .candy-hero-sub {
    font-size: 0.88rem;
    -webkit-line-clamp: 2;
  }
  .candy-hero-slide--side .candy-hero-img {
    object-position: 88% 10%;
  }
  .candy-hero-wrap.hero-copy-right .candy-hero-indicators {
    left: 14px;
    right: auto;
  }
  .candy-hero-nav-btn {
    display: none; /* Swipe on mobile */
  }
  .candy-hero-indicators {
    bottom: 10px;
    right: 14px;
  }
}

.candy-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  margin-bottom: 4px;
  scrollbar-width: none;
  width: 100%;
  box-sizing: border-box;
}

.candy-strip::-webkit-scrollbar {
  display: none;
}

.candy-ava-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.candy-ava-ring {
  display: block;
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  padding: 2px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  transition: all 0.3s ease;
}

.candy-ava-ring.active {
  background: linear-gradient(135deg, var(--theme), var(--theme-pk, var(--pk)));
  box-shadow: 0 0 12px var(--theme-glow, rgba(124, 58, 237, 0.25));
}

.candy-ava-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-primary, #050505);
}

.mystery-blur img {
  filter: blur(4px) brightness(0.8);
  transform: scale(1.1);
}

.candy-ava-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 13px;
  height: 13px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid #050505;
  z-index: 2;
  animation: pulseGlow 1.6s infinite ease-in-out;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.candy-ava-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--tx2);
  max-width: 96px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Promo Resurrection Banner (compact overlay) ────────── */
#promo-resurrection {
  width: 100%;
  max-width: var(--content-max, 1200px);
  margin: 8px auto 20px;
  padding: 0 18px;
  box-sizing: border-box;
}
.promo-resurrection-banner {
  position: relative;
  display: block;
  width: 100%;
  height: 214px;
  border-radius: 16px;
  overflow: hidden;
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.promo-resurrection-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 22%;
  display: block;
}
.promo-resurrection-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(8,8,12,.94) 0%,
    rgba(8,8,12,.78) 36%,
    rgba(8,8,12,.28) 62%,
    rgba(8,8,12,.06) 100%);
}
.promo-resurrection-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  max-width: min(560px, 62%);
  min-width: 0;
  background: none;
}
.promo-kicker{
  display:inline-flex;align-items:center;gap:6px;
  padding:2px 8px;margin-bottom:6px;width:fit-content;
  background:rgba(168,85,247,0.22);border:1px solid rgba(168,85,247,0.38);
  border-radius:99px;color:#d8b4fe;font-size:0.65rem;font-weight:700;
}
.promo-resurrection-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.promo-resurrection-desc {
  font-size: 0.78rem;
  color: #c4c4d6;
  margin: 0 0 10px;
  line-height: 1.35;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.promo-resurrection-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.promo-resurrection-primary {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border: none;
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.promo-resurrection-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.5);
}
.promo-resurrection-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.promo-resurrection-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
@media (max-width: 720px) {
  .promo-resurrection-banner { height: 196px; }
  .promo-resurrection-content { max-width: 90%; padding: 16px 16px; }
  .promo-resurrection-bg { object-position: 64% 18%; }
  .promo-resurrection-title { font-size: 0.98rem; }
}
.eva-seo-foot{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.promo-edit-preview{
  width:100%;height:88px;object-fit:cover;object-position:70% 18%;
  border-radius:12px;border:1px solid var(--border);margin-bottom:10px;background:#0c0c0e;
}

.candy-exp-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
  z-index: 0;
}
.candy-exp-photo.pose-mid { object-position: center 48%; }
.candy-exp-photo.pose-body { object-position: center 58%; }
.candy-exp-photo.pose-scene { object-position: center 42%; }
.candy-exp-photo.pose-wide { object-position: 60% 40%; }
.candy-exp-label, .candy-exp-badge { z-index: 2; }
.candy-exp-card .candy-exp-bg {
  z-index: 1;
  background: linear-gradient(to top, rgba(5,5,8,.94) 0%, rgba(5,5,8,.55) 42%, rgba(5,5,8,.12) 100%);
}
.candy-exp-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.82;
  margin-top: 3px;
}
.candy-experiences {
  display: block;
  margin: 0 12px 18px;
}
.candy-section-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px;
}
.candy-exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.candy-exp-card {
  position: relative;
  height: 176px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 0;
  background: #111;
}
.candy-exp-bg {
  position: absolute;
  inset: 0;
}
.candy-exp-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  text-align: left;
}
.candy-exp-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
}

.candy-cats {
  display: flex;
}

/* Seguir — acento tema */
.xfollow {
  border-color: color-mix(in srgb, var(--theme) 50%, transparent);
}

.xfollow.ing {
  background: color-mix(in srgb, var(--theme) 18%, transparent);
  border-color: var(--theme);
  color: var(--theme);
}

@media (min-width: 1024px) {
  .candy-home {
    padding: 0;
  }

  .candy-experiences {
    display: block;
  }
}