:root {
  --ink: #08151e;
  --navy: #10283a;
  --navy-2: #18394e;
  --paper: #f7fbfd;
  --cyan: #5ff5f2;
  --cyan-soft: #bffefa;
  --amber: #ffb844;
  --orange: #f38328;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.15);
  --shadow: 0 32px 90px rgba(2, 11, 18, 0.54);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--white);
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.scene,
.scene>div {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scene {
  overflow: hidden;
  background: var(--ink);
}

.scene__hero {
  inset: -3% !important;
  background-image: url("../assets/vertigo-rush-hero.jpg");
  background-size: cover;
  background-position: 53% center;
  filter: saturate(1.12) contrast(1.02);
  transform: scale(1.04);
  animation: hero-breathe 14s ease-in-out infinite alternate;
}

.scene__veil {
  background:
    linear-gradient(90deg, rgba(5, 16, 24, 0.86) 0%, rgba(6, 20, 30, 0.56) 42%, rgba(8, 23, 34, 0.32) 72%, rgba(6, 16, 24, 0.58) 100%),
    linear-gradient(0deg, rgba(5, 13, 19, 0.95) 0%, rgba(5, 14, 21, 0.12) 47%, rgba(5, 14, 21, 0.42) 100%);
}

.scene__glow {
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.scene__glow--cyan {
  inset: -12rem auto auto -15rem !important;
  background: var(--cyan);
  animation: drift-cyan 11s ease-in-out infinite alternate;
}

.scene__glow--amber {
  inset: auto -18rem -18rem auto !important;
  background: var(--amber);
  animation: drift-amber 13s ease-in-out infinite alternate;
}

.scene__speed-lines {
  opacity: 0.15;
  background-image: repeating-linear-gradient(116deg, transparent 0 58px, rgba(255, 255, 255, 0.2) 59px, transparent 61px 120px);
  mask-image: linear-gradient(to right, transparent, black 12%, black 65%, transparent);
  transform: translateX(-15%);
  animation: speed-lines 18s linear infinite;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  justify-items: start;
  padding: max(28px, env(safe-area-inset-top)) clamp(22px, 7vw, 110px) max(28px, env(safe-area-inset-bottom));
}

.link-card {
  position: relative;
  width: min(100%, 520px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(16, 40, 58, 0.88), rgba(7, 22, 33, 0.82)),
    rgba(10, 27, 40, 0.82);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(95, 245, 242, 0.7), transparent 28%, transparent 70%, rgba(255, 184, 68, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.link-card::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  top: -130px;
  right: -100px;
  border-radius: 50%;
  border: 1px solid rgba(95, 245, 242, 0.35);
  box-shadow: 0 0 60px rgba(95, 245, 242, 0.12), inset 0 0 40px rgba(95, 245, 242, 0.08);
  pointer-events: none;
}

.link-card__metal-corner {
  position: absolute;
  width: 96px;
  height: 22px;
  opacity: 0.54;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: rotate(-35deg);
}

.link-card__metal-corner--top {
  top: 17px;
  right: -27px;
}

.link-card__metal-corner--bottom {
  bottom: 14px;
  left: -31px;
}

.brand {
  position: relative;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cyan-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.eyebrow::after {
  background: linear-gradient(90deg, currentColor, transparent);
}

.brand__logo {
  display: block;
  width: min(100%, 370px);
  height: auto;
  margin: -22px auto -32px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.32));
}

.brand__tagline {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__description {
  max-width: 36ch;
  margin: 13px auto 28px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.store-links {
  display: grid;
  gap: 13px;
}

.store-link {
  position: relative;
  min-height: 82px;
  display: grid;
  grid-template-columns: 50px 1fr 26px;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 19px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 26px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.store-link::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-105%);
  background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, 0.14) 45%, transparent 75%);
  transition: transform 560ms ease;
}

.store-link::after {
  content: "";
  position: absolute;
  inset: auto 14px 0 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--link-accent), transparent);
  opacity: 0.62;
}

.store-link:hover,
.store-link:focus-visible {
  transform: translateY(-3px) scale(1.008);
  border-color: color-mix(in srgb, var(--link-accent) 58%, white 12%);
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--link-accent) 12%, transparent), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 32px rgba(0, 0, 0, 0.25), 0 0 28px color-mix(in srgb, var(--link-accent) 13%, transparent);
}

.store-link:hover::before,
.store-link:focus-visible::before {
  transform: translateX(105%);
}

