body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #4650F1;
  margin: 0;
  padding: 0;
  height: 200vh;
}

/* منوی شناور */
.floating-menu {
  position: fixed;
  bottom: 3rem;
  left: 3rem;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
   /*gap: 1rem;  */
  z-index: 9999;
  direction: rtl;
  text-align: right;
}


/* دکمه اصلی */
.main-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transition: transform 0.2s, background 0.2s;
 
}

.main-btn:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.25);
}

/* دکمه‌های بازشونده */
.menu-items a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  width: 260px;
  border-radius: 15px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transform: translateY(0);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
flex-direction: row-reverse; /* آیکون سمت راست، متن سمت چپ */
  text-align: right;

}

/* وقتی باز شد */
.menu-items a.open {
  opacity: 1;
}



