/* ===== Лендинг Undefined Studio ===== */

@font-face {
  font-family: 'Nekst';
  src: url('/client/assets/fonts/Nekst-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nekst';
  src: url('/client/assets/fonts/Nekst-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nekst';
  src: url('/client/assets/fonts/Nekst-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'Nekst', system-ui, -apple-system, sans-serif;
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.studio {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 1.25rem;
  position: relative;
}

.studio__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 52rem;
  animation: studio-fade-in 1s ease-out both;
}

.studio__logo-wrap {
  margin-bottom: 2.75rem;
  animation: studio-logo-float 6s ease-in-out infinite;
}

.studio__logo {
  display: block;
  width: min(92vw, 36rem);
  height: auto;
}

.studio__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.studio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.studio-btn:hover {
  transform: translateY(-1px);
}

.studio-btn:active {
  transform: translateY(0);
}

.studio-btn--primary {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.studio-btn--primary:hover {
  background: #f0f0f0;
}

.studio-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.studio-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.studio-btn__icon {
  flex-shrink: 0;
  display: block;
}

.studio__hint {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
  animation: studio-fade-in 1s ease-out 0.25s both;
}

.studio__footer {
  width: 100%;
  text-align: center;
  padding-top: 2rem;
  animation: studio-fade-in 1s ease-out 0.4s both;
}

.studio__footer p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}

@keyframes studio-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes studio-logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 520px) {
  .studio__actions {
    flex-direction: column;
    width: 100%;
    max-width: 18rem;
  }

  .studio-btn {
    width: 100%;
  }
}
