/* index5.css - Minimalist dark theme entry page */

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

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

body {
  background-color: #000000;
  color: #f5f5f5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow: hidden;
}

/* Layout: absolute regions using viewport height */
.site-title {
  position: absolute;
  top: 0;
  left: 0;
  height: 10vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-title h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.12em;
  text-transform: lowercase;
  font-weight: 500;
}

/* Carousel occupies 20% to 80% of viewport height */
.carousel-wrapper {
  position: absolute;
  top: 20vh;
  left: 0;
  height: 60vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 100vw;
  max-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  cursor: pointer;
  outline: none;
}

.carousel img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

/* Visible image */
.carousel img.active {
  opacity: 1;
}

/* Footer (bottom 20%) */
.site-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 20vh;
  width: 100%;
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  text-align: center;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0)
  );
}

.disclaimer {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 36rem;
  color: #cccccc;
}

/* Button styles */
.acknowledge-button {
  border: 1px solid #f5f5f5;
  background-color: transparent;
  color: #f5f5f5;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.1s ease;
}

.acknowledge-button:hover,
.acknowledge-button:focus-visible {
  background-color: #f5f5f5;
  color: #000000;
  border-color: #f5f5f5;
  outline: none;
}

.acknowledge-button:active {
  transform: scale(0.97);
}

/* Small screen tweaks */
@media (max-width: 600px) {
  .site-footer {
    padding: 1.25rem 1rem 1.75rem;
  }

  .disclaimer {
    font-size: 0.8rem;
  }

  .acknowledge-button {
    width: auto;
    min-width: 10rem;
  }
}
