:root {
  color-scheme: dark;
  --accent-color: #3b82f6;
  --text-color: #f7fbff;
  --muted-color: rgba(235, 243, 255, 0.85);
}

/* Self-hosted Oswald (latin subset) instead of the Google Fonts CDN,
   so no visitor data is sent to a third party. Google serves the 500
   and 700 weights from the same variable-font file. */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/oswald-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/oswald-latin.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
}

.bg {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Monochrome blue-black backdrop: near-black with a subtle blue glow */
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.18), transparent 45%),
    linear-gradient(160deg, #000000 0%, #05070d 55%, #0a1a33 100%);
}

/* Subtle dot-grid texture for depth, faded out toward the edges */
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.5px);
  background-size: clamp(1.4rem, 2.5vw, 1.9rem) clamp(1.4rem, 2.5vw, 1.9rem);
  mask-image: radial-gradient(circle at 50% 40%, black 10%, transparent 75%);
  opacity: 0.6;
}

.content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-family: "Oswald", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 9vw, 7rem);
  letter-spacing: 0.01em;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
}

h1 .accent {
  color: var(--accent-color);
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.55);
}

.divider {
  width: 3.5rem;
  height: 3px;
  margin: 1.4rem auto;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.subtitle {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: clamp(0.8rem, 2vw, 1.15rem);
  color: var(--muted-color);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Staggered fade-in for the hero content on load */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content > * {
  animation: fade-in-up 0.7s ease both;
}

.content h1 {
  animation-delay: 0s;
}

.content .divider {
  animation-delay: 0.12s;
}

.content .subtitle {
  animation-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  .content > * {
    animation: none;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 1.5rem;
  }

  .subtitle {
    letter-spacing: 0.22em;
  }
}
