header {
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

nav ul {
  display: flex;
  gap: 22px;
  list-style: none;

}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}


/* 🔘 Botón flotante fijo */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg);
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 9999;
}

/* 🖱️ Efectos al pasar el mouse */
.theme-toggle :hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* 💡 Tema claro */
[data-theme='light'] .theme-toggle {
  background: var(--accent, #0077ff);
  color: #fff;
}



.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

nav a:hover {
  color: var(--accent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-logo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 30px rgba(3, 10, 20, .6)
}

.brand h1 {
  margin: 0;
  font-size: 18px
}

.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 13px
}

main {
  overflow: hidden;
  padding: 36px;
  max-width: 1100px;
  margin: 0 auto
}

img {
  width: 30px;
  height: 30px;
}

.fab-container {
  position: fixed;
  right: 30px;
  bottom: 95px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  /* Espacio entre botones */
  z-index: 9999;
}


.fab {
  background-color: var(--card);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, background-color 0.3s;
}

.fab:hover {
  transform: scale(1.1);
  background-color: var(--accent2);
}

/*  */

/* 📱 MEDIA QUERY — Dispositivos móviles */
@media (max-width: 768px) {
  header {
    padding: 8px 6px;
    margin: 0;
  }
  img {
    width: 26px;
    height: 26px;
  }

  /* Botones flotantes */
  .fab-container {
    right: 18px;
    bottom: 80px;
    gap: 8px;
  }

  .fab {
    width: 44px;
    height: 44px;
  }

  .theme-toggle {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

}