@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, #ffffff 0%, transparent 35%),
    linear-gradient(135deg, #f4e8ff 0%, #fff7fb 100%);
}

.card {
  width: 100%;
  max-width: 620px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 30px;
  padding: 42px;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.08),
    0 8px 24px rgba(142,93,183,0.10);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #7d52a0;
  margin-bottom: 10px;
}

h2 {
  color: #7d52a0;
  margin-bottom: 10px;
}

p {
  line-height: 1.6;
}

.small {
  color: #777;
  font-size: 14px;
  margin-bottom: 20px;
}

button,
input,
select {
  width: 100%;
  margin-top: 12px;
  border-radius: 14px;
  font-size: 16px;
}

input,
select {
  padding: 14px;
  border: 1px solid #e4d8f5;
  background: white;
}

input:focus,
select:focus {
  outline: none;
  border-color: #cdb4db;
  box-shadow: 0 0 0 4px rgba(205,180,219,.15);
}

button {
  padding: 16px;
  border: 1px solid #e4d8f5;
  background: #f7f0ff;
  color: #5b3f78;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

button:hover {
  transform: translateY(-2px);
  background: #cdb4db;
  color: white;
  box-shadow: 0 10px 20px rgba(142,93,183,.18);
}

button:active {
  transform: translateY(0);
}

#compliment {
  margin-top: 24px;
  padding: 18px;
  background: #faf6ff;
  border-left: 4px solid #cdb4db;
  border-radius: 12px;
  line-height: 1.8;
}

.footer-note {
  margin-top: 24px;
  color: #9b7cad;
  font-size: 12px;
}

.step-label {
  display: inline-block;
  background: #f4ebff;
  color: #8e5db7;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.carousel {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 14px;
  margin: 32px 0 28px;
}

.date-card {
  min-height: 260px;
  padding: 36px 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fbf7ff, #f6efff);
  border: 1px solid #dfcaf5;
  box-shadow: 0 18px 35px rgba(142, 93, 183, 0.12);
  text-align: left;
}

#dateEmoji {
  font-size: 52px;
  margin-bottom: 24px;
}

#dateTitle {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 18px;
}

#dateDescription {
  font-size: 18px;
  line-height: 1.7;
  color: #6f6f6f;
}

.arrow {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.select-button {
  margin-top: 6px;
  padding: 18px;
  background: linear-gradient(135deg, #9b6bc6, #7d52a0);
  color: white;
  border: none;
  box-shadow: 0 12px 25px rgba(125, 82, 160, 0.25);
}

.select-button:hover {
  background: linear-gradient(135deg, #8e5db7, #6f438f);
}

@media (max-width: 600px) {
  body {
    padding: 16px;
    align-items: flex-start;
  }

  .card {
    max-width: 100%;
    padding: 26px 20px;
    border-radius: 24px;
    margin-top: 20px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .carousel {
    grid-template-columns: 40px 1fr 40px;
    gap: 8px;
  }

  .date-card {
    min-height: 230px;
    padding: 26px 22px;
  }

  #dateEmoji {
    font-size: 42px;
  }

  #dateTitle {
    font-size: 1.8rem;
  }

  #dateDescription {
    font-size: 1rem;
    line-height: 1.6;
  }

  .arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  button,
  input,
  select {
    font-size: 16px;
  }
}