.nonchalant {
  font-family: 'Pacifico', cursive;
  font-size: 1.2rem;
  color: #e75480;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #ffe4ee;
}
.note-heart {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px auto;
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 8px #e75480);
  pointer-events: none;
}
#reasons h2 {
  font-family: 'Pacifico', cursive;
  font-size: 2.2rem;
  color: #e75480;
  margin-bottom: 32px;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #ffe4ee;
}
#result h2 {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  color: #e75480;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #ffe4ee;
}
#result p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.15rem;
  color: #e75480;
  margin-bottom: 24px;
  font-weight: 600;
}
.show-reasons {
  margin-top: 28px;
  font-family: 'Pacifico', cursive;
  font-size: 1.2rem;
  background: linear-gradient(90deg, #ffb6c1 0%, #e75480 100%);
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 16px 40px;
  box-shadow: 0 4px 16px #ffe4ee;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  font-weight: bold;
  letter-spacing: 1px;
}
.show-reasons:hover {
  background: linear-gradient(90deg, #e75480 0%, #ffb6c1 100%);
  transform: scale(1.08);
  box-shadow: 0 8px 24px #ffe4ee;
}
/* Clever No button message styles */
.no-message {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  background: #ffe4ee;
  color: #e75480;
  font-family: 'Pacifico', cursive;
  font-size: 1.1rem;
  padding: 10px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 8px #ffe4ee;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, top 0.3s;
  z-index: 10;
}
.no-message.show {
  opacity: 1;
  top: calc(100% + 24px);
}
/* Reset and base styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff0f6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Breathing hearts background */
.hearts-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: block !important;
}

.heart {
  position: absolute;
  width: 48px;
  height: 48px;
  opacity: 0.7;
  animation: breathe 2.5s infinite ease-in-out;
  will-change: transform, opacity;
  pointer-events: none;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
}

/* Main container styles */
.container {
  max-width: 420px;
  margin: 80px auto 0 auto;
  background: rgba(255,255,255,0.97);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(231,84,128,0.18);
  padding: 40px 28px 28px 28px;
  text-align: center;
  position: relative;
  z-index: 2;
}

h1 {
  font-family: 'Pacifico', cursive;
  font-size: 2.4rem;
  color: #e75480;
  margin-bottom: 28px;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #ffe4ee;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.button {
  font-size: 1.2rem;
  padding: 14px 36px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(231,84,128,0.10);
  outline: none;
}
.button:active {
  transform: scale(0.97);
}
.button.yes {
  background: linear-gradient(90deg, #ffb6c1 0%, #e75480 100%);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 16px #ffe4ee;
}
.button.yes:hover {
  background: linear-gradient(90deg, #e75480 0%, #ffb6c1 100%);
  transform: scale(1.10);
  box-shadow: 0 8px 24px #ffe4ee;
}
.button.no {
  background: #fff;
  color: #e75480;
  border: 2px solid #e75480;
  font-weight: bold;
}
.button.no:hover {
  background: #ffe4ee;
  transform: scale(1.10);
  box-shadow: 0 8px 24px #ffe4ee;
}

.hidden {
  display: none !important;
}

#result {
  max-width: 420px;
  margin: 80px auto 0 auto;
  background: rgba(255,255,255,0.98);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(231,84,128,0.18);
  padding: 40px 28px 28px 28px;
  text-align: center;
  animation: fadeIn 0.7s;
  position: relative;
  z-index: 2;
}

/* Enhanced 10 reasons section */
#reasons {
  max-width: 600px;
  margin: 48px auto 0 auto;
  background: linear-gradient(135deg, #ffe4ee 0%, #fff0f6 100%);
  border-radius: 40px;
  box-shadow: 0 12px 48px 0 rgba(231,84,128,0.18), 0 2px 24px 0 #ffb6c1;
  padding: 48px 32px 36px 32px;
  text-align: center;
  animation: fadeIn 0.7s;
  position: relative;
  z-index: 2;
  border: 3px solid #ffb6c1;
}

.show-reasons {
  margin-top: 28px;
}

/* Creative notes grid */
/* More spaced out notes grid */
.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 48px 36px;
  justify-content: center;
  margin-top: 48px;
}
/* Paper-like note style */
/* Torn paper effect for notes */
.note {
  background: #fdd3d3;
  border-radius: 18px 22px 16px 24px / 22px 16px 24px 18px;
  box-shadow: 0 6px 32px 0 rgba(180,140,80,0.18), 0 2px 16px 0 #ffe4ee;
  padding: 24px 18px;
  min-width: 120px;
  min-height: 64px;
  font-size: 1.15rem;
  color: #e75480;
  cursor: pointer;
  transition: background 0.4s, transform 0.4s, box-shadow 0.4s, color 0.4s;
  opacity: 0.88;
  user-select: none;
  position: relative;
  overflow: hidden;
  font-family: 'Pacifico', cursive;
  letter-spacing: 0.5px;
  /* box-shadow: 0 8px 32px #ffe4ee; */
  filter: url(#filter_tornpaper);
}
.note::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.note.revealed {
  /* background: linear-gradient(135deg, #fff0f6 0%, #ffb6c1 100%); */
  opacity: 1;
  font-weight: bold;
  transform: scale(1.12) rotate(-2deg);
  /* box-shadow: 0 12px 32px 0 #ffb6c1, 0 2px 24px #ffe4ee; */
  color: #e75480;
}
.note.revealed-animation {
  animation: pop 0.6s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes pop {
  0% { transform: scale(0.7) rotate(0deg); opacity: 0.5; }
  60% { transform: scale(1.18) rotate(6deg); opacity: 1; }
  80% { transform: scale(1.12) rotate(-3deg); }
  100% { transform: scale(1.12) rotate(-2deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Memories image section */
.memories-section {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.memories-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 4px 16px #ffe4ee;
  border: 3px solid #e75480;
  background: #fff0f6;
}
.memories-caption {
  font-family: 'Pacifico', cursive;
  color: #e75480;
  font-size: 1.2rem;
  text-shadow: 0 2px 8px #ffe4ee;
}

/* Responsive styles */
@media (max-width: 600px) {
  .container, #result, #reasons {
    max-width: 98vw;
    margin: 32px auto 0 auto;
    padding: 18vw 4vw 8vw 4vw;
    border-radius: 18vw;
  }
  h1 {
    font-size: 1.5rem;
  }
  .memories-img {
    width: 120px;
    height: 120px;
    border-radius: 12vw;
  }
  .memories-caption {
    font-size: 1rem;
  }
  .notes {
    gap: 10px;
  }
  .note {
    min-width: 80px;
    font-size: 0.9rem;
    padding: 10px 6px;
    border-radius: 8vw;
  }
}
#result {
  margin-top: 3rem;
}

/* Subtle but unique style for 'Want a surprise?' button */
#showReasonsBtn {
  background: linear-gradient(90deg, #ffe4ee 0%, #ffb6c1 100%);
  color: #e75480;
  font-family: 'Pacifico', cursive;
  font-size: 1.15rem;
  margin-top: 0.5rem;
  padding: 1.1rem 2.5rem;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 12px #ffe4ee;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
#showReasonsBtn::after {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) scale(1);
  font-size: 1.3rem;
  opacity: 0.7;
  transition: transform 0.3s;
}
#showReasonsBtn:hover {
  color: #e75480;
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 24px #ffe4ee;
}
#showReasonsBtn:hover::after {
  transform: translateY(-50%) scale(1.2) rotate(-10deg);
  opacity: 1;
}


.hidden {
  display: none;
}
