* {
  box-sizing: border-box;
}

:root {
  --coral: #be3856;
  --coral-light: #ef635c;
  --gradient: linear-gradient(90deg, var(--coral), var(--coral-light));
  --dark-bg: #140d0f;
  --card-bg: #f3e9e6;
  --card-text: #272326;
  --card-muted: #544b4e;
  --input-border: #e7d5cf;
  --green: #19b474;
  --green-soft-bg: #ddfbf4;
  --green-soft-text: #087070;
  --close-bg: #ef5656;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: #ffffff;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: radial-gradient(circle at 50% 0%, #2a1416 0%, var(--dark-bg) 60%);
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: orb-float 9s ease-in-out infinite;
}

.hero-orb-1 {
  width: 320px;
  height: 320px;
  background: var(--coral);
  top: -60px;
  left: -80px;
}

.hero-orb-2 {
  width: 280px;
  height: 280px;
  background: var(--green);
  bottom: -60px;
  right: -70px;
  animation-delay: -4.5s;
}

@keyframes orb-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -20px) scale(1.08);
  }
}

.hero-note {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  animation: note-drift 6s ease-in-out infinite;
}

.hero-note-1 {
  top: 18%;
  left: 10%;
  animation-delay: 0s;
}

.hero-note-2 {
  top: 28%;
  right: 12%;
  font-size: 2.2rem;
  animation-delay: -2s;
}

.hero-note-3 {
  bottom: 20%;
  left: 16%;
  font-size: 1.5rem;
  animation-delay: -4s;
}

@keyframes note-drift {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(8deg);
  }
}

.hero > * {
  position: relative;
  z-index: 1;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--coral-light);
  margin-bottom: 32px;
}

.my-orders-link {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e8dcdc;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-body);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 1;
}

.my-orders-link:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ---- Suporte pelo WhatsApp (botão flutuante) ---- */
.whatsapp-support-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 40;
  transition: transform 0.15s;
}

.whatsapp-support-btn:hover {
  transform: scale(1.06);
}

.eyebrow {
  color: var(--coral-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 0.95;
  margin: 0 0 20px;
  max-width: 800px;
}

.hero-subtitle {
  color: #d8c9c9;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 0 28px;
  line-height: 1.5;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.badges span {
  background: #241618;
  border: 1px solid #3a2427;
  color: #e8dcdc;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---- Depoimentos ---- */
.testimonials {
  padding: 60px 20px 70px;
  text-align: center;
  background: var(--dark-bg);
}

.testimonials-eyebrow {
  color: var(--coral-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.testimonials-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: white;
  margin: 0 0 12px;
}

.testimonials-subtitle {
  color: #d8c9c9;
  font-size: 1rem;
  margin: 0 0 36px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.testimonials-grid img {
  width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  cursor: zoom-in;
  transition: transform 0.2s;
}

.testimonials-grid img:hover {
  transform: translateY(-4px);
}

/* ---- Lightbox ---- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
  cursor: zoom-out;
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* ---- Buttons ---- */
.cta-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 900;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(190, 56, 86, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.cta-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(190, 56, 86, 0.45);
}

.cta-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cta-btn.full {
  width: 100%;
  margin-top: 20px;
}

.cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-pulse {
  animation: cta-pulse-ring 2.2s ease-out infinite;
}

.cta-pulse:hover {
  animation-play-state: paused;
}

@keyframes cta-pulse-ring {
  0% {
    box-shadow: 0 8px 24px rgba(190, 56, 86, 0.35), 0 0 0 0 rgba(239, 99, 92, 0.55);
  }
  70% {
    box-shadow: 0 8px 24px rgba(190, 56, 86, 0.35), 0 0 0 18px rgba(239, 99, 92, 0);
  }
  100% {
    box-shadow: 0 8px 24px rgba(190, 56, 86, 0.35), 0 0 0 0 rgba(239, 99, 92, 0);
  }
}

.cta-hint {
  color: #d8c9c9;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

.see-testimonials-btn {
  margin-top: 6px;
  background: var(--green);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(25, 180, 116, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}

.see-testimonials-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(25, 180, 116, 0.55);
}

.cta-btn-green {
  background: var(--green);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 900;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(25, 180, 116, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.cta-btn-green:hover:not(:disabled) {
  transform: translateY(-2px);
}

.cta-btn-green.full {
  width: 100%;
  margin-top: 20px;
}

.secondary-btn {
  background: var(--green-soft-bg);
  color: var(--green-soft-text);
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 900;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.secondary-btn:hover {
  opacity: 0.85;
}

.whatsapp-btn {
  background: #25d366;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 900;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  margin-top: 10px;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
}

.whatsapp-btn.full {
  width: 100%;
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  display: flex;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-center {
  display: flex;
  min-height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 512px;
  background: var(--card-bg);
  color: var(--card-text);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: var(--close-bg);
  color: white;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.modal-content {
  padding: 32px;
}

/* ---- Steps ---- */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.mm-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mm-step-dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ecdcd8;
  color: var(--card-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
}

.mm-step.is-done .mm-step-dot {
  background: var(--green);
  color: white;
}

.mm-step.is-active .mm-step-dot {
  background: var(--coral);
  color: white;
  box-shadow: 0 6px 14px rgba(190, 56, 86, 0.3);
}

.mm-step.is-active .step-label {
  color: var(--card-text);
  font-weight: 700;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--card-muted);
}

.step-line {
  width: 32px;
  height: 2px;
  background: var(--input-border);
}

/* ---- Panels & forms ---- */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.panel-eyebrow {
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  text-align: center;
}

.panel-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  margin: 0 0 8px;
  text-align: center;
}

.subtitle {
  color: var(--card-muted);
  text-align: center;
  margin: 0 0 24px;
  font-size: 0.95rem;
}

/* ---- Option cards (Passo 1) ---- */
.option-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  background: white;
  border: 2px solid var(--input-border);
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-family: var(--font-body);
}

.option-card.selected {
  border-color: var(--coral);
  background: #fff0f3;
}

/* ---- Chip grids (gênero, humor) ---- */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.chip {
  background: white;
  color: var(--card-muted);
  border: 2px solid var(--input-border);
  border-radius: 14px;
  padding: 10px 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
}

.chip.selected {
  background: #fff0f3;
  color: var(--coral);
  border-color: var(--coral);
}

select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--input-border);
  background: white;
  color: var(--card-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

select:focus {
  outline: none;
  border-color: var(--coral);
}

.option-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: #fde3df;
}

.option-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.option-title {
  font-weight: 800;
  color: var(--card-text);
}

.option-card.selected .option-title,
.option-card.selected .option-desc {
  color: var(--coral);
}

.option-desc {
  font-size: 0.85rem;
  color: var(--card-muted);
  line-height: 1.4;
}

.option-desc strong {
  color: var(--coral);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--card-muted);
  margin: 4px 0 0;
}

.voice-toggle {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.voice-btn {
  flex: 1;
  padding: 10px;
  border-radius: 12px;
  border: 1.5px solid var(--input-border);
  background: white;
  color: var(--card-muted);
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 0.9rem;
  cursor: pointer;
}

.voice-btn.selected {
  background: var(--coral);
  color: white;
  border-color: transparent;
}

/* ---- Cartão "compondo" (Passo 3) ---- */
.generating-card {
  margin-top: 24px;
  background: white;
  border: 1.5px solid var(--input-border);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
}

.generating-eyebrow {
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}

.generating-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  margin: 0 0 18px;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #fdf3ef;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

.countdown-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--card-muted);
}

.countdown-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--card-text);
}

.progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--input-border);
  overflow: hidden;
  margin-bottom: 14px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 1s linear;
}

.generating-status {
  color: var(--card-muted);
  font-size: 0.9rem;
  min-height: 1.4em;
  margin: 0;
}

.generation-counter {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--card-muted);
  margin-top: 14px;
}

