/* ==========================================================================
   HEADER & FOOTER STYLES (header_footer.css)
   ========================================================================== */

/* ----- GENERAL HELPER ----- */
.hidden {
  display: none !important;
}
.site-footer {
    margin-top: auto;
}

/* ----- HEADER STYLES ----- */
header.header {
  position: relative;
  width: 100%;
  /*z-index: 2;*/
}

.top_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #0000004A;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.top_header.sticky-header,
.top_header.scrolled {
  background: rgba(11, 5, 20, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(139, 92, 246, 0.2);
  border-bottom: 1px solid rgba(174, 100, 255, 0.25);
  padding: 8px 0;
}

.top_header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}

.top_header .brand img {
  height: auto;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
}

.top_header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: 40px;
  gap: 30px;
}

.top_header .menu {
  display: flex;
  align-items: center;
  gap: 43px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.top_header .menu-item a {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #BBBBBB;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;;
  white-space: nowrap;
}

.top_header .menu-item a:hover,
.top_header .menu-item.active a {
  color: #AE64FF;
  text-shadow: 0px -2px 13px #AE64FF;
}

.nav-auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
  flex-shrink: 0;
}

.btn-icon-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 23px 0px #892DFF99;

}

.btn-user {
  border-radius: 50px;
  gap: 6px;
 
  display: flex;
  align-items: center;
  grid-gap: 10px;
}
.btn-user a{
  padding: 3px;
  width: auto;
  height: auto;
}
.btn-user img{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.user-avatar-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #892DFF 0%, #AE64FF 100%);
  color: #ffffff;
}

.btn-icon-nav:hover {
  background: rgba(174, 100, 255, 0.25);
  border-color: #ae64ff;
  box-shadow: 0 0 14px rgba(174, 100, 255, 0.5);
  color: #ffffff !important;
}
 .btn-cart{
    position: relative;
  }
  .btn-cart span{
    background: #14002D;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 0;
    line-height: 0;
    font-weight: 500;
    font-size: 10px;
    vertical-align: middle;
    color: #fff;

  }

