@font-face {
  font-family: "Lobster";
  src: url("/assets/fonts/lobster.otf") format("opentype");
}

@font-face {
  font-family: "KindHeartOne";
  src: url("/assets/fonts/kindheartone_regular.otf") format("opentype");
}

:root {
  --accent-pink: #e84f9c;
  --border-gray: #e4e4e4;
  --text-dark: #4a4a4a;
  --text-muted: #808080;
  --light-gray: #f5f5f5;
  --page-bg: #ffffff;
  --footer-gray: #c2c2c2;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--page-bg);
  color: var(--text-dark);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  overscroll-behavior: none;
}

a {
  color: inherit;
}

button, input {
  font: inherit;
}

#root {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
}

.screen {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

.mobile-frame {
  width: 100%;
  max-width: 430px;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  position: relative;
  background: white;
  overflow: hidden;
}

.primary-button {
  width: 100%;
  border: none;
  border-radius: 16px;
  background: var(--accent-pink);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.primary-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.pill-button {
  border-radius: 40px;
}

.footer-link {
  color: var(--footer-gray);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.modal-card {
  width: 100%;
  max-width: 360px;
  background: white;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.option-card {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-gray);
  background: white;
  cursor: pointer;
}

.quiz-option-card.selected {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: white;
}

.throb-button {
  animation: button-throb 420ms ease-out;
}

.quiz-enter-forward {
  animation: quiz-enter-forward 220ms ease-out;
}

.quiz-enter-backward {
  animation: quiz-enter-backward 220ms ease-out;
}

@keyframes quiz-enter-forward {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes quiz-enter-backward {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.builder-preview-name {
  font-family: "KindHeartOne", cursive;
  white-space: nowrap;
  transform-origin: center;
}

.onboarding-grid-viewport {
  position: relative;
  overflow-x: hidden;
}

.onboarding-grid-viewport::-webkit-scrollbar {
  display: none;
}

@keyframes button-throb {
  from {
    transform: scale(1);
  }
  45% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.before-after-card {
  position: relative;
  overflow: hidden;
}

.paywall-target {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
}
