:root {
  --nl-action-from: #42dcff;
  --nl-action-to: #3978ff;
  --nl-action-violet: #8a5cff;
  --nl-action-text: #f7fbff;
  --nl-action-surface: #0a1426;
  --nl-focus: #74e8ff;
}

body {
  background: #050817 url('/images/nolife-aurora-bg-premium-opt.jpg') no-repeat center top !important;
  background-size: cover !important;
}

body::before {
  background:
    linear-gradient(180deg, rgba(2, 4, 14, .38) 0%, rgba(4, 7, 18, .16) 34%, rgba(3, 6, 18, .64) 100%),
    radial-gradient(circle at 18% 12%, rgba(241, 93, 255, .1), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(52, 217, 255, .09), transparent 32%),
    linear-gradient(90deg, rgba(2, 4, 14, .42), transparent 25%, transparent 72%, rgba(2, 4, 14, .38)) !important;
}

#app.index,
#app.release-shell.index {
  background: transparent !important;
}

.release-shell.index::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 18, .04) 0, rgba(3, 7, 18, .28) 58%, rgba(5, 8, 23, .78) 100%),
    radial-gradient(circle at 84% 15%, rgba(49, 176, 255, .08), transparent 34%) !important;
}

.release-main {
  background: linear-gradient(180deg, rgba(5, 8, 23, .42), rgba(5, 8, 23, .72) 280px, rgba(5, 8, 23, .88)) !important;
}

.release-button:focus-visible,
.start-steps article > a:focus-visible,
.start-steps article > button:focus-visible,
.home-hero__secondary:focus-visible,
.community-card:focus-visible,
.release-side-cta:focus-visible,
.server-branch__toggle:focus-visible {
  outline: 2px solid var(--nl-focus) !important;
  outline-offset: 4px;
}

.release-button:active {
  box-shadow: 0 8px 24px rgba(35, 167, 255, .22), inset 0 2px 5px rgba(0, 10, 25, .22) !important;
  filter: saturate(.96);
  transform: translateY(0) !important;
}

.release-button:disabled,
.release-button.disabled {
  box-shadow: none !important;
  cursor: not-allowed;
  filter: grayscale(.35);
  opacity: .45;
  transform: none !important;
}

.home-hero::before {
  top: 8%;
  right: -7%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42, 179, 255, .1), transparent 67%);
}

.home-hero__visual {
  isolation: isolate;
}

.home-hero__visual::after {
  position: absolute;
  inset: -42px -74px -30px -46px;
  z-index: 1;
  background: url('/images/nolife-v2/home-hero-subject-v1.png') no-repeat right bottom;
  background-size: contain;
  content: '';
  filter: saturate(.84) contrast(1.03) drop-shadow(0 32px 42px rgba(0, 3, 13, .52));
  pointer-events: none;
}

.home-hero__visual:has(.home-hero__art)::after {
  display: none;
}

.home-hero__art {
  position: absolute;
  inset: -42px -74px -30px -46px;
  z-index: 1;
  display: flex;
  margin: 0;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.home-hero__art img {
  width: min(590px, 116%);
  max-width: none;
  max-height: 570px;
  object-fit: contain;
  object-position: right bottom;
  filter: saturate(.84) contrast(1.03) drop-shadow(0 32px 42px rgba(0, 3, 13, .52));
}

.home-hero .hero-mark,
.home-hero .hero-orbit--two {
  display: none !important;
}

.home-hero .hero-orbit--one {
  z-index: 0;
  width: 430px;
  height: 430px;
  border-color: rgba(113, 219, 255, .12);
  opacity: .52;
}

.home-hero .server-pulse {
  z-index: 3;
}

.release-state > i {
  display: block;
  width: 150px;
  height: 150px;
  margin: -20px auto -2px;
  background: url('/images/nolife-v2/support-state-v1.png') no-repeat center;
  background-size: contain;
  color: transparent !important;
  filter: saturate(.72) drop-shadow(0 18px 34px rgba(20, 161, 255, .18));
  font-size: 0 !important;
}

.release-state__art {
  display: block;
  width: 150px;
  height: 150px;
  margin: -20px auto -2px;
  object-fit: contain;
  filter: saturate(.72) drop-shadow(0 18px 34px rgba(20, 161, 255, .18));
}

.server-board::before,
.server-board__art {
  position: relative;
  display: block;
  height: 116px;
  border-bottom: 1px solid rgba(147, 209, 235, .14);
  background:
    linear-gradient(180deg, rgba(5, 12, 25, .08), rgba(7, 16, 31, .84)),
    linear-gradient(90deg, rgba(7, 16, 31, .58), transparent 70%),
    url('/images/nolife-v2/server-technomagic-hero-v1.png') no-repeat 72% 54%;
  background-size: cover;
  content: '';
}

.server-board:has(.server-board__art)::before {
  display: none;
}

.start-steps__grid article {
  position: relative;
  display: flex;
  min-height: 430px;
  padding: 205px 27px 28px;
  flex-direction: column;
}

.start-steps__grid article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 188px;
  border-bottom: 1px solid rgba(133, 214, 244, .12);
  background:
    linear-gradient(180deg, rgba(5, 12, 26, .08), rgba(7, 15, 29, .86)),
    radial-gradient(circle at 50% 72%, rgba(48, 182, 255, .13), transparent 54%),
    url('/images/nolife-v2/onboarding-account-v1.jpg') no-repeat center 8px;
  background-size: cover, cover, 178px auto;
  content: '';
}

