@font-face {
  font-family: "JetBrainsMono";
  src: url("/fonts/JetBrainsMono-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrainsMono";
  src: url("/fonts/JetBrainsMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrainsMono";
  src: url("/fonts/JetBrainsMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrainsMono";
  src: url("/fonts/JetBrainsMono-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05050b;
  --text: #eef7ff;
  --muted: #a8b0ca;
  --dim: #68718d;
  --cyan: #34e7ff;
  --blue: #4f8dff;
  --violet: #9c6bff;
  --pink: #ff7adf;
  --green: #58ffc7;
  --red: #ff6c91;
  --line: rgba(255, 255, 255, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "JetBrainsMono" !important;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  min-height: 100dvh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 47%, rgba(79, 141, 255, 0.24), transparent 19%),
    radial-gradient(circle at 50% 45%, rgba(156, 107, 255, 0.21), transparent 29%),
    radial-gradient(circle at 17% 21%, rgba(52, 231, 255, 0.13), transparent 25%),
    radial-gradient(circle at 83% 76%, rgba(255, 122, 223, 0.1), transparent 24%),
    linear-gradient(180deg, #080915 0%, var(--bg) 56%, #04040a 100%);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 50% 48%, #000 0%, rgba(0, 0, 0, 0.75) 42%, transparent 78%);
  opacity: 0.72;
}

body::after {
  content: "";
  position: fixed;
  inset: -24%;
  pointer-events: none;
  background:
    conic-gradient(from 160deg at 50% 50%, transparent, rgba(52, 231, 255, 0.14), transparent 22%, rgba(156, 107, 255, 0.18), transparent 48%, rgba(255, 122, 223, 0.12), transparent);
  filter: blur(66px);
  opacity: 0.76;
  animation: sk-nebula 18s ease-in-out infinite alternate;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sk-landing {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100dvh;
  padding: clamp(22px, 4vw, 54px);
  isolation: isolate;
}

.sk-hero {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  width: min(1120px, 100%);
  text-align: center;
}

.sk-title-zone {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(150px, 25vw, 284px);
  overflow: visible;
}

.sk-title-zone::before {
  content: "";
  position: absolute;
  width: min(800px, 76vw);
  height: min(800px, 76vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(52, 231, 255, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(156, 107, 255, 0.16) 0 1px, transparent 2px);
  background-size: 66px 66px, 39px 39px;
  opacity: 0.24;
  animation: sk-slow-spin 38s linear infinite;
  mask-image: radial-gradient(circle, transparent 0 26%, #000 42%, transparent 73%);
  display: none;
}

.sk-stellar-title {
  position: relative;
  z-index: 4;
  margin: 0;
  font-size: clamp(4.6rem, 13vw, 11.8rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0;
  color: transparent;
  background:
    linear-gradient(110deg, #ffffff 0%, #eefcff 13%, #ffffff 24%, #f4f0ff 39%, #fff7ff 51%, #eef5ff 66%, #ffffff 82%, #e9fbff 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 0 7px rgba(238, 247, 255, 0.12))
    drop-shadow(0 0 18px rgba(52, 231, 255, 0.2))
    drop-shadow(0 0 42px rgba(156, 107, 255, 0.22));
  animation: sk-title-enter 0.95s cubic-bezier(0.16, 0.9, 0.24, 1) both, sk-title-flow 4.3s linear 0.35s infinite, sk-title-breathe 3.8s ease-in-out 0.35s infinite;
  transform: translateZ(0);
}

.sk-stellar-title::before,
.sk-stellar-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.sk-stellar-title::before {
  z-index: -1;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: rgba(52, 231, 255, 0.24);
  color: rgba(52, 231, 255, 0.24);
  filter: blur(5px);
  opacity: 0.48;
  transform: scale(1.012);
  text-shadow:
    0 0 10px rgba(52, 231, 255, 0.38),
    0 0 24px rgba(156, 107, 255, 0.3),
    0 0 48px rgba(255, 122, 223, 0.18);
  animation: sk-halo-pulse 2.9s ease-in-out infinite;
}

.sk-stellar-title::after {
  z-index: -2;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: rgba(156, 107, 255, 0.18);
  color: rgba(156, 107, 255, 0.18);
  filter: blur(10px);
  opacity: 0.38;
  transform: scale(1.03);
  text-shadow:
    0 0 22px rgba(52, 231, 255, 0.28),
    0 0 58px rgba(156, 107, 255, 0.24);
  animation: sk-outer-glow 4.8s ease-in-out infinite;
}

.sk-description {
  width: min(880px, 100%);
  margin: clamp(10px, 2vw, 24px) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.24rem);
  font-weight: 300;
  line-height: 1.72;
  text-shadow: 0 0 18px rgba(52, 231, 255, 0.12);
  animation: sk-fade-up 0.8s ease 0.1s both;
}

.sk-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  margin-top: clamp(28px, 4vw, 42px);
  padding: 0 28px;
  border: 1px solid rgba(238, 247, 255, 0.28);
  border-radius: 0;
  background: rgba(7, 9, 20, 0.32);
  color: #ecfbff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 16px 42px rgba(0, 0, 0, 0.28);
  transition: color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.sk-hero > .sk-outline-button {
  animation: sk-button-enter 0.7s ease 0.5s both;
}

.sk-outline-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.sk-outline-button,
.sk-outline-button:hover,
.sk-outline-button:active,
.sk-outline-button span,
.sk-outline-button svg {
  transform: none !important;
  translate: none !important;
}

.sk-outline-button span {
  display: inline-block;
  line-height: 1;
}

.sk-outline-button:hover {
  color: var(--cyan);
  border-color: rgba(52, 231, 255, 0.76);
  background: rgba(7, 9, 20, 0.4);
  box-shadow: 0 0 0 1px rgba(52, 231, 255, 0.12), 0 0 28px rgba(52, 231, 255, 0.2), 0 18px 48px rgba(0, 0, 0, 0.34);
}

.sk-outline-button:active {
  color: var(--cyan);
  border-color: rgba(52, 231, 255, 0.76);
}

.sk-outline-button:disabled {
  cursor: wait;
  opacity: 0.66;
  color: var(--muted);
  border-color: rgba(238, 247, 255, 0.16);
  box-shadow: none;
}

.sk-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 4, 10, 0.54);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.sk-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: 0.54;
}

.sk-modal.open,
.sk-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.sk-modal-stack {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
}

.sk-access-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(238, 247, 255, 0.16);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(12, 15, 31, 0.56), rgba(5, 6, 14, 0.68)),
    rgba(5, 6, 14, 0.46);
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(52, 231, 255, 0.08),
    0 34px 120px rgba(0, 0, 0, 0.66),
    0 0 62px rgba(52, 231, 255, 0.15),
    0 0 92px rgba(156, 107, 255, 0.12);
  transform: scale(0.98);
  transition: transform 0.24s ease;
  overflow: hidden;
}

.sk-modal.open .sk-access-card,
.sk-modal[aria-hidden="false"] .sk-access-card {
  transform: none;
}

.sk-access-card > * {
  position: relative;
  z-index: 2;
}

.sk-access-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 231, 255, 0.76), rgba(156, 107, 255, 0.66), transparent);
}

.sk-access-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
}

.sk-access-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.sk-modal-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(238, 247, 255, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.sk-modal-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 2px;
  background: rgba(238, 247, 255, 0.78);
  transform-origin: center;
  transition: background 0.22s ease;
}

.sk-modal-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.sk-modal-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.sk-modal-close:hover {
  border-color: rgba(255, 108, 145, 0.78);
  box-shadow: 0 0 22px rgba(255, 108, 145, 0.22);
}

.sk-modal-close:hover span {
  background: var(--red);
}

.sk-access-title {
  margin: 0;
  color: var(--text);
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1.3;
}

.sk-access-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
}

