.uhm-lowtaper-fade-bud {
  position: fixed;
  left: -150px;
  top: 50%;
  transform: translateY(-50%);
  height: 78%;
  width: 92px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  align-items: center;
  padding: 28px 14px;
  background: rgba(92, 91, 91, 0.308);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-radius: 45px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  animation: slideRight 0.9s ease-out forwards;
  overflow: visible;
  gap: 25px;
}

.uhm-lowtaper-fade-bud:hover {
  background: rgba(92, 91, 91, 0.178);
}

.uhm-lowtaper-fade-bud::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.03);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.uhm-lowtaper-fade-bud:hover::before {
  opacity: 1;
}

@keyframes slideRight {
  0% {
    left: -150px;
    opacity: 0;
    height: 0;
  }
  60% {
    left: 20px;
    opacity: 0.85;
    height: 69%;
  }
  100% {
    left: 20px;
    opacity: 1;
    height: 82%;
  }
}

.logo a {
  font-size: 1.8em;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
  transition: color 0.4s ease, text-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.logo a img {
  height: 64px;
  width: auto;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.logo a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 16px var(--accent-color), 0 0 28px var(--accent-color);
}

.logo a:hover img {
  animation: logoGlow 0.8s ease-out forwards;
  filter: drop-shadow(0 0 14px var(--accent-color)) brightness(1.15);
}

@keyframes logoGlow {
  0% { transform: scale(1); filter: drop-shadow(0 0 6px var(--accent-color)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 20px var(--accent-color)) brightness(1.25); }
  100% { transform: scale(1); filter: drop-shadow(0 0 12px var(--accent-color)) brightness(1.1); }
}

.logo a:not(:hover) img {
  animation: fadeBack 0.6s ease-out forwards;
}

@keyframes fadeBack {
  0% { filter: drop-shadow(0 0 16px var(--accent-color)); }
  100% { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25)); }
}

.logo a:active img {
  animation: logoClick 0.45s cubic-bezier(0.36, 0, 0.66, 1) forwards;
}

@keyframes logoClick {
  0% { transform: scale(1); }
  40% { transform: scale(0.92) rotate(-3deg); }
  70% { transform: scale(1.08) rotate(3deg); }
  100% { transform: scale(1); }
}

nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin-top: 30px;
}

.menu-button {
  text-decoration: none;
  color: white;
  font-weight: 500;
  background: transparent; 
  padding: 12px 20px;
  border-radius: 18px; 
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible; 
  box-shadow: none; 
  border: none; 
  cursor: pointer;
  font-size: 1em; 

}

.menu-button i {
  font-size: 1.3em; 
}

.uhm-lowtaper-fade-bud ul li a:hover {
  color: var(--accent-hover)
}

/* hover text tooltip */
.menu-button .menu-text {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  color: white;
  opacity: 0;
  font-size: 0.95em;
  background: rgba(0, 0, 0, 0);
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 999999; 
}

.menu-button:hover .menu-text {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.menu-button::before {
  content: "";
  position: absolute;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: none;
  filter: blur(1.5px);
}

.menu-button:hover::before {
  animation: wave-ripple 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes wave-ripple {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0.7; }
  50% { opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.menu-button:hover {
  background: rgba(255, 255, 255, 0.12); 
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); 
}

.menu-button:active {
  transform: scale(0.96) translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.profile-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: auto;
  margin: 0;
}

/* battery stuff */
.still-masssivee {
  height: 100%;
  margin: 10px;
}

.battery-box {
  position: absolute;
  bottom: 87px; 
  left: 50%;
  transform: translateX(-50%);
  width: 20%; 
  max-width: 40px;
  min-width: 25px;
  height: 30%; 
  max-height: 80px;
  min-height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-start;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25);

}

.battery-fill {
  width: 100%;
  height: 0%; 
  background: #4ade80;
  border-radius: 0 0 6px 6px;
  transition: height 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.battery-text {
  position: absolute;
  color: var(--glow-color);
  font-size: 10px; 
  font-weight: 500;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  user-select: none;
  width: 100%;
  text-align: center;
}

/* bdjifhjsdhfjsdghfhsd */
@media screen and (max-width: 1380px) {
  .battery-box { width: 22%; height: 20%; }
  .battery-text { font-size: 8px; }
  .still-masssivee { margin: 4px; }
}

@media screen and (max-width: 1200px) {
  .battery-box { width: 22%; height: 20%; }
  .battery-text { font-size: 7px; }
  .still-masssivee { margin: 8px; }
}

@media screen and (max-width: 1050px) {
  .battery-box { width: 22%; height: 11%; }
  .battery-text { font-size: 6px; }
  .still-masssivee { margin: 1px; }
}

@media screen and (max-width: 1000px) {
  .battery-box { width: 24%; height: 16%; }
  .battery-text { font-size: 7px; }
}

@media screen and (max-width: 800px) {
  .battery-box { width: 26%; height: 12%; }
  .battery-text { font-size: 6px; }
  .still-masssivee { padding: 4px 0; }
}

@media screen and (max-width: 601px) {
  .battery-box { width: 28%; height: 5%; }
  .battery-text { font-size: 6px; }
  .still-masssivee { padding: 3px 0; }
}

@media screen and (max-width: 400px) {
  .battery-box { width: 32%; height: 3%; }
  .battery-text { font-size: 6px; }
  .still-masssivee { padding: 2px 0; }
}
