/* VUBE Obsidian & Metallic White Site Shell */
.ps-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 14, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  font-family: Cambria, Georgia, serif;
}

.ps-nav {
  max-width: 1240px;
  padding: 0 32px;
  margin: auto;
  height: 84px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.ps-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .025em;
  white-space: nowrap;
  text-decoration: none;
  min-height: 44px;
}

.ps-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.ps-brand-text {
  color: #ffffff;
  font-weight: 700;
}

.ps-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.ps-nav-links > a {
  font-size: 15px;
  color: #a1a1aa;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: color 0.18s ease;
}

.ps-nav-links > a:hover,
.ps-nav-links > a[aria-current] {
  color: #ffffff;
  font-weight: 600;
}

.ps-nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ps-nav-tools .spica-language-switch {
  font-size: 11px;
  background: transparent;
  color: #a1a1aa;
  border: 0;
  min-height: 44px;
  padding: 0 8px;
  cursor: pointer;
  transition: color 0.18s ease;
  font-family: inherit;
}

.ps-nav-tools .spica-language-switch:hover {
  color: #ffffff;
}

.ps-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #10121a;
  border-radius: 7px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ps-mobile-toggle:hover {
  background: #1c1f2b;
  border-color: #ffffff;
}

.ps-login-button,
.ps-profile-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  padding: 8px 14px;
  background: #10121a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.ps-login-button:hover,
.ps-profile-button:hover {
  background: #1c1f2b;
  border-color: #ffffff;
  color: #ffffff;
}

.ps-login-button svg,
.ps-profile-button svg {
  color: #ffffff;
}

.ps-profile-wrap {
  position: relative;
}

.ps-profile-round-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  align-self: center !important;
}

.ps-profile-button {
  max-width: 190px;
}

.ps-profile-button.ps-profile-round {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1.5px solid #cbd5e1 !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(18,26,40,0.08) !important;
  cursor: pointer !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  line-height: 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  align-self: center !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.ps-profile-button.ps-profile-round:hover {
  border-color: #172131 !important;
  transform: scale(1.06) !important;
  box-shadow: 0 3px 8px rgba(18,26,40,0.15) !important;
}

.ps-profile-button.ps-profile-round img {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ps-profile-button.ps-profile-round svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #475569 !important;
  margin: 0 !important;
  display: block !important;
}

.ps-profile-button.ps-profile-round span,
.ps-profile-button.ps-profile-round svg:not(:first-child) {
  display: none !important;
}

.ps-profile-button img {
  border-radius: 50%;
  object-fit: cover;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  flex-shrink: 0;
  display: block;
}

.ps-profile-button span {
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-profile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  min-width: 190px;
  padding: 7px;
  background: #0b0d14;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 70;
}

.ps-profile-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  color: #d4d4d8;
  font-size: 13px;
  border-radius: 6px;
  text-decoration: none;
  min-height: 40px;
  transition: all 0.15s ease;
}

.ps-profile-menu a:hover {
  background: #181c28;
  color: #ffffff;
}

.ps-header :is(a, button):focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .ps-nav {
    gap: 22px;
    padding: 0 24px;
  }
  .ps-nav-links {
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .ps-nav {
    height: 74px;
    padding: 0 20px;
    gap: 16px;
  }
  .ps-nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 16px 24px;
    background: #06080e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
  }
  .ps-nav-links.is-open {
    display: flex;
  }
  .ps-nav-tools {
    margin-left: auto;
  }
  .ps-mobile-toggle {
    display: flex;
  }
  .ps-brand {
    font-size: 17px;
  }
}

@media (max-width: 440px) {
  .ps-nav {
    padding: 0 16px;
    gap: 8px;
  }
  .ps-brand {
    font-size: 15px;
    gap: 7px;
  }
  .ps-login-button {
    font-size: 12px;
    padding: 7px 10px;
  }
  .ps-nav-tools .spica-language-switch {
    font-size: 10px;
    padding: 0 5px;
  }
  .ps-profile-button span {
    max-width: 60px;
  }
}

/* =====================================================================
   VUBE OFFICIAL FOOTER
   ===================================================================== */
.ps-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 50px 32px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
  box-sizing: border-box;
  font-size: 14px;
  background: #06080e;
  font-family: Cambria, Georgia, serif;
}

.ps-footer a {
  text-decoration: none;
}

.ps-footer-main,
.ps-footer-bottom {
  max-width: 1176px;
  margin-left: auto;
  margin-right: auto;
}

.ps-footer-main {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 35px;
}

.ps-footer-main > p {
  font-size: 14px;
  margin: 0;
  color: #a1a1aa;
}

.ps-footer-main > a:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  margin-left: auto;
  font-size: 14px;
  min-height: 44px;
}

.ps-footer-main > a:last-child:hover {
  text-decoration: underline;
}

.ps-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 23px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
  color: #71717a;
}

.ps-footer-bottom nav {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
}

.ps-footer-bottom a {
  color: #a1a1aa;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  transition: color 0.15s ease;
}

.ps-footer-bottom a:hover {
  color: #ffffff;
}

.ps-footer .ps-brand {
  font-size: 19px;
  color: #ffffff;
}

.ps-footer a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .ps-footer {
    padding: 34px 24px 20px;
  }
  .ps-footer-main {
    flex-wrap: wrap;
    gap: 15px;
  }
  .ps-footer-main > p {
    width: 100%;
    order: 2;
  }
  .ps-footer-main > a:last-child {
    font-size: 12px;
  }
  .ps-footer-bottom {
    flex-wrap: wrap;
    gap: 15px;
  }
  .ps-footer-bottom > span:last-child {
    display: none;
  }
  .ps-footer-bottom nav {
    gap: 16px;
    flex-wrap: wrap;
  }
}

/* Screen Reader Utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

