:root {
  --rose: #ff4d6d;
  --rose-deep: #c9184a;
  --cream: #fff7f8;
  --ink: #3b1020;
  --muted: #8a5a6a;
  --glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 60px rgba(201, 24, 74, 0.22);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Noto Sans Georgian", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, #ffd6e0 0%, transparent 42%),
    radial-gradient(circle at 90% 80%, #ffb3c6 0%, transparent 38%),
    linear-gradient(160deg, #fff0f3, #ffe5ec 50%, #ffc2d1);
  overflow-x: hidden;
}

.hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hearts span {
  position: absolute;
  color: rgba(201, 24, 74, 0.22);
  animation: float 12s linear infinite;
  user-select: none;
}

@keyframes float {
  0% {
    transform: translateY(110vh) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translateY(-12vh) rotate(28deg);
    opacity: 0;
  }
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  position: relative;
  width: min(440px, 100%);
  background: var(--glass);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: 36px 28px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

#question-screen {
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--rose-deep);
  margin-bottom: 10px;
}

h1,
h2 {
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(1.7rem, 6vw, 2.15rem);
}

.hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
}

.btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-yes {
  background: linear-gradient(180deg, var(--rose), var(--rose-deep));
  color: white;
  box-shadow: 0 10px 24px rgba(201, 24, 74, 0.35);
}

.btn-yes:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-yes:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-no {
  background: white;
  color: var(--rose-deep);
  border: 2px solid #ffb3c6;
  z-index: 50;
}

.btn-full {
  width: 100%;
  margin-top: 8px;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  margin-top: 16px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calendar-nav h3 {
  font-size: 1.05rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--rose-deep);
  font-size: 1.4rem;
  cursor: pointer;
}

.weekdays,
.days,
.time-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.weekdays {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.75rem;
}

.day {
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
}

.day:hover:not(:disabled) {
  background: #ffe5ec;
}

.day.selected {
  background: var(--rose);
  color: white;
}

.day:disabled,
.day.empty {
  color: #d4b3bc;
  cursor: default;
}

.times {
  margin: 22px 0 8px;
  text-align: left;
}

.times-label {
  font-weight: 600;
  margin-bottom: 10px;
}

.time-grid {
  grid-template-columns: repeat(3, 1fr);
}

.time {
  border: 1px solid #ffb3c6;
  background: white;
  border-radius: 12px;
  padding: 10px 0;
  font-family: inherit;
  cursor: pointer;
}

.time.selected {
  background: var(--rose);
  color: white;
  border-color: var(--rose);
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.food {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid #ffb3c6;
  background: white;
  border-radius: 16px;
  padding: 12px 6px 10px;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.food:hover {
  transform: translateY(-2px);
  background: #fff7f8;
}

.food.selected {
  border-color: var(--rose);
  background: #ffe5ec;
  box-shadow: 0 0 0 2px rgba(255, 77, 109, 0.25);
}

.food-icon {
  font-size: 1.85rem;
  line-height: 1;
}

.food-name {
  font-size: 0.78rem;
  font-weight: 600;
}

.summary {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--rose-deep);
  margin-bottom: 10px;
}

.login-form {
  display: grid;
  gap: 12px;
}

input[type="password"] {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #ffb3c6;
  text-align: center;
}

.error {
  color: var(--rose-deep);
  font-size: 0.9rem;
}

.bookings {
  list-style: none;
  display: grid;
  gap: 10px;
  text-align: left;
}

.bookings li {
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid #ffd6e0;
}

.bookings strong {
  display: block;
  margin-bottom: 4px;
}

.bookings small {
  display: block;
  color: var(--muted);
}

@media (max-width: 480px) {
  .card {
    padding: 28px 18px 22px;
  }
}
