:root {
  --overlay-dark: rgba(0, 0, 0, 0.58);
  --overlay-pill: rgba(0, 0, 0, 0.55);
  --online-green: #16a34a;
  --name-coral: #e8836f;
  --user-pink: #961d7e;
  --user-pink-light: #b43c9a;
  --typing-pink: #e879a9;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --radius-pill: 999px;
  --radius-bubble: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0a0a0a;
  color: var(--text-white);
}

.live-screen {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: #1a1018;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.bg-video.is-playing {
  opacity: 1;
}

.bg-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.2) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.ui-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── Top bar ── */
.top-bar {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 10px 10px 0 10px;

  justify-content: flex-start;
  flex-shrink: 0;
}

.badge-online {
  background: var(--online-green);
  color: white;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;

  padding: 5px 10px;
  border-radius: 6px;

  position: relative;

  animation: onlinePulse 2.5s ease-in-out infinite;

  box-shadow:
    0 0 10px rgba(34, 197, 94, 0.45),
    0 0 20px rgba(34, 197, 94, 0.25);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;

  flex: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 5px 11px; /* antes 7px 14px */

  font-size: 12px; /* antes 13px */

  background: var(--overlay-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: none;
  color: var(--text-white);
  border-radius: var(--radius-pill);
}

.views-pill svg {
  opacity: 0.9;
}

.app-pill svg {
  opacity: 0.85;
}

.icon-circle {
  width: 32px; /* antes 38px */
  height: 32px; /* antes 38px */

  border-radius: 50%;
  background: var(--overlay-pill);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: none;
  color: var(--text-white);

  display: grid;
  place-items: center;
}

/* ── Chat area ── */
.chat-area {
  flex: none;
  min-height: 0;
  max-height: 35vh;
  margin-top: auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.chat-area::-webkit-scrollbar {
  display: none;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 82%;
  animation: fadeUp 0.3s ease;
}

.message.user {
  align-self: flex-end;
  align-items: flex-end;
}

.message.assistant {
  align-self: flex-start;
  align-items: flex-start;
}

.bubble {
  word-wrap: break-word;
  white-space: pre-wrap;
  line-height: 1.45;
}

.message.user .bubble {
  background: var(--user-pink);
  color: var(--text-white);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: var(--radius-bubble);
}

.message.assistant .bubble {
  background: var(--overlay-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-bubble);
  padding: 12px 16px 14px;
  max-width: 100%;
}

.sender-name {
  display: block;
  color: var(--name-coral);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.message-text {
  display: block;
  color: var(--text-white);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.assistant-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.assistant-image-grid img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Typing indicator ── */
.typing {
  display: none;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  background: var(--overlay-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
}

.typing.visible {
  display: flex;
}

.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--typing-pink);
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.18s;
}

.typing span:nth-child(3) {
  animation-delay: 0.36s;
}

/* ── Error ── */
.error-banner {
  display: none;
  margin: 0 14px 6px;
  padding: 10px 14px;
  background: rgba(220, 38, 38, 0.75);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

.error-banner.visible {
  display: block;
}

/* ── Input bar ── */
.input-area {
  padding: 8px 14px calc(14px + env(safe-area-inset-bottom));
  flex-shrink: 0;
}

.input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--overlay-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 18px;
  min-height: 52px;
}

#user-input {
  flex: 1;
  resize: none;
  border: none;
  background: transparent;
  color: var(--text-white);
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  outline: none;
  max-height: 100px;
  padding: 8px 0;
}

#user-input::placeholder {
  color: var(--text-muted);
}

#send-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.2s,
    transform 0.1s;
}

#send-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.25);
}

#send-btn:active:not(:disabled) {
  transform: scale(0.92);
}

#send-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typingBounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (min-width: 481px) {
  body {
    background: #111;
  }

  .live-screen {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  }
}

.live-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.26);
  z-index: 1;
}

/* Mensagem focalizada quando o botão VIP aparece */
.message.vip-focus {
  position: relative;
  z-index: 20; /* acima do botão flutuante (z-index:5) */
  transform: translateY(-8px);
  transition:
    transform 220ms ease,
    box-shadow 180ms ease;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.6);
}

