:root {
  --tatan-primario1: #fcd1b1;
  --tatan-primario2: #c7e2d6;
  --tatan-primario3: #c6e1d3;
  --tatan-primario4: #f6c6a1;
  --tatan-secundario1: #e8d5c4;
  --tatan-secundario2: #b9a89b;
  --tatan-acento-verde: #8dbfa3;
  --tatan-acento-rosa: #f4b8c8;
  --tatan-acento-amarillo: #f7e4a3;
  --tatan-acento-azul: #a8c8e0;
  --background: #fbf7f0;
  --foreground: #3a322b;
  --instagram-gradient: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family:
    "Nunito",
    system-ui,
    -apple-system,
    sans-serif;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(247, 228, 163, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(199, 226, 214, 0.2) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(252, 209, 177, 0.12) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #fbf7f0 0%, #f8f3e8 50%, #f5efe2 100%);
  color: var(--foreground);
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vh, 22px) 20px;
  padding-top: clamp(10px, 2vh, 22px);
  padding-bottom: clamp(36px, 5vh, 52px);
  padding-top: max(clamp(10px, 2vh, 22px), env(safe-area-inset-top));
  padding-bottom: max(clamp(36px, 5vh, 52px), env(safe-area-inset-bottom));
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  overflow-y: auto;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(185, 168, 155, 0.02) 2px,
      rgba(185, 168, 155, 0.02) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(185, 168, 155, 0.02) 2px,
      rgba(185, 168, 155, 0.02) 4px
    );
  pointer-events: none;
  z-index: 0;
}

.paper-overlay {
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0px,
    transparent 3px,
    rgba(185, 168, 155, 0.012) 3px,
    rgba(185, 168, 155, 0.012) 6px
  );
  pointer-events: none;
  z-index: 1;
}

.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.bg-blob-1 {
  width: 380px;
  height: 380px;
  background: var(--tatan-primario1);
  top: -100px;
  left: -80px;
  animation: blob-float-1 9s ease-in-out infinite;
}

.bg-blob-2 {
  width: 340px;
  height: 340px;
  background: var(--tatan-primario2);
  bottom: -80px;
  right: -60px;
  animation: blob-float-2 10s ease-in-out infinite;
}

.bg-blob-3 {
  width: 240px;
  height: 240px;
  background: var(--tatan-acento-amarillo);
  top: 35%;
  right: 8%;
  opacity: 0.4;
  animation: blob-float-3 12s ease-in-out infinite;
}

.bg-blob-4 {
  width: 220px;
  height: 220px;
  background: var(--tatan-acento-rosa);
  bottom: 30%;
  left: 6%;
  opacity: 0.45;
  animation: blob-float-4 11s ease-in-out infinite;
}

@keyframes blob-float-1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(35px, 45px) scale(1.1);
  }
  66% {
    transform: translate(-25px, 25px) scale(0.95);
  }
}

@keyframes blob-float-2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-45px, -35px) scale(1.08);
  }
  66% {
    transform: translate(25px, -25px) scale(1.15);
  }
}

@keyframes blob-float-3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-35px, -30px) scale(1.2);
  }
}

@keyframes blob-float-4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -25px) scale(1.15);
  }
}

.floating-badge {
  position: fixed;
  z-index: 15;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 11px 20px 11px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow:
    0 1px 3px rgba(185, 168, 155, 0.12),
    0 8px 25px rgba(185, 168, 155, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(232, 213, 196, 0.5);
}

.floating-badge svg {
  animation: pulse-scale 2.2s ease-in-out infinite;
}

.floating-badge-1 {
  top: 32px;
  right: 24px;
  color: #d48a3c;
  animation: float-soft 4s ease-in-out infinite;
}

.floating-badge-1 .icon-sparkle {
  color: #d48a3c;
}

.floating-badge-2 {
  bottom: 32px;
  left: 24px;
  color: #e26a8a;
  animation: float-diagonal 4.5s ease-in-out infinite 0.5s;
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-12px) rotate(-2deg);
  }
}

