/* css/pages/like-subscribe.css */
.like-subscribe-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.like-subscribe-overlay.show {
  display: flex;
  opacity: 1;
}

/* Confetti Canvas */
#confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Main content */
.like-subscribe-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.like-subscribe-overlay.show .like-subscribe-content {
  animation: lsPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lsPopIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Emoji container */
.like-subscribe-emoji {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.ls-emoji {
  font-size: 64px;
  display: inline-block;
}

.like-subscribe-overlay.show .ls-like {
  animation: lsLikeBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.like-subscribe-overlay.show .ls-bell {
  animation: lsBellRing 0.8s ease 0.3s both;
}

@keyframes lsLikeBounce {
  0% {
    transform: scale(0) rotate(-20deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.2) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes lsBellRing {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  40% {
    transform: scale(1.1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.1) rotate(15deg);
  }
  60% {
    transform: scale(1.1) rotate(-15deg);
  }
  70% {
    transform: scale(1.1) rotate(10deg);
  }
  80% {
    transform: scale(1.1) rotate(-5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* Title */
.like-subscribe-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.like-subscribe-title::before {
  display: none;
}

.like-subscribe-overlay.show .like-subscribe-title {
  animation: lsFadeUp 0.5s ease 0.2s both;
}

/* Text */
.like-subscribe-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
}

.like-subscribe-overlay.show .like-subscribe-text {
  animation: lsFadeUp 0.5s ease 0.3s both;
}

@keyframes lsFadeUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