.sk-access-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 10px;
  margin-top: 0;
  align-self: center;
}

.sk-input-frame {
  position: relative;
  display: block;
}

.sk-key-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  width: 20px;
  height: 20px;
  color: rgba(238, 247, 255, 0.66);
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.22s ease;
}

.sk-password-input {
  width: 100%;
  height: 58px;
  padding: 0 18px 0 50px;
  border: 1px solid rgba(238, 247, 255, 0.17);
  border-radius: 0;
  outline: 0;
  background: rgba(4, 6, 14, 0.52);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  backdrop-filter: blur(14px);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.sk-password-input::placeholder {
  color: rgba(168, 176, 202, 0.58);
}

.sk-password-input:focus {
  border-color: rgba(52, 231, 255, 0.68);
  background: rgba(4, 6, 14, 0.66);
  box-shadow: 0 0 0 4px rgba(52, 231, 255, 0.08), 0 0 28px rgba(52, 231, 255, 0.12);
}

.sk-password-input:focus + .sk-key-icon {
  color: var(--cyan);
}

.sk-access-form .sk-outline-button {
  width: fit-content;
  margin-top: 0;
  padding: 0 16px;
  gap: 10px;
  justify-self: start;
}

.sk-access-toast {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(238, 247, 255, 0.16);
  background: rgba(5, 6, 14, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 28px rgba(52, 231, 255, 0.12);
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  white-space: nowrap;
}

.sk-access-toast.error,
.sk-access-toast.success {
  display: block;
}

.sk-access-toast.error {
  border-color: rgba(255, 108, 145, 0.42);
  box-shadow: 0 0 28px rgba(255, 108, 145, 0.12);
  color: var(--red);
}

.sk-access-toast.success {
  border-color: rgba(88, 255, 199, 0.36);
  box-shadow: 0 0 28px rgba(88, 255, 199, 0.1);
  color: var(--green);
}

@keyframes sk-title-flow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 280% 50%;
  }
}

