* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

body {
  overflow: hidden;
  background: #000000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  color: #fff;
  pointer-events: auto;
}

/* Fullscreen WebGL background */
#hero-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background: radial-gradient(ellipse at center, #0a0520 0%, #020108 50%, #000000 100%);
}

/* Brand in the center */
.center-content {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  text-align: center;
  pointer-events: none;
}

.brand {
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: 0.28em;
  font-weight: 900;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: #ffffff;
  /* Subtle 3D depth effect */
  text-shadow:
    1px 1px 0px rgba(0, 0, 0, 0.4),
    2px 2px 0px rgba(0, 0, 0, 0.25),
    3px 3px 6px rgba(0, 0, 0, 0.5);
}

.brand .tm {
  font-size: 0.20em;
  vertical-align: baseline;
  position: relative;
  top: -0.06em;
  letter-spacing: 0;
  margin-left: 0.05em;
  opacity: 0.5;
  font-weight: 300;
}

.tagline {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 245, 255, 0.9);
  text-shadow: 
    0 0 15px rgba(150, 170, 255, 0.8),
    0 0 30px rgba(120, 140, 255, 0.5);
  font-weight: 300;
}

/* Shooting Star Effect */
.shooting-star {
  position: fixed;
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(200, 220, 255, 0.1) 8%,
    rgba(200, 220, 255, 0.2) 20%,
    rgba(200, 220, 255, 0.5) 40%,
    rgba(180, 200, 255, 0.8) 70%,
    rgba(255, 255, 255, 1) 92%,
    rgba(200, 230, 255, 0.5) 100%);
  border-radius: 100px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}

.shooting-star::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 6px;
  background: radial-gradient(ellipse at 70% 50%,
    rgba(255, 255, 255, 1) 0%,
    rgba(200, 220, 255, 0.8) 40%,
    rgba(150, 180, 255, 0.3) 70%,
    transparent 100%);
  border-radius: 50%;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(200, 220, 255, 0.7),
    0 0 35px rgba(150, 180, 255, 0.5);
}

.shooting-star::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  box-shadow:
    0 0 8px rgba(200, 220, 255, 0.7),
    0 0 20px rgba(150, 180, 255, 0.5),
    0 0 40px rgba(120, 150, 255, 0.3);
}

/* Aurora Waves Effect */
.aurora-container {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.aurora {
  position: absolute;
  width: 150%;
  height: 150%;
  opacity: 0;
  filter: blur(60px);
}

.aurora-1 {
  top: -30%;
  left: -25%;
  background: radial-gradient(ellipse 80% 50% at 30% 30%,
    rgba(80, 140, 255, 0.25) 0%,
    rgba(60, 120, 220, 0.14) 40%,
    transparent 70%);
  animation: auroraFade1 45s ease-in-out infinite;
}

.aurora-2 {
  bottom: -30%;
  right: -25%;
  background: radial-gradient(ellipse 80% 50% at 70% 70%,
    rgba(160, 100, 220, 0.2) 0%,
    rgba(130, 80, 200, 0.1) 40%,
    transparent 70%);
  animation: auroraFade2 55s ease-in-out infinite;
  animation-delay: 20s;
}

@keyframes auroraFade1 {
  0%, 100% {
    opacity: 0;
    transform: translateX(0) translateY(0) scale(1);
  }
  10% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  40% {
    opacity: 0.6;
    transform: translateX(3%) translateY(2%) scale(1.05);
  }
  55% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes auroraFade2 {
  0%, 100% {
    opacity: 0;
    transform: translateX(0) translateY(0) scale(1);
  }
  15% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
    transform: translateX(-2%) translateY(3%) scale(1.03);
  }
  65% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Dust Motes - Cosmic dust catching light */
.dust-container {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.dust-mote {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(200, 220, 255, 0.4);
  border-radius: 50%;
  opacity: 0;
  animation: dustDrift 60s linear infinite;
}

.dust-mote:nth-child(1) {
  top: 20%;
  left: -5%;
  animation-delay: 0s;
  animation-duration: 55s;
}

.dust-mote:nth-child(2) {
  top: 45%;
  left: -5%;
  animation-delay: 12s;
  animation-duration: 65s;
}

.dust-mote:nth-child(3) {
  top: 70%;
  left: -5%;
  animation-delay: 25s;
  animation-duration: 58s;
}

.dust-mote:nth-child(4) {
  top: 35%;
  left: -5%;
  animation-delay: 38s;
  animation-duration: 62s;
}

.dust-mote:nth-child(5) {
  top: 60%;
  left: -5%;
  animation-delay: 50s;
  animation-duration: 70s;
}

@keyframes dustDrift {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }
  5% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
  95% {
    opacity: 0.3;
  }
  100% {
    transform: translateX(110vw) translateY(10vh);
    opacity: 0;
  }
}

/* Brand Logo - Bottom Right */
.brand-logo {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: clamp(32px, 5vw, 60px);
  height: auto;
  z-index: 10;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
}

.brand-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .tagline {
    text-shadow:
      0 0 10px rgba(150, 170, 255, 0.6),
      0 0 20px rgba(120, 140, 255, 0.3);
  }

  .brand-logo {
    bottom: 1.25rem;
    right: 1.25rem;
    width: clamp(28px, 8vw, 42px);
  }
}
