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

html, body {
  height: 100%;
}

body {
  font-family: 'Quicksand', sans-serif;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 214, 230, 0.95), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(255, 92, 138, 0.85), transparent 48%),
    radial-gradient(circle at 20% 92%, rgba(255, 191, 74, 0.65), transparent 50%),
    radial-gradient(circle at 92% 88%, rgba(214, 51, 132, 0.8), transparent 48%),
    linear-gradient(160deg, #fff0f5 0%, #ffb3c6 45%, #ff6f91 100%);
  background-size: 220% 220%, 220% 220%, 220% 220%, 220% 220%, 100% 100%;
  animation: drift 14s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  padding: 1rem;
}

@keyframes drift {
  0%, 100% { background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%, 0 0; }
  50% { background-position: 35% 25%, 65% 30%, 25% 70%, 75% 60%, 0 0; }
}

/* ---------- intro heart splash (index page only) ---------- */

.intro-heart {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  background: radial-gradient(circle at center, #fff0f5 0%, #ff8fa3 65%, #ff5c8a 100%);
  opacity: 0;
  pointer-events: none;
  animation: intro-heart-seq 2.2s ease forwards;
}

@keyframes intro-heart-seq {
  0% { opacity: 0; transform: scale(0.5); }
  25% { opacity: 1; transform: scale(1); }
  60% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.2); }
}

.intro-fade {
  opacity: 0;
  animation: card-reveal 1s ease forwards;
  animation-delay: 1.1s;
}

@keyframes card-reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* keep the dodge page from scrolling so the "no" button can't hide off-screen */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* ---------- floating flower decorations ---------- */

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

.flower {
  position: absolute;
  font-size: 2.2rem;
  opacity: 0.75;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
  animation: sway 6s ease-in-out infinite;
}

.f1 { top: 6%; left: 8%; animation-delay: 0s; }
.f2 { top: 14%; right: 10%; font-size: 2.6rem; animation-delay: 1s; }
.f3 { top: 78%; left: 12%; animation-delay: 2s; }
.f4 { top: 85%; right: 14%; font-size: 2.4rem; animation-delay: 0.5s; }
.f5 { top: 40%; left: 4%; font-size: 1.8rem; animation-delay: 1.5s; }
.f6 { top: 50%; right: 5%; font-size: 1.8rem; animation-delay: 2.5s; }
.f7 { top: 4%; left: 45%; font-size: 1.6rem; animation-delay: 3s; }
.f8 { top: 92%; left: 48%; font-size: 1.6rem; animation-delay: 1.2s; }

@keyframes sway {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-14px) rotate(6deg); }
}

/* ---------- pitch link (top of index) ---------- */

.pitch-link {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a9765a;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  animation: pitch-pulse 1.1s ease-in-out infinite;
  transition: background 0.15s ease;
}

.pitch-link:hover {
  background: rgba(255, 255, 255, 0.9);
}

@keyframes pitch-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(243, 148, 106, 0.65), 0 0 10px 2px rgba(243, 148, 106, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(243, 148, 106, 0), 0 0 34px 12px rgba(243, 148, 106, 0.95);
    transform: scale(1.12);
  }
}

/* ---------- main card ---------- */

.card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  padding: 2.2rem 1.6rem;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(255, 150, 100, 0.25);
}

.question {
  font-size: 1.25rem;
  font-weight: 600;
  color: #7a4a30;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.question.typing::after {
  content: '|';
  margin-left: 2px;
  animation: blink 0.8s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

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

.choice {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: #8a5638;
  background: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2.4rem;
  box-shadow: 0 6px 16px rgba(255, 150, 100, 0.3);
  cursor: pointer;
  transition: transform 0.12s ease, left 0.18s ease, top 0.18s ease;
  touch-action: none;
}

.choice:active {
  transform: scale(0.96);
}

.hint {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #a9765a;
  min-height: 1.2rem;
}

/* ---------- confetti burst (yes click) ---------- */

.confetti-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 30;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0.9;
  animation-name: confetti-fall;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}

