:root {
  color-scheme: dark;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: #090a09;
  color: #f5f7f5;
}

.restriction-page {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  padding: clamp(24px, 4vh, 48px) 24px clamp(40px, 7vh, 80px);
  overflow: hidden;
  isolation: isolate;
}

.restriction-page::before {
  position: absolute;
  z-index: -1;
  top: 26%;
  left: 50%;
  width: min(70vw, 760px);
  height: min(70vw, 760px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 179, 77, 0.11) 0%, rgba(21, 179, 77, 0.035) 36%, transparent 70%);
  content: "";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.brand-logo {
  display: block;
  width: clamp(168px, 14vw, 230px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.restriction-card {
  display: flex;
  width: min(100%, 1040px);
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(26px, 4vh, 54px);
  text-align: center;
}

.restriction-card__emblem {
  display: block;
  width: clamp(210px, 26vw, 360px);
  height: auto;
  max-height: min(46vh, 430px);
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.56));
}

.restriction-card__domain {
  margin: clamp(10px, 1.5vh, 18px) 0 0;
  color: #a8ada9;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 400;
  line-height: 1.3;
}

.restriction-card__title {
  margin: 6px 0 0;
  background: linear-gradient(180deg, #f1f3f1 0%, #aeb4b0 54%, #707773 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(1.8rem, 4vw, 3.45rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.restriction-card__message {
  margin: clamp(18px, 2.5vh, 28px) 0 0;
  color: #aeb3af;
  font-size: clamp(1rem, 1.65vw, 1.35rem);
  font-weight: 400;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .restriction-page {
    padding-inline: 18px;
  }

  .restriction-card {
    padding-top: 30px;
  }

  .restriction-card__emblem {
    width: min(70vw, 280px);
    max-height: 40vh;
  }

  .restriction-card__title {
    max-width: 560px;
    letter-spacing: -0.025em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-logo,
  .restriction-card {
    animation: enter 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .restriction-card {
    animation-delay: 80ms;
  }

  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
