/* General Styles */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal scroll on small screens */
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Selection highlight */
::selection {
  background-color: #f59e0b; /* yellow-500 */
  color: #000000; /* black */
}
::-moz-selection { /* Firefox */
  background-color: #f59e0b;
  color: #000000;
}

/* Maintenance Container - Full screen, flex centered, background image */
.maintenance-container {
  min-height: 100vh;
  background-image: url('https://picsum.photos/seed/maintenance/1920/1080?grayscale&blur=1');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff; /* white text */
  text-align: center;
  position: relative;
  padding: 20px; /* Add some padding for smaller screens */
}

/* Overlay for better text readability */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(22, 30, 46, 0.75); /* bg-slate-900 opacity-75 (approx) */
  z-index: 1;
}

/* Content wrapper */
.content {
  position: relative;
  z-index: 2;
  max-width: 600px; /* Adjusted for better readability, similar to max-w-xl/2xl */
  padding: 0 15px; /* Ensure content doesn't touch edges on very small screens */
}

/* Maintenance Icon */
.icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px auto; /* mb-6 */
  color: #facc15; /* text-yellow-400 */
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Pulse animation for the icon */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Main Title */
.title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 800; /* font-extrabold */
  margin-bottom: 16px; /* mb-4 */
  letter-spacing: -0.025em; /* tracking-tight */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Description Text */
.description {
  font-size: 1.125rem; /* text-lg */
  margin-bottom: 32px; /* mb-8 */
  color: #e5e7eb; /* text-gray-200 */
  line-height: 1.75; /* leading-relaxed */
}

/* Thanks Text */
.thanks {
  font-size: 1rem; /* text-base */
  color: #d1d5db; /* text-gray-300 */
}

/* Attribution Link */
.attribution {
  position: absolute;
  bottom: 16px; /* bottom-4 */
  right: 16px; /* right-4 */
  font-size: 0.75rem; /* text-xs */
  color: #9ca3af; /* text-gray-400 */
  z-index: 2;
  transition: color 0.3s ease;
}

.attribution a {
  color: inherit;
  text-decoration: underline;
}

.attribution:hover,
.attribution a:hover {
  color: #e5e7eb; /* hover:text-gray-200 */
}

/* Responsive adjustments */
/* Small devices (tablets, 640px and up) */
@media (min-width: 640px) {
  .icon {
    width: 96px; /* md:w-24 */
    height: 96px; /* md:h-24 */
  }
  .title {
    font-size: 3rem; /* sm:text-5xl */
  }
  .description {
    font-size: 1.25rem; /* sm:text-xl */
  }
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
  .title {
    font-size: 3.75rem; /* lg:text-6xl */
  }
  .description {
    font-size: 1.5rem; /* lg:text-2xl */
  }
}
