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

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #071f25;
}

body {
  min-height: 100svh;
}

.lake {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 22%, rgba(173, 225, 191, 0.13), transparent 34%),
    linear-gradient(160deg, #16494c 0%, #0a353c 48%, #061d26 100%);
}

canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}

.intro {
  position: absolute;
  z-index: 2;
  top: clamp(24px, 7vh, 72px);
  left: clamp(22px, 6vw, 86px);
  max-width: min(440px, 78vw);
  pointer-events: none;
  text-shadow: 0 2px 24px rgba(3, 22, 25, 0.45);
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(219, 235, 204, 0.68);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.27em;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 11vw, 9.4rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.065em;
  color: #f3edcf;
}

.hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: clamp(25px, 5vh, 46px) 0 0 5px;
  color: rgba(226, 239, 218, 0.78);
  font-size: clamp(0.8rem, 1.35vw, 0.98rem);
  letter-spacing: 0.025em;
}

.pointer-icon {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(232, 239, 206, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(232, 239, 206, 0.06);
  animation: breathe 2.5s ease-in-out infinite;
}

.depth {
  position: absolute;
  z-index: 2;
  bottom: max(22px, env(safe-area-inset-bottom));
  color: rgba(205, 224, 205, 0.42);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}

.depth-left {
  left: clamp(22px, 4vw, 58px);
}

.depth-right {
  right: clamp(22px, 4vw, 58px);
}

.noscript {
  position: absolute;
  inset: auto 24px 24px;
  z-index: 4;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.55);
}

@keyframes breathe {
  0%, 100% { transform: scale(0.86); opacity: 0.6; }
  50% { transform: scale(1); opacity: 1; }
}

@media (max-width: 620px) {
  .intro {
    top: max(24px, env(safe-area-inset-top));
  }

  h1 {
    font-size: clamp(4rem, 21vw, 7rem);
  }

  .depth-right {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pointer-icon {
    animation: none;
  }
}
