/* ═══════════════════════════════════════════
   SND Landing Page – Custom Styles
   ═══════════════════════════════════════════ */

/* ── Marquee Ticker ─────────────────────── */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* ── Floating Emoji Animation ───────────── */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(var(--float-y, -16px)) rotate(var(--r, 0deg));
  }
}

.emoji-float {
  position: absolute;
  animation: float var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ── Bigger icons on small phones ───────── */
@media (max-width: 768px) {
  .emoji-float {
    scale: 1.4;
  }
  #icon-balloon {
    left: 6% !important;
    top: 24% !important;
  }
  #icon-ring {
    right: 5% !important;
    top: 15% !important;
  }
  #icon-card {
    right: 5% !important;
    scale: 1.5;
  }
  #icon-envelope {
    left: 5% !important;
    scale: 1;
  }
  #icon-cake {
    left: 32% !important;
    top: 10% !important;
  }

  #icon-calendar {
    bottom: 1% !important;
  }
}

/* ── Candy Heart (Ask me to prom?) ──────── */
.candy-heart {
  background: linear-gradient(135deg, #ffd6e0, #ffbccc);
  width: 110px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  color: #c0395e;
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1.2;
  box-shadow: 0 4px 15px rgba(192, 57, 94, 0.2);
  padding: 8px;
}

/* ── Anniversary Card ───────────────────── */
.anniversary-card {
  background: linear-gradient(135deg, #fff8e7, #fff3d0);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #d4380d;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #ffe8a3;
}

/* ── Phone Mockup ───────────────────────── */
.phone {
  width: 280px;
  height: 520px;
  background: #1e3a5f;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 80px rgba(30, 58, 95, 0.5),
    0 30px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #e8f4fd, #d0e8f9);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: #1e3a5f;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
}

.phone-home-indicator {
  width: 120px;
  height: 5px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}

/* Chat bubbles inside phone */
.chat-bubble {
  border-radius: 16px;
  padding: 10px 14px;
  max-width: 80%;
  font-size: 0.65rem;
  line-height: 1.4;
  font-weight: 500;
}

.chat-bubble-blue {
  background: #3b8dd9;
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-bubble-white {
  background: white;
  color: #2c3e50;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Phone dots (pagination) */
.phone-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(59, 141, 217, 0.3);
}

.phone-dot.active {
  background: #3b8dd9;
}

/* ── Nav Store Buttons ──────────────────── */
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #1a1a2e;
  border-radius: 50%;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.store-btn:hover {
  transform: scale(1.1);
  background: #2a2a4e;
}

/* ── CTA Button ─────────────────────────── */
.cta-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #2b7cc8;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 20px 48px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 768px) {
  .emoji-float.hide-mobile {
    display: none;
  }

  .phone {
    width: 220px;
    height: 420px;
    border-radius: 32px;
    padding: 10px;
  }

  .phone-screen {
    border-radius: 24px;
  }

  .phone-notch {
    width: 80px;
    height: 22px;
    border-radius: 0 0 14px 14px;
  }

  .candy-heart {
    width: 85px;
    height: 78px;
    font-size: 0.65rem;
  }

  .anniversary-card {
    font-size: 0.6rem;
    padding: 8px 10px;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 16px 36px;
  }
}
