/* Animación de cursor personalizado + Efecto 3D flotante para imágenes + Logo (ELOHIM) */

.logo-img {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  filter: drop-shadow(0 2px 8px rgba(8, 27, 51, .35));
  transition: transform .25s ease;
}

.logo:hover .logo-img {
  transform: scale(1.04);
}

/* Pantalla de Lanzamiento / Próximamente con cuenta regresiva automática */
.elohim-launch {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: radial-gradient(circle at 20% 10%, #1E5FD4 0%, #102B54 48%, #07162E 100%);
  color: #FFFFFF;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  transition: opacity .6s ease;
}
.elohim-launch.is-out {
  opacity: 0;
  pointer-events: none;
}
.elohim-launch-card {
  position: relative;
  overflow: hidden;
  max-width: 780px;
  width: 100%;
  text-align: center;
  padding: clamp(34px, 6vw, 64px) clamp(22px, 5vw, 56px);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(29, 100, 189, .86) 0%, rgba(40, 100, 223, .88) 55%, rgba(77, 130, 255, .86) 100%);
  border: 1.5px solid rgba(190, 218, 255, .48);
  box-shadow: 0 32px 80px rgba(3, 10, 22, .62), 0 0 60px rgba(77, 130, 255, .28);
  backdrop-filter: blur(14px);
  display: grid;
  justify-items: center;
  gap: 18px;
}
.elohim-launch-card::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 195, 0, .4) 0%, transparent 70%);
  pointer-events: none;
}
.elohim-launch-logo {
  position: relative;
  z-index: 1;
  max-height: 70px;
  max-width: 240px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 6px 18px rgba(8, 27, 51, .4));
}
.elohim-launch-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(12, 34, 69, .4);
  border: 1px solid rgba(255, 216, 77, .7);
  color: #FFD84D;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.elohim-launch-card h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  line-height: 1.05;
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(8, 27, 51, .35);
}
.elohim-launch-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #EAF3FF;
}
.elohim-cd {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(68px, 118px));
  gap: clamp(10px, 2vw, 18px);
  margin-top: 8px;
}
.elohim-cd-box {
  background: rgba(12, 34, 69, .46);
  border: 1.5px solid rgba(220, 234, 255, .36);
  border-radius: 20px;
  padding: 16px 8px;
  box-shadow: 0 12px 26px rgba(8, 27, 51, .3);
}
.elohim-cd-box b {
  display: block;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  color: #FFD84D;
  font-variant-numeric: tabular-nums;
}
.elohim-cd-box span {
  display: block;
  margin-top: 6px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #DCEAFF;
}
.elohim-launch-date {
  position: relative;
  z-index: 1;
  font-size: .95rem;
  font-weight: 600;
  color: #FFD84D;
  margin-top: 4px;
}
.elohim-preview-pill {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9995;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(12, 34, 69, .92);
  color: #FFD84D;
  border: 1.5px solid #F4C300;
  font: 700 13px/1 'Figtree', system-ui, sans-serif;
  box-shadow: 0 10px 26px rgba(3, 10, 22, .45);
}
.elohim-preview-pill button {
  background: #F4C300;
  color: #0D2345;
  border: 0;
  border-radius: 999px;
  padding: 5px 11px;
  font: 700 12px/1 'Figtree', system-ui, sans-serif;
  cursor: pointer;
}
@media (max-width: 480px) {
  .elohim-cd { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
}

/* Cursor animado para dispositivos con puntero fino */
.elohim-cursor-dot,
.elohim-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  will-change: transform, width, height, opacity;
  transition: opacity .25s ease;
}

.elohim-cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #FFD84D;
  box-shadow: 0 0 12px rgba(255, 216, 77, .9), 0 0 22px rgba(64, 118, 255, .65);
  transition: opacity .25s ease, transform .12s ease, background .2s ease;
}

.elohim-cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 2px solid rgba(138, 180, 255, .85);
  background: radial-gradient(circle, rgba(64, 118, 255, .18) 0%, rgba(64, 118, 255, 0) 70%);
  box-shadow: 0 0 18px rgba(64, 118, 255, .38), inset 0 0 10px rgba(255, 255, 255, .18);
  transition: opacity .25s ease, width .22s cubic-bezier(.22, 1, .36, 1), height .22s cubic-bezier(.22, 1, .36, 1), margin .22s cubic-bezier(.22, 1, .36, 1), border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.elohim-cursor-visible .elohim-cursor-dot,
.elohim-cursor-visible .elohim-cursor-ring {
  opacity: 1;
}

.elohim-cursor-hover .elohim-cursor-ring {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-color: #FFD84D;
  background: radial-gradient(circle, rgba(244, 195, 0, .22) 0%, rgba(64, 118, 255, .08) 65%, transparent 100%);
  box-shadow: 0 0 24px rgba(244, 195, 0, .45);
}

.elohim-cursor-hover .elohim-cursor-dot {
  background: #FFFFFF;
}

.elohim-cursor-down .elohim-cursor-ring {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-color: #FFD84D;
  background: rgba(244, 195, 0, .28);
}

.elohim-cursor-pulse {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid #FFD84D;
  pointer-events: none;
  z-index: 9998;
  animation: elohimClickRipple .55s cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes elohimClickRipple {
  0% { transform: translate3d(var(--cx), var(--cy), 0) scale(.6); opacity: .9; }
  100% { transform: translate3d(var(--cx), var(--cy), 0) scale(3.4); opacity: 0; }
}

/* Efecto 3D flotante para imágenes */
.float-3d-wrap {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.img-3d,
.evimg,
.act-img,
.band-stage,
.vid .thumb {
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, filter .35s ease;
  box-shadow: 0 18px 38px rgba(4, 14, 30, .34), 0 0 0 1px rgba(255, 255, 255, .28);
  animation: elohimFloatImg 5.6s ease-in-out infinite;
}

.band-stage {
  animation: elohimFloatStage 6.2s ease-in-out infinite;
  box-shadow: 0 26px 56px rgba(6, 20, 46, .34), 0 0 0 2px rgba(255, 255, 255, .42);
}

.band-stage-alt {
  animation-delay: -2.8s;
}

.ev:nth-child(even) .evimg,
.vid:nth-child(even) .thumb {
  animation-delay: -2.4s;
}

.vid:nth-child(3n) .thumb {
  animation-delay: -4s;
}

.img-3d.is-tilting,
.evimg.is-tilting,
.act-img.is-tilting,
.band-stage.is-tilting,
.vid .thumb.is-tilting {
  animation-play-state: paused;
  transition: transform .1s ease-out, box-shadow .25s ease;
  box-shadow: 0 30px 60px rgba(4, 14, 30, .48), 0 0 28px rgba(64, 118, 255, .42), 0 0 0 2px rgba(255, 216, 77, .65);
}

@keyframes elohimFloatImg {
  0%, 100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-7px) rotateX(1.5deg) rotateY(-1.5deg); }
}

@keyframes elohimFloatStage {
  0%, 100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-10px) rotateX(1.4deg) rotateY(-1.6deg); }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .elohim-cursor-dot,
  .elohim-cursor-ring,
  .elohim-cursor-pulse {
    display: none !important;
  }
  .img-3d,
  .evimg,
  .act-img,
  .band-stage,
  .vid .thumb {
    animation: none !important;
    transform: none !important;
  }
}
