:root {
  --deep-ocean: rgba(64, 110, 142, 0.95);
  --sky-mist: rgba(142, 168, 195, 0.9);
  --arctic-glaze: rgba(203, 247, 237, 0.95);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(-45deg, #0f172a, var(--deep-ocean));
  height: 100vh;
  overflow: hidden;
  font-family: 'Avenir Next', system-ui, sans-serif;
}

.container {
  display: grid;
  place-items: center;
  height: 100vh;
  perspective: 1000px;
}

.logo-beam {
  position: relative;
  font-size: 5rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.logo-beam span {
  display: inline-block;
  position: relative;
  text-shadow: 0 0 15px var(--arctic-glaze);
  color: var(--arctic-glaze);
  opacity: 0;
  transform-style: preserve-3d;
  animation: letterEntrance 1.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes letterEntrance {
  0% {
    opacity: 0;
    transform: translateZ(200px) rotateX(-90deg);
  }
  100% {
    opacity: 1;
    transform: translateZ(0) rotateX(0);
  }
}

.logo-beam span:nth-child(1) { animation-delay: 0.2s; }
.logo-beam span:nth-child(2) { animation-delay: 0.4s; }
.logo-beam span:nth-child(3) { animation-delay: 0.6s; }
.logo-beam span:nth-child(4) { animation-delay: 0.8s; }
.logo-beam span:nth-child(5) { animation-delay: 1.0s; }
.logo-beam span:nth-child(6) { animation-delay: 1.2s; }
.logo-beam span:nth-child(7) { animation-delay: 1.4s; }

.logo-beam::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, var(--sky-mist) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.logo-beam:hover {
  transform: scale(1.05) rotateY(10deg);
  text-shadow: 0 0 30px var(--arctic-glaze);
}

.logo-beam:hover::after {
  opacity: 0.3;
}

.subtitle {
  position: absolute;
  bottom: 20%;
  color: var(--sky-mist);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  opacity: 0;
  animation: subtitleFade 1s forwards 2s;
}

@keyframes subtitleFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 0.8; transform: translateY(0); }
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, var(--arctic-glaze), transparent);
  border-radius: 50%;
  animation: particleFloat 6s infinite linear;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(0.8); opacity: 0.3; }
  50% { transform: translateY(-100px) scale(1.2); opacity: 0.6; }
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: var(--deep-ocean);
  color: var(--arctic-glaze);
  font-size: 0.9rem;
}
.logo {
  max-width: 150px;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 10px var(--arctic-glaze));
}
