/*
 * WanaFM - WanaLike
 * ----------------------------------------
 * Authors : KoS_ & Nova
 * Project : WanaFM
 *
 * Internal source code.
 * Unauthorized reproduction prohibited.
 * ----------------------------------------
 */

/* WanaFM global chrome fixes: loaded on every page after fm-theme.css */

html,
body {
  background:
    radial-gradient(circle at top left, rgba(41, 118, 255, .16), transparent 28%),
    radial-gradient(circle at top right, rgba(168, 85, 247, .15), transparent 32%),
    linear-gradient(180deg, #050914 0%, #040814 45%, #030611 100%) !important;
}

.wl-body,
.site-shell {
  background: transparent !important;
}

.site-shell {
  padding-bottom: 0 !important;
}

.site-shell::before {
  bottom: var(--wl-player-page-gap) !important;
}

.wl-header__inner {
  width: min(1480px, calc(100% - 40px)) !important;
  min-height: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  flex-wrap: nowrap !important;
}

.wl-brand {
  flex: 0 0 auto !important;
  min-width: max-content !important;
}

.wl-brand__mark,
.wl-brand__mark--vinyl {
  width: 50px !important;
  height: 50px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wl-brand__mark img,
.wl-brand__mark--vinyl img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 14px rgba(179, 92, 255, .34));
}

.wl-nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(12px, 1.35vw, 24px) !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.wl-nav__link,
.wl-nav a {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

.wl-nav__link i,
.wl-nav a i {
  color: #62e8ff;
  font-size: .82rem;
  transition: color .18s ease, filter .18s ease;
}

.wl-nav__link:hover i,
.wl-nav__link[aria-current="page"] i,
.wl-nav a:hover i,
.wl-nav a[aria-current="page"] i {
  color: #b35cff;
  filter: drop-shadow(0 0 8px rgba(179, 92, 255, .65));
}

.wl-header__actions {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
}

.wl-btn--header {
  position: relative !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  justify-content: center !important;
  border-radius: 50% !important;
}

.wl-btn--header > span {
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + 10px) !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transform: translateY(-4px) !important;
  width: max-content !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: rgba(9, 14, 28, .96) !important;
  border: 1px solid rgba(98, 232, 255, .18) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .32) !important;
  transition: opacity .18s ease, transform .18s ease !important;
}

.wl-btn--header:hover > span {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.wl-footer.wl-footer--premium {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 var(--wl-player-page-gap) !important;
  border-width: 1px 0 0 !important;
  border-style: solid !important;
  border-color: rgba(98, 232, 255, .10) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 8% 8%, rgba(98, 232, 255, .08), transparent 28%),
    radial-gradient(circle at 96% 0%, rgba(179, 92, 255, .12), transparent 30%),
    linear-gradient(180deg, rgba(8, 14, 28, .96), rgba(4, 8, 18, .985) 58%, rgba(4, 8, 18, 1) 100%) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.wl-footer.wl-footer--premium::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: var(--wl-player-page-gap) !important;
  background:
    radial-gradient(circle at 96% 0%, rgba(179, 92, 255, .10), transparent 38%),
    linear-gradient(180deg, rgba(4, 8, 18, .985), rgba(4, 8, 18, 1)) !important;
  pointer-events: none !important;
}

.wl-footer.wl-footer--premium .wl-footer__inner--grid {
  width: min(1480px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  min-height: auto !important;
  display: grid !important;
  grid-template-columns: 1.35fr repeat(3, .9fr) 1.45fr !important;
  gap: 34px !important;
  align-items: start !important;
  padding: 38px 0 26px !important;
}

.wl-footer.wl-footer--premium .wl-footer__bottom {
  position: relative !important;
  z-index: 1 !important;
  width: min(1480px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 16px !important;
  padding: 18px 0 18px !important;
  border-top: 1px solid rgba(255, 255, 255, .07) !important;
}

.wl-footer__bottom a {
  color: #62e8ff;
  text-decoration: none;
}

.wl-footer__bottom a:hover {
  color: #c06cff;
}

@media (max-width: 1300px) {
  .wl-nav__link span,
  .wl-nav a span {
    display: none !important;
  }

  .wl-nav {
    gap: 18px !important;
  }
}

@media (max-width: 1200px) {
  .wl-footer.wl-footer--premium .wl-footer__inner--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .wl-header__inner {
    width: min(100% - 24px, 1480px) !important;
    gap: 12px !important;
  }

  .wl-brand__text small {
    display: none !important;
  }

  .wl-footer.wl-footer--premium .wl-footer__inner--grid,
  .wl-footer.wl-footer--premium .wl-footer__bottom {
    width: min(100% - 32px, 1480px) !important;
    grid-template-columns: 1fr !important;
  }
}
