:root {
  --blush-50: #fff1f5;
  --blush-100: #ffe3ec;
  --blush-200: #ffc9dc;
  --blush-300: #ff9fc0;
  --blush-400: #ff6b9d;
  --blush-500: #f43f7a;
  --blush-600: #e11d63;
  --blush-700: #be1355;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--blush-50);
  color: #374151;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(to bottom right, var(--blush-100), var(--blush-50), #ffffff);
}

.card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  text-align: center;
  overflow: hidden;
}

.login-card {
  width: 100%;
  max-width: 24rem;
}

.login-logo {
  width: 10rem;
  height: 10rem;
  object-fit: contain;
  margin: 1.5rem auto 0;
  display: block;
}

.card-body {
  padding: 2rem;
  padding-top: 1rem;
}

.title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blush-700);
}

.text-muted {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.text-red {
  color: #ef4444;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-discord {
  background: #5865f2;
  color: #fff;
}

.btn-discord:hover {
  opacity: 0.9;
}

.btn-primary {
  background: var(--blush-500);
  color: #fff;
  box-shadow: 0 10px 20px rgba(244, 63, 122, 0.35);
}

.btn-primary:hover:not(:disabled) {
  background: var(--blush-600);
}

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

.btn-outline {
  background: transparent;
  border: 1px solid var(--blush-300);
  color: var(--blush-600);
}

.btn-outline:hover {
  background: var(--blush-50);
}

.btn-ghost {
  background: transparent;
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 500;
  width: auto;
  padding: 0.3rem 0.6rem;
}

.btn-ghost:hover {
  color: #4b5563;
}

/* Ask popup */

.ask-card {
  width: 100%;
  max-width: 32rem;
  padding: 2rem;
  animation: popIn 0.35s ease-out;
}

.ask-emoji {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.ask-title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blush-700);
}

.ask-desc {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.dodge-zone {
  position: relative;
  height: 10rem;
  width: 100%;
  user-select: none;
}

.yes-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-100% - 8px), -50%);
  border: none;
  border-radius: 999px;
  background: var(--blush-500);
  color: #fff;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 10px 20px rgba(244, 63, 122, 0.35);
  cursor: pointer;
}

.yes-btn:hover {
  background: var(--blush-600);
}

.no-btn {
  position: absolute;
  border: none;
  border-radius: 999px;
  background: #e5e7eb;
  color: #6b7280;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: top 0.25s ease, left 0.25s ease;
  transform: translate(-50%, -50%);
}

.dodge-hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Heart transition */

.heart-screen {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, var(--blush-500), var(--blush-400), var(--blush-200));
}

.heart {
  position: absolute;
  bottom: 0;
  animation-name: floatUp;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  user-select: none;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translateY(-120vh) scale(1.4);
    opacity: 0;
  }
}

@keyframes popIn {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.heart-card {
  position: relative;
  z-index: 1;
  margin: 0 1rem;
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: popIn 0.6s ease-out;
}

/* Wizard steps */

.wizard {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.wizard h2 {
  text-align: center;
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blush-700);
}

.wizard .subtitle {
  text-align: center;
  color: #9ca3af;
  margin-bottom: 2rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #4b5563;
}

.field input {
  border: 1px solid var(--blush-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  outline: none;
}

.field input:focus {
  border-color: var(--blush-400);
}

.section-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 480px) {
  .option-grid.plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .option-grid.food-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4b5563;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.option-card:hover {
  border-color: var(--blush-300);
}

.option-card.selected {
  border-color: var(--blush-500);
  background: var(--blush-50);
  color: var(--blush-700);
  box-shadow: 0 2px 8px rgba(244, 63, 122, 0.15);
}

.option-emoji {
  font-size: 1.5rem;
}

.btn-row {
  display: flex;
  gap: 0.75rem;
}

.btn-row .btn {
  width: auto;
  flex: 1;
}

.btn-row .btn:first-child {
  flex: 1;
}

.btn-row .btn:last-child {
  flex: 2;
}

/* Confirmation */

.summary-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #9ca3af;
}

.summary-value {
  font-weight: 600;
  color: #374151;
  text-align: right;
}

/* Dashboard */

.dashboard {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  min-height: 100vh;
}

.dashboard-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
}

.dashboard-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.dashboard-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blush-700);
  margin: 0;
}

.new-date-btn {
  width: 100%;
  margin-bottom: 2rem;
  padding: 1rem;
}

.empty-hint {
  text-align: center;
  color: #9ca3af;
}

.date-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.date-item {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 1.2rem;
}

.date-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.date-item-top .day {
  font-weight: 600;
  color: var(--blush-700);
}

.date-item-top .time {
  font-size: 0.85rem;
  color: #9ca3af;
}

.date-item-bottom {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.status-msg {
  text-align: center;
  color: #6b7280;
  padding: 3rem 0;
}
