/* ============ EL UNIVERSO DE ROKE — BLACKOUT ============ */
.universe {
  background: #000;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 96px 0 100px;
  position: relative;
  overflow: hidden;
}
.universe::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(217,164,65,.09), transparent 70%);
}
.uni-inner { position: relative; z-index: 1; }

/* Sello de exclusividad */
.uni-seal { text-align: center; margin-bottom: 22px; }
.uni-seal span {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .3em; text-transform: uppercase; color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  padding: 10px 26px; border-radius: 30px;
  box-shadow: 0 0 34px rgba(217,164,65,.55);
}
.universe .kicker { text-align: center; }
.universe h2 { text-align: center; font-size: clamp(2.1rem, 7vw, 3.6rem); }
.uni-lede {
  text-align: center; color: #d8d2c4; font-size: clamp(1.02rem, 2.8vw, 1.25rem);
  max-width: 760px; margin: 18px auto 0; line-height: 1.7;
}
.uni-lede strong { color: var(--gold-soft); font-weight: 600; }

/* ---------- Red de departamentos ---------- */
.uni-net { margin: 64px auto 0; max-width: 640px; text-align: center; }
.uni-net svg { width: 100%; height: auto; display: block; }
.uni-net .net-node { fill: #0d0d0c; stroke: var(--gold); stroke-width: 1.5; }
.uni-net .net-link { stroke: rgba(217,164,65,.35); stroke-width: 1; }
.uni-net .net-core { fill: #141005; stroke: var(--gold-soft); stroke-width: 2; }
.uni-net text { font-family: var(--font-body); fill: var(--muted); }
.uni-net .net-core-label { font-family: var(--font-display); fill: var(--gold-soft); letter-spacing: .08em; }
.uni-net .pulse {
  fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: netpulse 3.2s ease-out infinite;
}
@keyframes netpulse {
  0% { transform: scale(.55); opacity: .9; }
  100% { transform: scale(1.9); opacity: 0; }
}
.uni-net-cap { color: var(--muted); font-size: .95rem; margin-top: 18px; }
.uni-net-cap strong { color: var(--gold-soft); }

/* ---------- Mientras tú duermes ---------- */
.uni-sleep { margin: 72px auto 0; max-width: 760px; text-align: center; }
.uni-sleep h3, .uni-breathe h3, .uni-caps-title {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(1.3rem, 4vw, 1.8rem); margin-bottom: 14px; color: var(--text);
}
.uni-sleep h3 .gold, .uni-breathe h3 .gold { color: var(--gold-soft); }
.sleep-track {
  position: relative; height: 64px; margin: 26px 0 10px;
  background: #0a0a09; border: 1px solid rgba(217,164,65,.25); border-radius: 34px;
  overflow: hidden;
}
.sleep-ticks { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-around; padding: 0 18px; }
.sleep-ticks i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 10px rgba(217,164,65,.9);
  animation: tick 2.4s ease-in-out infinite;
}
@keyframes tick { 0%,100% { opacity: .45; transform: scale(.8);} 50% { opacity: 1; transform: scale(1.25);} }
.sleep-sweep {
  position: absolute; top: 0; bottom: 0; width: 34%;
  background: linear-gradient(90deg, transparent, rgba(217,164,65,.28), transparent);
  animation: sweep 7s linear infinite;
}
@keyframes sweep { 0% { left: -34%; } 100% { left: 100%; } }
.sleep-orb {
  position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff8e6, var(--gold) 60%, #7a5416);
  box-shadow: 0 0 22px rgba(217,164,65,.9);
  animation: orb 14s linear infinite;
}
@keyframes orb { 0% { left: 2%; } 50% { left: calc(98% - 26px); } 100% { left: 2%; } }
.sleep-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; letter-spacing: .1em; padding: 0 6px; }
.uni-sleep p { color: #cfc8b8; margin-top: 16px; font-size: 1.02rem; }
.uni-sleep p strong { color: var(--gold-soft); }

/* ---------- Respira y evoluciona ---------- */
.uni-breathe { margin: 76px auto 0; max-width: 640px; text-align: center; }
.breathe-core {
  width: 148px; height: 148px; margin: 0 auto 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 35%, #241a08, #0a0803 70%);
  border: 2px solid var(--gold);
  font-family: var(--font-display); letter-spacing: .18em; font-size: .95rem; color: var(--gold-soft);
  animation: breathe 4.5s ease-in-out infinite;
}
@keyframes breathe {
  0%,100% { transform: scale(1); box-shadow: 0 0 24px rgba(217,164,65,.25); }
  50% { transform: scale(1.08); box-shadow: 0 0 70px rgba(217,164,65,.6); }
}
.uni-breathe p { color: #cfc8b8; font-size: 1.02rem; max-width: 560px; margin: 0 auto; }
.uni-breathe p strong { color: var(--gold-soft); }

/* ---------- Tarjetas de capacidades ---------- */
.uni-caps { margin: 76px auto 0; max-width: 980px; }
.uni-caps-title { text-align: center; margin-bottom: 30px; }
.uni-caps-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.uni-cap {
  background: #0b0b0a; border: 1px solid rgba(217,164,65,.3); border-radius: 8px;
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.uni-cap::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.uni-cap:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(217,164,65,.16); }
.uni-cap .cap-icon { display: block; margin-bottom: 14px; line-height: 0; }
.uni-cap h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; margin-bottom: 10px; color: var(--gold-soft); }
.uni-cap p { color: #cfc8b8; font-size: .95rem; }

/* ---------- Teléfono ---------- */
.uni-phone {
  margin: 80px auto 0; max-width: 900px;
  display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center;
}
.phone {
  width: 250px; border-radius: 38px; padding: 12px;
  background: #050505; border: 1px solid rgba(217,164,65,.45);
  box-shadow: 0 0 60px rgba(217,164,65,.18), 0 30px 60px rgba(0,0,0,.7);
  animation: floaty 5s ease-in-out infinite; flex-shrink: 0;
}
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
.phone-screen {
  background: #0b0b0a; border-radius: 28px; overflow: hidden; padding: 18px 14px 20px;
  border: 1px solid rgba(255,255,255,.06); min-height: 380px; text-align: left;
}
.phone-notch { width: 96px; height: 22px; background: #050505; border-radius: 12px; margin: 2px auto 14px; border: 1px solid rgba(255,255,255,.08); }
.app-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); letter-spacing: .2em; font-size: .85rem; color: var(--gold-soft); margin-bottom: 16px; }
.app-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: tick 2s infinite; }
.app-card {
  background: #141311; border: 1px solid rgba(217,164,65,.22); border-radius: 10px;
  padding: 12px; margin-bottom: 10px;
}
.app-card strong { display: block; font-size: .82rem; color: var(--text); font-weight: 600; }
.app-card small { color: var(--muted); font-size: .72rem; }
.app-card .ok { color: #4ade80; }
.app-cta {
  margin-top: 14px; text-align: center; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .12em; font-size: .8rem; color: #0a0a0a; font-weight: 700;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold)); border-radius: 8px; padding: 12px;
}
.uni-phone-txt h3 {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(1.5rem, 5vw, 2.2rem); margin-bottom: 14px;
}
.uni-phone-txt h3 .gold { color: var(--gold-soft); }
.uni-phone-txt p { color: #cfc8b8; font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* ---------- CTA final ---------- */
.uni-cta { text-align: center; margin-top: 72px; }
.uni-cta p { color: var(--muted); margin-bottom: 22px; font-size: 1rem; }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 640px) {
  .uni-caps-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .uni-caps-grid { grid-template-columns: repeat(3, 1fr); }
  .uni-phone { flex-direction: row; text-align: left; justify-content: center; gap: 64px; }
  .uni-phone-txt p { margin: 0; }
  .universe { padding: 120px 0; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .uni-net .pulse, .sleep-ticks i, .sleep-sweep, .sleep-orb,
  .breathe-core, .phone, .app-dot { animation: none; }
}

/* ---------- Sello en móvil angosto ---------- */
@media (max-width: 480px) {
  .uni-seal span { font-size: .68rem; letter-spacing: .18em; padding: 10px 18px; }
}