.start-steps__grid article:nth-child(2)::before {
  background-image:
    linear-gradient(180deg, rgba(5, 12, 26, .08), rgba(7, 15, 29, .86)),
    radial-gradient(circle at 50% 72%, rgba(48, 182, 255, .13), transparent 54%),
    url('/images/nolife-v2/onboarding-launcher-v1.jpg');
}

.start-steps__grid article:nth-child(3)::before {
  background-image:
    linear-gradient(180deg, rgba(5, 12, 26, .08), rgba(7, 15, 29, .86)),
    radial-gradient(circle at 50% 72%, rgba(48, 182, 255, .13), transparent 54%),
    url('/images/nolife-v2/onboarding-world-v1.jpg');
}

.start-steps__grid article:has(.start-steps__art) {
  padding-top: 0;
}

.start-steps__grid article:has(.start-steps__art)::before {
  display: none;
}

.start-steps__art {
  position: relative;
  height: 188px;
  margin: 0 -27px;
  overflow: hidden;
  border-bottom: 1px solid rgba(133, 214, 244, .12);
  background:
    radial-gradient(circle at 50% 72%, rgba(48, 182, 255, .13), transparent 54%),
    linear-gradient(180deg, rgba(5, 12, 26, .3), rgba(5, 12, 26, .72));
}

.start-steps__art img {
  display: block;
  width: 82%;
  height: 190px;
  margin: 4px auto 0;
  object-fit: contain;
  filter: saturate(.76) contrast(1.02) drop-shadow(0 17px 25px rgba(0, 7, 22, .44));
}

.start-steps__number {
  z-index: 3;
  top: 15px;
  right: 18px;
  color: rgba(229, 247, 255, .62);
  font-size: 42px;
  text-shadow: 0 4px 20px rgba(0, 4, 15, .7);
}

.start-steps__icon {
  display: none !important;
}

.start-steps h3 {
  margin-top: 22px;
}

.start-steps article p {
  min-height: 0;
}

.start-steps article > a,
.start-steps article > button {
  display: inline-flex;
  min-height: 42px;
  margin-top: auto;
  padding: 0 15px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(105, 215, 255, .22);
  border-radius: 10px;
  background: rgba(7, 18, 35, .68);
  color: #d9e7f2;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.start-steps article > a:hover,
.start-steps article > button:hover {
  border-color: rgba(105, 215, 255, .5);
  background: rgba(27, 67, 103, .46);
  transform: translateY(-1px);
}

.start-steps article > button,
.start-steps article .start-steps__action--primary {
  border-color: transparent;
  background: linear-gradient(115deg, #42dcff, #25a8ff 56%, #3978ff);
  color: #04101d;
}

.start-steps article > button i,
.start-steps article .start-steps__action--primary i {
  color: #04101d;
}

.community-release {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 12, 25, .96) 0%, rgba(5, 12, 25, .78) 47%, rgba(5, 12, 25, .46) 100%),
    linear-gradient(180deg, rgba(5, 12, 25, .12), rgba(5, 12, 25, .72)),
    url('/images/nolife-v2/community-key-art-v1.jpg') no-repeat 68% center !important;
  background-size: cover !important;
}

.community-release__art {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.community-release__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(.66) contrast(1.02);
  opacity: .42;
}

.community-release__copy,
.community-release__cards {
  position: relative;
  z-index: 1;
}

.community-card {
  background: rgba(4, 12, 25, .72) !important;
  backdrop-filter: blur(14px);
}

.auth-panel__visual {
  background:
    linear-gradient(105deg, rgba(5, 13, 29, .94), rgba(5, 13, 29, .58) 62%, rgba(5, 13, 29, .36)),
    linear-gradient(180deg, rgba(5, 13, 29, .2), rgba(5, 13, 29, .72)),
    url('/images/nolife-v2/auth-nolife-id-v1.png') no-repeat 61% center !important;
  background-size: cover !important;
}

.auth-panel__visual > * {
  position: relative;
  z-index: 1;
}

.auth-panel__visual h2,
.auth-panel__visual > p {
  text-shadow: 0 3px 20px rgba(0, 4, 16, .82);
}

