@keyframes brand-logo-float {
  0%, 100% {
    translate: 0 0;
    filter: drop-shadow(0 0 0 #ffbd3c00);
  }

  50% {
    translate: 0 -2px;
    filter: drop-shadow(0 0 7px #ffbd3c99);
  }
}

.brand img {
  animation: brand-logo-float 3s ease-in-out infinite;
}

@media (max-width: 900px) {
  .header.menu-open::before {
    pointer-events: none;
  }

  .header nav#navigation.open {
    position: fixed;
    top: 14px;
    left: 50%;
    right: auto;
    z-index: 1001;
    display: flex;
    width: min(300px, calc(100vw - 32px));
    max-width: 300px;
    height: auto;
    max-height: calc(100dvh - 28px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 20px 18px 18px;
    overflow-y: auto;
    border: 1px solid #ffffff1c;
    border-radius: 24px;
    background: #11141b;
    box-shadow: 0 25px 60px #0007;
    color: #f5f6f1;
    transform: translateX(-50%);
    animation: none;
    box-sizing: border-box;
  }

  .header nav#navigation.open .mobile-nav-header {
    display: flex;
    width: 100%;
    height: 40px;
    min-height: 40px;
    flex: 0 0 40px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 18px;
    padding: 0;
    box-sizing: border-box;
  }

  .header nav#navigation.open .mobile-nav-header .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    color: #f5f6f1;
    font-size: 20px;
    line-height: 1;
    white-space: nowrap;
  }

  .header nav#navigation.open .mobile-nav-header .brand img {
    width: 25px;
    height: 25px;
  }

  .header nav#navigation.open .mobile-nav-header .brand .brand-blue {
    color: #ffbd3c;
  }

  .header nav#navigation.open .mobile-nav-close {
    display: flex;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: #242832;
    color: #f5f6f1;
  }

  .header nav#navigation.open > a:not(.button) {
    display: block;
    width: 100%;
    height: 38px;
    min-height: 38px;
    flex: 0 0 38px;
    padding: 9px 4px;
    color: #c4c8d0;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-sizing: border-box;
  }

  .header nav#navigation.open > a:not(.button):hover {
    color: #fff;
    transform: none;
  }

  .header nav#navigation.open > a:not(.button).active {
    color: #f5f6f1;
  }

  .header nav#navigation.open > .desktop-shop-link {
    display: none;
  }

  .header nav#navigation.open .mobile-nav-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid #ffffff1b;
    box-sizing: border-box;
  }

  .header nav#navigation.open .mobile-nav-shortcuts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .header nav#navigation.open .mobile-nav-shortcuts .button {
    min-height: 44px;
    height: 44px;
    background: #222630;
    color: #fff;
  }

  .header nav#navigation.open .mobile-play-button {
    width: 100%;
    min-height: 48px;
    height: 48px;
  }
}
