:root {
  color-scheme: dark;
  --red: #ef1024;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.76);
  --line: rgba(255, 255, 255, 0.22);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #050506;
  color: var(--text);
}

body {
  overflow: hidden;
}

body.intro-lock {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(239, 16, 36, 0.18), transparent 30%),
    linear-gradient(135deg, #050506, #0e0f13 46%, #020203);
  animation: introExit 720ms ease 2500ms forwards;
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.intro::before {
  background:
    linear-gradient(100deg, transparent 0 38%, rgba(255, 255, 255, 0.18) 42%, transparent 48% 100%),
    linear-gradient(82deg, transparent 0 48%, rgba(239, 16, 36, 0.42) 50%, transparent 54% 100%);
  transform: translateX(-120%) skewX(-18deg);
  animation: introSlash 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) 520ms forwards;
}

.intro::after {
  opacity: 0.24;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 42px);
  animation: introGridDrift 2800ms linear forwards;
}

.intro-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 75%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(transparent 58%, rgba(239, 16, 36, 0.18));
  clip-path: polygon(0 58%, 100% 38%, 100% 100%, 0 100%);
}

.intro-flare {
  position: absolute;
  width: 72vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, var(--red), transparent);
  box-shadow: 0 0 34px rgba(239, 16, 36, 0.9);
  transform: scaleX(0);
  animation: introFlare 900ms ease 880ms forwards;
}

.intro-logo {
  position: relative;
  z-index: 2;
  width: min(760px, 82vw);
  transform: scale(0.78) translateY(18px);
  opacity: 0;
  filter:
    drop-shadow(0 0 28px rgba(239, 16, 36, 0.62))
    drop-shadow(0 18px 70px rgba(0, 0, 0, 0.9));
  animation: introLogo 1600ms cubic-bezier(0.12, 0.96, 0.22, 1) 240ms forwards;
}

.intro-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(44px, 8vh, 84px);
  z-index: 2;
  display: grid;
  gap: 6px;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  animation: introCopy 900ms ease 1180ms forwards;
}

.intro-copy span {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
}

.intro-copy strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(22px, 4vw, 46px);
  line-height: 0.95;
}

.intro.is-skipped {
  animation-duration: 180ms;
  animation-delay: 0ms;
}

.landing-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(24px, 5vw, 76px);
}

.landing-bg,
.landing-scrim,
.landing-grid {
  position: fixed;
  inset: 0;
}

.landing-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.12);
  transform: scale(1.02);
}

.landing-scrim {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 60% 42%, rgba(239, 16, 36, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.84));
}

.landing-grid {
  opacity: 0.18;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 20px),
    linear-gradient(32deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 46px);
  mask-image: linear-gradient(90deg, black, transparent 75%);
}

.landing-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  animation: riseIn 800ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.landing-logo {
  display: block;
  width: min(520px, 82vw);
  height: auto;
  margin-bottom: clamp(28px, 5vw, 54px);
  filter:
    drop-shadow(0 0 34px rgba(239, 16, 36, 0.48))
    drop-shadow(0 24px 70px rgba(0, 0, 0, 0.8));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 710px;
  margin: 0;
  font-size: clamp(48px, 7vw, 106px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.72);
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 5vw, 46px);
}

.landing-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.landing-button.primary {
  border-color: rgba(239, 16, 36, 0.72);
  background: linear-gradient(135deg, var(--red), #ff3b4d);
}

.landing-button.ghost {
  color: var(--muted);
}

.landing-button:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.54), 0 0 34px rgba(239, 16, 36, 0.22);
}

.landing-button.primary:hover {
  background: linear-gradient(135deg, #ff2338, #ff6875);
}

.social-sidebar {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  top: 50%;
  z-index: 3;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.social-sidebar a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.social-sidebar a:hover {
  transform: translateX(-3px) scale(1.05);
  border-color: rgba(239, 16, 36, 0.72);
  background: rgba(239, 16, 36, 0.18);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introLogo {
  0% {
    opacity: 0;
    transform: scale(0.72) translateY(26px);
    clip-path: inset(0 100% 0 0);
  }

  42% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

  72% {
    transform: scale(1.04) translateY(0);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes introSlash {
  to {
    transform: translateX(120%) skewX(-18deg);
  }
}

@keyframes introFlare {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  36% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes introCopy {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes introGridDrift {
  to {
    transform: translate3d(-34px, 18px, 0);
  }
}

@keyframes introExit {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .landing-shell {
    min-height: 100svh;
    align-items: start;
    padding: 46px 18px 112px;
  }

  .landing-logo {
    width: min(330px, 84vw);
    margin-bottom: 38px;
  }

  h1 {
    font-size: clamp(44px, 16vw, 70px);
  }

  .landing-actions {
    display: grid;
  }

  .landing-button {
    width: min(100%, 360px);
  }

  .social-sidebar {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 16px;
    grid-auto-flow: column;
    gap: 8px;
    transform: translateX(-50%);
  }

  .social-sidebar a {
    width: 40px;
    height: 40px;
  }
}
