:root {
  --bg: #000;
  --text: #fff;
  --cyan: #00caf4;
  --violet: #ad46ff;
  --pink: #f4359e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 31.3% 38.2%, rgba(0, 202, 244, 0.32), transparent 16%),
    radial-gradient(circle at 66% 56.2%, rgba(173, 70, 255, 0.31), transparent 15%),
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 100%),
    #000;
  background-size: auto, auto, 86px 86px, auto;
  color: var(--text);
  font-family: "Inter", "Noto Sans SC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.download-page {
  min-height: 100vh;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.download-nav {
  height: 100px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.download-nav-inner {
  width: 1260px;
  max-width: calc(100vw - 80px);
  height: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-logo {
  position: absolute;
  left: 0;
  top: 30px;
  width: 164px;
  height: 40px;
  display: block;
}

.download-logo img,
.download-footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.download-menu {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

.download-menu a {
  height: 100%;
  min-width: 92px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 19px;
  white-space: nowrap;
}

.download-menu a:not(:first-child) {
  min-width: 124px;
}

.download-main {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.download-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  background-size: auto;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  animation: download-particle-drift 18s linear infinite;
}

.download-bg::before,
.download-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.download-bg::before {
  width: 300px;
  height: 300px;
  left: 451px;
  top: 224px;
  background: var(--cyan);
  animation: download-light-left 9s ease-in-out infinite alternate;
}

.download-bg::after {
  width: 282px;
  height: 282px;
  left: 1127px;
  top: 410px;
  background: var(--violet);
  animation: download-light-right 10s ease-in-out infinite alternate;
}

.download-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.82;
  pointer-events: none;
}

.download-aurora canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.download-mask {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 980px;
  transform: translate(-50%, -50%);
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(300px);
  -webkit-backdrop-filter: blur(300px);
  pointer-events: none;
}

.download-hero {
  min-height: 100vh;
  flex: 1 1 auto;
  padding-top: 300px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
  text-align: center;
}

.site-mega-footer {
  width: 100%;
  margin-top: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  overflow: hidden;
}

.site-mega-footer-frame {
  width: min(1920px, 100vw);
  min-height: 746px;
  margin: 0 auto;
  padding: 150px 330px 120px;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) 218px;
  gap: 92px;
  align-items: start;
  box-sizing: border-box;
}

.site-mega-footer-company h3 {
  margin: 0 0 44px;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

.site-mega-footer-company p,
.site-mega-footer-col a,
.site-mega-footer-qr p {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}

.site-mega-footer-company p + p {
  margin-top: 28px;
}

.site-mega-footer-social {
  display: flex;
  gap: 80px;
  margin-top: 80px;
}

.site-mega-footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
}

.site-mega-footer-social img {
  width: 100%;
  height: 100%;
  display: block;
}

.site-mega-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 34px;
}

.site-mega-footer-col {
  display: flex;
  flex-direction: column;
}

.site-mega-footer-col h4 {
  margin: 0 0 44px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  color: #fff;
}

.site-mega-footer-col a + a {
  margin-top: 28px;
}

.site-mega-footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-mega-footer-qr-shell {
  width: 218px;
  height: 218px;
  border-radius: 40px;
  border: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(244, 53, 158, 0.2), rgba(173, 70, 255, 0.2) 51.923%, rgba(0, 202, 244, 0.2));
  box-shadow: 0 0 10px 10px rgba(173, 70, 255, 0.2);
  padding: 6px;
  box-sizing: border-box;
}

.site-mega-footer-qr-inner {
  width: 100%;
  height: 100%;
  border-radius: 37px;
  background: #fff;
}

.site-mega-footer-qr p {
  margin-top: 68px;
  text-align: center;
}

@keyframes download-particle-drift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 0 0, 86px 86px, 0 0;
  }
}

@keyframes download-light-left {
  0% {
    transform: translate3d(-18px, -8px, 0) scale(0.96);
    opacity: 0.86;
  }
  100% {
    transform: translate3d(34px, 18px, 0) scale(1.08);
    opacity: 1;
  }
}

@keyframes download-light-right {
  0% {
    transform: translate3d(24px, 14px, 0) scale(1.04);
    opacity: 0.86;
  }
  100% {
    transform: translate3d(-32px, -20px, 0) scale(0.96);
    opacity: 1;
  }
}

.download-pill {
  width: 160px;
  height: 40px;
  margin: 0 auto 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  line-height: 14px;
}

.download-pill i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  flex: none;
}

.download-hero h1 {
  margin: 0;
  font-size: 80px;
  line-height: 100px;
  font-weight: 700;
  white-space: nowrap;
}

