/* Home dashboard hero block and primary actions. */

.menu-home-hero {
  min-height: 300px;
  aspect-ratio: 1090 / 300;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 34px 38px;
  background-image:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--vk-analysis-inset-surface-bg) 68%, transparent) 0%,
      color-mix(in srgb, var(--vk-analysis-inset-surface-bg) 56%, transparent) 28%,
      color-mix(in srgb, var(--vk-analysis-inset-surface-bg) 34%, transparent) 52%,
      transparent 72%
    ),
    url("../img/main_menu_top_card.png");
  background-repeat: no-repeat;
  background-position: left center, right center;
  background-size: 100% 100%, cover;
  box-shadow: var(--menu-home-board-like-shadow);
}

.menu-home-hero::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 46%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 45%, color-mix(in srgb, var(--vk-app-accent-main) 34%, transparent), transparent 58%),
    radial-gradient(circle at 62% 58%, color-mix(in srgb, var(--vk-app-accent-current) 30%, transparent), transparent 62%);
  opacity: 0.36;
  pointer-events: none;
}

.menu-home-hero-version {
  position: absolute;
  right: 22px;
  bottom: 16px;
  z-index: 1;
  color: var(--vk-text-muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  pointer-events: none;
}

.menu-home-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  height: 100%;
  align-content: stretch;
  max-width: min(760px, 68%);
}

.menu-home-hero-copy.is-auth-open {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.menu-home-hero-copy.is-auth-open .menu-home-lead,
.menu-home-hero-copy.is-auth-open .menu-home-actions {
  display: none;
}

.menu-home-kicker {
  margin: 0;
  color: var(--vk-text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-home-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--vk-text-primary);
}

.menu-home-brand-word {
  font-family: var(--font-brand);
  color: var(--vk-text-primary);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.12em;
}

.menu-home-title-spacer {
  max-width: 700px;
  min-height: 0;
}

.menu-home-lead {
  max-width: 660px;
  margin: 0;
  color: var(--vk-text-secondary);
  font-size: 15px;
  line-height: 1.58;
  font-weight: 600;
}

.menu-home-actions,
.menu-home-guest-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-home-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.menu-home-action .lucide {
  width: 17px;
  height: 17px;
}

.menu-home-action.is-active {
  transform: translateY(0);
}
