:root {
  --green: #25d366;
  --green-dark: #0fac4b;
  --gold: #f6cc39;
  --black: #050505;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 15%, rgba(246, 204, 57, .25), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(37, 211, 102, .18), transparent 28%),
    linear-gradient(135deg, #040404 0%, #111 50%, #030303 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent);
}

.page-shell {
  width: min(1150px, 100%);
  margin: 0 auto;
  padding: 42px 18px 28px;
}

.hero-section {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1fr minmax(290px, 430px);
  align-items: center;
  gap: clamp(24px, 6vw, 72px);
}

.hero-copy { animation: fadeUp .9s ease both; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(246, 204, 57, .5);
  border-radius: 999px;
  background: rgba(246, 204, 57, .12);
  color: #ffe88d;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.badge::before {
  content: "✦";
  color: var(--gold);
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: .92;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.hero-copy p {
  margin: 0;
  max-width: 560px;
  color: rgba(255,255,255,.74);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

.phone-frame {
  width: min(100%, 410px);
  justify-self: center;
  position: relative;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(255,255,255,.25), rgba(255,255,255,.04));
  box-shadow: 0 30px 95px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.12) inset;
  animation: phonePop .9s .15s cubic-bezier(.2, .9, .2, 1.2) both;
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 34px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.slides, .slide { position: absolute; inset: 0; }

.slide {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s ease, transform 1.4s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15), transparent 35%, rgba(0,0,0,.4) 72%, rgba(0,0,0,.82));
}

.top-glow {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #ff3040;
  box-shadow: 0 0 0 rgba(255,48,64,.6);
  animation: pulse 1.25s infinite;
}

.nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.36);
  backdrop-filter: blur(12px);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .2s ease, background .2s ease;
}

.nav:hover { background: rgba(0,0,0,.58); }
.nav:active { transform: translateY(-50%) scale(.92); }
.prev { left: 12px; }
.next { right: 12px; }

.dots {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 92px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border: none;
  border-radius: 99px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.dot.active { width: 24px; background: var(--gold); }

.whatsapp-btn {
  position: absolute;
  z-index: 10;
  left: 18px;
  right: 18px;
  bottom: 24px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: clamp(14px, 3.5vw, 17px);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 16px 35px rgba(37,211,102,.38), inset 0 1px 0 rgba(255,255,255,.35);
  animation: ctaBounce 2.4s ease-in-out infinite;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex: 0 0 auto;
}

.love-action {
  position: absolute;
  z-index: 9;
  top: 50%;
  right: 13px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 4px;
  transform: translateY(-50%);
}

.heart {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 30px;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(9px);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: transform .2s ease;
}

.love-action:active .heart { transform: scale(.8); }
.count { font-size: 13px; font-weight: 900; text-shadow: 0 2px 8px rgba(0,0,0,.8); }

.floating-heart {
  position: absolute;
  right: 24px;
  top: 50%;
  z-index: 12;
  pointer-events: none;
  font-size: 22px;
  animation: floatHeart 1.6s ease-out forwards;
}

.comment-stream {
  position: absolute;
  z-index: 7;
  left: 18px;
  right: 74px;
  top: 33%;
  bottom: 112px;
  pointer-events: none;
  overflow: hidden;
}

.float-comment {
  position: absolute;
  left: 0;
  bottom: -40px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  animation: commentUp var(--duration, 4.8s) ease-out forwards;
}

.music-toggle {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 11px 15px;
  color: #fff;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
  font-weight: 800;
  cursor: pointer;
}

footer {
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.22);
}

.footer-inner {
  width: min(1150px, 100%);
  margin: 0 auto;
  padding: 22px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.72);
}

.footer-inner strong { color: #fff; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes phonePop { from { opacity: 0; transform: translateY(38px) scale(.92); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255,48,64,0); } 100% { box-shadow: 0 0 0 0 rgba(255,48,64,0); } }
@keyframes ctaBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes floatHeart { 0% { opacity: 0; transform: translate(0, 0) scale(.8) rotate(0); } 10% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x, -40px), -190px) scale(1.55) rotate(var(--r, 20deg)); } }
@keyframes commentUp { 0% { opacity: 0; transform: translateY(28px) scale(.95); } 12% { opacity: 1; } 85% { opacity: .95; } 100% { opacity: 0; transform: translateY(-210px) scale(1); } }

@media (max-width: 840px) {
  .page-shell { padding-top: 24px; }
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { text-align: center; }
  .hero-copy p { margin: 0 auto; }
  .phone-frame { max-width: 390px; }
}

@media (max-width: 430px) {
  .page-shell { padding-left: 10px; padding-right: 10px; }
  .phone-frame { padding: 8px; border-radius: 34px; }
  .carousel { border-radius: 27px; }
  .nav { display: none; }
  .love-action { right: 8px; }
  .heart { width: 46px; height: 46px; font-size: 27px; }
  .comment-stream { right: 62px; left: 12px; }
}
