.app-loading-skeleton {
  --skeleton-base: #262a30;
  --skeleton-highlight: #383d45;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: #171a1d;
  font-family: Arial, sans-serif;
}

.app-loading-skeleton__message {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.app-loading-skeleton__header {
  display: flex;
  height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 6vw, 88px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-loading-skeleton__block {
  display: block;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(
    100deg,
    var(--skeleton-base) 20%,
    var(--skeleton-highlight) 42%,
    var(--skeleton-base) 64%
  );
  background-size: 220% 100%;
  animation: app-skeleton-shimmer 1.5s ease-in-out infinite;
}

.app-loading-skeleton__logo {
  width: 150px;
  height: 42px;
}

.app-loading-skeleton__nav {
  width: min(390px, 36vw);
  height: 14px;
}

.app-loading-skeleton__button {
  width: 120px;
  height: 38px;
  border-radius: 4px;
}

.app-loading-skeleton__main {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 48px clamp(20px, 6vw, 88px);
}

.app-loading-skeleton__hero {
  display: grid;
  min-height: min(460px, 62vh);
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 7vw, 90px);
}

.app-loading-skeleton__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.app-loading-skeleton__eyebrow {
  width: 120px;
  height: 11px;
  margin-bottom: 7px;
}

.app-loading-skeleton__title {
  width: min(100%, 440px);
  height: clamp(34px, 5vw, 58px);
}

.app-loading-skeleton__title--short {
  width: min(75%, 320px);
}

.app-loading-skeleton__text {
  width: min(100%, 400px);
  height: 13px;
  margin-top: 6px;
}

.app-loading-skeleton__text--short {
  width: min(78%, 310px);
  margin-top: -7px;
}

.app-loading-skeleton__action {
  width: 144px;
  height: 46px;
  margin-top: 13px;
  border-radius: 4px;
}

.app-loading-skeleton__image {
  width: 100%;
  height: clamp(220px, 33vw, 350px);
  border-radius: 14px;
}

.app-loading-skeleton__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.app-loading-skeleton__card {
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

@keyframes app-skeleton-shimmer {
  to {
    background-position-x: -220%;
  }
}

@media (max-width: 640px) {
  .app-loading-skeleton__header {
    height: 70px;
  }

  .app-loading-skeleton__logo {
    width: 112px;
    height: 34px;
  }

  .app-loading-skeleton__nav {
    display: none;
  }

  .app-loading-skeleton__button {
    width: 86px;
    height: 32px;
  }

  .app-loading-skeleton__main {
    padding-top: 28px;
  }

  .app-loading-skeleton__hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .app-loading-skeleton__copy {
    align-items: center;
    width: 100%;
  }

  .app-loading-skeleton__title {
    height: 38px;
  }

  .app-loading-skeleton__image {
    height: 210px;
  }

  .app-loading-skeleton__cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .app-loading-skeleton__card {
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-loading-skeleton__block {
    animation: none;
    background: var(--skeleton-highlight);
  }
}
