:root {
  --pink: #ff4fa3;
  --pink-hot: #ff2d8f;
  --pink-soft: #ff8ec8;
  --ink: #fff;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  min-height: 100dvh;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: #14020e;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.poster {
  position: relative;
  height: 100dvh;
  overflow: hidden;
}

.photo-wrap {
  position: absolute;
  inset: 0;
}

.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 2, 14, 0.05) 36%, rgba(26, 5, 20, 0.78) 72%, #1a0514 100%),
    radial-gradient(80% 50% at 100% 70%, rgba(255, 45, 143, 0.22), transparent 55%);
  pointer-events: none;
}

.copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px 16px calc(88px + var(--safe-b));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.hello {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-size: clamp(2.4rem, 11vw, 3.6rem);
  line-height: 0.9;
  background: linear-gradient(180deg, #fff 10%, #ff8ec8 52%, var(--pink-hot) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 5px 0 #8a0a4a) drop-shadow(0 0 14px rgba(255, 77, 163, 0.55));
  transform: rotate(-6deg);
  margin-bottom: 2px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 340px);
  padding: 8px 14px;
  border-radius: 22px;
  border: 3px solid #ff8ec8;
  background: linear-gradient(180deg, #ff2d8f, #c4126a);
  box-shadow: 0 0 0 2px #3a0420, 0 8px 20px rgba(255, 45, 143, 0.35);
}

.chip-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ff4fa3;
  border: 2px solid #fff;
  flex-shrink: 0;
}

.chip-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.chip span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.chip strong {
  font-family: "Anton", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 0 #6b083c;
}

.chip small {
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.free {
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 9.5vw, 3.1rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-shadow:
    3px 4px 0 #7a0a44,
    0 0 18px rgba(255, 77, 163, 0.55);
}

.free em {
  font-style: normal;
  background: linear-gradient(180deg, #fff, #ff9ac9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.note {
  font-weight: 800;
  color: #ffd0e8;
  letter-spacing: 0.04em;
  font-size: 0.86rem;
}

.deny {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(42, 7, 24, 0.85);
  border: 2px solid #ff4fa3;
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 0.76rem;
}

.deny-mark {
  color: #ff2d8f;
  font-size: 1.1rem;
}

.actions {
  width: min(100%, 360px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.reach {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 14px 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.01em;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.chev {
  font-size: 1.5rem;
  line-height: 1;
}

.reach-telegram {
  color: #fff;
  background: linear-gradient(90deg, #1ea1e6, #ff3d9a 55%, #ff2d8f);
  box-shadow: 0 6px 0 #8a0a4a, 0 10px 20px rgba(255, 45, 143, 0.35);
  text-transform: uppercase;
  font-size: 0.82rem;
}

.reach-whatsapp {
  color: #062014;
  background: linear-gradient(180deg, #7ee3a4, #4ecb7a);
  font-size: 0.9rem;
}

.reach:active {
  transform: translateY(2px);
}

.hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.heart {
  position: absolute;
  color: var(--pink-soft);
  text-shadow: 0 0 10px rgba(255, 77, 163, 0.8);
  animation: float 4.8s ease-in-out infinite;
}

.h1 { top: 7%; right: 7%; font-size: 1.8rem; }
.h2 { top: 16%; right: 22%; font-size: 1.1rem; animation-delay: .6s; }
.h3 { top: 5%; right: 36%; font-size: 1.3rem; color: #fff; animation-delay: 1.1s; }
.h4 { top: 28%; right: 5%; font-size: 1.4rem; animation-delay: 1.7s; }
.h5 { top: 22%; right: 14%; font-size: 1rem; animation-delay: 2.2s; }

@keyframes float {
  50% { transform: translateY(-8px) scale(1.08); }
}

@media (min-width: 860px) {
  body {
    overflow: auto;
  }

  .poster {
    min-height: 100dvh;
    height: 100dvh;
  }

  .photo {
    object-position: 28% 10%;
  }

  .photo-shade {
    background:
      linear-gradient(90deg, transparent 38%, rgba(26, 5, 20, 0.55) 58%, #1a0514 78%),
      linear-gradient(180deg, transparent 60%, rgba(26, 5, 20, 0.35));
  }

  .copy {
    left: auto;
    width: min(46vw, 520px);
    top: 0;
    bottom: 0;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 40px 48px 40px 12px;
    gap: 12px;
  }

  .hello {
    font-size: 4.6rem;
  }

  .chip,
  .actions {
    width: 100%;
    max-width: 420px;
  }

  .chip strong {
    font-size: 2rem;
  }

  .free {
    font-size: 3.3rem;
  }

  .reach {
    min-height: 56px;
    font-size: 0.95rem;
  }

  .reach-telegram {
    font-size: 0.92rem;
  }
}

@media (max-height: 720px) {
  .hello {
    font-size: 2.2rem;
  }

  .free {
    font-size: 1.7rem;
  }

  .chip {
    padding: 6px 12px;
  }

  .chip strong {
    font-size: 1.35rem;
  }

  .note {
    display: none;
  }

  .reach {
    min-height: 46px;
  }
}
