/* Dock */
.dock-container {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.dock {
  display: flex;
  gap: 2rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(0.75rem) saturate(180%);
  -webkit-backdrop-filter: blur(0.75rem) saturate(180%);
  border: none;
  border-radius: 1.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 0.625rem 1.125rem rgba(255, 255, 255, 0.08),
    0 0.5rem 2rem rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  position: relative;
}
.dock::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.375rem;
  background: rgba(14, 32, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.dock-item:hover {
  transform: translateY(-0.25rem) scale(1.05);
  background: rgba(18, 44, 29, 0.92);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.4);
}
.dock-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
  transition:
    color 0.2s ease,
    transform 0.12s ease;
}
/* Accueil uses same size as other icons */
.dock-tooltip {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  color: #0b1220;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}
.dock-item:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-0.25rem);
}
.dock-active-dot {
  position: absolute;
  bottom: -0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.375rem;
  height: 0.375rem;
  background: #d1d5db;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 0.375rem rgba(0, 0, 0, 0.25);
}
.dock-item.active .dock-active-dot {
  opacity: 1;
}

@media (max-width: 640px) {
  .dock {
    gap: 1.5rem;
    padding: 0.625rem 1rem;
  }
  .dock-item {
    width: 3rem;
    height: 3rem;
  }
  .dock-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
  /* Accueil uses same size as other icons on small screens */
}