@keyframes float-diagonal {
  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }
  50% {
    transform: translate(10px, -10px) rotate(2deg);
  }
}

@keyframes pulse-scale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.bg-deco {
  position: fixed;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 3px 8px rgba(185, 168, 155, 0.18));
  will-change: transform, opacity;
}

.bg-deco svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== Animación de ENTRADA (1 sola vez) - SINCRONIZADA ===== */
/* Todos los íconos aparecen JUNTOS, al mismo tiempo que el logo */
@keyframes bg-deco-enter {
  0% {
    opacity: 0;
    transform: translateY(-6px) scale(0.94);
  }
  60% {
    opacity: 0.78;
  }
  100% {
    opacity: 0.72;
    transform: translateY(0) scale(1);
  }
}

/* ===== Animaciones FLOTANTES (infinitas) - SÓLO TRANSFORM, SIN OPACITY ===== */
/* Estas son las que dan movimiento constante, sin parpadear */
@keyframes bg-deco-float-A {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -14px) rotate(-8deg);
  }
  50% {
    transform: translate(-6px, -22px) rotate(4deg);
  }
  75% {
    transform: translate(-12px, -10px) rotate(-3deg);
  }
}

@keyframes bg-deco-float-B {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-14px, 8px) rotate(10deg);
  }
  66% {
    transform: translate(10px, 20px) rotate(-6deg);
  }
}

@keyframes bg-deco-float-C {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(0, -18px) rotate(12deg) scale(1.08);
  }
}

/* =============== POSICIONES FINALES - MÁXIMA SEPARACIÓN POR TODO EL VIEWPORT ===============
   1 ícono por zona del viewport: 4 EXTREMOS + centro-inferior.
   Separación mínima entre vecinos más cercanos: 30% X o 30% Y.
   ZONAS PROHIBIDAS (100% respetadas):
     ❌ ESQUINA SUP-DER  (top 0-14%, right 0-22%)   → badge1 "¡Muy pronto!"
     ❌ ESQUINA INF-IZQ  (bottom 0-20%, left 0-28%) → badge2 "Hecho con amor"
=========================================================================================== */

/* 1 ☁️ NUBE - EXTREMO SUP-IZQ (arriba a la izquierda MUY LEJOS) */
.bg-deco-1 {
  width: 50px;
  height: 50px;
  top: 10%;
  left: 10%;
  color: var(--tatan-acento-azul);
  animation:
    bg-deco-enter 700ms cubic-bezier(0.22, 0.61, 0.36, 1) 0.35s forwards,
    bg-deco-float-A 11s ease-in-out 1.05s infinite;
}

/* 2 🌙 LUNA - EXTREMO SUP-DER FUERA DE ZONA PROHIBIDA (arriba-derecha, más alto que 14% top) */
.bg-deco-2 {
  width: 30px;
  height: 30px;
  top: 22%;
  right: 10%;
  color: #bfa998;
  animation:
    bg-deco-enter 700ms cubic-bezier(0.22, 0.61, 0.36, 1) 0.35s forwards,
    bg-deco-float-C 14s ease-in-out 1.2s infinite;
}

/* 3 🍭 CHUPETIN - EXTREMO MEDIO-IZQ (MUY a la izquierda, medio vertical → 58% top) */
.bg-deco-3 {
  width: 32px;
  height: 32px;
  top: 58%;
  left: 10%;
  color: #e29a7c;
  animation:
    bg-deco-enter 700ms cubic-bezier(0.22, 0.61, 0.36, 1) 0.35s forwards,
    bg-deco-float-B 12s ease-in-out 1.35s infinite;
}

/* 4 ✨ SPARKLE (3 brillos) - EXTREMO MEDIO-DER (MUY a la derecha, centro vertical → 50% top) */
.bg-deco-4 {
  width: 34px;
  height: 34px;
  top: 50%;
  right: 12%;
  color: var(--tatan-acento-amarillo);
  animation:
    bg-deco-enter 700ms cubic-bezier(0.22, 0.61, 0.36, 1) 0.35s forwards,
    bg-deco-float-C 7s ease-in-out 1.15s infinite;
}

