/* bottom-bar.css */
.popup-menu {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
#menuPopup {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
#menuPopup.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#menuPopup .stagger-item {
  opacity: 0;
  transform: translateY(10px);
  transition: none;
}
#menuPopup.active .stagger-item {
  animation: staggerIn 0.4s ease forwards;
}
#menuPopup.active .stagger-item:nth-child(1) {
  animation-delay: 0.05s;
}
#menuPopup.active .stagger-item:nth-child(2) {
  animation-delay: 0.1s;
}
#menuPopup.active .stagger-item:nth-child(3) {
  animation-delay: 0.15s;
}
#menuPopup.active .stagger-item:nth-child(4) {
  animation-delay: 0.2s;
}
#menuPopup.active .stagger-item:nth-child(5) {
  animation-delay: 0.25s;
}
#menuPopup.active .stagger-item:nth-child(6) {
  animation-delay: 0.3s;
}
#menuPopup.active .stagger-item:nth-child(7) {
  animation-delay: 0.35s;
}
#menuPopup.active .stagger-item:nth-child(8) {
  animation-delay: 0.4s;
}
#menuPopup.active .stagger-item:nth-child(9) {
  animation-delay: 0.45s;
}

@keyframes staggerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accordion Bottom Bar */
.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #d1d5db;
  transition: color 0.2s;
}
.acc-header:hover {
  color: #fff;
}
.acc-header .chevron {
  transition: transform 0.3s ease;
  width: 16px;
  height: 16px;
}
.acc-header.active .chevron {
  transform: rotate(180deg);
}
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  background: rgba(0, 0, 0, 0.2);
}
.acc-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 16px;
}
.acc-link {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  color: #9ca3af;
  text-decoration: none;
  transition:
    padding 0.2s,
    color 0.2s;
}
.acc-link:hover {
  color: #fff;
  padding-left: 28px;
}

.sub-acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 24px;
  font-size: 13px;
  color: #9ca3af;
  font-weight: 600;
  transition: color 0.2s;
}
.sub-acc-header:hover {
  color: #fff;
}
.sub-acc-header .chevron {
  transition: transform 0.3s ease;
  width: 14px;
  height: 14px;
}
.sub-acc-header.active .chevron {
  transform: rotate(180deg);
}
.sub-acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}
.sub-acc-link {
  display: block;
  padding: 8px 32px;
  font-size: 12px;
  color: #9ca3af;
  text-decoration: none;
  transition:
    padding 0.2s,
    color 0.2s;
}
.sub-acc-link:hover {
  color: #fff;
  padding-left: 36px;
}