.btn-login {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #FFFFFF4A;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0px 4px 23px 0px #892DFF99;
}
.btn-login:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #c084fc;
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.4);
}
.btn-shop {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  border: none;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0px 4px 23px 0px #892DFF99;
  border: 1px solid #FFFFFF4A;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-shop:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217, 70, 239, 0.6);
}
/* Nav Hamburger Toggle for Mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #c9c3e0;
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* ----- FOOTER STYLES ----- */
.site-footer {
  position: relative;
  padding: 100px 0 0;
  background: transparent;
  width: 100%;
  z-index: 10;
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

/* Top Outer Arch Card & Inner Card */
.footer-top-card {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  border-radius: 50px 50px 0 0;
  border: 1px solid rgba(174, 100, 255, 0.35);
  border-bottom: none;
  padding: 50px 50px 0;
  background: rgba(30, 16, 48, 0.4);
}

.footer-top-inner {
  background: #0000004D;
  border-radius: 38px 38px 0 0;
  padding: 33px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(174, 100, 255, 0.2);
  border-bottom: none;
}

.footer-brand-info {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 600px;
}

.footer-logo img {
  width: auto;
  display: block;
}

.footer-desc {
  font-weight: 400;
  font-size: 14px;
  vertical-align: middle;
  color: #FFFFFF;
  margin-bottom: 0;
}

.footer-social-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.social-heading {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #FFFFFF1A;
  /* border: 1px solid rgba(255, 255, 255, 0.15); */
  color: #c9c3e0;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}
.social-icon::before {
  content: "";
  position: absolute;
  inset: 0;                       /* covers the full circle */
  border-radius: 50%;
  padding: 1px;                   /* controls border thickness */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.social-icon:hover::before{
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
}
.social-icon:hover svg path{
  fill: #892DFF;
} 
.social-icon:hover {
  transform: translateY(-2px);
}


.social-icon.active-social svg path{
  fill: #6c15cf;
}
/* Lower Overlapping Arch Card Container */
.footer-bottom-card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #140924;
  border: 1px solid rgba(174, 100, 255, 0.35);
  border-radius: 50px 50px 0 0;
  padding: 30px 45px 25px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
  margin-top: -1px;
}

.footer-nav-row {
  text-align: center;
  padding-bottom: 20px;
}

.footer-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-menu li a {
  font-size: 15px;
  font-weight: 500;
  color: #c9c3e0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu li a:hover {
  color: #ae64ff;
}

.footer-menu .bullet {
  background: #AE64FF;
  width: 3px;
  height: 3px;
  border-radius: 50%;
}

.footer-nav-divider {
  margin: 0 0 18px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #c9c3e0;
}

.copyright strong {
  color: #ffffff;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  color: #c9c3e0;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-legal .pipe {
  color: #6b5c96;
}

/* ----- MEDIA QUERIES (HEADER & FOOTER) ----- */
@media (max-width: 1600px) {
  .top_header .menu{gap: 26px;}
  .top_header .menu-item a{font-size: 15px;}
  .btn-login, .btn-shop{padding: 10px 20px;font-size: 16px;}
  .nav-auth-buttons{margin-left: 0;}
  .top_header .wrapper{gap: 15px;}
  .top_header .brand img{height: 50px;}
}

@media (max-width: 1290px) {
  .top_header .brand img{height: auto;}
  .top_header{padding: 6px 0;}
  .nav-toggle {
    display: flex;
  }

  .top_header .wrapper {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    background: rgba(13, 6, 26, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 25px 20px;
    margin-left: 0;
    gap: 20px;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease-in-out;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
  }

  #nav:checked ~ .wrapper {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    height: 100dvh;
    justify-content: flex-start;
  }

  #nav:checked + .nav-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  #nav:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  #nav:checked + .nav-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .top_header .menu {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    text-align: center;
  }

  .nav-auth-buttons {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
 
  .footer-top-card {
    border-radius: 30px 30px 0 0;
    padding: 30px 30px 0;
  }

  .footer-top-inner {
    flex-direction: column;
    text-align: center;
    border-radius: 24px 24px 0 0;
    padding: 20px 15px;
    gap: 18px;
  }

  .footer-brand-info {
    flex-direction: column;
    gap: 12px;
  }

  .footer-social-section {
    align-items: center;
  }

  .footer-bottom-card {
    border-radius: 30px 30px 0 0;
    padding: 22px 18px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
@media (max-width: 575px) {
  .top_header .brand img {height: 50px;}
  .top_header .wrapper{top: 62px;}
  .nav-auth-buttons{flex-direction: column;}
  .footer-top-card {border-radius: 20px 20px 0 0; padding: 20px 20px 0;}
  .footer-bottom-card, .footer-top-inner{border-radius: 20px 20px 0 0;}
  .social-icon{width: 37px;height: 37px;}
  .footer-nav-row{padding-bottom: 10px;}
  .footer-card {padding: 20px 15px 15px;}
  .footer-desc { font-size: 14px;}
  .footer-menu {gap: 8px;}
  .footer-menu li a {font-size: 12px;}
  .site-footer{padding: 30px 0 0;}
  .btn-login, .btn-shop {padding: 8px 20px;font-size: 14px;}

}

/* ==========================================================================
   USER SIDEBAR DRAWER STYLES
   ========================================================================== */
.user-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.user-sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

.user-sidebar-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100%;
  height: 100vh;
  background: #191818;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  padding: 24px 22px;
}

.user-sidebar-drawer.show {
  transform: translateX(0);
}

body.user-sidebar-open {
  overflow: hidden !important;
}

/* Header */
.user-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
}

.user-sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-sidebar-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #AE64FF;
  box-shadow: 0 0 12px rgba(174, 100, 255, 0.4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A1625;
}

.user-sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-sidebar-info .user-name {
  color: #FFFFFF;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.user-sidebar-info .user-email {
  color: #A0A0A0;
  font-size: 13px;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

.user-sidebar-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #A0A0A0;
}

.user-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.user-sidebar-close:hover svg path {
  stroke: #ffffff;
}

.user-sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

/* Menu */
.user-sidebar-body {
  flex: 1;
}

.user-sidebar-menu-title {
  color: #AE64FF;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.user-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.user-sidebar-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.user-sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  color: #E0E0E0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
  font-family: "Poppins", sans-serif;
}

.user-sidebar-link:hover {
  color: #AE64FF;
  padding-left: 4px;
}

.user-sidebar-link .menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.user-sidebar-link .menu-icon svg path,
.user-sidebar-link .menu-icon svg line,
.user-sidebar-link .menu-icon svg circle {
  transition: stroke 0.25s ease;
}

.user-sidebar-link:hover .menu-icon svg path,
.user-sidebar-link:hover .menu-icon svg line,
.user-sidebar-link:hover .menu-icon svg circle {
  stroke: #C084FC;
}

/* Footer Card */
.user-sidebar-footer {
  margin-top: 24px;
  padding-top: 10px;
}

.patreon-promo-card {
  background: linear-gradient(0deg, #0A0A0A, #0A0A0A),
radial-gradient(100% 100% at 50% 100%, rgba(174, 100, 255, 0.3) 0%, rgba(174, 100, 255, 0) 100%);

 border: 1px solid #525252;
  border-radius: 22px;
  padding: 22px 20px;
  text-align: left;
}

.patreon-promo-card .promo-title {
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  line-height: 33px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.patreon-promo-card .promo-text {
  color: #fff;
  font-size: 14px;
  margin-bottom: 18px;
}

.btn-patreon-join {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border-radius: 50px;
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  border: 1px solid #FFFFFF4A;
  color: #FFFFFF !important;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
 box-shadow: 0px 4px 23px 0px #892DFF99;

}

.btn-patreon-join:hover {
  background: linear-gradient(90deg, #9C45FF 0%, #BA77FF 100%);
  box-shadow: 0px 6px 22px rgba(174, 100, 255, 0.7);
}

@media (max-width: 480px) {
  .user-sidebar-drawer {
    width: 100%;
    padding: 20px 16px;
  }
}