/* =========================
   NAVIGATION
========================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  padding: 12px 5vw;

  background: white;
  color: black;

  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);

  opacity: 1;
  transform: translateY(0);

  transition:
    background .8s ease,
    backdrop-filter .8s ease,
    -webkit-backdrop-filter .8s ease,
    padding .8s ease,
    box-shadow .8s ease,
    opacity .8s ease,
    transform .8s cubic-bezier(.22,1,.36,1);
}

header.scrolled {
  padding: 15px 5vw;

  background: white;
  color: black;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 10px 40px rgba(0,0,0,.18),
    inset 0 -1px 0 rgba(255,255,255,.08);

  opacity: .98;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  position: relative;
  z-index: 1003;

  display: flex;
  align-items: center;
  gap: 12px;

  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -.09em;
  text-transform: lowercase;

  transition: transform .6s ease;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo > span {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.logo > span span {
  color: var(--orange);
  font-weight: inherit;
}

header.scrolled .logo {
  transform: scale(.94);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;

  list-style: none;

  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nav-links a {
  transition: color .25s ease, opacity .25s ease;
}

.nav-links a:hover {
  color: var(--orange);
}


/* =========================
   ARTIST PORTAL
========================= */

.nav-links .artist-portal {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 16px;

  color: black;

  border: 1px solid rgba(31,150,255,.7);
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(31,150,255,.18),
      rgba(31,150,255,.04)
    );

  box-shadow:
    0 0 18px rgba(31,150,255,.08),
    inset 0 0 18px rgba(31,150,255,.04);

  overflow: hidden;

  transition:
    color .3s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease,
    transform .3s ease;
}

.nav-links .artist-portal::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255,255,255,.28) 50%,
    transparent 80%
  );

  transform: translateX(-120%);
  transition: transform .55s ease;
}

.nav-links .artist-portal::after {
  content: "↗";

  color: var(--orange);
  font-size: .85rem;
  font-weight: 900;

  transition:
    transform .3s ease,
    color .3s ease;
}

.nav-links .artist-portal:hover {
  color: white;
  border-color: var(--orange);

  background:
    linear-gradient(
      135deg,
      rgba(31,150,255,.32),
      rgba(31,150,255,.08)
    );

  box-shadow:
    0 0 28px rgba(31,150,255,.2),
    inset 0 0 20px rgba(31,150,255,.08);

  transform: translateY(-2px);
}

.nav-links .artist-portal:hover::before {
  transform: translateX(120%);
}

.nav-links .artist-portal:hover::after {
  color: white;
  transform: translate(2px, -2px);
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-toggle {
  display: none;

  border: 0;
  outline: 0;
  background: transparent;

  padding: 8px 0 8px 8px;
  margin: 0;

  color: black;
  cursor: pointer;

  position: relative;
  z-index: 1003;

  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:focus,
.menu-toggle:focus-visible,
.menu-toggle:active {
  outline: none;
  box-shadow: none;
  background: transparent;
}

.menu-toggle-icon {
  width: 27px;
  height: 18px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle-icon span {
  display: block;

  width: 100%;
  height: 2px;

  background: black;

  transition:
    transform .35s ease,
    opacity .25s ease;
}


/* =========================
   MOBILE MENU
========================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;

  display: flex;
  align-items: flex-start;
  justify-content: flex-end;

  padding: 18px;

  visibility: hidden;
  pointer-events: none;
  opacity: 0;

  transition:
    opacity .45s ease,
    visibility .45s ease;
}

.mobile-menu::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(255,255,255,.48);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  opacity: 0;

  transition: opacity .45s ease;
}

.mobile-menu-panel {
  position: relative;
  z-index: 2;

  width: min(88vw, 420px);
  max-height: calc(100svh - 36px);

  overflow-y: auto;
  overscroll-behavior: contain;

  background: #fff;
  color: black;

  border-radius: 28px;

  padding: 28px 26px 34px;

  display: flex;
  flex-direction: column;

  box-shadow:
    0 20px 70px rgba(0,0,0,.16),
    0 4px 20px rgba(0,0,0,.08);

  transform: translateX(calc(100% + 30px));

  transition:
    transform .6s cubic-bezier(.22,1,.36,1);
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu.is-open::before {
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-close {
  align-self: flex-end;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  outline: 0;
  background: transparent;

  color: black;
  cursor: pointer;

  padding: 0;
  margin: 0 0 50px;

  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:focus,
.mobile-menu-close:focus-visible,
.mobile-menu-close:active {
  outline: none;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.close-icon {
  position: relative;

  width: 28px;
  height: 28px;
}

.close-icon::before,
.close-icon::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 28px;
  height: 2px;

  background: black;

  transform-origin: center;
}

.close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-links {
  list-style: none;

  display: flex;
  flex-direction: column;

  gap: 25px;
}

.mobile-menu-links li {
  overflow: hidden;
}

.mobile-menu-links a {
  display: block;

  font-size: clamp(2.1rem, 9vw, 3.4rem);
  line-height: .95;

  font-weight: 900;
  letter-spacing: -.06em;

  text-transform: uppercase;

  color: black;

  transform: translateY(35px);
  opacity: 0;

  transition:
    color .25s ease,
    transform .55s cubic-bezier(.22,1,.36,1),
    opacity .4s ease;
}

.mobile-menu-links a:hover {
  color: var(--orange);
}

.mobile-menu.is-open .mobile-menu-links a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu-links li:nth-child(1) a {
  transition-delay: .08s;
}

.mobile-menu.is-open .mobile-menu-links li:nth-child(2) a {
  transition-delay: .13s;
}

.mobile-menu.is-open .mobile-menu-links li:nth-child(3) a {
  transition-delay: .18s;
}

.mobile-menu.is-open .mobile-menu-links li:nth-child(4) a {
  transition-delay: .23s;
}


/* =========================
   MOBILE MENU FEATURE BLOCKS
========================= */

.mobile-menu-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;

  margin-top: 34px;
}

.mobile-menu-feature {
  position: relative;

  width: 100%;

  border: 1px solid rgba(31,150,255,.55);
  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(31,150,255,.16),
      rgba(31,150,255,.035)
    );

  box-shadow:
    0 0 22px rgba(31,150,255,.07),
    inset 0 0 20px rgba(31,150,255,.035);

  overflow: hidden;
}

.mobile-menu-feature::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255,255,255,.5) 50%,
    transparent 80%
  );

  transform: translateX(-120%);
  transition: transform .6s ease;

  pointer-events: none;
}

