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

body {
  font-family: "Quicksand", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f12875 0%, #67da32 50%, #fecfef 100%);
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.shuna-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(6, 9, 19, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.lock-panel {
  width: min(420px, 100%);
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.lock-panel h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.lock-panel p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.lock-panel input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.lock-panel input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.lock-error {
  min-height: 1.25rem;
  margin: 0;
  color: #ffb3c6;
  font-size: 0.95rem;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.hearts-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.floating-images {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-image {
  position: absolute;
  max-width: 140px;
  width: min(20vw, 140px);
  opacity: 0.95;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.2));
  animation: floatImage 12s ease-in-out infinite alternate;
}

.floating-image--one { top: 10%; left: 8%; animation-duration: 13s; }
.floating-image--two { top: 35%; right: 6%; animation-duration: 10s; animation-delay: 1.5s; width: min(16vw, 120px); }
.floating-image--three { bottom: 12%; left: 20%; animation-duration: 11s; animation-delay: 0.8s; width: min(18vw, 130px); }
.floating-image--four { bottom: 20%; right: 15%; animation-duration: 14s; animation-delay: 2.2s; width: min(22vw, 140px); }

@keyframes floatImage {
  0% { transform: translate3d(0, 0, 0) rotate(-3deg); }
  50% { transform: translate3d(8px, -22px, 0) rotate(2deg); }
  100% { transform: translate3d(-6px, 14px, 0) rotate(-1deg); }
}

.hearts-bg::before,
.hearts-bg::after {
  content: "♥";
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.25);
  animation: float 8s ease-in-out infinite;
}

.hearts-bg::before {
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.hearts-bg::after {
  top: 60%;
  right: 20%;
  font-size: 3rem;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-30px) rotate(10deg); opacity: 0.6; }
}

.container {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  width: 100%;
  max-width: 480px;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow:
    0 20px 60px rgba(255, 105, 135, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.card.hidden {
  display: none;
}

.emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.emoji.bounce {
  animation: bounce 0.8s ease infinite alternate;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #d6336c;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.subtitle {
  color: #868e96;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  min-height: 60px;
}

.btn {
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-yes {
  background: linear-gradient(135deg, #ff6b9d, #ff8fab);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.45);
}

.btn-yes:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(255, 107, 157, 0.55);
}

.btn-no {
  background: #f1f3f5;
  color: #868e96;
  position: relative;
  transition: left 0.15s ease, top 0.15s ease;
}

.btn-no:hover {
  background: #e9ecef;
}

.hearts-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 2rem;
  margin-top: 1.5rem;
}

.hearts-row span {
  animation: pulse 1.2s ease-in-out infinite;
}

.hearts-row span:nth-child(2) { animation-delay: 0.2s; }
.hearts-row span:nth-child(3) { animation-delay: 0.4s; }
.hearts-row span:nth-child(4) { animation-delay: 0.6s; }
.hearts-row span:nth-child(5) { animation-delay: 0.8s; }

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

#confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 400px) {
  h1 { font-size: 1.45rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 1rem; }
}

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