

   body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: transparent;
}

/* Container principal */
.navbar {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 10px;
  background: transparent;
}

/* Casetele principale */
.dropbtn {
  width: 100px;
  height: 25px;
  background: linear-gradient(to bottom, #990000, #ff6666); /* sus închis → jos deschis */
  border: 2px solid white; /* bordură albă clară */
  color: white; /* text alb */
  font-size: 11px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  /* Eliminat text-shadow negru/grena */
  text-shadow: none;
}

/* Hover casetă principală -> mărire 10% + degrade invers */
.dropbtn:hover {
  transform: scale(1.1);
  background: linear-gradient(to bottom, #ff6666, #990000);
}

/* Container dropdown */
.dropdown {
  position: relative;
}

/* Submeniuri */
.dropdown-content {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100px;
  z-index: 1;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Submeniuri vizibile la hover */
.dropdown:hover .dropdown-content {
  opacity: 1;
  max-height: 300px;
}

/* Linkuri submeniu */
.dropdown-content a {
  position: relative;
  display: block;
  padding: 8px;
  text-decoration: none;
  text-align: center;
  color: white;
  font-weight: bold;
  border: 2px solid white; /* bordură albă */
  border-radius: 6px;
  background: linear-gradient(to bottom, #990000, #ff6666);
  margin-top: 3px;
  transition: background 0.3s ease;
   text-shadow: 0 0 1px #800000; /* păstrăm contur fin grena text submeniu */
}

/* Pseudo-element pentru contur gri subtil submeniuri */
.dropdown-content a::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border: 1px solid rgba(200,200,200,0.6);
  border-radius: 6px;
  z-index: -1; /* sub link */
}

/* Hover submeniuri */
.dropdown-content a:hover {
  background: linear-gradient(to bottom, #ff6666, #990000);
}

/* Optional: elimină "pata" între link-uri când submeniul este vizibil */
.dropdown-content a + a::before {
  top: -2px; left: -2px; right: -2px; bottom: -2px;
}