.ctf-prize-card {
  max-width: 460px;
  margin: 1.25rem auto;
  padding: 1.1rem 1rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #0d4d2b 0%, #062f35 55%, #0a3d24 100%);
  color: #fff;
  text-align: center;
  font-family: Lato, Arial, sans-serif;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  border: 2px solid #ffd84d;
}

.ctf-prize-card__title {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.ctf-prize-card__ticket {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: #ffd84d;
  color: #1a1a1a;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ctf-prize-card__prize {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  color: #b8f5d0;
}

.ctf-prize-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd84d 0%, #f2bb2e 100%);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ctf-prize-card__btn:hover {
  filter: brightness(1.05);
}

.ctf-prize-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 47, 53, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  animation: ctf-prize-fade 0.25s ease;
}

@media (min-width: 640px) {
  .ctf-prize-overlay {
    align-items: center;
  }
}

@keyframes ctf-prize-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ctf-prize-modal {
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 12px 12px;
  padding: 1.25rem 1.25rem 1.5rem;
  color: var(--gray4, #323446);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.ctf-prize-modal h3 {
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
  margin: 0 0 0.75rem;
  color: #062f35;
}

.ctf-prize-modal__warn {
  font-size: 0.75rem;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.85rem;
  text-align: center;
}

.ctf-prize-color-preview {
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.5rem 0.5rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fafafa 0%, #eef2f5 100%);
  border: 1px solid #e5e7eb;
}

.ctf-prize-color-model {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.ctf-prize-color-preview img {
  display: block;
  width: 100%;
  max-height: min(52vw, 300px);
  min-height: 200px;
  object-fit: contain;
  margin: 0 auto;
}

.ctf-prize-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.ctf-prize-swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border: 2px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ctf-prize-swatch.is-selected {
  border-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.22);
}

.ctf-prize-swatch__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.ctf-prize-swatch__dot--bordo {
  background: linear-gradient(145deg, #6b1e32, #3d0f1c);
}

.ctf-prize-swatch__dot--glacial {
  background: linear-gradient(145deg, #e8eef5, #b8c5d4);
}

.ctf-prize-swatch__dot--prateado {
  background: linear-gradient(145deg, #e3e4e6, #9a9da3);
}

.ctf-prize-swatch__dot--preto {
  background: linear-gradient(145deg, #3a3a3c, #1c1c1e);
}

.ctf-prize-modal__colors {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.ctf-prize-swatch__name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}

.ctf-prize-form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #374151;
}

.ctf-prize-form input,
.ctf-prize-form select {
  width: 100%;
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.875rem;
}

.ctf-prize-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.ctf-prize-modal__btn {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem;
  border: none;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
}

.ctf-prize-modal__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ctf-prize-modal__btn--secondary {
  background: #fff;
  color: #062f35;
  border: 2px solid #062f35;
}

.ctf-prize-loading {
  text-align: center;
  padding: 2rem 1rem;
}

.ctf-prize-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #22c55e;
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: ctf-spin 0.8s linear infinite;
}

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

.ctf-prize-shipping {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ctf-prize-ship-opt {
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  padding: 0.85rem;
  cursor: pointer;
  text-align: left;
}

.ctf-prize-ship-opt.is-selected {
  border-color: #22c55e;
  background: #f0fdf4;
}

.ctf-prize-ship-opt strong {
  display: block;
  font-size: 0.9rem;
  color: #062f35;
}

.ctf-prize-ship-opt span {
  font-size: 0.78rem;
  color: #6b7280;
}

.ctf-prize-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #9ca3af;
}

.ctf-prize-modal-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.ctf-hide-roleta-upsell {
  display: none !important;
}

.ctf-prize-pix__amount {
  text-align: center;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.ctf-prize-pix__timer {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  margin-bottom: 0.85rem;
}

.ctf-prize-pix__timer.is-expired {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.ctf-prize-pix__qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
  padding: 0.65rem;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.ctf-prize-pix__qr-wrap canvas,
.ctf-prize-pix__qr-fallback {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 8px;
}

.ctf-prize-pix__copy-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #374151;
}

.ctf-prize-pix__copy-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.ctf-prize-pix__code {
  width: 100%;
  font-size: 0.68rem;
  line-height: 1.35;
  padding: 0.55rem 0.65rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  resize: none;
  font-family: ui-monospace, monospace;
  color: #111827;
}

.ctf-prize-pix__copy-btn {
  padding: 0.65rem;
  border: none;
  border-radius: 999px;
  background: #062f35;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
}

.ctf-prize-pix__warn {
  font-size: 0.74rem;
  line-height: 1.45;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  margin: 0 0 0.65rem;
  text-align: center;
}

.ctf-prize-pix__info {
  font-size: 0.74rem;
  line-height: 1.45;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  margin: 0 0 0.85rem;
  text-align: center;
}
