/* src/guest-save-nudge.css — FTUE-UX-2026-02
 * Fixed bottom-center banner nudging guests to claim their account.
 * Slides up from the bottom after 5 min of play.
 */

#guest-save-nudge {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9000;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(8, 12, 20, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 200, 255, 0.06) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: #cbd5e1;
  font-family: inherit;
  font-size: 13px;
  white-space: nowrap;

  transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 280ms ease;
  opacity: 0;
  pointer-events: none;
}

#guest-save-nudge.gsn--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#guest-save-nudge.gsn--leaving {
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  transition: transform 250ms ease-in, opacity 200ms ease-in;
}

.gsn-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}

.gsn-text {
  flex: 1;
  min-width: 0;
}

.gsn-title {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 1px;
}

.gsn-sub {
  font-size: 11px;
  color: #94a3b8;
}

.gsn-claim-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 200, 255, 0.4);
  background: rgba(0, 200, 255, 0.12);
  color: #67e8f9;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.gsn-claim-btn:hover {
  background: rgba(0, 200, 255, 0.22);
  border-color: rgba(0, 200, 255, 0.65);
  color: #a5f3fc;
}

.gsn-claim-btn:focus-visible {
  outline: 2px solid rgba(0, 200, 255, 0.6);
  outline-offset: 2px;
}

.gsn-dismiss-btn {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: color 150ms ease, background 150ms ease;
}

.gsn-dismiss-btn:hover {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
}

.gsn-dismiss-btn:focus-visible {
  outline: 2px solid rgba(148, 163, 184, 0.4);
  outline-offset: 2px;
}
