/* ============================================================
   style.css — Sheyla & Gabriel Wedding Invitation
   Mobile-first, elegante, paleta verde oliva
   ============================================================ */

/* ── Variables de Paleta ─────────────────────────────────── */
:root {
  --color-dark:       #47522F;
  --color-mid-dark:   #616D45;
  --color-mid:        #78875E;
  --color-light:      #8EA579;
  --color-pale:       #EEF2E8;
  --color-white:      #FFFFFF;
  --color-text:       #2C2C2C;
  --color-text-light: #5A5A5A;
  --color-success:    #3A6B35;
  --color-error:      #8B1A1A;

  --font-script: 'Great Vibes', cursive;
  --font-ui:     'Raleway', sans-serif;

  --border-radius: 1rem;
  --border-radius-sm: 0.5rem;
  --shadow: 0 4px 20px rgba(71, 82, 47, 0.15);
  --shadow-hover: 0 8px 30px rgba(71, 82, 47, 0.25);
  --transition: 0.3s ease;
}

/* ── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--color-text);
  background-color: transparent;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Fondo fijo (foto portada detrás de todo) ────────────── */
#fondo-fijo {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.fondo-fijo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none; /* anular el max-width:100% del reset */
}

.fondo-fijo-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(71, 82, 47, 0.58);
}

/* ── Main (sobre el fondo fijo) ──────────────────────────── */
main {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Accesibilidad: Focus visible ────────────────────────── */
:focus-visible {
  outline: 3px solid var(--color-mid-dark);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Touch targets mínimos ───────────────────────────────── */
button,
a,
input[type="submit"],
.btn-submit,
.btn-maps,
.galeria-btn,
.toggle-pill {
  min-height: 44px;
  min-width: 44px;
}

/* ── Utilidades ──────────────────────────────────────────── */
.hidden {
  display: none !important;
}

.section-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.opcional {
  color: var(--color-text-light);
  font-size: 0.85em;
  font-weight: 400;
}

/* ── Tarjetas flotantes (todas las secciones excepto portada) */
.animate-section:not(#portada) {
  margin: 2rem 1rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  background-color: var(--color-white);
}

@media (min-width: 768px) {
  .animate-section:not(#portada) {
    margin: 2.5rem auto;
    max-width: 760px;
  }
}

@media (min-width: 1024px) {
  .animate-section:not(#portada) {
    max-width: 900px;
  }
}

/* ── Animaciones Zig-Zag (IntersectionObserver) ──────────── */
.animate-section {
  /* El estado inicial lo pone JS */
}

.from-left {
  transform: translateX(-40px);
  opacity: 0;
}

.from-right {
  transform: translateX(40px);
  opacity: 0;
}

.visible {
  transform: translateX(0) !important;
  opacity: 1 !important;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .from-left,
  .from-right {
    transform: none;
    opacity: 1;
  }

  .visible {
    transition: none;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ════════════════════════════════════════════════════════════
   1. PORTADA
════════════════════════════════════════════════════════════ */
#portada {
  position: relative;
  height: 100svh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portada-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.portada-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portada-overlay {
  position: absolute;
  inset: 0;
  background: rgba(71, 82, 47, 0.55);
}

.portada-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--color-white);
}

.nombres-pareja {
  font-family: var(--font-script);
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.frase-portada {
  font-size: clamp(0.9rem, 3vw, 1.15rem);
  font-weight: 300;
  max-width: 420px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  line-height: 1.7;
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  animation: bounce 2s ease-in-out infinite;
  cursor: pointer;
}

.scroll-arrow {
  font-size: 1.5rem;
  opacity: 0.85;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator {
    animation: none;
  }
}

/* ════════════════════════════════════════════════════════════
   2. REVELAR FECHA (SCRATCH CARD)
════════════════════════════════════════════════════════════ */
#revelar-fecha {
  background-color: var(--color-pale);
}

#revelar-fecha .section-inner {
  text-align: center;
}

.scratch-cards-container {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.scratch-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.scratch-reveal {
  position: absolute;
  inset: 0;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid var(--color-light);
  z-index: 0;
}

.scratch-valor {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
  font-family: var(--font-script);
  font-size: 2.2rem;
}

.scratch-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-mid);
  margin-top: 0.25rem;
  font-weight: 600;
}

.scratch-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
  z-index: 1;
  border-radius: 50%;
}

.scratch-done .scratch-canvas {
  display: none;
}