.store-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--link-accent) 70%, white 10%);
  outline-offset: 4px;
}

.store-link--meta {
  --link-accent: #62f2eb;
}

.store-link--steam {
  --link-accent: #91c7f4;
}

.store-link--playstation {
  --link-accent: #6e9cff;
}

.store-link__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--link-accent);
  border: 1px solid color-mix(in srgb, var(--link-accent) 45%, transparent);
  border-radius: 15px;
  background: color-mix(in srgb, var(--link-accent) 11%, rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--link-accent) 8%, transparent);
}

.store-link__icon img {
  width: 30px;
  height: 30px;
}

.store-link__icon--meta svg {
  width: 34px;
}

.store-link__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.store-link__copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.store-link__copy small {
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 600;
}

.store-link__arrow {
  position: relative;
  z-index: 1;
  color: var(--link-accent);
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.store-link:hover .store-link__arrow,
.store-link:focus-visible .store-link__arrow {
  transform: translate(2px, -2px);
}

.site-footer {
  position: relative;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.58);
}

.site-footer__rule {
  height: 1px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, transparent, rgba(95, 245, 242, 0.34) 20%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 184, 68, 0.3) 80%, transparent);
}

.site-footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__brand {
  display: grid;
  gap: 2px;
  color: inherit;
  text-decoration: none;
}

.site-footer__wordmark {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1;
}

.site-footer__studio {
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 14px;
}

.site-footer__links a {
  position: relative;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-footer__links a:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -8px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(95, 245, 242, 0.7);
}

.site-footer__brand:hover .site-footer__wordmark,
.site-footer__brand:focus-visible .site-footer__wordmark,
.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--cyan-soft);
}

.site-footer__contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.site-footer__socials {
  display: flex;
  gap: 16px;
}

.site-footer__socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-footer__socials a:hover,
.site-footer__socials a:focus-visible {
  transform: translateY(-3px);
  background: rgba(95, 245, 242, 0.08);
  border-color: rgba(95, 245, 242, 0.3);
}

.site-footer__socials img {
  width: 18px;
  height: 18px;
  opacity: 0.65;
  transition: opacity 180ms ease;
}

.site-footer__socials a:hover img,
.site-footer__socials a:focus-visible img {
  opacity: 1;
}

.site-footer__email {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__email:hover,
.site-footer__email:focus-visible {
  color: var(--cyan-soft);
}

.site-footer__copyright {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-align: center;
}

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

@keyframes hero-breathe {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.085) translate3d(1.1%, -0.7%, 0);
  }
}

@keyframes drift-cyan {
  to {
    transform: translate(9vw, 8vh) scale(1.15);
  }
}

@keyframes drift-amber {
  to {
    transform: translate(-8vw, -6vh) scale(1.08);
  }
}

@keyframes speed-lines {
  to {
    transform: translateX(15%);
  }
}

@media (max-width: 720px) {
  .scene__hero {
    inset: 0 !important;
    background-image: url("../assets/vertigo-rush-background.jpg");
    background-position: center;
    transform: none;
    animation: none;
  }

  .scene__veil {
    background:
      radial-gradient(circle at 50% 8%, rgba(38, 201, 215, 0.14), transparent 42%),
      linear-gradient(180deg, rgba(4, 15, 23, 0.2), rgba(5, 16, 25, 0.75) 45%, rgba(4, 12, 18, 0.95));
  }

  .page-shell {
    justify-items: center;
    padding-inline: 14px;
  }

  .link-card {
    width: min(100%, 500px);
    padding: 28px 20px 24px;
    border-radius: 25px;
  }

  .brand__logo {
    width: min(100%, 330px);
    margin-top: -24px;
    margin-bottom: -30px;
  }

  .store-link {
    min-height: 76px;
    grid-template-columns: 46px 1fr 22px;
    padding-inline: 14px;
  }

  .store-link__icon {
    width: 44px;
    height: 44px;
  }

  .site-footer__main {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .site-footer__links {
    justify-content: center;
  }
}

@media (max-height: 720px) and (min-width: 721px) {
  .page-shell {
    padding-block: 20px;
  }

  .link-card {
    padding-block: 26px;
  }

  .brand__logo {
    width: 310px;
    margin-bottom: -36px;
  }

  .brand__description {
    margin-bottom: 20px;
  }

  .store-link {
    min-height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}