.language-switcher {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  font-family: inherit;
}

/* Fő gomb */
.language-switcher button {
  background: rgba(0, 0, 0, 0.65);
  color: #ffcc33;
  border: 2px solid #ffcc33;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 204, 51, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease-in-out;
}

.language-switcher button:hover {
  background: #ffcc33;
  color: black;
  box-shadow: 0 0 18px rgba(255, 204, 51, 0.9);
}

/* Menü */
.lang-menu {
  display: none;
  position: absolute;
  top: 45px;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #ffcc33;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 0 20px rgba(255, 204, 51, 0.5);
  animation: fadeSlideDown 0.25s ease forwards;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Zászlók */
.lang-menu a {
  display: block;
  margin: 3px 0;
  text-align: center;
}

.lang-menu img {
  width: 16px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(255, 204, 51, 0.3);
}

.lang-menu img:hover {
  box-shadow: 0 0 16px rgba(255, 204, 51, 1);
  transform: scale(1.15);
}

/* Menüből hoverrel nem tűnik el */
.language-switcher.active .lang-menu {
  display: block;
}

/* Reszponzív */
@media (max-width: 600px) {
  .language-switcher { top: 0.6rem; left: 0.6rem; }
  .language-switcher button { padding: 5px 8px; font-size: 0.9rem; }
  .lang-menu img { width: 22px; }
}
