/* =========================================================
   NAVIGATION HINT — PURE ANIMATED ICON
   ---------------------------------------------------------
   Icône seule, sans texte.
   Indique visuellement qu'il faut drag pour explorer.
========================================================= */

.drag-universe-hint{
  position:fixed;
  left:50%;
  bottom:38px;
  z-index:9999;

  width:92px;
  height:92px;

  transform:translateX(-50%);

  display:flex;
  align-items:center;
  justify-content:center;

  pointer-events:none;

  opacity:.92;

  transition:
    opacity 1.1s cubic-bezier(.16,1,.3,1),
    transform 1.1s cubic-bezier(.16,1,.3,1),
    filter 1.1s cubic-bezier(.16,1,.3,1);
}

.drag-icon{
  position:relative;
  width:78px;
  height:78px;

  border-radius:50%;

  background:
    radial-gradient(circle at 50% 50%, rgba(255,240,225,.08), transparent 44%);

  filter:drop-shadow(0 0 28px rgba(255,210,190,.18));

  animation:dragIconBreath 3.6s ease-in-out infinite alternate;
}

.drag-icon-orbit{
  position:absolute;
  inset:10px;

  border:1px solid rgba(255,235,220,.30);
  border-radius:50%;

  transform:rotateX(64deg) rotateZ(-18deg);

  box-shadow:
    0 0 20px rgba(255,210,190,.10),
    inset 0 0 18px rgba(255,235,220,.05);
}

.drag-icon-orbit-a{
  animation:dragOrbitA 3.2s cubic-bezier(.16,1,.3,1) infinite;
}

.drag-icon-orbit-b{
  inset:18px;
  opacity:.45;
  transform:rotateX(66deg) rotateZ(18deg);
  animation:dragOrbitB 4.4s cubic-bezier(.16,1,.3,1) infinite reverse;
}

.drag-icon-core{
  position:absolute;
  left:50%;
  top:50%;

  width:8px;
  height:8px;

  border-radius:50%;

  background:#fff4ea;

  box-shadow:
    0 0 16px rgba(255,230,210,.8),
    0 0 42px rgba(211,135,116,.35);

  transform:translate(-50%,-50%);

  animation:dragCore 2.4s ease-in-out infinite;
}

.drag-icon-comet{
  position:absolute;
  left:50%;
  top:50%;

  width:10px;
  height:10px;

  border-radius:50%;

  background:#fff6ee;

  box-shadow:
    0 0 18px rgba(255,230,210,.9),
    0 0 52px rgba(211,135,116,.55);

  transform:
    translate(-50%,-50%)
    translateX(-26px);

  animation:dragComet 2.6s cubic-bezier(.16,1,.3,1) infinite;
}

.drag-icon-comet::after{
  content:'';
  position:absolute;
  right:8px;
  top:50%;

  width:38px;
  height:1px;

  transform:translateY(-50%);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,220,200,.55)
    );

  filter:blur(.5px);
}

@keyframes dragIconBreath{
  0%{
    transform:scale(.96);
    opacity:.72;
  }

  100%{
    transform:scale(1.04);
    opacity:1;
  }
}

@keyframes dragOrbitA{
  0%{
    transform:rotateX(64deg) rotateZ(-24deg) scale(.95);
    opacity:.28;
  }

  50%{
    transform:rotateX(64deg) rotateZ(18deg) scale(1.04);
    opacity:.78;
  }

  100%{
    transform:rotateX(64deg) rotateZ(-24deg) scale(.95);
    opacity:.28;
  }
}

@keyframes dragOrbitB{
  0%{
    transform:rotateX(66deg) rotateZ(24deg) scale(.92);
    opacity:.16;
  }

  50%{
    transform:rotateX(66deg) rotateZ(-18deg) scale(1.08);
    opacity:.48;
  }

  100%{
    transform:rotateX(66deg) rotateZ(24deg) scale(.92);
    opacity:.16;
  }
}

@keyframes dragCore{
  0%,100%{
    transform:translate(-50%,-50%) scale(.85);
    opacity:.62;
  }

  50%{
    transform:translate(-50%,-50%) scale(1.35);
    opacity:1;
  }
}

@keyframes dragComet{
  0%{
    transform:
      translate(-50%,-50%)
      translateX(-28px)
      scale(.82);
    opacity:.28;
  }

  42%{
    transform:
      translate(-50%,-50%)
      translateX(28px)
      scale(1.12);
    opacity:1;
  }

  100%{
    transform:
      translate(-50%,-50%)
      translateX(-28px)
      scale(.82);
    opacity:.28;
  }
}

/* Hide only after real user exploration */

body.is-travelling .drag-universe-hint,
body.is-portal-open .drag-universe-hint,
body.is-book-page .drag-universe-hint,
body.is-page-transition .drag-universe-hint,
body.has-dragged-universe .drag-universe-hint{
  opacity:0;
  transform:translateX(-50%) translateY(18px) scale(.92);
  filter:blur(10px);
}

@media(max-width:760px){
  .drag-universe-hint{
    bottom:26px;
    width:74px;
    height:74px;
  }

  .drag-icon{
    width:62px;
    height:62px;
  }
}


/* V5.18 — smoother reappearance */

.drag-universe-hint{
  transition:
    opacity 1.8s cubic-bezier(.16,1,.3,1),
    transform 1.8s cubic-bezier(.16,1,.3,1),
    filter 1.8s cubic-bezier(.16,1,.3,1) !important;
}


/* =========================================================
   v9.24 — aucun indicateur de drag hors de l'univers principal
========================================================= */
html body.is-book-page .drag-universe-hint,
html body.is-page-transition .drag-universe-hint,
html body.is-portal-open .drag-universe-hint{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  animation:none !important;
  transform:none !important;
  filter:none !important;
}

/* V15.67 : disparition immédiate, retour doux après 1 seconde sans mouvement. */
.drag-universe-hint{transition:opacity .22s ease,transform .22s ease,filter .22s ease !important;}
body.has-dragged-universe .drag-universe-hint{opacity:0 !important;transform:translateX(-50%) translateY(12px) scale(.94) !important;filter:blur(3px) !important;pointer-events:none !important;}

/* V15.69 — placement plus haut et fondu doux sans modifier le drag. */
.drag-universe-hint {
  bottom: 75px !important;
  transition: opacity .65s cubic-bezier(.22,1,.36,1),
              transform .65s cubic-bezier(.22,1,.36,1),
              filter .65s cubic-bezier(.22,1,.36,1) !important;
}
body.has-dragged-universe .drag-universe-hint {
  transition: opacity .65s cubic-bezier(.22,1,.36,1),
              transform .65s cubic-bezier(.22,1,.36,1),
              filter .65s cubic-bezier(.22,1,.36,1) !important;
}
@media(max-width:760px){.drag-universe-hint{bottom:65px !important;}}
@media(prefers-reduced-motion:reduce){.drag-universe-hint{transition:none !important;}}

/* V15.70 - Rehaussement du bloc complet, sans toucher au mouvement du curseur. */
.drag-universe-hint { bottom: 105px !important; }
@media (max-width:760px) { .drag-universe-hint { bottom: 92px !important; } }

/* V15.71 : indicateur reserve exclusivement a l univers principal. */
html body:not([data-world="center-passion"]) .drag-universe-hint,
html body.is-in-secondary-universe .drag-universe-hint {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