.generation-counter.limit-reached {
  color: var(--coral);
}

/* ---- Link "Voltar" ---- */
.back-link {
  display: block;
  margin: 0 auto 18px;
  background: none;
  border: none;
  color: #a98e88;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: center;
}

.back-link:hover {
  color: var(--coral);
}

.back-link[hidden] {
  display: none;
}

.card-back-link {
  display: block;
  margin: 0 0 4px;
  padding: 0;
  background: none;
  border: none;
  color: #a98e88;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
}

.card-back-link:hover {
  color: var(--coral);
}

.test-link {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: #a98e88;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: center;
}

.test-link:hover {
  color: var(--coral);
}

.test-link[hidden] {
  display: none;
}

/* ---- Resumo do pedido (Passo 4) ---- */
.order-summary {
  background: white;
  border: 1.5px solid var(--input-border);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 20px;
}

.product-card {
  background: white;
  border: 1.5px solid var(--input-border);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.product-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 14px rgba(190, 56, 86, 0.3);
}

.product-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-title {
  font-weight: 800;
  color: var(--card-text);
  font-size: 0.95rem;
}

.product-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--coral);
}

.feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 0.6rem;
  margin-right: 4px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--card-text);
  font-weight: 700;
}

.order-features {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-features li {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  color: var(--card-muted);
  font-weight: 600;
}

.order-divider {
  height: 1px;
  background: var(--input-border);
  margin: 16px 0;
}

.order-total {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
}

/* ---- Upsell (bundle 2 músicas) ---- */
.upsell-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  border: 2px solid var(--green);
  border-radius: 16px;
  padding: 20px 18px 16px;
  margin-bottom: 20px;
  margin-top: 14px;
  cursor: pointer;
}

.upsell-card[hidden] {
  display: none;
}

.upsell-ribbon {
  position: absolute;
  top: -11px;
  left: 16px;
  background: var(--green);
  color: white;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(25, 180, 116, 0.4);
}

.upsell-card input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.upsell-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.upsell-badge {
  display: inline-block;
  background: #ddfbf4;
  color: var(--green-soft-text);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
}

.upsell-title {
  font-weight: 800;
  color: var(--card-text);
  font-size: 0.95rem;
}

.upsell-desc {
  font-size: 0.82rem;
  color: var(--card-muted);
}

