/* ============================================================
   Date Night Deluxe — soft pink / red / cream / warm brown
   ============================================================ */

:root {
  --cream: #fff6ec;
  --cream-2: #ffefdd;
  --pink-soft: #ffd9e3;
  --pink: #ff9fb8;
  --rose: #e4536e;
  --rose-dark: #c73a55;
  --brown: #8c5a3c;
  --brown-dark: #5c3a26;
  --bear: #c68b59;
  --bear-light: #e8b98c;
  --bear-muzzle: #f3d9b8;
  --white: #fffdfa;
  --shadow: 0 8px 24px rgba(140, 90, 60, 0.18);
  --radius: 22px;
  --font-head: "Baloo 2", "Comic Sans MS", cursive;
  --font-body: "Quicksand", "Avenir", sans-serif;
}

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

html, body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--brown-dark);
  background:
    radial-gradient(circle at 20% 15%, #ffe3ec 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, #ffe8d4 0%, transparent 45%),
    var(--cream);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- screens ---------- */
.screen {
  display: none;
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}
.screen.active { display: flex; animation: screenIn 0.5s ease both; }

@keyframes screenIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* ---------- floating hearts & sparkles ---------- */
#floaties {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.floaty {
  position: absolute;
  bottom: -8vh;
  font-size: 22px;
  opacity: 0.7;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.75; }
  90%  { opacity: 0.55; }
  100% { transform: translateY(-115vh) rotate(30deg); opacity: 0; }
}

/* ---------- confetti canvas ---------- */
#confetti {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 50;
}

/* ---------- romance alert banner ---------- */
.romance-alert {
  background: linear-gradient(90deg, var(--rose), #ff7d99, var(--rose));
  background-size: 200% 100%;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  animation: bannerShimmer 3s linear infinite, bannerPulse 1.6s ease-in-out infinite;
}
.siren { display: inline-block; animation: sirenSpin 1.2s ease-in-out infinite; }
@keyframes bannerShimmer { to { background-position: 200% 0; } }
@keyframes bannerPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes sirenSpin { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }

/* ---------- headings ---------- */
.landing-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 6.5vw, 2.6rem);
  line-height: 1.15;
  color: var(--brown-dark);
}
.landing-title .highlight {
  color: var(--rose);
  text-shadow: 0 2px 0 rgba(228, 83, 110, 0.15);
}
.landing-sub {
  font-weight: 600;
  color: var(--brown);
  font-size: 1rem;
}

/* ---------- countdown ---------- */
.countdown-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 2px dashed var(--pink);
  padding: 10px 18px;
  border-radius: var(--radius);
}
.countdown-label { font-size: 0.85rem; font-weight: 600; color: var(--brown); }
.countdown {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--rose);
  min-width: 1.4em;
  animation: countPop 1s ease infinite;
}
@keyframes countPop { 0% { transform: scale(1); } 15% { transform: scale(1.35); } 40% { transform: scale(1); } }

/* ---------- question box ---------- */
.question-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 30px;
  width: 100%;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.question-box.revealed { opacity: 1; transform: scale(1); pointer-events: auto; }

.the-question {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 5.5vw, 1.8rem);
  color: var(--brown-dark);
  margin-bottom: 22px;
}
.the-question .date-text { color: var(--rose); }

.btn-zone {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  min-height: 70px;
}

