html, body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'VT323', monospace;
  background: linear-gradient(-45deg, #fcdff1, #afbefa, #f8d185, #7566ff);
  background-size: 400% 400%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  z-index: -1;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
}

.main-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.75rem;
  color: white;
  margin-bottom: 2rem;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px #ffffff,
    0 0 15px #fcdff1,
    0 0 25px #f2d798;
}

@media (max-width: 480px) {
  .main-title {
    text-shadow:
      0 0 3px #ffffff,
      0 0 6px #fcdff1;
  }
}

#availability-container {
  margin-top: 2rem;
}

.date-block {
  background: rgba(241, 223, 247, 0.9);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
}

.date-block h3 {
  margin-bottom: 0.5rem;
}

.time-range {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.time-range input[type="time"] {
  font-family: 'VT323', monospace;
  padding: 0.25rem;
}

.cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
}

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

.button-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.button {
  padding: 12px 24px;
  background-color: #f62def;
  color: white;
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.button:hover {
  background-color: #511de0;
  transform: scale(1.07);
  box-shadow:
    0 0 8px #f62def,
    0 0 16px #f62def,
    0 0 24px #f62def;
}

.error-message {
  color: red;
  font-size: 1rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .container {
    padding: 2rem 1rem;
  }

  .main-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .date-block {
    padding: 0.75rem;
    margin: 1rem 0;
  }

  .date-block h3 {
    font-size: 1.2rem;
  }

  .time-range {
    flex-direction: column;
    gap: 0.5rem;
  }

  .time-range input[type="time"] {
    width: 100%;
    font-size: 1rem;
  }

  .button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
  }

  .error-message {
    font-size: 0.9rem;
  }
}
