:root {
  color-scheme: dark;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050505;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, #101415 0, #080909 34%, #050505 68%),
    #050505;
}

.landing {
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
}

.glass-scene {
  position: relative;
  width: min(62vw, 27rem);
  filter: drop-shadow(0 2rem 3rem rgb(0 0 0 / 0.8));
}

.ambient-glow {
  position: absolute;
  z-index: -1;
  inset: 40% -18% -8%;
  border-radius: 50%;
  background: #0096c7;
  opacity: 0.08;
  filter: blur(4.5rem);
}

.glass {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.water-body,
.water-surface {
  transform-box: fill-box;
  transform-origin: center;
  animation: water-breathe 6s ease-in-out infinite alternate;
}

.water-surface {
  animation-name: water-breathe, water-shimmer;
  animation-duration: 6s, 3.4s;
  animation-direction: alternate, alternate;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.glass-shadow {
  animation: shadow-pulse 6s ease-in-out infinite alternate;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes water-breathe {
  from {
    transform: translateY(-2px) scaleX(1.005);
  }

  to {
    transform: translateY(2px) scaleX(0.995);
  }
}

@keyframes water-shimmer {
  from {
    opacity: 0.76;
  }

  to {
    opacity: 1;
  }
}

@keyframes shadow-pulse {
  from {
    opacity: 0.14;
    transform: scaleX(0.96);
  }

  to {
    opacity: 0.24;
    transform: scaleX(1.04);
  }
}

@media (max-width: 34rem) {
  .glass-scene {
    width: min(76vw, 21rem);
  }
}

@media (max-height: 42rem) {
  .glass-scene {
    width: min(47vh, 21rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .water-body,
  .water-surface,
  .glass-shadow {
    animation: none;
  }
}