/* ---- Banner de sucesso (pagamento confirmado) ---- */
.success-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green-soft-bg);
  color: var(--green-soft-text);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  font-weight: 900;
  font-size: 1.05rem;
}

.success-banner[hidden] {
  display: none;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--card-text);
  margin-top: 14px;
}

.form-card {
  background: white;
  border: 1.5px solid var(--input-border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#lyrics-form {
  gap: 16px;
}

.form-card > label:first-child {
  margin-top: 0;
}

.form-card[hidden] {
  display: none;
}

.label-optional {
  font-weight: 500;
  color: var(--coral);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--input-border);
  background: white;
  color: var(--card-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--coral);
}

textarea {
  min-height: 80px;
}

#lyrics-extra,
#prompt {
  min-height: 70px;
}

#prompt:read-only,
#lyrics:read-only {
  background: var(--card-bg);
  color: var(--card-muted);
  cursor: not-allowed;
  resize: none;
}

#lyrics {
  min-height: 110px;
}

/* ---- Status & result ---- */
.status {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f4e6e2;
  color: var(--card-text);
  text-align: center;
  font-size: 0.9rem;
}

.status.error {
  background: #fbdede;
  color: #a3243f;
}

.result {
  margin-top: 24px;
  background: white;
  border: 1.5px solid var(--input-border);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
}

/* ---- Meus Pedidos ---- */
#orders-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.order-card {
  background: white;
  border: 1.5px solid var(--input-border);
  border-radius: 16px;
  padding: 18px;
  text-align: left;
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.order-card-date {
  font-size: 0.8rem;
  color: var(--card-muted);
  font-weight: 600;
}

.order-card-badge {
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--green-soft-bg);
  color: var(--green-soft-text);
  padding: 4px 10px;
  border-radius: 999px;
}

.order-song {
  margin-bottom: 14px;
}

.order-song:last-child {
  margin-bottom: 0;
}

.order-song-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--card-text);
  margin-bottom: 6px;
}

.order-song audio {
  width: 100%;
  margin-bottom: 8px;
}

.order-song a,
.order-song button {
  width: 100%;
}

.result h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
}

#lyrics-output {
  min-height: 220px;
  width: 100%;
  white-space: pre-wrap;
}

.result audio {
  display: none;
}

/* ---- Player customizado ---- */
.player-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.player-tag-preview {
  background: #fde8e8;
  color: var(--coral);
}

.player-tag-full {
  background: var(--green-soft-bg);
  color: var(--green-soft-text);
}

.player {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 14px;
}

.player-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(190, 56, 86, 0.35);
  animation: avatar-spin 6s linear infinite;
  animation-play-state: paused;
}

.player-avatar-full {
  background: linear-gradient(135deg, var(--green), #0e9c66);
  box-shadow: 0 4px 12px rgba(25, 180, 116, 0.35);
}

.player.is-playing .player-avatar {
  animation-play-state: running;
}

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

.player-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.player-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(190, 56, 86, 0.3);
  transition: transform 0.15s;
}

.player-toggle:hover {
  transform: scale(1.06);
}

.player-toggle:active {
  transform: scale(0.96);
}

.player-toggle-full {
  background: linear-gradient(135deg, var(--green), #0e9c66);
  box-shadow: 0 6px 14px rgba(25, 180, 116, 0.3);
}

.player-track {
  position: relative;
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--input-border);
  cursor: pointer;
  transition: height 0.15s;
}

.player-track:hover {
  height: 11px;
}

.player-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 999px;
  pointer-events: none;
}

.player-fill-full {
  background: linear-gradient(90deg, var(--green), #0e9c66);
}

.player-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: white;
  border: 3px solid var(--coral);
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.player-thumb-full {
  border-color: var(--green);
}

.player-time {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--card-muted);
  text-align: right;
}

.result-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.result-actions button,
.result-actions a {
  flex: 1;
}

.second-song-promo {
  position: relative;
  background: linear-gradient(135deg, #fff4e0, #ffe9d6);
  border: 2px solid #f0a830;
  border-radius: 16px;
  padding: 20px 18px;
  margin-bottom: 20px;
  text-align: center;
}

.second-song-promo[hidden] {
  display: none;
}

.second-song-badge {
  display: inline-block;
  background: #f0a830;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.second-song-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--card-text);
  margin: 0 0 14px;
}

.second-song-title strong {
  color: var(--coral);
}

.second-song-hint {
  font-size: 0.78rem;
  color: var(--card-muted);
  margin: 10px 0 0;
}

.delivery-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--green-soft-bg);
  border-radius: 12px;
  text-align: left;
}

.delivery-note p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--green-soft-text);
  font-weight: 600;
  line-height: 1.4;
}

.delivery-note p + p {
  margin-top: 6px;
}

#pix-qr-image {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 1.5px solid var(--input-border);
  margin-bottom: 16px;
}

#pix-copy-paste {
  min-height: 70px;
  width: 100%;
  font-size: 0.8rem;
  word-break: break-all;
}

#copy-pix-btn {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .modal-center {
    padding: 0;
  }

  .modal-panel {
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }

  .modal-content {
    padding: 20px;
    padding-top: 56px;
  }
}