.mobile-menu-feature:hover::before {
  transform: translateX(120%);
}

.mobile-menu-feature-link {
  min-height: 62px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 0 18px;

  color: black;
  text-decoration: none;

  transition:
    color .25s ease,
    background .25s ease;
}

.mobile-menu-feature-link:hover {
  color: var(--orange);
}

.mobile-menu-feature-title {
  font-size: clamp(1.05rem, 5vw, 1.35rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-menu-feature-arrow {
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: 900;

  transition: transform .3s ease;
}

.mobile-menu-feature-link:hover .mobile-menu-feature-arrow {
  transform: translate(2px, -2px);
}

.live-radio-feature {
  padding: 16px 18px 18px;

  border-color: rgba(31,150,255,.35);

  background:
    linear-gradient(
      135deg,
      rgba(31,150,255,.08),
      rgba(31,150,255,.025)
    );

  box-shadow:
    0 0 30px rgba(31,150,255,.10),
    inset 0 0 24px rgba(31,150,255,.035);
}

.mobile-menu-feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.live-radio-feature .mobile-menu-feature-title {
  font-size: clamp(1.05rem, 5vw, 1.3rem);
}

.mobile-menu-coming-soon {
  flex: 0 0 auto;

  padding: 6px 9px;

  border: 1px solid rgba(31,150,255,.35);
  border-radius: 999px;

  color: #777;

  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-radio-signal {
  height: 32px;

  display: flex;
  align-items: center;
  gap: 4px;

  margin-top: 12px;
}

.mobile-radio-signal span {
  display: block;

  width: 3px;

  border-radius: 999px;

  background: var(--orange);

  opacity: .75;

  animation: mobileRadioPulse 1.2s ease-in-out infinite;
}

.mobile-radio-signal span:nth-child(1) {
  height: 10px;
  animation-delay: 0s;
}

.mobile-radio-signal span:nth-child(2) {
  height: 18px;
  animation-delay: .12s;
}

.mobile-radio-signal span:nth-child(3) {
  height: 28px;
  animation-delay: .24s;
}

.mobile-radio-signal span:nth-child(4) {
  height: 18px;
  animation-delay: .36s;
}

.mobile-radio-signal span:nth-child(5) {
  height: 10px;
  animation-delay: .48s;
}

@keyframes mobileRadioPulse {
  0%,
  100% {
    transform: scaleY(.65);
    opacity: .45;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 42px;

  color: #777;

  font-size: .65rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .12em;
}


/* =========================
   SHARED HEADER RESPONSIVE
========================= */



@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  header {
    padding: 22px 20px;
  }

  header.scrolled {
    padding: 14px 20px;
  }

  .logo {
    gap: 8px;
    font-size: 19px;
  }

  .logo img {
    width: 34px;
    height: 34px;
  }

  .mobile-menu {
    padding: 12px;
  }

  .mobile-menu::before {
    background: rgba(255,255,255,.52);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-menu-panel {
    width: 100%;
    max-height: calc(100svh - 24px);

    border-radius: 24px;

    padding:
      calc(24px + env(safe-area-inset-top))
      24px
      calc(35px + env(safe-area-inset-bottom));
  }

  .mobile-menu-close {
    margin-bottom: 45px;
  }

  .mobile-menu-sections {
    margin-top: 30px;
    gap: 10px;
  }

  .mobile-menu-feature-link {
    min-height: 58px;
    padding: 0 16px;
  }

  .live-radio-feature {
    padding: 14px 16px 16px;
  }

  .mobile-menu-feature-title {
    font-size: clamp(1rem, 5vw, 1.2rem);
  }

  .mobile-menu-coming-soon {
    font-size: .5rem;
    padding: 5px 8px;
  }
}