.message.vip-focus .bubble {
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.ui-overlay {
  position: relative;
  z-index: 2;
}

/* Floating VIP button (centered above input) */
.vip-floating {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 200ms ease;
}

.vip-floating.visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.vip-floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  box-shadow:
    0 9px 26px rgba(199, 46, 170, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  pointer-events: auto;
  /* animated gradient */
  background: linear-gradient(
    90deg,
    #ff5db1 0%,
    #ff3b9e 30%,
    #ff7cc1 60%,
    #b64bff 100%
  );
  background-size: 200% 200%;
  will-change: background-position;
  animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.vip-label {
  display: inline-block;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vip-lock {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 6px 18px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.06em;
}

/* VIP CTA button inside assistant bubble */
.vip-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background: linear-gradient(90deg, #ff6fb5, #ff3b9e);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 59, 158, 0.22);
}

/* Quando o botão VIP estiver visível, reserve espaço na área do chat */
.chat-area.vip-cta-visible {
  padding-bottom: 55px; /* espaço para o botão + margem */
}

/* garantir que as mensagens flutuem acima do botão VIP */
.chat-area .message {
  position: relative;
  z-index: 6;
}

/* classe aplicada ao último balão para criar espaço extra quando o botão aparece */
.chat-area .message.above-vip {
  margin-bottom: 26px;
}

/* Popup overlay */
.vip-popup {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 9999;
}

.vip-popup.visible {
  opacity: 1;
  pointer-events: auto;
}

.vip-card {
  width: min(380px, calc(100% - 40px));
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.05),
    rgba(18, 12, 32, 0.95) 42%
  );
  border-radius: 28px;
  padding: 24px 22px 18px;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  text-align: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.vip-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.vip-header {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(90deg, #00c46e, #38ff8b);
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 196, 110, 0.2);
}

.vip-badge-icon {
  display: inline-flex;
  align-items: center;
}

.vip-main-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.vip-main-title span {
  display: block;
  color: #2ef596;
}

.vip-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  line-height: 1.5;
  text-transform: uppercase;
}

.vip-subtitle strong {
  color: #fff;
}

.vip-list {
  list-style: none;
  padding: 18px 18px 14px;
  margin: 0 auto 16px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f0f0f0;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.vip-list li:last-child {
  margin-bottom: 0;
}

.vip-list li span {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffd55a;
  font-size: 12px;
}

.vip-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 12px;
  min-width: 220px;
  padding: 10px 18px;
  background: rgba(0, 255, 127, 0.12);
  border: 1px solid rgba(0, 255, 127, 0.3);
  color: #9dffca;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}

.vip-offer-label {
  font-size: 12px;
  color: #ff79b0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.vip-pricing {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  margin-bottom: 18px;
}

.vip-old-price {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}

.vip-price {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
}

.vip-actions {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.vip-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.vip-action:hover {
  transform: translateY(-1px);
}

.vip-action-primary {
  background: linear-gradient(90deg, #ff2733, #ff374d);
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 55, 77, 0.28);
}

.vip-action-secondary {
  background: rgba(15, 15, 24, 0.95);
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes onlinePulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 8px rgba(34, 197, 94, 0.35),
      0 0 16px rgba(34, 197, 94, 0.15);
  }

  50% {
    transform: scale(1.05);
    box-shadow:
      0 0 16px rgba(34, 197, 94, 0.75),
      0 0 32px rgba(34, 197, 94, 0.45);
  }

  100% {
    transform: scale(1);
    box-shadow:
      0 0 8px rgba(34, 197, 94, 0.35),
      0 0 16px rgba(34, 197, 94, 0.15);
  }
}

.pix-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  cursor: pointer;
}

/* PIX modal styles */
.pix-content {
  margin-top: 12px;
}
.pix-loading,
.pix-error {
  padding: 18px;
  text-align: center;
}
.pix-qr {
  display: grid;
  place-items: center;
  margin: 14px 0;
}
.pix-qr img {
  width: min(220px, 100%);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
}
.pix-qr-placeholder {
  color: rgba(255, 255, 255, 0.6);
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}
.pix-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.pix-info-row,
.pix-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}
.pix-info-label,
.pix-status-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-transform: uppercase;
}
.pix-copy-text {
  flex: 1;
  margin: 0;
  font-family: monospace;
  font-size: 12px;
  color: #fff;
  white-space: pre-wrap;
  word-break: break-all;
}
.pix-copy-button {
  margin-left: 12px;
  border: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.pix-copy-button:hover {
  background: rgba(255, 255, 255, 0.18);
}
.pix-status-text {
  color: #d6ff7b;
  font-weight: 700;
}
.pix-paid-button {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: #18a048;
  color: #fff;
  border: none;
  font-weight: 800;
}

/* Payment Success Modal */

.payment-success-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 99999;
}

