/* Sticky mobile CTA — закреплённая кнопка Discovery внизу экрана на мобильных.
   Desktop — скрыт. Закрывается на 7 дней через localStorage. */

.sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 10px 14px 10px 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  align-items: center;
  gap: 12px;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-cta.is-visible { transform: translateY(0); }

.sticky-cta-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.sticky-cta-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5dd6a3;
}
.sticky-cta-title {
  font-size: 13px;
  font-weight: 600;
  color: #f5f5f5;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta-btn {
  flex: 0 0 auto;
  background: #ff4d1f;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.sticky-cta-btn:active { transform: scale(0.97); }
.sticky-cta-btn .arr { font-weight: 400; }

.sticky-cta-close {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 18px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  line-height: 1;
}
.sticky-cta-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

@media (max-width: 840px) {
  .sticky-cta { display: flex; }
}

@media (prefers-color-scheme: light) {
  .sticky-cta { background: #0a0a0a; }
}
