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

body,
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0a0a0c;
  font-family:
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  z-index: 1;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  animation: fadeIn 1.5s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  color: #00f2fe;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
  display: inline-block;
}

h1 {
  font-size: 2.5rem;
  color: #ffffff;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.gradient-text {
  font-weight: 600;
  background: linear-gradient(45deg, #00f2fe, #4facfe, #0000ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: moveGradient 4s linear infinite;
}

@keyframes moveGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.loader-line {
  width: 256px;
  height: 2px;
  background: #00f2fe;
  margin: 2rem auto 0 auto;
  box-shadow: 0 0 8px #00f2fe;
  position: relative;
  overflow: hidden;
}

.loader-line::after {
  content: "";
  position: absolute;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: scan 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scan {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }
  .brand {
    font-size: 0.8rem;
    letter-spacing: 0.3rem;
  }
}