.payment-success-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Card */

.payment-success-modal > div {
  width: 100%;
  max-width: 360px;

  background: #090909;

  border-radius: 28px;

  padding: 36px 24px 30px;

  text-align: center;

  animation: scaleIn 0.35s ease;
}

/* Ícone */

.success-checkmark {
  width: 86px;
  height: 86px;

  margin: 0 auto 28px;

  border-radius: 50%;

  background: #09d64f;

  color: #fff;

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

  font-size: 52px;
  font-weight: bold;

  box-shadow: 0 0 35px rgba(9, 214, 79, 0.45);
}

/* Título */

.success-title {
  font-size: 40px;

  font-weight: 900;

  color: #fff;

  line-height: 1.05;

  margin-bottom: 18px;

  text-transform: uppercase;
}

.success-title span {
  display: block;

  color: #fff;
}

/* Texto verde */

.success-message {
  font-size: 20px;

  color: #09d64f;

  font-weight: 700;

  margin-bottom: 18px;
}

/* Texto cinza */

.success-subtitle {
  font-size: 17px;

  color: rgba(255, 255, 255, 0.7);

  line-height: 1.55;

  margin-bottom: 30px;
}

/* Botão */

.success-button {
  width: 100%;
  height: 54px;

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

  gap: 8px;

  padding: 0 18px;

  border: none;
  border-radius: 16px;

  background: #08d94b;

  color: #fff;

  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;

  cursor: pointer;

  box-shadow: 0 8px 25px rgba(8, 217, 75, 0.35);

  transition: all 0.2s ease;
}

.success-button:hover {
  transform: translateY(-1px);
}

.success-button:active {
  transform: scale(0.98);
}

.success-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-right: 2px;
}

.success-button::after {
  content: "🔥";
  font-size: 18px;
  margin-left: 2px;
  flex-shrink: 0;
}

/* Mobile */

@media (max-width: 480px) {
  .payment-success-modal {
    padding: 18px;
  }

  .payment-success-modal > div {
    max-width: 340px;

    padding: 34px 22px 26px;
  }

  .success-checkmark {
    width: 78px;
    height: 78px;
    font-size: 46px;
    margin-bottom: 24px;
  }

  .success-title {
    font-size: 32px;
  }

  .success-message {
    font-size: 18px;
  }

  .success-subtitle {
    font-size: 15px;
  }

  .success-button {
    height: 56px;
    font-size: 18px;
  }
}

/* Uplpad */

.loading-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease;
}

.loading-screen.hide {
  opacity: 0;
  pointer-events: none;
}

.loader-wrapper {
  text-align: center;
}

.loader-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.08);
  border-top: 4px solid #ff0f5b;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

.loader-text-top {
  color: #9b8a7f;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.loader-name {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.loader-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.loader-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff0f5b;
  animation: dots 1.2s infinite;
}

.loader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes dots {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Container Principal do Modal Pix — fullscreen */
body.payment-active .ui-overlay {
  pointer-events: none;
}

body.payment-active .input-area,
body.payment-active .vip-floating,
body.payment-active #error-banner {
  visibility: hidden;
}

.pix-fullscreen-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.pix-fullscreen-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.pix-fullscreen-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: rgba(0, 0, 0, 0.42);
  z-index: 0;
}

.pix-fullscreen-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Mensagens de benefício no topo */
.pix-benefit-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 72px 16px 20px;
  -webkit-overflow-scrolling: touch;
}

.pix-benefit-messages::-webkit-scrollbar {
  display: none;
}