.download-hero h1 span {
  font-size: 90px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 48.077%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.download-subtitle {
  margin: 20px 0 0;
  font-size: 26px;
  line-height: 36px;
  font-weight: 400;
}

.download-button {
  width: 188px;
  height: 48px;
  margin: 100px auto 0;
  border: 1px solid var(--cyan);
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(0, 202, 244, 0.2),
    rgba(173, 70, 255, 0.2) 48.077%,
    rgba(244, 53, 158, 0.2)
  );
  box-shadow: 0 0 10px #b544f4;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transform: scale(1);
  transition:
    transform 160ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 220ms ease;
}

.download-button span {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 48.077%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 20px;
  line-height: 20px;
}

.download-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.24), transparent 30%);
  opacity: 0;
  transform: scale(1.35);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.download-button::after {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  right: 16px;
  top: 50%;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--cyan);
  opacity: 0;
  transform: scale(0.7);
}

.download-button:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 16px 2px rgba(181, 68, 244, 0.88);
}

.download-button:active,
.download-button.is-pressed {
  transform: scale(0.96);
  box-shadow: 0 0 5px rgba(181, 68, 244, 0.65);
}

.download-button.is-pressed::before {
  opacity: 1;
  transform: scale(0.78);
}

.download-button.is-loading {
  pointer-events: none;
  border-color: rgba(0, 202, 244, 0.72);
  box-shadow: 0 0 8px rgba(181, 68, 244, 0.62);
}

.download-button.is-loading::after {
  opacity: 1;
  transform: scale(1);
  animation: download-spin 780ms linear infinite;
}

.download-button.is-loading span {
  padding-right: 24px;
}

.download-button.is-complete {
  border-color: rgba(5, 223, 114, 0.9);
  box-shadow: 0 0 16px rgba(5, 223, 114, 0.5);
}

.download-button.is-complete span {
  background: linear-gradient(90deg, #05df72, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes download-spin {
  to {
    transform: scale(1) rotate(360deg);
  }
}

.download-footer {
  height: 100px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.4);
}

.download-footer-logo {
  position: absolute;
  left: calc(50% - 630px);
  top: 37px;
  width: 107px;
  height: 26px;
}

.download-footer-links {
  position: absolute;
  left: 50%;
  top: 43px;
  transform: translateX(-50%);
  width: 480px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.download-footer-links a,
.download-copy {
  font-size: 12px;
  line-height: 15px;
  white-space: nowrap;
}

.download-copy {
  position: absolute;
  left: calc(50% + 416px);
  top: 43px;
}

@media (max-width: 1100px) {
  .download-nav-inner {
    max-width: calc(100vw - 40px);
    justify-content: flex-end;
  }

  .download-menu {
    display: none;
  }

  .download-logo {
    left: 0;
  }

  .download-hero {
    padding: 180px 20px 160px;
  }

  .download-hero h1 {
    font-size: clamp(42px, 8vw, 80px);
    line-height: 1.2;
    white-space: normal;
  }

  .download-hero h1 span {
    font-size: 1.08em;
  }

  .download-subtitle {
    font-size: 20px;
  }

  .download-footer-logo,
  .download-copy,
  .download-footer-links {
    position: static;
  }

  .site-mega-footer-frame {
    width: calc(100vw - 40px);
    min-height: auto;
    padding: 72px 0 64px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .site-mega-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-mega-footer-social {
    gap: 44px;
    margin-top: 44px;
  }

  .site-mega-footer-qr {
    justify-self: center;
  }

  .download-footer {
    height: auto;
    min-height: 100px;
    padding: 22px 20px;
    display: grid;
    justify-items: center;
    gap: 16px;
  }

  .download-footer-logo {
    width: 107px;
    height: 26px;
  }

  .download-footer-links {
    transform: none;
    width: min(480px, 100%);
    flex-wrap: wrap;
    gap: 14px 24px;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .site-mega-footer-frame {
    width: calc(100vw - 32px);
    padding: 48px 0 56px;
    gap: 32px;
  }

  .site-mega-footer-company h3 {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .site-mega-footer-company p,
  .site-mega-footer-col a,
  .site-mega-footer-col h4,
  .site-mega-footer-qr p {
    font-size: 16px;
  }

  .site-mega-footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-mega-footer-col h4 {
    margin-bottom: 20px;
  }

  .site-mega-footer-col a + a,
  .site-mega-footer-company p + p {
    margin-top: 14px;
  }

  .site-mega-footer-social {
    gap: 28px;
    margin-top: 28px;
  }

  .site-mega-footer-qr-shell {
    width: 168px;
    height: 168px;
    border-radius: 28px;
  }

  .site-mega-footer-qr-inner {
    border-radius: 24px;
  }

  .site-mega-footer-qr p {
    margin-top: 28px;
  }
}