/* ════════════════════════════════════════════════════════════
   3. CUENTA REGRESIVA
════════════════════════════════════════════════════════════ */
#cuenta-regresiva {
  background: linear-gradient(135deg, var(--color-dark), var(--color-mid-dark));
  color: var(--color-white);
}

#cuenta-regresiva .section-title {
  color: var(--color-white);
}

.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  margin-top: 1.5rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 1rem 0.75rem;
  min-width: 68px;
}

.countdown-unit .valor {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-unit .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-top: 0.35rem;
  font-weight: 500;
}

.countdown-sep {
  font-size: 2rem;
  font-weight: 300;
  opacity: 0.6;
  align-self: flex-start;
  margin-top: 1rem;
  line-height: 1;
}

#countdown-casados {
  font-size: 1.25rem;
  text-align: center;
  font-family: var(--font-script);
  font-size: 2rem;
  margin-top: 1.5rem;
}

/* ════════════════════════════════════════════════════════════
   4. CEREMONIA & 5. RECEPCIÓN
════════════════════════════════════════════════════════════ */
#ceremonia {
  background-color: var(--color-white);
}

#recepcion {
  background-color: var(--color-pale);
}

.evento-card {
  background: var(--color-white);
  border: 1px solid rgba(71, 82, 47, 0.15);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 400px;
  margin: 1.5rem auto 0;
}

#recepcion .evento-card {
  background: var(--color-white);
}

.evento-icono {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.evento-fecha {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--color-mid-dark);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.evento-hora {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.evento-lugar {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: var(--color-mid-dark);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-maps:hover:not(.btn-disabled) {
  background-color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-maps.btn-disabled {
  background-color: #b0b0b0;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.7;
}

/* ════════════════════════════════════════════════════════════
   6. GALERÍA
════════════════════════════════════════════════════════════ */
#galeria {
  background-color: var(--color-dark);
  overflow: hidden;
}

#galeria .section-title {
  color: var(--color-white);
}

#galeria .section-inner {
  padding-bottom: 3rem;
}

.galeria-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.galeria-track {
  display: flex;
  gap: 1rem;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem;
  flex: 1;
  border-radius: var(--border-radius-sm);
}

.galeria-track::-webkit-scrollbar {
  display: none;
}

.galeria-item {
  scroll-snap-align: center;
  flex-shrink: 0;
  width: 75vw;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.galeria-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-size: 1.75rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition);
  padding: 0;
  line-height: 1;
}

.galeria-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.galeria-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.galeria-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.galeria-dot.active {
  background-color: var(--color-white);
  transform: scale(1.4);
}

/* ════════════════════════════════════════════════════════════
   7. SUGERIR CANCIÓN
════════════════════════════════════════════════════════════ */
#sugerir-cancion {
  background-color: var(--color-pale);
}

/* ════════════════════════════════════════════════════════════
   Formularios (compartido: RSVP + Canción)
════════════════════════════════════════════════════════════ */
.rsvp-form,
.cancion-form {
  max-width: 480px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label,
.group-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(71, 82, 47, 0.25);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-mid-dark);
  outline: none;
  box-shadow: 0 0 0 3px rgba(97, 109, 69, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.field-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.3rem;
}

.btn-submit {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background-color: var(--color-dark);
  color: var(--color-white);
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-submit:hover:not(:disabled) {
  background-color: var(--color-mid-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-submit:disabled {
  background-color: #9a9a9a;
  cursor: not-allowed;
  transform: none;
}

/* Feedback messages */
.rsvp-feedback,
.cancion-feedback {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  line-height: 1.5;
}

.rsvp-feedback.visible,
.cancion-feedback.visible {
  display: block;
}

.rsvp-feedback.success,
.cancion-feedback.success {
  background-color: #d4edda;
  color: var(--color-success);
  border: 1px solid #b8dacc;
}

.rsvp-feedback.error,
.cancion-feedback.error {
  background-color: #f8d7da;
  color: var(--color-error);
  border: 1px solid #f1b0b7;
}

/* RSVP — toggle de asistencia */
.asistencia-group {
  margin-bottom: 1.5rem;
}

.asistencia-toggle {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.toggle-option {
  flex: 1;
  min-width: 130px;
}

.toggle-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(71, 82, 47, 0.3);
  border-radius: 2rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
  background: var(--color-white);
  color: var(--color-dark);
  min-height: 44px;
}

.toggle-option input[type="radio"]:checked + .toggle-pill {
  background-color: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

.toggle-option input[type="radio"]:focus-visible + .toggle-pill {
  outline: 3px solid var(--color-mid-dark);
  outline-offset: 3px;
}

.toggle-pill:hover {
  border-color: var(--color-mid-dark);
  background-color: var(--color-pale);
}

/* ════════════════════════════════════════════════════════════
   8. DRESS CODE
════════════════════════════════════════════════════════════ */
#dress-code {
  background-color: var(--color-white);
}

.dress-code-content {
  text-align: center;
}

.dress-code-etiqueta {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.dress-code-descripcion {
  color: var(--color-text-light);
  max-width: 400px;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.colores-grid {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: default;
}

.swatch-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition);
}

.color-swatch:hover .swatch-circle {
  transform: scale(1.1);
}

.swatch-nombre {
  font-size: 0.7rem;
  color: var(--color-text-light);
  text-align: center;
  font-weight: 500;
  max-width: 72px;
  line-height: 1.3;
}

/* ════════════════════════════════════════════════════════════
   9. TIPS
════════════════════════════════════════════════════════════ */
#tips {
  background-color: var(--color-pale);
}

.tips-lista {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tips-lista li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--color-white);
  border-left: 4px solid var(--color-mid);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(71, 82, 47, 0.08);
}

.tips-lista li::before {
  content: "✦";
  color: var(--color-light);
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 0.1em;
}

/* ════════════════════════════════════════════════════════════
   10. MESA DE REGALOS
════════════════════════════════════════════════════════════ */
#mesa-regalos {
  background-color: var(--color-white);
}

