:root {
  --runesmith-obsidian: #0a0a0b;
  --runesmith-ice-primary: #4fc3f7;
  --runesmith-ice-glow: #64b5f6;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-tertiary: #808080;
}

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

body {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--runesmith-obsidian);
  color: var(--text-primary);
  overflow-x: hidden;
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-image: url("hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 11, 0.9) 0%,
    rgba(10, 10, 11, 0.7) 50%,
    rgba(10, 10, 11, 0.9) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  padding: 2rem;
}

.main-message {
  font-family: "Orbitron", monospace;
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 5rem);
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(45deg, var(--runesmith-ice-primary), var(--runesmith-ice-glow));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(79, 195, 247, 0.5);
  margin-bottom: 2rem;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 30px rgba(79, 195, 247, 0.5);
  }
  to {
    text-shadow:
      0 0 50px rgba(79, 195, 247, 0.8),
      0 0 70px rgba(100, 181, 246, 0.6);
  }
}

.tagline {
  font-family: "Orbitron", monospace;
  font-weight: 700;
  font-size: clamp(1.2rem, 4vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.subtitle {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.5;
}

.loading-indicator {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.rune {
  font-size: 2rem;
  color: var(--runesmith-ice-primary);
  animation: pulse 1.5s ease-in-out infinite;
  font-family: "Orbitron", monospace;
}

.rune:nth-child(1) {
  animation-delay: 0s;
}
.rune:nth-child(2) {
  animation-delay: 0.2s;
}
.rune:nth-child(3) {
  animation-delay: 0.4s;
}
.rune:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    text-shadow: 0 0 20px var(--runesmith-ice-glow);
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 1rem;
  }

  .main-message {
    letter-spacing: 0.05em;
  }

  .loading-indicator {
    gap: 0.5rem;
  }

  .rune {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .main-message {
    font-size: clamp(1.5rem, 6vw, 3rem);
  }

  .tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
  }

  .subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  }
}