/* ---------- buttons ---------- */
button {
  font-family: var(--font-head);
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
button:active { transform: scale(0.95); }

.btn-yes {
  background: linear-gradient(180deg, #ff7d99, var(--rose));
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  padding: 16px 38px;
  box-shadow: 0 6px 0 var(--rose-dark), 0 12px 24px rgba(228, 83, 110, 0.35);
  animation: yesWiggle 2.4s ease-in-out infinite;
}
.btn-yes:hover { transform: scale(1.06); }
@keyframes yesWiggle {
  0%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(0deg); }
  94% { transform: rotate(-3deg); }
  96% { transform: rotate(3deg); }
  98% { transform: rotate(-2deg); }
}

.btn-no {
  background: var(--cream-2);
  color: var(--brown);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 22px;
  border: 2px solid #e8cdb2;
  box-shadow: 0 3px 0 #d9b993;
  transition: top 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              left 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.2s ease, font-size 0.2s ease;
  touch-action: none;
}
.btn-no.fleeing { position: fixed; z-index: 60; }
.btn-no.gave-up {
  background: linear-gradient(180deg, #ff7d99, var(--rose));
  color: #fff;
  border-color: var(--rose-dark);
  box-shadow: 0 3px 0 var(--rose-dark);
}

.no-taunt {
  margin-top: 16px;
  min-height: 1.4em;
  font-weight: 700;
  color: var(--rose);
  font-size: 0.95rem;
  animation: tauntIn 0.3s ease both;
}
@keyframes tauntIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }

.btn-primary {
  background: linear-gradient(180deg, #ff7d99, var(--rose));
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 15px 34px;
  box-shadow: 0 6px 0 var(--rose-dark), 0 12px 24px rgba(228, 83, 110, 0.35);
}
.btn-primary:hover { transform: scale(1.05); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; }

/* ============================================================
   CSS TEDDY BEARS 🧸
   ============================================================ */
.bear-row {
  display: flex;
  gap: 26px;
  align-items: flex-end;
  justify-content: center;
}
.bear {
  position: relative;
  width: 92px;
  height: 118px;
}
.bear-head {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 66px; height: 60px;
  background: var(--bear);
  border-radius: 48% 48% 46% 46%;
  z-index: 3;
  box-shadow: inset -4px -6px 0 rgba(0,0,0,0.06);
}
.bear-ear {
  position: absolute;
  top: 2px;
  width: 26px; height: 26px;
  background: var(--bear);
  border-radius: 50%;
  z-index: 2;
  box-shadow: inset 0 0 0 7px var(--bear), inset 0 0 0 14px var(--bear-light);
}
.bear-ear.left { left: 12px; }
.bear-ear.right { right: 12px; }
.bear-eye {
  position: absolute;
  top: 22px;
  width: 8px; height: 10px;
  background: #3a2417;
  border-radius: 50%;
  z-index: 4;
}
.bear-eye.left { left: 14px; }
.bear-eye.right { right: 14px; }
.bear-eye.happy {
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: #3a2417;
}
.bear-muzzle {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 24px;
  background: var(--bear-muzzle);
  border-radius: 50%;
  z-index: 4;
}
.bear-nose {
  position: absolute;
  top: 4px; left: 50%;
  transform: translateX(-50%);
  width: 11px; height: 8px;
  background: #3a2417;
  border-radius: 50% 50% 60% 60%;
}
.bear-mouth {
  position: absolute;
  top: 13px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 6px;
  border: 2px solid #3a2417;
  border-top: none;
  border-radius: 0 0 10px 10px;
}
.bear-mouth.big-smile { width: 16px; height: 8px; }
.bear-blush {
  position: absolute;
  top: 34px;
  width: 10px; height: 6px;
  background: var(--pink);
  border-radius: 50%;
  opacity: 0.8;
  z-index: 4;
}
.bear-blush.left { left: 6px; }
.bear-blush.right { right: 6px; }
.bear-body {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 58px; height: 56px;
  background: var(--bear);
  border-radius: 46% 46% 44% 44%;
  z-index: 1;
  box-shadow: inset -4px -6px 0 rgba(0,0,0,0.06);
}
.bear-body::after {
  content: "";
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 30px;
  background: var(--bear-muzzle);
  border-radius: 50%;
}
.bear-arm {
  position: absolute;
  bottom: 30px;
  width: 18px; height: 34px;
  background: var(--bear);
  border-radius: 10px;
  z-index: 2;
}
.bear-arm.left { left: 2px; transform: rotate(18deg); }
.bear-arm.right { right: 2px; transform: rotate(-18deg); }
.bear-arm.right.wave {
  transform-origin: bottom center;
  animation: armWave 1.4s ease-in-out infinite;
}
@keyframes armWave {
  0%, 100% { transform: rotate(-18deg); }
  50% { transform: rotate(-110deg); }
}
.bear-arm.hug { bottom: 26px; }
.bear-arm.left.hug { transform: rotate(-38deg); left: 8px; }
.bear-arm.right.hug { transform: rotate(38deg); right: 8px; }
.bear-arm.up { bottom: 44px; }
.bear-arm.left.up { transform: rotate(150deg); }
.bear-arm.right.up { transform: rotate(-150deg); }
.held-heart {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  z-index: 5;
  animation: heartBeat 1.2s ease-in-out infinite;
}
@keyframes heartBeat {
  0%, 100% { transform: translateX(-50%) scale(1); }
  20% { transform: translateX(-50%) scale(1.25); }
  40% { transform: translateX(-50%) scale(1); }
}
.bear-bounce { animation: bearBounce 1.6s ease-in-out infinite; }
@keyframes bearBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.bear-wave { animation: bearSway 2.2s ease-in-out infinite; }
@keyframes bearSway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

/* small screens: shrink the middle of the bear row a touch */
@media (max-width: 380px) {
  .bear-row { gap: 10px; }
  .bear { transform: scale(0.85); transform-origin: bottom center; }
  .bear-bounce { animation: none; }
}

/* ---------- celebration screen ---------- */
.big-bear-party { font-size: 44px; display: flex; gap: 10px; }
.party-emoji { display: inline-block; animation: partyJump 0.9s ease-in-out infinite; }
.party-emoji.e2 { animation-delay: 0.1s; }
.party-emoji.e3 { animation-delay: 0.2s; }
.party-emoji.e4 { animation-delay: 0.3s; }
.party-emoji.e5 { animation-delay: 0.4s; }
@keyframes partyJump {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-16px) rotate(8deg); }
}
.celebrate-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 12vw, 4rem);
  color: var(--rose);
}
.celebrate-sub { font-size: 1.15rem; font-weight: 600; }
.celebrate-note { color: var(--brown); font-size: 0.95rem; }