/* 5 ❤️ CORAZON - CENTRO INFERIOR (abajo EN EL MEDIO, fuera de ambas esquinas prohibidas) */
.bg-deco-5 {
  width: 24px;
  height: 24px;
  bottom: 20%;
  left: 50%;
  color: #e898a8;
  animation:
    bg-deco-enter 700ms cubic-bezier(0.22, 0.61, 0.36, 1) 0.35s forwards,
    bg-deco-float-C 8.5s ease-in-out 1.4s infinite;
}

.main-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 640px;
  max-width: min(640px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vh, 26px);
}

.logo-hero {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(10px, 2vh, 22px) 0 clamp(0px, 0.5vh, 6px);
  animation: logo-hero-entrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes logo-hero-entrance {
  from {
    opacity: 0;
    transform: translateY(-25px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.logo-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(300px, 68vw, 480px);
  height: clamp(100px, 26vh, 180px);
  max-width: min(90vw, 480px);
  max-height: min(30vh, 180px);
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(252, 209, 177, 0.5) 0%,
    rgba(252, 209, 177, 0.15) 45%,
    transparent 72%
  );
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: halo-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

.logo-halo-2 {
  width: clamp(240px, 58vw, 400px);
  height: clamp(80px, 20vh, 150px);
  max-width: min(82vw, 400px);
  max-height: min(24vh, 150px);
  background: radial-gradient(
    ellipse,
    rgba(199, 226, 214, 0.55) 0%,
    rgba(199, 226, 214, 0.2) 45%,
    transparent 75%
  );
  animation: halo-pulse 5s ease-in-out infinite 0.8s reverse;
}

@keyframes halo-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.07);
    opacity: 1;
  }
}

.logo-wrapper {
  position: relative;
  z-index: 2;
}

.tatan-logo {
  display: block;
  width: clamp(260px, 58vw, 460px);
  max-width: min(82vw, 460px);
  max-height: min(16vh, 150px);
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 4px 10px rgba(185, 168, 155, 0.18))
    drop-shadow(0 12px 30px rgba(185, 168, 155, 0.16));
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
}

.logo-wrapper:hover .tatan-logo {
  transform: scale(1.04) rotate(-1deg);
  filter: drop-shadow(0 6px 16px rgba(185, 168, 155, 0.24))
    drop-shadow(0 18px 45px rgba(185, 168, 155, 0.22))
    drop-shadow(0 0 22px rgba(252, 209, 177, 0.55));
}

.deco-float {
  position: absolute;
  z-index: 3;
  opacity: 0.75;
  filter: drop-shadow(0 3px 6px rgba(185, 168, 155, 0.18));
}

.deco-float svg {
  width: 100%;
  height: 100%;
  display: block;
}

.deco-float-a {
  width: 34px;
  height: 34px;
  top: -4%;
  left: 0%;
  color: var(--tatan-acento-azul);
  animation: deco-float-x 6s ease-in-out infinite 0.2s;
}

.deco-float-b {
  width: 30px;
  height: 30px;
  top: -10%;
  right: 4%;
  color: var(--tatan-acento-amarillo);
  animation: deco-float-y 7s ease-in-out infinite 0.6s;
}

.deco-float-c {
  width: 32px;
  height: 32px;
  bottom: -14%;
  left: 4%;
  color: var(--tatan-acento-verde);
  animation: deco-float-y 6.5s ease-in-out infinite 0.4s reverse;
}

.deco-float-d {
  width: 38px;
  height: 38px;
  bottom: -16%;
  right: 0%;
  color: var(--tatan-acento-rosa);
  animation: deco-float-x 7.5s ease-in-out infinite 1s reverse;
}

@keyframes deco-float-x {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(8px, -14px) rotate(-10deg);
  }
}