.start .step {
  min-height: 310px;
  padding: 50px 320px 50px 130px;
  border: 1px solid rgba(120, 223, 255, .15) !important;
  border-radius: 18px;
  background-color: rgba(7, 14, 31, .82);
  background-image:
    linear-gradient(90deg, rgba(7, 14, 31, .98) 0%, rgba(7, 14, 31, .9) 58%, rgba(7, 14, 31, .28)),
    url('/images/nolife-v2/onboarding-account-v1.jpg') !important;
  background-position: center, right 24px center !important;
  background-size: cover, 270px auto !important;
  box-shadow: 0 24px 64px rgba(0, 3, 14, .25);
}

.start .step:nth-child(2) {
  background-image:
    linear-gradient(90deg, rgba(7, 14, 31, .98) 0%, rgba(7, 14, 31, .9) 58%, rgba(7, 14, 31, .28)),
    url('/images/nolife-v2/onboarding-launcher-v1.jpg') !important;
}

.start .step:nth-child(3) {
  background-image:
    linear-gradient(90deg, rgba(7, 14, 31, .98) 0%, rgba(7, 14, 31, .9) 58%, rgba(7, 14, 31, .28)),
    url('/images/nolife-v2/onboarding-world-v1.jpg') !important;
}

.start .step:nth-child(4) {
  background-image:
    linear-gradient(90deg, rgba(7, 14, 31, .98) 0%, rgba(7, 14, 31, .88) 58%, rgba(7, 14, 31, .35)),
    url('/images/nolife-v2/community-key-art-v1.jpg') !important;
  background-position: center, 72% center !important;
  background-size: cover, cover !important;
}

.start .step h3 {
  color: #eaf7ff !important;
}

.start .step .num {
  border-radius: 0 0 16px;
  background: linear-gradient(135deg, #42dcff, #3978ff) !important;
  color: #04101d;
}

.launcher .headline,
.download .headline {
  min-height: 320px;
  background:
    linear-gradient(90deg, rgba(5, 12, 27, .98), rgba(5, 12, 27, .74) 50%, rgba(5, 12, 27, .28)),
    url('/images/nolife-v2/launcher-hero-v1.png') no-repeat 70% center !important;
  background-size: cover !important;
}

.donate > .headline,
.donate .headline:first-child,
.shop_headline {
  background:
    linear-gradient(90deg, rgba(5, 12, 27, .96), rgba(5, 12, 27, .7) 52%, rgba(5, 12, 27, .3)),
    url('/images/nolife-v2/donate-key-art-v1.png') no-repeat 72% center !important;
  background-size: cover !important;
}

.rules::before {
  display: block;
  min-height: 280px;
  margin-bottom: 28px;
  border: 1px solid rgba(120, 223, 255, .14);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(5, 12, 27, .76), rgba(5, 12, 27, .18)),
    url('/images/nolife-v2/rules-archive-v1.png') no-repeat 70% center;
  background-size: cover;
  box-shadow: 0 24px 64px rgba(0, 3, 14, .24);
  content: '';
}

@media (max-width: 991.98px) {
  .home-hero__visual::after,
  .home-hero__art {
    inset: -20px 4% -20px auto;
    width: min(560px, 74vw);
  }

  .start .step {
    padding-right: 250px;
    background-size: cover, 220px auto !important;
  }
}

@media (max-width: 767.98px) {
  .home-hero__visual {
    min-height: 430px !important;
  }

  .home-hero__visual::after,
  .home-hero__art {
    right: 50%;
    width: min(520px, 112vw);
    transform: translateX(52%);
  }

  .home-hero .hero-orbit--one {
    width: 330px;
    height: 330px;
  }

  .start-steps__grid article {
    min-height: 400px;
  }

  .community-release {
    background-position: 72% center !important;
  }

  .start .step {
    min-height: 420px;
    padding: 210px 24px 30px;
    background-position: center, center 14px !important;
    background-size: cover, 210px auto !important;
  }

  .start .step:nth-child(4) {
    background-position: center, center !important;
    background-size: cover, cover !important;
  }

  .start .step .num {
    top: 16px;
    left: 16px;
    padding: 14px;
    border-radius: 10px;
  }

  .rules::before {
    min-height: 210px;
    background-position: 72% center;
  }
}

@media (max-width: 479.98px) {
  .home-hero__visual {
    min-height: 385px !important;
  }

  .home-hero__visual::after,
  .home-hero__art {
    width: 126vw;
  }

  .start-steps__art {
    height: 170px;
  }

  .start-steps__art img {
    height: 172px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* NoLife production performance guard */
.home-hero__copy,
.home-hero__atlas,
.home-hero__atlas::after,
.hero-orbit--one,
.server-board__list,
.server-board__totals,
.server-board .content.servers::before,
.server-instance__bar i {
  animation: none !important;
}

.start-steps,
.community-release {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.release-auth {
  backdrop-filter: none !important;
}