.pix-benefit-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.pix-benefit-msg.visible {
  opacity: 1;
  transform: translateY(0);
}

.pix-benefit-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--user-pink, #c026a0), #d946ef);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(192, 38, 160, 0.35);
}

.pix-benefit-bubble {
  background: rgba(18, 18, 18, 0.88);
  border-radius: 16px;
  padding: 12px 14px;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  max-width: calc(100% - 46px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Bottom sheet — largura total */
.pix-bottom-sheet {
  width: 100%;
  background: #121212;
  border-radius: 24px 24px 0 0;
  padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pix-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pix-sheet-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.badge-pendente {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #d00000;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: badgePulse 1.2s infinite ease-in-out;
}

@keyframes badgePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.pix-content {
  margin-top: 0;
}

.pix-loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 0 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.pix-spinner {
  width: 35px;
  height: 35px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: #a855f7;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.pix-error {
  padding: 16px;
  text-align: center;
  color: #fca5a5;
  font-size: 14px;
}

.pix-modal-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pix-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.pix-subtitle {
  font-size: 0.85rem;
  color: #a1a1aa;
  margin: 0 0 20px;
  line-height: 1.45;
  max-width: 320px;
}

.pix-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #d4d4d8;
  font-size: 0.72rem;
  margin-bottom: 22px;
}

.step {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 999px;
}

.step-num {
  background: #27272a;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: bold;
}

.step-arrow {
  color: #52525b;
}

.pix-btn-copy {
  width: 100%;
  background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
  color: #fff;
  border: none;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.45);
  transition:
    transform 0.1s ease,
    filter 0.2s ease;
  margin-bottom: 18px;
  font-family: inherit;
}

.pix-btn-copy:active {
  transform: scale(0.98);
}

.pix-btn-copy.copied {
  background: #16a34a;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
}

.pix-footer-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #22c55e;
  font-weight: 600;
}

.dot-green {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: badgePulse 1.4s infinite ease-in-out;
}

/* Overlay e estrutura do Modal */
.account-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: Arial, sans-serif;
}

.account-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.account-modal-card {
  background-color: #121212;
  border: 1px solid #10b981; /* Borda verde glow */
  border-radius: 16px;
  padding: 32px 24px;
  width: 90%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  box-sizing: border-box;
}

/* Ícone de Câmera */
.account-icon-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  background-color: rgba(5, 150, 105, 0.1);
}

.camera-icon {
  width: 24px;
  height: 24px;
  stroke: #10b981;
}

/* Títulos */
.account-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px 0;
  letter-spacing: 0.5px;
}

.account-subtitle {
  color: #9ca3af;
  font-size: 13px;
  margin: 0 0 24px 0;
}

/* Formulário e Campos de Texto */
.input-group {
  text-align: left;
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  color: #d1d5db;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  background-color: #1e1e24;
  border: 1px solid #2d2d35;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.input-group input:focus {
  border-color: #10b981;
}

.input-group input::placeholder {
  color: #6b7280;
}

