/* Withdraw Page Styles */
.withdraw-page {
  padding: 20px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.back-btn, .help-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.page-header h1 {
  font-size: 18px;
  font-weight: 600;
}

.balance-card {
  background: #000;
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 2px;
}

.balance-title {
  font-size: 14px;
  opacity: 0.8;
}

.balance-amount {
  font-size: 24px;
  font-weight: 600;
}

.last-rewards {
  background: #1a1a1a;
  color: white;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.withdraw-section {
  margin-bottom: 30px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0;
}

.pix-icon {
  height: 20px;
  vertical-align: middle;
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 25px 0;
}

.amount-btn {
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
  padding: 12px 10px;
  border-radius: 6px; /* Levemente arredondado */
  cursor: pointer;
  font-weight: bold; /* Texto em negrito */
  color: #555;
  font-size: 15px;
  transition: all 0.25s ease;
  text-align: center;
  white-space: nowrap;
}

.amount-btn-total {
  font-size: 12px;
  padding-left: 6px;
  padding-right: 6px;
  letter-spacing: -0.02em;
}

.amount-btn:hover {
  background: #e8e8e8;
  border-color: #d0d0d0;
}

.amount-btn.selected {
  border: 2px solid #ff2c55; /* Borda na cor do botão */
  background: rgba(255, 44, 85, 0.15); /* Fundo mesclando cinza com a cor do botão */
  color: #d1003a; /* Cor do texto mais forte que o botão */
  font-weight: bold;
  box-shadow: 0 0 0 2px rgba(255, 44, 85, 0.2);
}

/* Efeito para quando estiver ativo (clicado) */
.amount-btn:active {
  transform: scale(0.97);
}

.pix-input {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.pix-type, .pix-key {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 17px 20px;
  border: 2px solid #d1d1d1;
  border-radius: 10px;
  font-size: 16px;
  background-color: #f8f8f8;
  color: #4a4a4a;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
}

/* Placeholder estilizado */
.pix-type::placeholder, .pix-key::placeholder {
  color: #8a8a8a; /* Cinza médio */
  opacity: 0.9;
}

/* Estados de foco */
.pix-type:focus, .pix-key:focus {
  border-color: #a8a8a8; /* Cinza mais escuro no foco */
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(168, 168, 168, 0.2);
}

/* Select personalizado */
.pix-type {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a8a8a'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 20px;
  cursor: pointer;
  padding-right: 48px;
}

.payout-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fafafa;
}

.payout-panel[hidden] {
  display: none !important;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.field-hint {
  font-size: 12px;
  color: #777;
  line-height: 1.45;
  margin: 0;
  padding-top: 2px;
}

.phone-input-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.phone-prefix {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 2px solid #d1d1d1;
  border-radius: 10px;
  background-color: #f0f0f0;
  color: #4a4a4a;
  font-size: 16px;
  font-weight: 600;
}

.phone-input-row .phone-input {
  flex: 1;
  min-width: 0;
  margin: 0;
}

/* Botão mantido igual (destaque) */
.withdraw-submit-btn {
  width: 100%;
  background: #ff2c55;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  margin: 30px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 44, 85, 0.3);
  text-transform: uppercase;
}

.withdraw-submit-btn:hover {
  background: #e0264a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 44, 85, 0.4);
}

.withdraw-submit-btn:active {
  transform: translateY(0);
}

.withdraw-info {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: 20px 0;
}

.invite-section {
  background: #ff2c55;
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin: 30px 0;
}

.invite-period {
  font-size: 14px;
  margin-bottom: 10px;
}

.reward-circles {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.reward-circle {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.reward-circle.active {
  background: #ffeb3b;
  color: black;
}

.invite-btn {
  width: 100%;
  background: #ffeb3b;
  color: black;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  margin: 20px 0;
  cursor: pointer;
}

.invite-code {
  text-align: center;
  font-size: 14px;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.help-text {
  text-align: center;
  margin: 30px 0;
}

.terms {
  font-size: 12px;
  color: #666;
  text-align: center;
}

css
/* Opção alternativa com borda inferior no hover */
.terms a {
  font-weight: bold;
  text-decoration: none;
  color: #333;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.terms a:hover {
  color: #ff2c55;
  border-bottom: 2px solid #ff2c55;
}

/* Ou com fundo destacado */
.terms a {
  font-weight: bold;
  text-decoration: none;
  color: #333;
  padding: 2px 4px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.terms a:hover {
  color: #ff2c55;
  background: rgba(255, 44, 85, 0.1);
}

/* Registration Page Styles */
.registration-page {
  padding: 0 clamp(12px, 4vw, 20px) clamp(20px, 5vw, 28px);
  text-align: left;
  background: #fff;
}

.reg-progress-fill {
  width: 75% !important;
}

.quiz-header .withdraw-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.reg-ttk-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 0 12px;
  border-bottom: 1px solid #f0f0f0;
}

.reg-ttk-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.reg-ttk-bar-left strong {
  font-size: clamp(13px, 3.5vw, 15px);
  color: #121212;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reg-ttk-pill {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fe2c55;
  color: #fff;
  padding: 4px 7px;
  border-radius: 4px;
}

.reg-ttk-secure {
  flex-shrink: 0;
  font-size: 10px;
  color: #999;
}

.reg-release-card {
  background: #121212;
  color: #fff;
  padding: clamp(18px, 5vw, 22px);
  border-radius: 12px;
  margin: 14px 0;
  text-align: center;
}

.reg-release-label {
  font-size: clamp(12px, 3.2vw, 13px);
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 6px;
  font-weight: 500;
}

.reg-release-amount {
  font-size: clamp(32px, 9vw, 40px);
  font-weight: 800;
  color: #4ade80;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.reg-release-fee {
  font-size: clamp(12px, 3.2vw, 13px);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reg-release-fee strong {
  color: #fff;
  font-weight: 700;
}

.reg-release-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: #fbbf24;
  margin-top: 12px;
  font-weight: 500;
}

.reg-balance-card {
  background: #edf7ef;
  border: 1px solid #b8dfc0;
  padding: clamp(14px, 4vw, 18px);
  border-radius: 12px;
  margin: 14px 0;
}

.reg-balance-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.reg-balance-label {
  font-size: clamp(12px, 3.2vw, 13px);
  font-weight: 600;
  color: #1e6b32;
  margin-bottom: 2px;
}

.reg-balance-amount {
  font-size: clamp(28px, 8vw, 34px);
  font-weight: 800;
  color: #16a34a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.reg-balance-icon {
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1;
  opacity: 0.7;
}

.reg-balance-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #b45309;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #c8e6cc;
  font-weight: 500;
}

.reg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.reg-dot-orange {
  background: #f59e0b;
}

.reg-dot-pulse {
  animation: reg-pulse 1.5s ease-in-out infinite;
}

@keyframes reg-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.reg-steps {
  display: flex;
  background: #fafafa;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 14px;
  gap: 2px;
}

.reg-step {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 8px 2px;
  font-size: clamp(9px, 2.5vw, 10px);
  color: #999;
  border-radius: 8px;
}

.reg-step span {
  display: block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  background: #e8e8e8;
  color: #888;
  font-size: 9px;
  font-weight: 700;
  margin: 0 auto 3px;
}

.reg-step.done {
  color: #121212;
}

.reg-step.done span {
  background: #121212;
  color: #fff;
}

.reg-step.active {
  color: #fe2c55;
  font-weight: 700;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.reg-step.active span {
  background: #fe2c55;
  color: #fff;
}

.reg-intro {
  font-size: clamp(12px, 3.2vw, 13px);
  line-height: 1.55;
  color: #666;
  margin: 0 0 14px;
  padding: 0 2px;
}

.reg-fiscal-block {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.reg-fiscal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(12px, 3.5vw, 16px);
  background: linear-gradient(135deg, #121212 0%, #2a2a2a 100%);
  color: #fff;
  flex-wrap: wrap;
}

.reg-fiscal-tag {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fe2c55;
  font-weight: 700;
  margin-bottom: 3px;
}

.reg-fiscal-header strong {
  display: block;
  font-size: clamp(13px, 3.5vw, 15px);
  font-weight: 700;
  line-height: 1.3;
}

.reg-fiscal-ref {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.reg-fiscal-notice {
  padding: clamp(12px, 3.5vw, 16px);
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
}

.reg-fiscal-notice p {
  margin: 0 0 10px;
  font-size: clamp(11.5px, 3.1vw, 12.5px);
  line-height: 1.6;
  color: #444;
}

.reg-fiscal-notice p:last-child {
  margin-bottom: 0;
}

.reg-faq-block {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: clamp(12px, 3.5vw, 16px);
  margin: 0 clamp(12px, 3.5vw, 16px) clamp(14px, 4vw, 18px);
}

.reg-faq-question {
  font-size: clamp(12px, 3.2vw, 13px);
  font-weight: 700;
  color: #92400e;
  margin: 0 0 8px;
  line-height: 1.4;
}

.reg-faq-answer {
  font-size: clamp(11px, 3vw, 12px);
  color: #78350f;
  margin: 0 0 8px;
  line-height: 1.55;
}

.reg-faq-answer:last-child {
  margin-bottom: 0;
}

.reg-fiscal-rows {
  border-bottom: 1px solid #f0f0f0;
}

.reg-fiscal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px clamp(12px, 3.5vw, 16px);
  border-bottom: 1px solid #f5f5f5;
  font-size: clamp(11px, 3vw, 12px);
}

.reg-fiscal-row:last-child {
  border-bottom: none;
}

.reg-fiscal-row span {
  color: #888;
  flex-shrink: 0;
}

.reg-fiscal-row strong {
  text-align: right;
  color: #121212;
  font-size: clamp(11px, 3vw, 12px);
  line-height: 1.35;
}

.reg-fiscal-row-due {
  background: #fff5f7;
}

.reg-fiscal-due {
  font-size: clamp(16px, 4.5vw, 18px) !important;
  color: #fe2c55 !important;
  font-weight: 800 !important;
}

.reg-fiscal-row-net {
  background: #edf7ef;
  margin: 0 -16px -1px;
  padding: 12px 16px !important;
  border-top: 1px solid #b8dfc0 !important;
  border-bottom: none !important;
}

.reg-fiscal-net {
  font-size: clamp(16px, 4.5vw, 18px) !important;
  color: #16a34a !important;
  font-weight: 800 !important;
}

.reg-fiscal-block .reg-flow {
  padding: clamp(14px, 4vw, 18px) clamp(12px, 3.5vw, 16px) 0;
}

.reg-fiscal-block .reg-perks {
  margin: 14px clamp(12px, 3.5vw, 16px) clamp(14px, 4vw, 18px);
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.reg-checkout {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: clamp(14px, 4vw, 18px);
  margin-bottom: 16px;
}

.reg-checkout-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #aaa;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.reg-checkout-meta span:last-child {
  color: #888;
  text-transform: none;
  letter-spacing: 0;
}

.reg-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(6px, 2vw, 10px);
  align-items: stretch;
}

.reg-flow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(12px, 3.5vw, 16px) clamp(8px, 2.5vw, 12px);
  border-radius: 12px;
  min-height: 100px;
}

.reg-flow-pay {
  background: #fff;
  border: 1.5px solid #ffd0dc;
}

.reg-flow-receive {
  background: #edf7ef;
  border: 1.5px solid #b8dfc0;
}

.reg-flow-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 6px;
}

.reg-flow-amount-pay {
  font-size: clamp(22px, 6.5vw, 28px);
  font-weight: 800;
  color: #fe2c55;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.reg-flow-amount-receive {
  font-size: clamp(18px, 5.5vw, 24px);
  font-weight: 800;
  color: #16a34a;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.reg-flow-hint {
  font-size: 10px;
  color: #888;
  margin-top: 6px;
  line-height: 1.35;
}

.reg-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  flex-shrink: 0;
}

.reg-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

.reg-perk {
  flex: 1 1 auto;
  min-width: fit-content;
  font-size: 11px;
  font-weight: 600;
  color: #444;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 6px 12px;
  text-align: center;
  white-space: nowrap;
}

.reg-perk::before {
  content: '✓ ';
  color: #25f4ee;
  font-weight: 800;
}

.reg-pay-wrap {
  position: relative;
  margin: 6px 0 4px;
  padding: 6px 0 10px;
}

.reg-pay-wrap-inline {
  margin: 0;
  padding: clamp(14px, 4vw, 18px) clamp(12px, 3.5vw, 16px);
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.reg-pay-wrap::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 70%;
  transform: translateY(-50%);
  background: #fe2c55;
  border-radius: 16px;
  filter: blur(14px);
  opacity: 0.45;
  z-index: 0;
  animation: reg-btn-glow 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes reg-btn-glow {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(-50%) scale(0.96);
  }
  50% {
    opacity: 0.55;
    transform: translateY(-50%) scale(1.04);
  }
}

@keyframes reg-btn-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(254, 44, 85, 0.35);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 10px 28px rgba(254, 44, 85, 0.5);
  }
}

.registration-page .reg-pay-btn {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
  background: #fe2c55 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(254, 44, 85, 0.35) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  font-size: clamp(12px, 3.4vw, 13.5px) !important;
  letter-spacing: 0.03em !important;
  padding: clamp(17px, 4.5vw, 19px) 18px !important;
  line-height: 1.35 !important;
  cursor: pointer !important;
  animation: reg-btn-pulse 2.4s ease-in-out infinite !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
  -webkit-tap-highlight-color: transparent;
}

.registration-page .reg-pay-btn:hover {
  background: #ff4267 !important;
  animation-play-state: paused !important;
  transform: scale(1.02) !important;
  box-shadow: 0 10px 28px rgba(254, 44, 85, 0.48) !important;
}

.registration-page .reg-pay-btn:active {
  animation-play-state: paused !important;
  transform: scale(0.98) !important;
  box-shadow: 0 4px 12px rgba(254, 44, 85, 0.3) !important;
}

.reg-legal {
  text-align: center;
  font-size: 10px;
  color: #bbb;
  margin: 14px 0 0;
  line-height: 1.5;
}

@media (max-width: 360px) {
  .reg-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .reg-flow-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .reg-flow-card {
    min-height: auto;
    padding: 14px 12px;
  }

  .reg-perks {
    flex-direction: column;
  }

  .reg-perk {
    width: 100%;
  }
}

@media (min-width: 480px) {
  .reg-perks {
    justify-content: center;
  }

  .reg-perk {
    flex: 0 1 auto;
  }
}

.security-icon {
  margin: 30px 0;
}

.registration-description {
  color: #666;
  margin: 20px 0;
  line-height: 1.5;
}

.refund-info {
  color: #666;
  margin-bottom: 30px;
}

.info-items {
  margin: 30px 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  margin: 20px 0;
  padding: 15px;
  background: #f8f8f8;
  border-radius: 8px;
}

.info-icon {
  font-size: 24px;
}

.info-text h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.info-text p {
  font-size: 14px;
  color: #666;
}

/* Video Page Styles */
.video-page {
  text-align: center;
  padding: 20px;
}

.video-header {
  background: #ff2c55;
  color: white;
  padding: 10px;
  margin: -20px -20px 20px -20px;
  font-size: 14px;
  font-weight: 600;
}

.balance-display {
  display: inline-block;
  background: #f5f5f5;
  padding: 8px 15px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.video-instruction {
  color: #666;
  margin: 15px 0;
}

.video-container {
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

#tutorial-video {
  width: 100%;
  aspect-ratio: 9/16;
  background: #000;
}

.unlock-btn {
  width: 100%;
  background: #ff2c55;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
}