.confetti-piece.confetti-emoji {
  width: auto;
  height: auto;
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 0;
}

@keyframes confetti-fall {
  0% { transform: translate(0, -10px) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--drift), 100vh) rotate(var(--spin)); opacity: 0.9; }
}

/* ---------- schedule / calendar page ---------- */

.calendar-card {
  max-width: 380px;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cal-header button {
  font-family: inherit;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #c97b4a;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
  border-radius: 50%;
}

.cal-header button:disabled {
  opacity: 0.25;
  cursor: default;
}

.cal-title {
  font-weight: 700;
  color: #7a4a30;
  font-size: 1.05rem;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  margin-bottom: 1.2rem;
}

.cal-weekday {
  font-size: 0.75rem;
  font-weight: 600;
  color: #c9967a;
  padding-bottom: 4px;
}

.cal-day {
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-radius: 10px;
  cursor: pointer;
  color: #7a4a30;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.cal-day.empty {
  visibility: hidden;
  cursor: default;
}

.cal-day.disabled {
  color: #d9b9a8;
  cursor: default;
  background: transparent;
}

.cal-day.selected {
  background: #ffb88c;
  color: #fff;
  font-weight: 700;
  transform: scale(1.05);
}

.cal-day:not(.disabled):not(.empty):hover {
  background: #ffd3b0;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-height: 190px;
  overflow-y: auto;
  margin-bottom: 1.4rem;
  padding: 0.2rem;
}

.time-chip {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8a5638;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 999px;
  padding: 0.5rem 0.4rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.time-chip.selected {
  background: #ffb88c;
  color: #fff;
  transform: scale(1.05);
}

.confirm-btn {
  font-family: inherit;
  display: block;
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #f3946a;
  border: none;
  border-radius: 999px;
  padding: 0.85rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 150, 100, 0.35);
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.confirm-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.confirm-btn:not(:disabled):active {
  transform: scale(0.97);
}

.result {
  margin-top: 1.4rem;
  text-align: center;
}

.result p {
  color: #7a4a30;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.result .status {
  font-size: 0.85rem;
  font-weight: 500;
  color: #a9765a;
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 1.2rem;
  color: #a9765a;
  font-size: 0.85rem;
  text-decoration: none;
}

.hidden {
  display: none;
}

/* ---------- pitch deck page ---------- */

.pitch-card {
  max-width: 420px;
  padding: 2rem 1.6rem 1.6rem;
}

.pitch-progress {
  font-size: 0.75rem;
  font-weight: 600;
  color: #c9967a;
  margin-bottom: 0.8rem;
}

.slide {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide-anim-next {
  animation: slide-in-next 0.35s ease;
}

.slide-anim-prev {
  animation: slide-in-prev 0.35s ease;
}

@keyframes slide-in-next {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-prev {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-emoji {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.slide-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #7a4a30;
  margin-bottom: 0.7rem;
  line-height: 1.4;
}

.slide-body {
  font-size: 0.95rem;
  font-weight: 500;
  color: #a9765a;
  line-height: 1.6;
}

.slide-list-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c9967a;
  margin-bottom: 0.6rem;
}

.slide-list {
  list-style: none;
  counter-reset: slide-list-item;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.slide-list li {
  counter-increment: slide-list-item;
  font-size: 1.1rem;
  font-weight: 700;
  color: #7a4a30;
}

.slide-list li::before {
  content: counter(slide-list-item) '. ';
}

.pitch-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.pitch-nav-btn {
  font-family: inherit;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  background: #f3946a;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 150, 100, 0.35);
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.pitch-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.pitch-nav-btn:not(:disabled):active {
  transform: scale(0.96);
}

.pitch-dots {
  display: flex;
  gap: 0.4rem;
}

.pitch-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd3b0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.pitch-dot.active {
  background: #f3946a;
  transform: scale(1.3);
}