.regalos-mensaje {
  text-align: center;
  color: var(--color-text-light);
  max-width: 460px;
  margin: 0 auto 1.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.regalos-opciones {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.regalo-card {
  background: var(--color-pale);
  border: 1px solid rgba(71, 82, 47, 0.15);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(71, 82, 47, 0.08);
}

.regalo-card h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-mid-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.regalo-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(71, 82, 47, 0.12);
}

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

.regalo-row .label {
  color: var(--color-text-light);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.regalo-row .value {
  font-weight: 600;
  color: var(--color-dark);
  font-family: monospace;
  text-align: right;
  word-break: break-all;
}

.regalo-paypal-link {
  color: var(--color-mid-dark);
  font-weight: 600;
  text-decoration: underline;
  word-break: break-all;
  font-size: 0.95rem;
}

/* ════════════════════════════════════════════════════════════
   11. COMPARTIR FOTOS (QR)
════════════════════════════════════════════════════════════ */
#compartir-fotos {
  background-color: var(--color-pale);
  text-align: center;
}

.qr-instruccion {
  text-align: center;
  color: var(--color-text-light);
  max-width: 380px;
  margin: 0.5rem auto 1.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

#qr-container {
  display: inline-block;
  background: var(--color-white);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* ════════════════════════════════════════════════════════════
   12. RSVP
════════════════════════════════════════════════════════════ */
#rsvp {
  background-color: var(--color-pale);
}

/* ════════════════════════════════════════════════════════════
   13. CIERRE
════════════════════════════════════════════════════════════ */
#cierre {
  background: linear-gradient(160deg, var(--color-dark), var(--color-mid-dark));
  color: var(--color-white);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cierre-content {
  text-align: center;
  padding: 4rem 2rem;
}

.cierre-nombres {
  font-family: var(--font-script);
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.cierre-fecha {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  opacity: 0.8;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.cierre-mensaje {
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 2rem;
  font-weight: 300;
}

.cierre-decoracion {
  font-size: 1.25rem;
  letter-spacing: 0.5em;
  opacity: 0.6;
}

/* ════════════════════════════════════════════════════════════
   BOTÓN DE MÚSICA (Flotante)
════════════════════════════════════════════════════════════ */
.music-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 52px;
  height: 52px;
  background-color: var(--color-dark);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(71, 82, 47, 0.4);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  padding: 0;
  min-width: 52px;
  min-height: 52px;
}

.music-btn:hover {
  background-color: var(--color-mid-dark);
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(71, 82, 47, 0.5);
}

.music-btn.playing {
  background-color: var(--color-mid-dark);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — Desktop enhancements (768px+)
════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .countdown-unit {
    min-width: 90px;
    padding: 1.25rem 1rem;
  }

  .galeria-item {
    width: 55vw;
    max-width: 400px;
  }

  .regalos-opciones {
    flex-direction: row;
    align-items: flex-start;
  }

  .regalo-card {
    flex: 1;
  }

  .scratch-wrapper {
    width: 150px;
    height: 150px;
  }

  .scratch-canvas {
    width: 150px;
    height: 150px;
  }
}

@media (min-width: 1024px) {
  .section-inner {
    padding: 5rem 2rem;
  }
}
