body {
  margin: 0;
  overflow: hidden;
  font-family: Arial, sans-serif;
  color: white;
}

/* BACKGROUND */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

/* OVERLAY (water mood layer) */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: -2;
  transition: 0.6s ease;
}

/* music makes environment feel more alive */
body.music-playing .overlay {
  background: rgba(0,0,0,0.35);
}

/* PARTICLES */
.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  filter: blur(1px);
  animation: floatUp 18s linear infinite;
}

.particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.particles span:nth-child(2) { left: 20%; animation-delay: 2s; }
.particles span:nth-child(3) { left: 30%; animation-delay: 4s; }
.particles span:nth-child(4) { left: 40%; animation-delay: 6s; }
.particles span:nth-child(5) { left: 50%; animation-delay: 1s; }
.particles span:nth-child(6) { left: 60%; animation-delay: 3s; }
.particles span:nth-child(7) { left: 70%; animation-delay: 5s; }
.particles span:nth-child(8) { left: 80%; animation-delay: 7s; }
.particles span:nth-child(9) { left: 15%; animation-delay: 9s; }
.particles span:nth-child(10) { left: 85%; animation-delay: 11s; }
.particles span:nth-child(11) { left: 35%; animation-delay: 13s; }
.particles span:nth-child(12) { left: 75%; animation-delay: 15s; }

@keyframes floatUp {
  0% { transform: translateY(100vh); opacity: 0; }
  20% { opacity: 0.6; }
  100% { transform: translateY(-10vh); opacity: 0; }
}

/* TOP ICONS */
.top-icons {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
  z-index: 10;
}

.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon {
  width: 36px !important;
  height: 36px !important;
  fill: white;
  opacity: 0.9;
  transition: 0.25s ease;
}

.icon:hover {
  opacity: 1;
  transform: scale(1.18);
}

/* CENTER */
.content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  position: relative;
}

/* LOGO */
.logo {
  width: 420px;
  max-width: 80vw;
  margin-bottom: 25px;
}

/* LINKS */
.main-links {
  display: flex;
  gap: 65px;
  margin-bottom: 18px;
}

.main-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 23px;
  transition: 0.3s ease;
  letter-spacing: 0px;
}

.main-links a:hover {
  transform: translateY(-2px) scale(1.05);
  letter-spacing: 3px;
}

/* MUSIC */
.music-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-svg {
  width: 30px !important;
  height: 30px !important;
  fill: white;
  opacity: 0.9;
  transition: 0.25s ease;
}

.music-icon:hover {
  transform: rotate(-6deg) scale(1.15);
}

body.music-playing .music-svg {
  animation: pulse 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.hidden {
  display: none;
}