body {
  background: linear-gradient(180deg, #a8d4d4 0%, #5a9e9e 50%, #3d7a7a 100%);
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100vh;
}

@media (min-width: 768px) {
  body {
    background: linear-gradient(180deg, #d4e9e9 0%, #a8d4d4 50%, #5a9e9e 100%);
  }
}

.video-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

video {
  border-radius: 5px;
  box-shadow: 0 0 80px 30px rgba(255, 255, 255, 0.6);
  max-width: 95vw;
  max-height: 90vh;
}

@media (min-width: 768px) {
  video {
    box-shadow:
      0 0 50px 15px rgba(0, 0, 0, 0.15),
      0px -30px 100px 20px rgba(218, 190, 127, 0.4),
      0px 30px 100px 20px rgba(78, 154, 154, 0.5),
      -30px 0px 80px 15px rgba(78, 154, 154, 0.4),
      30px 0px 80px 15px rgba(78, 154, 154, 0.4);
  }
  .nav {
    color: #5a9e9e;
  }
  .nav:hover {
    color: #3d7a7a;
  }
}

#footer {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.nav {
  font-size: small;
  text-decoration: none;
  color: white;
}

.nav:hover {
  color: #ccc;
}

/* Sea animations - mobile only */
#sea-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}


.sea-bubble {
  position: absolute;
  border-radius: 50%;
  animation: float-up linear forwards;
  box-shadow: inset -2px -2px 4px rgba(255,255,255,0.4);
}

.sea-fish {
  position: absolute;
  animation: swim-wiggle linear forwards;
}

.sea-fish.swim-right {
  animation-name: swim-right;
}

.sea-fish.swim-left {
  animation-name: swim-left;
}

.sea-fish svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.1)) saturate(0.75) brightness(1.1) opacity(0.85);
}

.sea-fish-bg svg {
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.05)) saturate(0.5) brightness(1.2) opacity(0.4);
}

.sea-jellyfish {
  position: absolute;
  animation: jellyfish-float linear forwards;
}

.sea-jellyfish svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
  animation: jellyfish-pulse 2s ease-in-out infinite;
}

@keyframes jellyfish-float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  5% {
    opacity: 0.9;
  }
  25% {
    transform: translateY(-25vh) translateX(15px);
  }
  50% {
    transform: translateY(-55vh) translateX(-10px);
  }
  75% {
    transform: translateY(-85vh) translateX(12px);
  }
  95% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-115vh) translateX(0);
    opacity: 0;
  }
}

@keyframes jellyfish-pulse {
  0%, 100% {
    transform: scaleX(1) scaleY(1);
  }
  50% {
    transform: scaleX(1.05) scaleY(0.95);
  }
}

.sea-light-ray {
  position: absolute;
  top: 0;
  height: 100vh;
  background: radial-gradient(
    ellipse 100% 100% at 50% 0%,
    rgba(255, 255, 220, var(--ray-opacity, 0.15)) 0%,
    rgba(255, 255, 200, calc(var(--ray-opacity, 0.15) * 0.3)) 40%,
    rgba(255, 255, 180, 0) 70%
  );
  transform-origin: top center;
  transform: skewX(-5deg);
  animation: light-ray-shimmer ease-in-out infinite;
  pointer-events: none;
  filter: blur(12px);
}

@keyframes light-ray-shimmer {
  0%, 100% {
    opacity: 0.6;
    transform: skewX(-5deg) scaleX(1);
  }
  25% {
    opacity: 1;
    transform: skewX(-3deg) scaleX(1.1);
  }
  50% {
    opacity: 0.7;
    transform: skewX(-6deg) scaleX(0.9);
  }
  75% {
    opacity: 0.9;
    transform: skewX(-4deg) scaleX(1.05);
  }
}


.sea-seaweed {
  position: absolute;
  bottom: 0;
  transform-origin: bottom center;
  animation: sway ease-in-out infinite;
}

.sea-seaweed svg {
  height: 100%;
  width: auto;
}

@keyframes sway {
  0% {
    transform: rotate(-4deg) translateX(-2px);
  }
  25% {
    transform: rotate(-1deg) translateX(0px);
  }
  50% {
    transform: rotate(4deg) translateX(2px);
  }
  75% {
    transform: rotate(1deg) translateX(0px);
  }
  100% {
    transform: rotate(-4deg) translateX(-2px);
  }
}

@keyframes float-up {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.7;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-110vh) translateX(20px);
    opacity: 0;
  }
}

@keyframes swim-right {
  0% {
    left: -60px;
    transform: scaleX(1) translateY(0);
  }
  25% {
    transform: scaleX(1) translateY(-10px);
  }
  50% {
    transform: scaleX(1) translateY(5px);
  }
  75% {
    transform: scaleX(1) translateY(-8px);
  }
  100% {
    left: calc(100% + 60px);
    transform: scaleX(1) translateY(0);
  }
}

@keyframes swim-left {
  0% {
    right: -60px;
    transform: scaleX(-1) translateY(0);
  }
  25% {
    transform: scaleX(-1) translateY(-10px);
  }
  50% {
    transform: scaleX(-1) translateY(5px);
  }
  75% {
    transform: scaleX(-1) translateY(-8px);
  }
  100% {
    right: calc(100% + 60px);
    transform: scaleX(-1) translateY(0);
  }
}

