/* Sección "Explora": planeta giratorio (mismo lenguaje que el planeta del hero) + riel de
   categorías que se desplaza horizontal al hacer scroll vertical. Color cian para diferenciarlo. */
.ws-planet-section {
  position: relative;
  padding: 56px 0 36px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #0c1a33 0%, #05070f 60%, #020309 100%);
}
.ws-planet-section > .wrap { position: relative; text-align: center; }
.ws-planet-sub { color: #94a3b8; font-size: 14px; margin: 6px auto 0; max-width: 520px; }

.ws-planet-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(250px, 32vw, 340px);
  max-width: 1100px;
  margin: 8px auto 0;
}
.ws-planet-body {
  position: relative;
  width: clamp(190px, 24vw, 260px);
  aspect-ratio: 1;
}
.ws-planet-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.2), transparent 9%),
    radial-gradient(circle at 68% 64%, rgba(34,211,238,.42), transparent 26%),
    radial-gradient(circle at 38% 46%, rgba(14,165,233,.25), transparent 30%),
    radial-gradient(circle at 50% 50%, #0b2a3d 0%, #061a26 58%, #020a10 100%);
  border: 1px solid rgba(34,211,238,.6);
  box-shadow:
    inset -28px -18px 70px rgba(0,0,0,.8),
    inset 12px 5px 34px rgba(34,211,238,.14),
    0 0 12px rgba(34,211,238,.55),
    0 0 50px rgba(34,211,238,.28),
    0 0 110px rgba(14,165,233,.16);
  animation: ws-planet-bob 8.5s ease-in-out infinite alternate;
  will-change: transform;
}
.ws-planet-grid {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(34,211,238,.16) 16px 17px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(125,211,252,.13) 23px 24px);
  mask-image: radial-gradient(circle, #000 0 66%, transparent 72%);
  transform: rotate(-14deg);
  animation: ws-planet-spin 14s linear infinite;
  will-change: transform;
}
.ws-planet-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 65% 24%, transparent 0 40%, rgba(125,211,252,.16) 42%, transparent 48%),
    radial-gradient(ellipse at 32% 72%, transparent 0 45%, rgba(56,189,248,.12) 47%, transparent 52%);
}
.ws-planet-ringline {
  position: absolute;
  left: -14%;
  top: 40%;
  width: 128%;
  height: 26%;
  border: 2px solid rgba(34,211,238,.55);
  border-radius: 50%;
  pointer-events: none;
  animation: ws-planet-ring 24s linear infinite;
  will-change: transform;
}

.ws-planet-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 16px 10px;
  margin: 0 auto;
  max-width: 1100px;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ws-planet-rail::-webkit-scrollbar { display: none; }
.ws-planet-tile {
  flex: 0 0 auto;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: #e0f2fe;
  cursor: pointer;
  font: inherit;
}
.ws-planet-ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  padding: 3px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #67e8f9, #0ea5e9 45%, #1e3a8a);
  box-shadow: 0 0 22px rgba(34,211,238,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ws-planet-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0b1220;
}
.ws-planet-initial {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b1220;
  color: #a5f3fc;
  font-weight: 800;
  font-size: 24px;
}
.ws-planet-tile:hover .ws-planet-ring,
.ws-planet-tile:focus-visible .ws-planet-ring {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 0 30px rgba(34,211,238,.6);
}
.ws-planet-tile:focus-visible { outline: 2px solid #22d3ee; outline-offset: 4px; border-radius: 12px; }
.ws-planet-name {
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes ws-planet-spin { from { transform: rotate(-14deg); } to { transform: rotate(346deg); } }
@keyframes ws-planet-bob { from { transform: translate3d(0,-7px,0); } to { transform: translate3d(0,7px,0); } }
@keyframes ws-planet-ring { from { transform: rotate(-12deg); } to { transform: rotate(348deg); } }

@media (min-width: 900px) {
  .ws-planet-tile { width: 112px; }
  .ws-planet-ring { width: 90px; height: 90px; }
  .ws-planet-name { font-size: 13px; }
}
@media (max-width: 520px) {
  .ws-planet-section { padding: 40px 0 26px; }
  .ws-planet-stage { height: 230px; }
  .ws-planet-tile { width: 80px; }
  .ws-planet-ring { width: 66px; height: 66px; }
  .ws-planet-name { font-size: 11px; }
  .ws-planet-rail { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-planet-orb, .ws-planet-grid, .ws-planet-ringline { animation: none; }
  .ws-planet-ring { transition: none; }
}
