/* Modern Floating Action Button for Quick Links - AetherMUD Theme */
:root {
  --fab-bg: #232837;
  --fab-accent: #7e57c2;
  --fab-accent-hover: #673ab7;
  --fab-shadow: 0 4px 24px 0 #000a;
  --fab-menu-bg: #151520;
  --fab-menu-link: #e0e0e0;
  --fab-menu-link-hover: #7e57c2;
  --fab-radius: 50%;
}

.fab-links {
  position: fixed;
  right: 2.2rem;
  bottom: 2.2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.fab-btn {
  background: var(--fab-accent);
  color: #fff;
  border: none;
  border-radius: var(--fab-radius);
  width: 56px;
  height: 56px;
  font-size: 2rem;
  box-shadow: var(--fab-shadow);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fab-btn:hover, .fab-btn:focus {
  background: var(--fab-accent-hover);
  box-shadow: 0 6px 24px rgba(103,58,183,0.25);
}
.fab-menu {
  display: none;
  flex-direction: column;
  margin-bottom: 0.5rem;
  background: var(--fab-menu-bg);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
  padding: 0.5rem 0;
  min-width: 180px;
  position: absolute;
  right: 0;
  bottom: 70px;
  border: 1.5px solid #2a2a40;
}
.fab-menu.open {
  display: flex;
}
.fab-menu a {
  color: var(--fab-menu-link);
  text-decoration: none;
  padding: 0.7em 1.2em;
  font-size: 1.08rem;
  border: none;
  background: none;
  text-align: left;
  transition: background 0.18s, color 0.18s;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.fab-menu a:hover {
  background: #232837;
  color: var(--fab-menu-link-hover);
}
@media (max-width: 600px) {
  .fab-links {
    right: 1rem;
    bottom: 1rem;
  }
  .fab-btn {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  .fab-menu {
    min-width: 120px;
    bottom: 54px;
  }
}
