/* ==========================================================================
   RESPONSIVE.CSS - ADAPTACIÓN COMPLETA PARA MÓVIL, TABLET, LAPTOP Y PC
   INVITACIÓN INFANTIL SOFÍA - ¡MI PRIMER AÑITO!
   Diseño 100% pantalla completa sin márgenes ni bordes tipo móvil
   ========================================================================== */

/* Base global sin márgenes ni rellenos exteriores en ningún dispositivo */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg,
      #6423a3 0%,
      #7b33be 10%,
      #ba6be8 18%,
      #f2c6f5 27%,
      #f8dcfb 40%,
      #f0c0f4 52%,
      #ba6be8 60%,
      #6926a8 68%,
      #7c35bf 75%,
      #c173ec 81%,
      #f4caf7 88%,
      #be6fed 95%,
      #7730b8 100%);
}

.main-invitation-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ==========================================================================
   1. MÓVILES PEQUEÑOS (< 360px)
   ========================================================================== */
@media (max-width: 360px) {
  .kid-name-title {
    font-size: 3.45rem;
  }

  .banner-ribbon .ribbon-text {
    font-size: 1.08rem;
  }

  .open-envelope-stage {
    max-width: 280px;
  }

  .envelope-body-box {
    height: 185px;
  }

  .envelope-photo-inner {
    height: 155px;
  }

  /* .celebrate-heading {
    font-size: 1.82rem;
  } */

  .details-grid-section {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   2. MÓVILES ESTÁNDAR Y GRANDES (361px - 767px)
   ========================================================================== */
@media (max-width: 767px) {

  .calendar-section,
  .countdown-section,
  .details-grid-section,
  .rsvp-section,
  .closing-section {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================================
   3. TABLETS (768px - 1023px)
   ========================================================================== */
@media (min-width: 768px) {
  .bg-glow-top {
    max-width: 900px;
    height: 450px;
  }

  .ambient-cloud.cloud-1,
  .ambient-cloud.cloud-2,
  .ambient-cloud.cloud-3,
  .ambient-cloud.cloud-4,
  .ambient-cloud.cloud-5,
  .ambient-cloud.cloud-6 {
    width: 580px;
    height: 260px;
    filter: blur(48px);
  }

  .ambient-cloud.cloud-7 {
    width: 740px;
    height: 290px;
    filter: blur(50px);
  }

  .bg-float-item {
    font-size: 1.45rem !important;
  }

  .drawing-cloud-smoke.kpop-smoke {
    height: 110px;
    bottom: 0;
  }

  .drawing-cloud-smoke .puff-center {
    height: 76px;
    filter: blur(15px);
  }

  .drawing-cloud-smoke .puff-left,
  .drawing-cloud-smoke .puff-right {
    height: 70px;
    filter: blur(16px);
  }

  /* Hero */
  .hero-section {
    padding: 2rem 2rem 1.35rem 2rem;
  }

  .hero-kpop-wrapper {
    max-width: 490px;
  }

  .hero-title-block {
    margin-top: -3.6rem;
  }

  .crown-svg {
    width: 62px;
    height: 48px;
  }

  .name-side-star {
    width: 28px;
    height: 28px;
  }

  .kid-name-title {
    font-size: 5.1rem;
    -webkit-text-stroke: 8px #ffffff;
  }

  .banner-ribbon {
    padding: 0.5rem 2rem;
  }

  .banner-ribbon .ribbon-text {
    font-size: 1.45rem;
  }

  /* Sobre y Foto */
  .photo-envelope-section {
    padding: 1.5rem 2rem 2.35rem 2rem;
  }

  .open-envelope-stage {
    max-width: 420px;
    padding-top: 3rem;
  }

  .envelope-top-flap-open {
    height: 145px;
  }

  .envelope-body-box {
    height: 265px;
  }

  .envelope-photo-card {
    top: -34px;
    padding: 0.55rem 0.55rem 1rem 0.55rem;
  }

  .envelope-photo-inner {
    height: 225px;
  }

  .bow-ribbon-svg {
    width: 115px;
    height: 65px;
  }

  .heart-seal-badge {
    width: 50px;
    height: 50px;
  }

  .celebrate-heading {
    font-size: 2.1rem;
    margin-top: 1.75rem;
  }

  /* Contenedores de Tarjetas (Calendario, Cuenta Regresiva, Detalles, RSVP) */
  .calendar-section,
  .countdown-section,
  .details-grid-section,
  .rsvp-section {
    max-width: 720px;
    padding: 1.35rem 2rem 1.85rem 2rem;
    margin-left: auto;
    margin-right: auto;
  }

  .white-soft-card,
  .rsvp-card {
    padding: 1.75rem 2rem;
    border-radius: 2rem;
  }

  .birthday-pill {
    padding: 0.48rem 1.5rem;
  }

  .birthday-pill-text {
    font-size: 1.05rem;
  }

  .month-label {
    font-size: 1.35rem;
  }

  .calendar-weekdays {
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
  }

  .calendar-days {
    font-size: 1.05rem;
    row-gap: 0.55rem;
  }

  .calendar-day-circle {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  /* Cuenta Regresiva */
  .countdown-title {
    font-size: 1.55rem;
  }

  .countdown-boxes-grid {
    gap: 1rem;
  }

  .countdown-purple-box {
    padding: 0.9rem 0.5rem;
    border-radius: 1.25rem;
  }

  .countdown-num {
    font-size: 2.25rem;
  }

  .countdown-label {
    font-size: 0.92rem;
  }

  /* Hora y Lugar */
  .details-grid-section {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .detail-card {
    padding: 1.35rem 1.25rem;
    border-radius: 1.75rem;
  }

  .detail-icon-circle {
    width: 42px;
    height: 42px;
  }

  .detail-label-italic {
    font-size: 1.1rem;
  }

  .detail-time-value {
    font-size: 1.5rem;
  }

  .detail-place-value {
    font-size: 1.05rem;
  }

  .detail-map-hint {
    font-size: 0.78rem;
  }

  /* Mascota Gatito */
  .mascot-cat-section {
    padding: 1.45rem 2rem 1.45rem 2rem;
  }

  .cat-wrapper {
    width: 210px;
  }

  /* RSVP */
  .rsvp-big-heading {
    font-size: 3.1rem;
    -webkit-text-stroke: 6px #531b8e;
    margin-bottom: 0.75rem;
  }

  .rsvp-subtitle {
    font-size: 1rem;
    margin-bottom: 1.15rem;
  }

  .rsvp-field-label {
    font-size: 0.95rem;
  }

  .rsvp-input,
  .rsvp-select,
  .rsvp-textarea {
    font-size: 0.98rem;
    padding: 0.85rem 1.1rem;
  }

  .whatsapp-confirm-btn {
    padding: 0.9rem 1.5rem;
    font-size: 1.18rem;
  }

  /* Cierre / Papás */
  .closing-section {
    max-width: 720px;
    padding: 1.45rem 2rem 2.85rem 2rem;
  }

  .parents-tiered-badge {
    max-width: 430px;
  }

  .parents-top-pill {
    font-size: 1rem;
    padding: 0.28rem 1.35rem;
  }

  .parents-bottom-pill {
    font-size: 1.02rem;
    padding: 0.8rem 1.25rem 0.55rem 1.25rem;
  }

  .te-esperamos-title {
    font-size: 2.3rem;
  }

  .microphones-wrapper {
    max-width: 330px;
  }
}

/* ==========================================================================
   4. LAPTOP Y ESCRITORIO / PC (>= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .bg-glow-top {
    max-width: 1200px;
    height: 550px;
  }

  /* Hero amplio para Laptop/PC */
  .hero-section {
    padding: 2.35rem 3rem 1.6rem 3rem;
    max-width: 1100px;
  }

  .hero-kpop-wrapper {
    max-width: 580px;
  }

  .hero-title-block {
    margin-top: -4.2rem;
  }

  .crown-svg {
    width: 72px;
    height: 55px;
  }

  .name-side-star {
    width: 34px;
    height: 34px;
  }

  .kid-name-title {
    font-size: 6rem;
    -webkit-text-stroke: 9px #ffffff;
  }

  .banner-ribbon {
    padding: 0.6rem 2.4rem;
  }

  .banner-ribbon .ribbon-text {
    font-size: 1.65rem;
  }

  /* Sobre y Foto en Laptop/PC */
  .photo-envelope-section {
    padding: 1.65rem 3rem 2.75rem 3rem;
    max-width: 1000px;
  }

  .open-envelope-stage {
    max-width: 500px;
    padding-top: 3.4rem;
  }

  .envelope-top-flap-open {
    height: 170px;
  }

  .envelope-body-box {
    height: 315px;
  }

  .envelope-photo-card {
    top: -40px;
    padding: 0.65rem 0.65rem 1.2rem 0.65rem;
  }

  .envelope-photo-inner {
    height: 270px;
  }

  .celebrate-heading {
    font-size: 2.45rem;
    margin-top: 2rem;
  }

  /* Secciones de contenido más anchas para aprovechar pantalla de Laptop/PC */
  .calendar-section,
  .countdown-section,
  .details-grid-section,
  .rsvp-section {
    max-width: 900px;
    padding: 1.65rem 2.5rem 2.15rem 2.5rem;
    margin-bottom: 0.5rem;
  }

  .white-soft-card,
  .rsvp-card {
    padding: 2.25rem 2.75rem;
    border-radius: 2.25rem;
  }

  .birthday-pill-wrap {
    margin-top: -2.65rem;
    margin-bottom: 1rem;
  }

  .birthday-pill {
    padding: 0.55rem 1.85rem;
  }

  .birthday-pill-text {
    font-size: 1.15rem;
  }

  .month-label {
    font-size: 1.55rem;
  }

  .calendar-weekdays {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .calendar-days {
    font-size: 1.18rem;
    row-gap: 0.75rem;
  }

  .calendar-day-circle {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  /* Cuenta Regresiva */
  .countdown-header {
    margin-bottom: 1.1rem;
  }

  .countdown-title {
    font-size: 1.8rem;
  }

  .countdown-boxes-grid {
    gap: 1.35rem;
  }

  .countdown-purple-box {
    padding: 1.15rem 0.75rem;
    border-radius: 1.5rem;
  }

  .countdown-num {
    font-size: 2.65rem;
  }

  .countdown-label {
    font-size: 1.02rem;
  }

  /* Hora y Lugar */
  .details-grid-section {
    gap: 1.5rem;
  }

  .detail-card {
    padding: 1.75rem 1.5rem;
    border-radius: 2rem;
  }

  .detail-icon-circle {
    width: 48px;
    height: 48px;
  }

  .detail-icon-circle svg {
    width: 24px;
    height: 24px;
  }

  .detail-label-italic {
    font-size: 1.25rem;
  }

  .detail-time-value {
    font-size: 1.75rem;
  }

  .detail-place-value {
    font-size: 1.18rem;
  }

  .detail-map-hint {
    font-size: 0.85rem;
    margin-top: 0.45rem;
  }

  /* Mascota Gatito */
  .mascot-cat-section {
    padding: 1.65rem 2rem 1.65rem 2rem;
  }

  .cat-wrapper {
    width: 245px;
  }

  /* RSVP */
  .rsvp-big-heading {
    font-size: 3.4rem;
    -webkit-text-stroke: 6.5px #531b8e;
    margin-bottom: 0.85rem;
  }

  .rsvp-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.35rem;
  }

  .rsvp-form {
    gap: 1rem;
  }

  .rsvp-field-label {
    font-size: 1rem;
  }

  .rsvp-input,
  .rsvp-select,
  .rsvp-textarea {
    font-size: 1.05rem;
    padding: 0.95rem 1.25rem;
    border-radius: 1.1rem;
  }

  .whatsapp-confirm-btn {
    margin-top: 1.35rem;
    padding: 1.05rem 2rem;
    font-size: 1.28rem;
  }

  /* Cierre / Papás */
  .closing-section {
    max-width: 900px;
    padding: 1.65rem 2.5rem 3.5rem 2.5rem;
  }

  .parents-tiered-badge {
    max-width: 500px;
    margin-bottom: 1.6rem;
  }

  .parents-top-pill {
    font-size: 1.1rem;
    padding: 0.35rem 1.6rem;
  }

  .parents-bottom-pill {
    font-size: 1.15rem;
    padding: 0.95rem 1.5rem 0.65rem 1.5rem;
  }

  .te-esperamos-title {
    font-size: 2.65rem;
    margin-bottom: 0.75rem;
  }

  .microphones-wrapper {
    max-width: 400px;
  }

  .closing-watermark {
    font-size: 0.8rem;
    margin-top: 1.25rem;
  }
}

/* ==========================================================================
   5. PANTALLAS GRANDES / MONITORES PC (>= 1280px)
   ========================================================================== */
@media (min-width: 1280px) {

  .calendar-section,
  .countdown-section,
  .details-grid-section,
  .rsvp-section,
  .closing-section {
    max-width: 1020px;
  }

  .hero-kpop-wrapper {
    max-width: 640px;
  }

  .open-envelope-stage {
    max-width: 540px;
  }
}