@font-face {
  font-family: "Inter Display";
  src: url("assets/InterDisplay-Regular.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Inter Display";
  src: url("assets/InterDisplay-Medium.woff2") format("woff2");
  font-display: swap;
  font-weight: 500;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("assets/BebasNeue.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}

:root {
  --background: #270218;
  --foreground: #ffffff;
  --content-width: 332px;
  --desktop-x-nudge: -6px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter Display", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.landing {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 32px 20px;
}

.landing__content {
  display: flex;
  width: min(var(--content-width), 100%);
  flex-direction: column;
  align-items: center;
  transform: translateX(var(--desktop-x-nudge));
}

.landing__mark {
  display: block;
  width: var(--content-width);
  height: auto;
  max-width: 100%;
  overflow: visible;
  touch-action: none;
}

.landing__tagline {
  margin: 38px 0 0;
  color: var(--foreground);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.125;
  letter-spacing: -0.16px;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
}

.landing__tagline span {
  display: inline-block;
  opacity: 0;
  animation: lx-letter-in 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes lx-letter-in {
  from { opacity: 0; filter: blur(8px); transform: translateY(var(--from-y, 8px)); }
  to   { opacity: 1; filter: blur(0);   transform: none; }
}

.link-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  margin-top: 16px;
  padding: 0 6px;
  border-radius: 7px;
  background: #ffffff;
  color: #270218;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 220ms ease;
  animation: lx-blur-in 0.6s ease 1.2s both;
}

.link-btn__default {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 150ms ease;
}

.link-btn__icon { display: block; width: 16px; height: 16px; flex: none; }

.link-btn__marquee {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.link-btn__track { display: inline-flex; flex: none; will-change: transform; }

.link-btn__track span {
  padding: 0 14px;
  font-family: "Bebas Neue", "Inter Display", sans-serif;
  font-size: 23px;
  line-height: 24px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.link-btn:hover,
.link-btn:focus-visible { background: #c60072; outline: none; }

.link-btn:hover .link-btn__default,
.link-btn:focus-visible .link-btn__default { opacity: 0; }

.link-btn:hover .link-btn__marquee,
.link-btn:focus-visible .link-btn__marquee { opacity: 1; }

.link-btn:hover .link-btn__track,
.link-btn:focus-visible .link-btn__track { animation: lx-marquee 7s linear infinite; }

.link-btn:focus-visible { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.64); }

@keyframes lx-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes lx-blur-in {
  from { opacity: 0; filter: blur(10px); transform: translateY(8px); }
  to   { opacity: 1; filter: blur(0);    transform: none; }
}

.landing__socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  animation: lx-blur-in 0.6s ease 1.45s both;
}

.landing__link {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--foreground);
  text-decoration: none;
  outline: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.landing__link:hover {
  opacity: 0.72;
}

.landing__link:active {
  transform: scale(0.94);
}

.landing__link:focus-visible {
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.64);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  :root {
    --content-width: min(332px, calc(100vw - 48px));
    --desktop-x-nudge: 0px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing__link {
    transition: none;
  }
  .landing__tagline { opacity: 1; }
  .landing__tagline span { animation: none; opacity: 1; filter: none; transform: none; }
  .link-btn, .landing__socials { animation: none; opacity: 1; filter: none; transform: none; }
  .link-btn:hover .link-btn__track,
  .link-btn:focus-visible .link-btn__track { animation: none; }
}
