* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  overflow: hidden;
  background: #1a1a1a;
}

.bg-layer {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(60%) contrast(1.1) brightness(0.6) saturate(0.5);
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 0;
  animation: liquid-blur 12s ease-in-out infinite;
}

#bg2 {
  animation-delay: -6s;
}

@keyframes liquid-blur {
  0%   { filter: grayscale(60%) contrast(1.1) brightness(0.6) saturate(0.5) blur(0px); transform: scale(1.0); }
  25%  { filter: grayscale(40%) contrast(1.2) brightness(0.55) saturate(0.6) blur(6px); transform: scale(1.03); }
  50%  { filter: grayscale(60%) contrast(1.0) brightness(0.65) saturate(0.4) blur(0px); transform: scale(1.05); }
  75%  { filter: grayscale(30%) contrast(1.15) brightness(0.5) saturate(0.7) blur(10px); transform: scale(1.02); }
  100% { filter: grayscale(60%) contrast(1.1) brightness(0.6) saturate(0.5) blur(0px); transform: scale(1.0); }
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.2);
  z-index: 1;
}

/* Soft light pulse */
.light-pulse {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(60, 110, 196, 0.08) 0%, transparent 70%);
  animation: pulse-drift 10s ease-in-out infinite;
}

@keyframes pulse-drift {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25%  { transform: translate(5%, -3%) scale(1.2); opacity: 1; }
  50%  { transform: translate(-3%, 5%) scale(0.9); opacity: 0.4; }
  75%  { transform: translate(-5%, -2%) scale(1.3); opacity: 0.8; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
}

/* Title */
.title {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 15vw, 16rem);
  color: #002944;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  text-shadow: 4px 4px 0px rgba(175, 150, 100, 0.4), 8px 8px 0px rgba(255, 255, 255, 0.1);
  user-select: none;
  text-align: center;
  line-height: 0.95;
  padding: 1rem;
  animation: title-breathe 8s ease-in-out infinite;
}

@keyframes title-breathe {
  0%   { opacity: 1; filter: blur(0px); }
  40%  { opacity: 0.85; filter: blur(1.5px); }
  60%  { opacity: 0.9; filter: blur(0.5px); }
  100% { opacity: 1; filter: blur(0px); }
}
