/* =====================================================================
   Təlimat (spotlight) — js/telimat.js
   Ekran qaralır, göstərilən yer işıqlı qalır; uyğun olmayanda ox göstərilir.
   ===================================================================== */
.telimat { position: fixed; inset: 0; z-index: 1000; pointer-events: none; animation: telimat-gel .25s ease both; }
.telimat.gedir { animation: telimat-get .2s ease both; }
/* Qaranlıq təbəqə: işıqlı yerdə deşik var (clip-path, js/telimat.js) */
.telimat-qaraltma { position: absolute; inset: 0; pointer-events: none; background: rgba(14, 10, 34, .82); }
.telimat-bloklayici { position: absolute; inset: 0; pointer-events: auto; background: transparent; }

/* İşıqlı yerin parlayan çərçivəsi */
.telimat-desik {
  position: absolute; pointer-events: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .95), 0 0 26px 6px rgba(255, 214, 90, .7);
  transition: left .3s cubic-bezier(.2, .9, .3, 1), top .3s cubic-bezier(.2, .9, .3, 1), width .3s, height .3s;
  animation: telimat-nebz 1.6s ease-in-out infinite;
}
.telimat-desik[hidden], .telimat-ox[hidden], .telimat-el[hidden] { display: none !important; }

.telimat-kart {
  position: absolute; width: min(330px, calc(100vw - 24px)); padding: 16px 16px 12px; pointer-events: auto;
  border-radius: 22px; background: #fff; color: #2b2350; box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
  font-family: "Bayraq", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  transition: left .3s cubic-bezier(.2, .9, .3, 1), top .3s cubic-bezier(.2, .9, .3, 1);
}
.telimat-kart.gel { animation: telimat-kart-gel .35s cubic-bezier(.34, 1.56, .64, 1) both; }
.telimat-basliq { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.telimat-metn { margin: 0; font-size: 15px; line-height: 1.4; color: #4a4470; }
.telimat-alt { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.telimat-noqteler { display: flex; gap: 5px; }
.telimat-noqteler i { width: 7px; height: 7px; border-radius: 50%; background: #d9d4ee; }
.telimat-noqteler i.aktiv { width: 18px; border-radius: 4px; background: #7c5cff; }
.telimat-duymeler { display: flex; gap: 6px; margin-left: auto; }
.telimat-duymeler button {
  min-height: 40px; padding: 0 14px; border: none; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700;
}
.telimat-kec { background: none; color: #8a84a8; }
.telimat-novbeti { background: #7c5cff; color: #fff; }
.telimat-novbeti[hidden] { display: none; }
.telimat-kart.gozleyir .telimat-metn::after { content: " 👆"; }

/* Uşaq üçün: böyük, oyunlu şrift, çox qısa söz */
.telimat.usaq .telimat-kart { text-align: center; font-family: var(--sirift-bas); }
.telimat.usaq .telimat-metn { font-size: 26px; font-weight: 800; line-height: 1.15; color: #2b2350; }
.telimat.usaq .telimat-basliq { font-size: 16px; color: #7c5cff; }
.telimat.usaq .telimat-duymeler button { min-height: 46px; font-size: 18px; border-radius: 14px; }

/* Ox: hədəfə tərəf atılır */
.telimat-ox {
  position: absolute; width: 48px; height: 48px; color: #ffd65a; pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .45));
  animation: telimat-ox-asagi .9s ease-in-out infinite;
}
.telimat-ox svg { width: 100%; height: 100%; display: block; }
.telimat-ox.yuxari { transform: rotate(180deg); animation-name: telimat-ox-yuxari; }

/* Əl 👆: işıqlı yerə "toxunur" */
.telimat-el {
  position: absolute; font-size: 48px; line-height: 1; pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4));
  animation: telimat-toxun 1.1s ease-in-out infinite; transform-origin: 30% 10%;
}

@keyframes telimat-gel { from { opacity: 0; } to { opacity: 1; } }
@keyframes telimat-get { to { opacity: 0; } }
@keyframes telimat-kart-gel { from { transform: translateY(14px) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes telimat-nebz {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .95), 0 0 18px 4px rgba(255, 214, 90, .55); }
  50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 1), 0 0 34px 10px rgba(255, 214, 90, .85); }
}
@keyframes telimat-ox-asagi { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
@keyframes telimat-ox-yuxari { 0%, 100% { transform: rotate(180deg) translateY(-6px); } 50% { transform: rotate(180deg) translateY(6px); } }
@keyframes telimat-toxun { 0%, 100% { transform: translate(0, 0) scale(1); } 45% { transform: translate(0, -12px) scale(1.05); } 60% { transform: translate(0, 0) scale(.92); } }

@media (prefers-reduced-motion: reduce) {
  .telimat-desik, .telimat-ox, .telimat-el, .telimat-kart.gel { animation: none !important; }
}
