:root {
  --bg: #000000;
  --text: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background: var(--bg);
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.34));
}

.hero-copy {
  position: relative;
  text-align: center;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(255, 255, 255, 0.14);
  animation: text-glow 4.5s ease-in-out infinite;
}

.typed-text {
  min-width: 12ch;
}

.cursor {
  width: 0.08em;
  height: 0.95em;
  margin-left: 0.12em;
  background: currentColor;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
  animation: cursor-blink 1s steps(1, end) infinite;
}

@keyframes cursor-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

@keyframes text-glow {
  0%,
  100% {
    transform: translateY(0);
    text-shadow:
      0 2px 18px rgba(0, 0, 0, 0.55),
      0 0 20px rgba(255, 255, 255, 0.12);
  }

  50% {
    transform: translateY(-2px);
    text-shadow:
      0 2px 22px rgba(0, 0, 0, 0.62),
      0 0 30px rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 900px) {
  h1 {
    letter-spacing: 0.14em;
    text-indent: 0.14em;
  }
}

@media (max-width: 600px) {
  h1 {
    letter-spacing: 0.1em;
    text-indent: 0.1em;
  }

  .typed-text {
    min-width: 10.5ch;
  }
}
