:root {
  color-scheme: dark;
  --bg0: #050203;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  background: var(--bg0);
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, #6a0a10 0%, transparent 58%),
    radial-gradient(circle at 80% 110%, #3a070b 0%, transparent 42%),
    linear-gradient(180deg, #140305 0%, #050203 55%, #000 100%);
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding:
    max(1.5rem, env(safe-area-inset-top))
    1rem
    max(1.5rem, env(safe-area-inset-bottom));
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 18% 10% auto;
  height: 42%;
  background: radial-gradient(circle, rgba(225, 29, 46, .22), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  animation: pulse 5.5s ease-in-out infinite;
}

.logo-wrap {
  position: relative;
  z-index: 1;
  width: min(92vw, 960px);
  animation: rise 900ms cubic-bezier(.2, .8, .2, 1) both;
  user-select: none;
  -webkit-user-select: none;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .55));
  pointer-events: none;
}

.hx {
  position: absolute;
  left: 51.6%;
  top: 48.8%;
  width: 5.4%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  cursor: default;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
}

.hx:focus,
.hx:focus-visible,
.hx:active,
.hx:hover {
  outline: none;
  opacity: 0;
  background: transparent;
  box-shadow: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: .65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@media (max-width: 640px) {
  .logo-wrap { width: min(96vw, 960px); }
  .hx {
    width: 7.2%;
    left: 50.8%;
    top: 48.2%;
  }
}
