@font-face {
  font-family: "Arch Spot Unbounded";
  src: url("unbounded-400-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Arch Spot Unbounded";
  src: url("unbounded-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --color-bg1: rgb(108, 0, 162);
  --color-bg2: rgb(0, 17, 82);
  --color1: 18, 113, 255;
  --color2: 221, 74, 255;
  --color3: 100, 220, 255;
  --color4: 200, 50, 50;
  --color5: 180, 180, 50;
  --circle-size: 80%;
  --blending: hard-light;
  color-scheme: dark;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: var(--color-bg2);
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px;
  overflow-x: hidden;
  background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
  isolation: isolate;
}

.access-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
}

.access-background__blobs {
  width: 100%;
  height: 100%;
  filter: blur(40px);
  transform: translateZ(0);
}

.access-background__blob {
  position: absolute;
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  mix-blend-mode: var(--blending);
  will-change: transform;
}

.access-background__blob--1 {
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  transform-origin: center center;
  animation: moveVertical 30s ease infinite;
}

.access-background__blob--2 {
  background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
}

.access-background__blob--3 {
  top: calc(50% - var(--circle-size) / 2 + 200px);
  left: calc(50% - var(--circle-size) / 2 - 500px);
  background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
}

.access-background__blob--4 {
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}

.access-background__blob--5 {
  width: calc(var(--circle-size) * 2);
  height: calc(var(--circle-size) * 2);
  top: calc(50% - var(--circle-size));
  left: calc(50% - var(--circle-size));
  background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  animation: moveInCircle 20s ease infinite;
}

@keyframes moveInCircle {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

@keyframes moveVertical {
  0% { transform: translateY(-50%); }
  50% { transform: translateY(50%); }
  100% { transform: translateY(-50%); }
}

@keyframes moveHorizontal {
  0% { transform: translateX(-50%) translateY(-10%); }
  50% { transform: translateX(50%) translateY(10%); }
  100% { transform: translateX(-50%) translateY(-10%); }
}

.access-card {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  margin: auto;
  padding: clamp(26px, 6vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: rgba(2, 2, 9, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.access-logo {
  display: block;
  width: clamp(64px, 12vw, 82px);
  height: auto;
  margin: 0 auto 32px;
  overflow: visible;
}

.access-logo__text {
  fill: #ffffff;
  font-family: "Arch Spot Unbounded", sans-serif;
  font-size: 136.19px;
  font-weight: 800;
}

.access-logo__line {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3px;
  stroke-miterlimit: 10;
}

h1 {
  margin: 0 0 18px;
  font-family: "Arch Spot Unbounded", sans-serif;
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  text-align: center;
}

.access-copy {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
}

.access-form {
  display: grid;
  gap: 18px;
  text-align: left;
}

.access-field {
  display: grid;
  gap: 7px;
}

.access-field span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.access-field input,
.access-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font: inherit;
}

.access-field input:focus,
.access-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.access-field textarea {
  height: 50px;
  min-height: 50px;
  resize: vertical;
}

.access-field--message {
  margin-bottom: 8px;
}

.access-button,
.access-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-family: "Arch Spot Unbounded", sans-serif;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.access-button:disabled {
  cursor: progress;
  opacity: 0.6;
}

.access-status {
  min-height: 22px;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.access-status:empty {
  display: none;
}

.access-status[data-kind="error"] {
  color: #ffb7b7;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

@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;
  }
}