/* ---------- quiz ---------- */
.progress-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.progress-track {
  flex: 1;
  height: 12px;
  background: var(--pink-soft);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--rose));
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.progress-bear { font-size: 22px; }

.quiz-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px 28px;
  width: 100%;
  animation: cardIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.quiz-card.swap { animation: cardIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes cardIn {
  from { opacity: 0; transform: translateX(40px) rotate(1.5deg); }
  to   { opacity: 1; transform: none; }
}
.quiz-step {
  display: inline-block;
  background: var(--pink-soft);
  color: var(--rose-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.quiz-question {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 5.5vw, 1.7rem);
  margin-bottom: 6px;
}
.quiz-hint { color: var(--brown); font-size: 0.9rem; margin-bottom: 18px; }

.options { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .options { grid-template-columns: 1fr 1fr; } }

.option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: var(--cream);
  border: 2px solid var(--pink-soft);
  border-radius: 16px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--brown-dark);
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.option-btn:hover { border-color: var(--rose); background: #fff0f4; transform: translateY(-2px); }
.option-btn .opt-emoji { font-size: 1.4rem; flex-shrink: 0; }
.option-btn.picked {
  background: linear-gradient(180deg, #ff9fb8, var(--rose));
  border-color: var(--rose-dark);
  color: #fff;
  transform: scale(1.03);
}

/* ---------- summary / itinerary ---------- */
.summary-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 6.5vw, 2.2rem);
}
.summary-sub { color: var(--brown); font-weight: 600; font-size: 0.95rem; }

.itinerary-card {
  position: relative;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 60px;
  border: 3px solid var(--pink-soft);
  text-align: left;
}
.itinerary-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 2px dashed var(--pink-soft);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.itinerary-names { font-family: var(--font-head); font-weight: 800; color: var(--rose); font-size: 1.1rem; }
.itinerary-date { font-weight: 700; color: var(--brown); font-size: 0.95rem; }
.itinerary-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.itinerary-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
}
.itinerary-list .it-emoji { font-size: 1.3rem; flex-shrink: 0; }
.itinerary-list .it-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brown);
  font-weight: 700;
  display: block;
}
.itinerary-list .it-value { font-weight: 700; color: var(--brown-dark); }
.itinerary-stamp {
  position: absolute;
  bottom: 14px; right: 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--rose);
  border: 2px solid var(--rose);
  border-radius: 8px;
  padding: 4px 10px;
  transform: rotate(-6deg);
  opacity: 0.85;
}

.final-message {
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 480px;
}
.signoff {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--rose);
  font-size: 1.05rem;
}
.personal-message {
  color: var(--brown);
  font-size: 0.92rem;
  font-style: italic;
}
.sending-note { font-size: 0.85rem; color: var(--brown); min-height: 1.2em; }

/* ---------- confirmed ---------- */
.confirmed-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 9vw, 3rem);
  color: var(--rose);
}
.confirmed-sub { font-size: 1.15rem; font-weight: 600; }
.confirmed-note { color: var(--brown); line-height: 1.6; }

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