/* Botão com Estado Ativo e Desabilitado */
.btn-submit-account {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background-color: #059669;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Estado desabilitado (escurinho e travado) */
.btn-submit-account:disabled {
  background-color: #064e3b;
  color: #6b7280;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Estado ativo (hover ao passar o mouse quando liberado) */
.btn-submit-account:not(:disabled):hover {
  background-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* Rodapé */
.account-footer-text {
  color: #6b7280;
  font-size: 11px;
  margin-top: 16px;
  margin-bottom: 0;
}

/* Overlay e Posição no Rodapé (Bottom Sheet) */
.security-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: flex-end; /* Alinha o card no rodapé da tela */
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: Arial, sans-serif;
}

.security-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.security-bottom-sheet {
  width: 100%;
  max-width: 440px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.security-modal-overlay.visible .security-bottom-sheet {
  transform: translateY(0);
}

.security-card {
  background-color: #121214;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 20px 12px 20px;
  text-align: center;
  box-sizing: border-box;
  position: relative;
}

/* Ícone de Cadeado */
.security-lock-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

/* Títulos */
.security-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.security-subtitle {
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 16px 0;
}

/* Badge Verificação Obrigatória */
.security-badge-wrapper {
  margin-bottom: 16px;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(234, 179, 8, 0.1);
  border: 1px solid #eab308;
  color: #eab308;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
}

.badge-dot-yellow {
  width: 8px;
  height: 8px;
  background-color: #eab308;
  border-radius: 50%;
  display: inline-block;
}

/* Bloco do Valor */
.security-price-box {
  background-color: #18181b;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}

.security-price-label {
  display: block;
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.security-price-value {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

/* Passos 1 e 2 */
.security-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 12px;
  margin-bottom: 16px;
}

.sec-num {
  background-color: #27272a;
  color: #ffffff;
  font-style: normal;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-right: 4px;
}

.sec-arrow {
  color: #4b5563;
}

/* Botão COPIAR PIX Amarelo/Laranja */
.security-btn-copy {
  width: 100%;
  padding: 15px;
  background-color: #ff9900;
  color: #000000;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.1s ease,
    background-color 0.2s ease;
  margin-bottom: 14px;
}

.security-btn-copy:active {
  transform: scale(0.98);
}

/* Status */
.security-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #eab308;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Barra inferior estilo iOS/Android */
.sheet-bottom-bar {
  width: 130px;
  height: 4px;
  background-color: #3f3f46;
  border-radius: 2px;
  margin: 0 auto;
}

/* Overlay e Card do Verificando Atividade */
.activity-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: Arial, sans-serif;
}

.activity-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.activity-card {
  background-color: #121214;
  border: 1px solid rgba(239, 68, 68, 0.3); /* Borda sutil com tom avermelhado */
  border-radius: 16px;
  padding: 32px 24px;
  width: 85%;
  max-width: 320px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

/* Spinner Vermelho Giratório */
.activity-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(239, 68, 68, 0.2);
  border-top-color: #ef4444; /* Vermelho forte */
  border-radius: 50%;
  margin: 0 auto 16px auto;
  animation: activity-spin 0.8s linear infinite;
}

@keyframes activity-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Texto de Verificação */
.activity-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.3px;
}

/* Overlay e Card do Upgrade VIP */
.upgrade-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: Arial, sans-serif;
}

.upgrade-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.upgrade-card {
  background-color: #121214;
  border: 1px solid rgba(218, 34, 34, 0.3);
  border-radius: 20px;
  padding: 28px 20px;
  width: 90%;
  max-width: 380px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.15);
}

/* Badge Oferta Exclusiva */
.upgrade-badge-wrapper {
  margin-bottom: 14px;
}

.upgrade-badge {
  display: inline-block;
  background-color: rgba(236, 72, 153, 0.15);
  border: 1px solid #eb3c3c;
  color: #f37575;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* Títulos */
.upgrade-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.upgrade-subtitle {
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 18px 0;
}

/* Bloco do Valor */
.upgrade-price-box {
  background-color: #1a1a1e;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 18px;
}

.upgrade-price-label {
  display: block;
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.upgrade-price-value {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

/* Passos 1 e 2 */
.upgrade-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 12px;
  margin-bottom: 18px;
}

.up-num {
  background-color: #27272a;
  color: #ffffff;
  font-style: normal;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-right: 4px;
}

.up-arrow {
  color: #4b5563;
}

/* Botão de Copiar PIX */
.upgrade-btn-copy {
  width: 100%;
  padding: 15px;
  background-color: #e11d48;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.1s ease,
    background-color 0.2s ease;
  margin-bottom: 14px;
}

.upgrade-btn-copy:active {
  transform: scale(0.98);
}

.upgrade-btn-copy:hover {
  background-color: #be123c;
}

/* Status */
.upgrade-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f472b6;
  font-size: 12px;
  font-weight: 600;
}

.badge-dot-pink {
  width: 8px;
  height: 8px;
  background-color: #ec4899;
  border-radius: 50%;
  display: inline-block;
}

/* Ícone de aviso em cima da oferta */
.upgrade-warning-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}

/* Estado do conteúdo enquanto bloqueado */
.vip-content-locked {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

/* Estado do conteúdo após a confirmação do pagamento */
.vip-content-unlocked {
  filter: none !important;
  pointer-events: auto !important;
  user-select: auto !important;
  transition: filter 0.5s ease;
}
