* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #050505;
  color: white;
  overflow: hidden;
  cursor: crosshair;
}

/* faint logo on right */
.background-logo {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5,5,5,0.96) 35%, rgba(5,5,5,0.45)),
    url("logoV3.png");

  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  opacity: 0.75;
  z-index: 0;
}

/* right-side liquid/glimmer field */
.water-column {
  position: fixed;
  top: -10%;
  right: -8%;
  width: 62vw;
  height: 120vh;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;

    background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 45%),
        rgba(255,255,255,0.8),
        rgba(120,220,255,0.35) 8%,
        rgba(255,80,180,0.22) 18%,
        transparent 38%
    ),
    linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.05) 35%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0.04) 65%,
        transparent 100%
    );

  filter: blur(1.5px) contrast(1.4);
  mix-blend-mode: screen;
  animation: waterFlow 8s ease-in-out infinite alternate;
}

@keyframes waterFlow {
  from {
    transform: translateY(-2%) skewX(-4deg) scale(1.03);
  }

  to {
    transform: translateY(3%) skewX(3deg) scale(1.08);
  }
}

/* light system behind text */
.prism-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.source-glow {
  position: fixed;
  left: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.8), transparent 65%);
  filter: blur(18px);
  opacity: 0.45;
}

.white-beam,
.rainbow-beams span {
  position: fixed;
  left: 0;
  top: 0;
  height: 8px;
  transform-origin: 0 50%;
  pointer-events: none;
}

.white-beam {
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.16)
  );
  box-shadow: 0 0 14px rgba(255,255,255,0.12);
  opacity: 0.22;
  filter: blur(10px);
}

.rainbow-beams span {
  width: 140vw;
  border-radius: 999px;
  opacity: 0.62;
  filter: blur(26px);
  animation: beamWave 5s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.red {
  background: linear-gradient(to right, rgba(255,40,120,0.95), transparent 75%);
}

.orange {
  background: linear-gradient(to right, rgba(255,140,0,0.85), transparent 75%);
}

.yellow {
  background: linear-gradient(to right, rgba(255,255,80,0.75), transparent 75%);
}

.green {
  background: linear-gradient(to right, rgba(0,255,180,0.8), transparent 75%);
}

.blue {
  background: linear-gradient(to right, rgba(0,140,255,0.95), transparent 75%);
}

.violet {
  background: linear-gradient(to right, rgba(190,0,255,0.95), transparent 75%);
}

@keyframes beamWave {
  from {
    filter: blur(18px);
  }

  to {
    filter: blur(34px);
  }
}

/* actual page content */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 48px;
  position: relative;
  z-index: 4;
}

.hero-text {
  max-width: 760px;
}

.tag {
  color: #aaa;
  letter-spacing: 5px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(48px, 10vw, 120px);
  margin: 10px 0;
  letter-spacing: -4px;
}

.subtitle {
  max-width: 520px;
  color: #ccc;
  font-size: 20px;
  line-height: 1.5;
}

.buttons {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}

.buttons a {
  color: white;
  text-decoration: none;
  border: 1px solid #555;
  padding: 12px 18px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.buttons a:hover {
  background: white;
  color: black;
}

#waterCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.75;
}

.water-surface {
  position: fixed;
  top: 0;
  right: 0;
  width: 58vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
  mix-blend-mode: screen;
  overflow: hidden;

  background:
    radial-gradient(ellipse at center,
      rgba(255,255,255,0.14),
      transparent 65%
    );

  filter: blur(1px) contrast(1.7);
  animation: liquidWall 14s linear infinite;
}


.water-surface::after {
  content: "";
  position: absolute;
  inset: -100%;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      rgba(255,255,255,0.06) 80px,
      transparent 160px
    );

  opacity: 0.22;
  filter: blur(24px);
  animation: none !important;
}

@keyframes liquidWall {
  from {
    transform: translateY(-8%) skewX(-2deg) scale(1.05);
  }

  to {
    transform: translateY(8%) skewX(-2deg) scale(1.05);
  }
}

@keyframes causticDrift {
  from {
    transform: translate(-5%, -5%) rotate(0deg) scale(1.1);
  }

  to {
    transform: translate(5%, 8%) rotate(8deg) scale(1.25);
  }
}

@keyframes waterFallSeamless {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(160px);
  }
}