/* Jetotam site widgets – infinity + chat */

.jt-infinity {
  position: fixed;
  z-index: 9990;
  width: min(320px, calc(100vw - 32px));
  background: linear-gradient(160deg, rgba(18, 22, 18, 0.96), rgba(8, 10, 8, 0.96));
  border: 1px solid rgba(203, 254, 28, 0.35);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  color: #f3f7f1;
  font-family: inherit;
}
.jt-infinity--bottom-right { right: 20px; bottom: 24px; }
.jt-infinity--bottom-left { left: 20px; bottom: 24px; }
.jt-infinity--top-right { right: 20px; top: 90px; }
.jt-infinity--top-left { left: 20px; top: 90px; }

.jt-infinity__label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #cbfe1c;
  margin: 0 0 8px;
  font-weight: 700;
}
.jt-infinity__amount {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.jt-infinity__note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #9aa894;
}
.jt-infinity__pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbfe1c;
  margin-right: 8px;
  animation: jtPulse 1.4s ease-in-out infinite;
}
@keyframes jtPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Chat bubble */
.jt-chat {
  position: fixed;
  z-index: 9995;
  font-family: inherit;
}
.jt-chat--bottom-right { right: 20px; bottom: 24px; }
.jt-chat--bottom-left { left: 20px; bottom: 24px; }

.jt-chat__launcher {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #cbfe1c;
  color: #111;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}
.jt-chat__launcher:hover { transform: scale(1.06); }

.jt-chat__panel {
  position: absolute;
  bottom: 72px;
  width: min(320px, calc(100vw - 32px));
  background: #121612;
  border: 1px solid #2a332a;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: none;
}
.jt-chat--bottom-right .jt-chat__panel { right: 0; }
.jt-chat--bottom-left .jt-chat__panel { left: 0; }
.jt-chat.is-open .jt-chat__panel { display: block; }

.jt-chat__panel.effect-fade { animation: jtFadeIn 0.35s ease; }
.jt-chat__panel.effect-slide { animation: jtSlideUp 0.35s ease; }
.jt-chat__panel.effect-bounce { animation: jtBounceIn 0.45s ease; }
.jt-chat__panel.effect-pulse { animation: jtPulseIn 0.4s ease; }

@keyframes jtFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes jtSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes jtBounceIn {
  0% { opacity: 0; transform: scale(0.85) translateY(12px); }
  60% { transform: scale(1.04) translateY(0); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes jtPulseIn {
  0% { opacity: 0; transform: scale(0.92); }
  50% { transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}

.jt-chat__head {
  background: #181c18;
  padding: 14px 16px;
  color: #cbfe1c;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.jt-chat__close {
  background: transparent;
  border: none;
  color: #9aa894;
  cursor: pointer;
  font-size: 1.1rem;
}
.jt-chat__body { padding: 16px; color: #f3f7f1; }
.jt-chat__msg {
  background: #1c241c;
  border: 1px solid #2a332a;
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 14px;
}
.jt-chat__msg.effect-fade { animation: jtFadeIn 0.45s ease; }
.jt-chat__msg.effect-slide { animation: jtSlideUp 0.45s ease; }
.jt-chat__msg.effect-bounce { animation: jtBounceIn 0.5s ease; }
.jt-chat__msg.effect-pulse { animation: jtPulseIn 0.45s ease; }

.jt-chat__actions { display: grid; gap: 8px; }
.jt-chat__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.jt-chat__btn--messenger {
  background: #0084ff;
  color: #fff;
}
.jt-chat__btn--whatsapp {
  background: #25d366;
  color: #0b1a10;
}

/* Avoid overlap when both widgets share a corner */
.jt-infinity--bottom-right { bottom: 100px; }
.jt-infinity--bottom-left { bottom: 100px; }

@media (max-width: 575px) {
  .jt-infinity--bottom-right,
  .jt-infinity--bottom-left,
  .jt-infinity--top-right,
  .jt-infinity--top-left {
    left: 12px;
    right: 12px;
    width: auto;
  }
  .jt-infinity--bottom-right,
  .jt-infinity--bottom-left { bottom: 96px; }
  .jt-chat--bottom-right { right: 12px; bottom: 16px; }
  .jt-chat--bottom-left { left: 12px; bottom: 16px; }
}
