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

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
  color: #f5f5f5;
  background: #05060a;
  overflow: hidden;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: saturate(1.3) contrast(1.05);
}

.background-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at top,
      rgba(255, 255, 255, 0.08),
      transparent 55%
    ),
    rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.75rem;
}

.hero-inner {
  text-align: center;
  max-width: 640px;
  width: 100%;
  animation: fade-in-up 900ms ease-out forwards;
  opacity: 0;
}

.logo-mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  background: radial-gradient(circle at 10% 0%, #ffffff, #d6e2ff 45%, #12141f);
  color: #05060a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 18px 45px rgba(0, 0, 0, 0.75);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.78);
  max-width: 30rem;
  margin: 0 auto 2.4rem;
}

.enter-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: radial-gradient(circle at 0 0, #4f87ff, #2b3a64 38%, #05060a);
  color: #f5f5f5;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 18px 40px rgba(0, 0, 0, 0.9);
  transition:
    transform 200ms ease-out,
    box-shadow 200ms ease-out,
    opacity 200ms ease-out,
    border-color 200ms ease-out;
  opacity: 0;
  animation: fade-in-soft 900ms ease-out 250ms forwards;
}

.enter-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.4),
    transparent 55%
  );
  opacity: 0.18;
  pointer-events: none;
}

.enter-button:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.98);
  border-color: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.enter-button:active {
  transform: translateY(0) scale(0.99);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 12px 32px rgba(0, 0, 0, 0.9);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-soft {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  body {
    overflow: hidden;
  }

  .hero {
    padding-inline: 1.25rem;
  }

  .hero-inner {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-bottom: 2rem;
  }

  .enter-button {
    width: 100%;
  }
}

