/* =========================
   PREMIUM HEADER PINTUPLAY
========================= */

.pp-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.96), rgba(8, 8, 8, 0.92));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 188, 38, 0.18);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.pp-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 196, 0, 0.12), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(255, 103, 0, 0.10), transparent 34%);
  pointer-events: none;
}

.pp-header__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  height: 78px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

/* LOGO */
.pp-header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.pp-header__logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.pp-header__logo img {
  display: block;
  width: 150px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

/* NAV */
.pp-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.pp-header__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.pp-header__nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe27a, #ffb300, #ff6a00);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.pp-header__nav a:hover {
  color: #ffffff;
  background: rgba(255, 179, 0, 0.08);
  transform: translateY(-1px);
}

.pp-header__nav a:hover::after {
  width: 42%;
}

/* ACTIONS */
.pp-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pp-header__login,
.pp-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    filter 0.25s ease;
}

.pp-header__login {
  color: #ffd34d;
  border: 1px solid rgba(255, 211, 77, 0.34);
  background: rgba(255, 255, 255, 0.055);
}

.pp-header__login:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 211, 77, 0.72);
  box-shadow: 0 14px 28px rgba(255, 179, 0, 0.12);
}

.pp-header__cta {
  color: #171000;
  border: 1px solid rgba(255, 211, 77, 0.55);
  background: linear-gradient(135deg, #ffe27a 0%, #ffb300 48%, #ff6a00 100%);
  box-shadow: 0 14px 28px rgba(255, 153, 0, 0.24);
}

.pp-header__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 36px rgba(255, 153, 0, 0.34);
}

/* BURGER */
.pp-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 211, 77, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  cursor: pointer;
}

.pp-header__toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffd34d;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.pp-header__toggle:hover {
  border-color: rgba(255, 211, 77, 0.62);
}

/* =========================
   SIDEBAR MOBILE
========================= */

.pp-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pp-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.pp-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 9999;
  width: min(86vw, 340px);
  height: 100vh;
  padding: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 211, 77, 0.15), transparent 32%),
    linear-gradient(180deg, #101010 0%, #070707 100%);
  border-left: 1px solid rgba(255, 211, 77, 0.18);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.52);
  transition: right 0.32s ease;
  overflow-y: auto;
}

.pp-sidebar.active {
  right: 0;
}

.pp-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 211, 77, 0.14);
}

.pp-sidebar__logo {
  display: inline-flex;
  align-items: center;
}

.pp-sidebar__logo img {
  display: block;
  width: 140px;
  height: auto;
  object-fit: contain;
}

.pp-sidebar__close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 211, 77, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  color: #ffd34d;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.pp-sidebar__close:hover {
  border-color: rgba(255, 211, 77, 0.62);
  background: rgba(255, 179, 0, 0.1);
}

.pp-sidebar__menu {
  display: grid;
  gap: 8px;
}

.pp-sidebar__menu a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(255, 211, 77, 0.10);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 15px;
  font-weight: 760;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.pp-sidebar__menu a::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 11px;
  border-radius: 999px;
  background: #ffd34d;
  box-shadow: 0 0 12px rgba(255, 211, 77, 0.75);
}

.pp-sidebar__menu a:hover {
  color: #ffffff;
  border-color: rgba(255, 211, 77, 0.34);
  background: rgba(255, 179, 0, 0.09);
  transform: translateX(-3px);
}

.pp-sidebar__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 211, 77, 0.14);
}

.pp-sidebar__login,
.pp-sidebar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
}

.pp-sidebar__login {
  color: #ffd34d;
  border: 1px solid rgba(255, 211, 77, 0.3);
  background: rgba(255, 255, 255, 0.055);
}

.pp-sidebar__cta {
  color: #171000;
  background: linear-gradient(135deg, #ffe27a 0%, #ffb300 48%, #ff6a00 100%);
  box-shadow: 0 14px 28px rgba(255, 153, 0, 0.24);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .pp-header__inner {
    gap: 18px;
  }

  .pp-header__nav {
    gap: 4px;
  }

  .pp-header__nav a {
    padding: 0 10px;
    font-size: 13.5px;
  }
}

@media (max-width: 860px) {
  .pp-header__inner {
    height: 68px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .pp-header__nav,
  .pp-header__login,
  .pp-header__cta {
    display: none;
  }

  .pp-header__toggle {
    display: inline-flex;
  }

  .pp-header__logo img {
    width: 142px;
  }
}

@media (max-width: 480px) {
  .pp-header__inner {
    height: 64px;
    padding: 0 16px;
  }

  .pp-header__logo img {
    width: 132px;
  }

  .pp-sidebar {
    width: min(88vw, 320px);
    padding: 20px;
  }
}