/* The Nomads — landing page */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #05080d;
  font-family: 'Nunito', sans-serif;
}

.stage {
  position: fixed;
  inset: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Background images — two layers for crossfade */
.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* Darkening overlays */
.scrim { position: absolute; inset: 0; }

.scrim-radial {
  background: radial-gradient(125% 95% at 50% 38%,
    rgba(5, 8, 13, 0.45) 0%,
    rgba(5, 8, 13, 0.62) 62%,
    rgba(5, 8, 13, 0.88) 100%);
}

.scrim-linear {
  background: linear-gradient(180deg,
    rgba(5, 8, 13, 0.55) 0%,
    rgba(5, 8, 13, 0) 28%,
    rgba(5, 8, 13, 0) 60%,
    rgba(5, 8, 13, 0.78) 100%);
}

/* Secondary CTA — top-right, out of the way */
.sidequest {
  position: absolute;
  top: 28px;
  right: 32px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  color: #cccccc;
  font-family: 'Jura', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.18s ease, transform 0.18s ease;
}

.sidequest i { font-size: 13px; color: #42BC00; }

.sidequest:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
}

/* Center stack */
.content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

/* Wordmark */
.wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.6);
}

.wordmark-the {
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 38px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wordmark-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 8vw, 124px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: -0.12em;
  color: #42BC00;
}

/* Slogan */
.slogan {
  margin: 14px 0 0;
  font-family: 'Jura', sans-serif;
  font-size: clamp(20px, 2.4vw, 36px);
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

/* Primary CTA — Join the Discord */
.discord {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 72px;
  padding: 20px 42px;
  border-radius: 16px;
  background: #5865F2;
  color: #ffffff;
  font-family: 'Jura', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  animation: nm-pulse 3.2s ease-in-out infinite;
  transition: background 0.16s ease, transform 0.16s ease;
}

.discord i { font-size: 28px; }

.discord:hover {
  background: #4752e6;
  transform: translateY(-2px) scale(1.02);
}

@keyframes nm-pulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(88, 101, 242, 0.45), 0 0 0 0 rgba(88, 101, 242, 0); }
  50%      { box-shadow: 0 12px 48px rgba(88, 101, 242, 0.6), 0 0 0 6px rgba(88, 101, 242, 0.08); }
}