@keyframes deco-float-y {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-10px, -12px) rotate(8deg);
  }
}

.badge-eta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: clamp(7px, 1vh, 9px) clamp(16px, 2vw, 20px);
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(199, 226, 214, 0.75) 0%,
    rgba(198, 225, 211, 0.75) 100%
  );
  color: #436858;
  font-size: clamp(12.5px, 1.4vw, 13.5px);
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(141, 191, 163, 0.4);
  box-shadow:
    0 1px 3px rgba(141, 191, 163, 0.15),
    0 4px 14px rgba(141, 191, 163, 0.12);
  animation: badge-pop 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

@keyframes badge-pop {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.title {
  font-family: "Fredoka", "Nunito", sans-serif;
  text-align: center;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 2px;
  font-weight: 700;
  width: 100%;
}

.title-line-1 {
  display: block;
  font-size: clamp(34px, 7.2vh, 54px);
  color: #474037;
  animation: title-slide 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
}

.title-line-2 {
  display: block;
  font-size: clamp(34px, 7.2vh, 54px);
  margin-top: 0;
  color: #474037;
  animation: title-slide 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.72s both;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
}

.highlight {
  background: linear-gradient(135deg, var(--tatan-primario4) 0%, #e89a6e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  padding: 0 3px;
}

.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: clamp(4px, 0.8vh, 6px);
  width: 100%;
  height: clamp(9px, 1.3vh, 12px);
  background: linear-gradient(
    135deg,
    rgba(252, 209, 177, 0.55) 0%,
    rgba(246, 198, 161, 0.55) 100%
  );
  z-index: -1;
  border-radius: 5px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-grow 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

@keyframes title-slide {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underline-grow {
  to {
    transform: scaleX(1);
  }
}

.description {
  text-align: center;
  font-size: clamp(14px, 2vh, 16px);
  line-height: 1.6;
  color: #6b5f53;
  max-width: 440px;
  max-width: min(440px, 95%);
  margin: 0 auto;
  font-weight: 500;
  animation: fade-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both;
  word-break: break-word;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.instagram-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: clamp(340px, 46vh, 400px);
  max-width: min(clamp(340px, 46vh, 400px), 100%);
  margin-top: 2px;
  padding: clamp(13px, 2.2vh, 17px) clamp(18px, 3.5vw, 26px);
  border-radius: clamp(18px, 3vh, 24px);
  background: linear-gradient(135deg, #fcd1b1 0%, #f6c6a1 100%);
  color: #5a4a3d;
  text-decoration: none;
  font-weight: 800;
  font-family: "Nunito", sans-serif;
  box-shadow:
    0 2px 10px rgba(252, 209, 177, 0.55),
    0 14px 35px rgba(252, 209, 177, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: btn-entrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.instagram-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--instagram-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

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

.instagram-btn:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow:
    0 5px 16px rgba(252, 209, 177, 0.6),
    0 22px 50px rgba(252, 209, 177, 0.45);
}

.instagram-btn:hover::before {
  opacity: 1;
}

.instagram-btn:hover {
  color: #fff;
}

.instagram-btn:hover .instagram-icon {
  color: #fff;
}

.instagram-btn:hover .btn-arrow {
  transform: translateX(6px);
  color: #fff;
}

.instagram-btn:active,
.instagram-btn.btn-click {
  transform: translateY(-1px) scale(0.995);
  transition: all 0.12s ease;
}

@keyframes btn-entrance {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.4s ease,
    transform 0.3s ease;
}

.instagram-btn:hover .btn-icon-wrapper {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06) rotate(-6deg);
}

.instagram-icon {
  color: #d46a55;
  transition: color 0.4s ease;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  flex: 1;
}

.btn-text strong {
  font-size: clamp(14px, 2vh, 16px);
  font-weight: 800;
}

.btn-handle {
  font-size: clamp(12px, 1.6vh, 14px);
  font-weight: 600;
  opacity: 0.85;
  margin-top: 2px;
}

.btn-arrow {
  flex-shrink: 0;
  transition:
    transform 0.35s ease,
    color 0.4s ease;
  opacity: 0.9;
  width: clamp(18px, 2.2vh, 22px);
  height: clamp(18px, 2.2vh, 22px);
}

@media (max-width: 768px) {
  body {
    justify-content: center;
    align-items: center;
    padding: 14px;
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: max(40px, env(safe-area-inset-bottom));
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-content {
    max-height: 100%;
    overflow: hidden;
  }

  .floating-badge,
  .bg-deco {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    padding: 14px 14px;
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: max(40px, env(safe-area-inset-bottom));
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .main-content {
    gap: 18px;
  }

  .bg-blob-1,
  .bg-blob-2,
  .bg-blob-3,
  .bg-blob-4 {
    opacity: 0.38;
    filter: blur(55px);
  }

  .bg-blob-1 {
    width: 250px;
    height: 250px;
    top: -70px;
    left: -70px;
  }

  .bg-blob-2 {
    width: 230px;
    height: 230px;
    bottom: -50px;
    right: -50px;
  }

  .bg-blob-3,
  .bg-blob-4 {
    display: none;
  }

  .logo-hero {
    padding: 16px 0 4px;
  }

  .tatan-logo {
    filter: drop-shadow(0 3px 8px rgba(185, 168, 155, 0.18))
      drop-shadow(0 10px 26px rgba(185, 168, 155, 0.16));
  }

  .deco-float-a {
    width: 28px;
    height: 28px;
    top: -8%;
    left: 0;
    opacity: 0.6;
  }

  .deco-float-b {
    width: 24px;
    height: 24px;
    top: -12%;
    right: 0;
    opacity: 0.6;
  }

  .deco-float-c {
    width: 26px;
    height: 26px;
    bottom: -18%;
    left: 0;
    opacity: 0.6;
  }

  .deco-float-d {
    width: 30px;
    height: 30px;
    bottom: -20%;
    right: 0;
    opacity: 0.6;
  }

  .btn-icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    flex-shrink: 0;
  }

  .btn-text {
    min-width: 0;
    align-items: flex-start;
  }

  .btn-text strong {
    font-size: 15px;
    line-height: 1.2;
  }

  .btn-handle {
    font-size: 13px;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  body {
    padding: 12px 12px;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(36px, env(safe-area-inset-bottom));
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .main-content {
    gap: 16px;
  }

  .badge-eta {
    padding: 8px 16px;
    font-size: 12.5px;
    gap: 7px;
  }

  .badge-eta svg {
    width: 14px;
    height: 14px;
  }

  .logo-hero {
    padding: 12px 0 0;
  }

  .deco-float-a {
    width: 24px;
    height: 24px;
  }

  .deco-float-b {
    width: 20px;
    height: 20px;
  }

  .deco-float-c {
    width: 22px;
    height: 22px;
  }

  .deco-float-d {
    width: 26px;
    height: 26px;
  }

  .btn-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .instagram-icon {
    width: 24px;
    height: 24px;
  }

  .btn-text strong {
    font-size: 14.5px;
  }

  .btn-handle {
    font-size: 12.5px;
  }

  .btn-arrow {
    width: 20px;
    height: 20px;
  }

  .mini-footer p {
    padding: 8px 16px;
    font-size: 12.5px;
    gap: 6px;
  }

  .mini-footer p svg {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 375px) {
  body {
    padding: 12px 10px;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(40px, env(safe-area-inset-bottom));
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }

  .main-content {
    gap: 16px;
  }

  .logo-hero {
    padding: 6px 0 0;
  }

  .tatan-logo {
    width: clamp(200px, 66vw, 260px);
    max-width: min(78vw, 260px);
    max-height: min(14vh, 100px);
    height: auto;
  }

  .logo-halo {
    width: clamp(230px, 76vw, 310px);
    height: clamp(60px, 20vh, 100px);
  }

  .logo-halo-2 {
    width: clamp(190px, 66vw, 250px);
    height: clamp(50px, 16vh, 80px);
  }

  .badge-eta {
    padding: 7px 14px;
    font-size: 12px;
  }

  .instagram-btn {
    gap: 12px;
  }

  .btn-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .instagram-icon {
    width: 22px;
    height: 22px;
  }

  .btn-text strong {
    font-size: 14px;
  }

  .btn-handle {
    font-size: 12px;
    margin-top: 2px;
  }

  .btn-arrow {
    width: 18px;
    height: 18px;
  }

  .highlight::after {
    bottom: 4px;
    height: 9px;
  }
}

@media (max-width: 340px) {
  .instagram-btn {
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
  }

  .btn-text {
    align-items: center;
    text-align: center;
    width: 100%;
    order: 3;
  }

  .btn-arrow {
    display: none;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .main-content {
    gap: 26px;
    max-width: 580px;
  }

  .tatan-logo {
    width: clamp(280px, 44vw, 400px);
    max-width: min(80vw, 400px);
    max-height: min(15vh, 140px);
    height: auto;
  }

  .floating-badge {
    display: flex;
  }

  .floating-badge-1 {
    top: 36px;
    right: 32px;
  }

  .floating-badge-2 {
    bottom: 36px;
    left: 32px;
  }
}

@media (min-width: 900px) {
  .floating-badge-1 {
    top: 48px;
    right: 48px;
  }

  .floating-badge-2 {
    bottom: 48px;
    left: 48px;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  body {
    justify-content: center;
    align-items: center;
    padding: 12px 14px;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(36px, env(safe-area-inset-bottom));
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
    overflow: hidden;
    overscroll-behavior: none;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .main-content {
    gap: 14px;
  }

  .logo-hero {
    padding: 4px 0 0;
  }

  .tatan-logo {
    width: clamp(180px, 32vw, 280px);
    max-width: min(60vw, 280px);
    max-height: min(22vh, 90px);
    height: auto;
  }

  .logo-halo {
    width: clamp(220px, 44vw, 340px);
    height: clamp(60px, 18vh, 120px);
  }

  .logo-halo-2 {
    width: clamp(180px, 36vw, 280px);
    height: clamp(50px, 14vh, 95px);
  }

  .floating-badge {
    display: none;
  }

  .title-line-1,
  .title-line-2 {
    font-size: clamp(28px, 6vw, 44px);
  }
}

/* Mini Footer - Bottom bar (registrada + desarrollador) */
.mini-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px max(20px, env(safe-area-inset-right))
    max(8px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  font-family: "Nunito", sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  color: rgba(185, 168, 155, 0.78);
  pointer-events: none;
  letter-spacing: 0.02em;
}

.mini-footer-left,
.mini-footer-right {
  margin: 0;
  pointer-events: auto;
}

.mini-footer-right a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  color: rgba(185, 168, 155, 0.88);
  border-bottom: 1px dashed rgba(185, 168, 155, 0.35);
  padding-bottom: 1px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 220ms ease;
  display: inline-block;
}

.mini-footer-right a:hover {
  color: var(--tatan-acento-verde);
  border-color: rgba(141, 191, 163, 0.65);
  transform: translateY(-1px);
}

.mini-footer-right a:active {
  transform: translateY(0);
}

@media (max-width: 520px) {
  body {
    padding-bottom: max(44px, env(safe-area-inset-bottom));
  }

  .mini-footer {
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 12px max(6px, env(safe-area-inset-bottom));
    font-size: 10px;
    line-height: 1.1;
  }
}

@media (max-width: 340px) {
  body {
    padding-bottom: max(42px, env(safe-area-inset-bottom));
  }

  .mini-footer {
    font-size: 9.5px;
    gap: 2px;
    padding: 5px 10px max(5px, env(safe-area-inset-bottom));
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .mini-footer {
    font-size: 9.5px;
    padding: 4px 14px max(4px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