@keyframes sk-title-enter {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    filter:
      drop-shadow(0 0 0 rgba(238, 247, 255, 0))
      drop-shadow(0 0 0 rgba(52, 231, 255, 0))
      drop-shadow(0 0 0 rgba(156, 107, 255, 0));
  }

  58% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateZ(0);
    filter:
      drop-shadow(0 0 7px rgba(238, 247, 255, 0.12))
      drop-shadow(0 0 18px rgba(52, 231, 255, 0.2))
      drop-shadow(0 0 42px rgba(156, 107, 255, 0.22));
  }
}

@keyframes sk-button-enter {
  from {
    opacity: 0;
    filter: blur(8px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes sk-title-breathe {
  0%,
  100% {
    filter:
      drop-shadow(0 0 7px rgba(238, 247, 255, 0.12))
      drop-shadow(0 0 18px rgba(52, 231, 255, 0.2))
      drop-shadow(0 0 42px rgba(156, 107, 255, 0.22));
  }

  50% {
    filter:
      drop-shadow(0 0 9px rgba(238, 247, 255, 0.16))
      drop-shadow(0 0 22px rgba(52, 231, 255, 0.26))
      drop-shadow(0 0 50px rgba(156, 107, 255, 0.26));
  }
}

@keyframes sk-halo-pulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(1.01);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.03);
  }
}

@keyframes sk-outer-glow {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1.05);
  }

  50% {
    opacity: 0.74;
    transform: scale(1.11);
  }
}

@keyframes sk-nebula {
  0% {
    transform: rotate(0deg) scale(1);
  }

  100% {
    transform: rotate(14deg) scale(1.06);
  }
}

@keyframes sk-slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sk-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .sk-landing {
    padding: 20px;
  }

  .sk-title-zone {
    min-height: 132px;
  }

  .sk-stellar-title {
    font-size: clamp(3.25rem, 17vw, 6rem);
  }

  .sk-description {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .sk-outline-button {
    width: min(330px, 100%);
    min-height: 56px;
    padding: 0 18px;
    font-size: 0.82rem;
  }

  .sk-access-card {
    padding: 20px;
  }

  .sk-access-form {
    grid-template-columns: 1fr;
  }

  .sk-access-form .sk-outline-button {
    width: fit-content;
  }
}

@media (max-height: 660px) {
  .sk-title-zone {
    min-height: 118px;
  }

  .sk-stellar-title {
    font-size: clamp(3.8rem, 11vw, 8.3rem);
  }

  .sk-description {
    max-width: 900px;
    line-height: 1.48;
  }

  .sk-outline-button {
    margin-top: 24px;
  }
}
