@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}



body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: #000;
}

body::-webkit-scrollbar-thumb {
  background-color: #f1c40f;
  border-radius: 10px;
  border: 2px solid #000;
}

.related-items img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #a7890e;
  border-radius: 8px;
}

.related-items img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px #f1c40f;
}
.related-item {
  display: inline-block;
  width: 80px;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  color: #f1c40f;
  text-decoration: none;
  margin-bottom: 10px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.related-item:hover {
  transform: scale(1.08);
  color: #fff;
  text-shadow: 0 0 8px #f1c40f;
}

.related-item img {
  width: 45px;
  height: 45px;
  border: 1px solid #a7890e;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(241, 196, 15, 0.4);
  transition: box-shadow 0.2s ease;
}

.related-item:hover img {
  box-shadow: 0 0 10px #f1c40f, 0 0 20px #a7890e;
}
.item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.item-list li {
  margin-bottom: 14px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-list li::before {
  color: #f1c40f;
  margin-right: 6px;
}

.item-list a {
  color: #8f72ff;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.item-list a:hover {
  color: #fff;
  text-shadow: 0 0 6px #f1c40f;
}

.item-list img {
  width: 42px;
  height: 42px;
  border: 1px solid #a7890e;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(241, 196, 15, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item-list a:hover img {
  transform: scale(1.1);
  box-shadow: 0 0 10px #f1c40f, 0 0 18px #a7890e;
}
.item-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
}

.grid-item {
  width: 100px;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  color: #f1c40f;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.grid-item img {
  width: 50px;
  height: 50px;
  border: 1px solid #a7890e;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(241, 196, 15, 0.4);
  transition: box-shadow 0.2s ease;
}

.grid-item:hover {
  transform: scale(1.08);
  color: #fff;
  text-shadow: 0 0 8px #f1c40f;
}

.grid-item:hover img {
  box-shadow: 0 0 10px #f1c40f, 0 0 20px #a7890e;
}


.related-item span,
.btn-return {
  color: #f1c40f;
  font-family: 'Cinzel', serif;
  font-variant: small-caps;
  font-weight: 700;
  font-size: 12px; /* ⬅ zwiększona czcionka */
  letter-spacing: 0.7px;
  text-decoration: none !important; /* ⬅ całkowicie usuwa podkreślenie */
  display: block;
  margin-top: 8px;
  transition: all 0.3s ease;
  text-align: center;
}

.related-item span:hover,
.btn-return:hover {
  color: #fff;
  text-shadow: 0 0 10px #f1c40f;
}

/* Dodatkowo usuwa kolory visited i active */
.related-item span:visited,
.related-item span:active,
.btn-return:visited,
.btn-return:active {
  color: #f1c40f;
  text-decoration: none;
}

a,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none !important;
  outline: none;
  color: inherit;
}





.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper {
  flex: 1;
}

.site-wrapper, .main-content, .content-wrapper, container {
  height: auto;     /* brak 100vh, brak min-height: 100% */
  position: relative;
  z-index: 1;
  overflow: visible;
}


body {
  padding: 0 auto;
  font-family: 'Cinzel', serif;
  background: url('images/body.png') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  scrollbar-width: thin;
  scrollbar-color: #f1c40f #000; /* Firefox */

}

header,
.main-header {
  width: 100%;
  background: linear-gradient(145deg, #0d0d0d, #1a1a1a, #000000);
  border-bottom: 3px solid #f1c40f;
  border-top: 1px solid #a7890e;
  box-shadow: 0 0 20px rgba(241, 196, 15, 0.3), inset 0 0 8px rgba(255, 215, 0, 0.05);
  border-radius: 0 0 16px 16px;
  animation: headerPulse 4s ease-in-out infinite;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1000;
}

/* To wewnętrzna treść headera — logo, menu itp. */
.header-inner {
  margin-left: 340px; /* 👈 żeby nie wchodziło pod menu */
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}




.logo-area {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  height: 50px;
  filter: drop-shadow(0 0 5px #f1c40f);
}

.main-header h1 {
  font-size: 28px;
  color: #f1c40f;
  margin: 0;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

.nav-links a {
  color: #f1c40f;
  text-decoration: none;
  margin-left: 30px;
  font-size: 16px;
  font-family: 'Cinzel', serif;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #f1c40f;
  bottom: -4px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}





/* Kategorie */

.left-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* zajmuje pełną wysokość przeglądarki */
  background-color: #000; /* 👈 pełne czarne tło, brak przezroczystości */
  border-right: 2px solid #a7890e;
  padding: 20px;
  color: #f1c40f;
  font-family: 'Cinzel', serif;
  box-shadow: 4px 0 12px rgba(168, 137, 14, 0.3);
  z-index: 2000; /* wyższy niż header */
  display: flex;
  flex-direction: column;
 overflow: visible !important;


}




.left-menu h3 {
  font-size: 18px;
  margin-bottom: 15px;
  text-shadow: 0 0 6px #f1c40f;
  animation: glowPulse 2s infinite;
}

.left-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.left-menu li {
  margin-bottom: 12px;
}

.left-menu a {
  color: #f1c40f;
  text-decoration: none;
  font-size: 15px;
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
}

.left-menu a:hover {
  background: rgba(241, 196, 15, 0.1);
  transform: translateX(5px);
}

@keyframes glowPulse {
  0% { text-shadow: 0 0 4px #f1c40f; }
  50% { text-shadow: 0 0 12px #f1c40f; }
  100% { text-shadow: 0 0 4px #f1c40f; }
}










/* Wyszukiwarka */

.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 30px 0;
	padding-left: 280px;
}











/* 🔍 Styl kontenera wyszukiwarki */
.search-container {
  position: relative;
  margin-bottom: 20px;
  font-family: 'Cinzel', serif;
  z-index: 10000;
}

/* 🔍 Pole wyszukiwania */
.search-box {
  width: 88%;
  padding: 10px 16px;
  font-size: 14px;
  font-family: 'Cinzel', serif;
  background-color: #111;
  color: #f1c40f;
  border: 2px solid #a7890e;
  border-radius: 10px;
  outline: none;
  box-shadow: inset 0 0 6px rgba(241, 196, 15, 0.2);
  transition: border-color 0.3s;
}

.search-box:focus {
  border-color: #f1c40f;
  box-shadow: 0 0 8px rgba(241, 196, 15, 0.3);
}

/* 🔽 Lista podpowiedzi */
.search-suggestions {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  border: 2px solid #a7890e;
  border-radius: 10px;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 0 12px rgba(241, 196, 15, 0.2);
  z-index: 9999;
  display: none;
}

/* Styl pojedynczego wyniku */
.search-suggestions a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-family: 'Cinzel', serif;
  border-bottom: 1px solid #2a2a2a;
  transition: background 0.2s;
}

.search-suggestions a:hover {
  background-color: rgba(168, 137, 14, 0.1);
  color: #f1c40f;
}

/* Estetyczny scrollbar */
.search-suggestions::-webkit-scrollbar {
  width: 6px;
}
.search-suggestions::-webkit-scrollbar-thumb {
  background-color: #a7890e;
  border-radius: 4px;
}
.search-suggestions::-webkit-scrollbar-track {
  background: transparent;
}

#search-results {
  position: absolute;
  z-index: 10001;
  background-color: #111;
  border: 1px solid #f1c40f;
  box-shadow: 0 0 10px #a7890e;
  border-radius: 0 0 10px 10px;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  top: 100%;
  left: 0;
  overflow-x: hidden;       /* ❌ brak poziomego przewijania */
  white-space: normal;      /* ✅ zawijaj tekst */
}


#search-results a {
  display: block;
  padding: 8px 12px;
  color: #fff;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  border-bottom: 1px solid #2b2b2b;
}

#search-results a:hover {
  background-color: rgba(168, 137, 14, 0.1);
  color: #f1c40f;
}

#search-results::-webkit-scrollbar {
  width: 6px;
}
#search-results::-webkit-scrollbar-thumb {
  background-color: #a7890e;
  border-radius: 4px;
}


.category-tab {
  background-color: rgba(30, 30, 30, 0.9);
  padding: 7px 12px;
  border: 1px solid #a7890e;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(241, 196, 15, 0.1);
  color: #f1c40f;
  font-family: 'Cinzel', serif;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 13px;
  display: block;
}





.category-tab:hover {
  background-color: rgba(50, 50, 50, 0.9);
}



.category-dropdown {
  position: relative;

  margin-bottom: 10px;
}



.dropdown-content {
  position: absolute;
  display: none;
  flex-direction: column;
z-index: 99999;
  top: 0;
  left: 100%;
  background: #1a1a1a;
  border: 1px solid #a7890e44;
  border-radius: 0 10px 10px 0;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  white-space: nowrap;
}



.category-dropdown {
  position: relative;
}

.category-dropdown:hover .dropdown-content {
  display: flex;
}


.dropdown-content a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-family: 'Cinzel', serif;
  border-bottom: 1px solid #2b2b2b;
}

.dropdown-content a:hover {
  background-color: rgba(168, 137, 14, 0.1);
  color: #f1c40f;
}

.category-dropdown:hover .dropdown-content {
  display: flex;
}







/* Newsy Lewa */
.content-wrapper {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 30px;
  padding: 20px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  box-sizing: border-box;
  max-width: 1300px;
}


/* LEWA KOLUMNA – SIDEBAR */
.sidebar {
  width: 340px;
  flex-shrink: 0;
  background: rgba(20, 20, 20, 0.85);
  border: 2px solid #a7890e;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(168, 137, 14, 0.2);
  padding: 20px;
  font-family: 'Cinzel', serif;
  box-sizing: border-box;
  height: 100%; 
}

.news-sidebar {
  width: 340px;
  flex-shrink: 0;
  background: rgba(20, 20, 20, 0.7);
  border: 2px solid #a7890e;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(168, 137, 14, 0.3);
  font-family: 'Cinzel', serif;
  box-sizing: border-box;

  height: 100%;           /* ⬅️ Ustawiona wysokość */
  overflow-y: auto;        /* ⬅️ Przewijanie jeśli za dużo treści */
  align-self: flex-start;  /* ⬅️ Najważniejsze: NIE rozciągaj się do całej wysokości kontenera */
}


.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

.news-list li {
  margin-bottom: 10px;
  border-left: 3px solid #a7890e;
  padding-left: 10px;
}

@keyframes glowPulse {
  0% {
    text-shadow: 0 0 5px #f1c40f, 0 0 10px #f1c40f44;
  }
  100% {
    text-shadow: 0 0 10px #f1c40f, 0 0 20px #f1c40f88;
  }
}
/* Prawa kolumna (główna zawartość) */
.effects-grid-container {
  flex: 1;
  min-width: 0;
}


.sidebar,
.news-sidebar,
.container {
  align-self: stretch;
}




/* Główny container */
.container {
  flex: 1 1 950px; /* 👈 ograniczenie szerokości */
  max-width: 930px;
  margin-left: -10px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #a7890e;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(241, 196, 15, 0.3);
  padding: 25px;
  font-family: 'Cinzel', serif;
  box-sizing: border-box;
  margin-bottom: 80px; /* ✅ odstęp od stopki */
  display: flex;
  flex-direction: column;
  height: auto; /* kluczowe */
  min-height: 0;
  max-height: 100%;
  min-height: unset;
}


/* GRID PRZEDMIOTÓW */
.effects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  width: 100%;
}

/* KAŻDY PRZEDMIOT */
.effect-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid #a7890e33;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-family: 'Cinzel', serif;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s;
  text-align: left;
}

.effect-item img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  filter: drop-shadow(0 0 1px #f1c40f);
  margin-bottom: 4px;
}

.effect-item:hover {
  background: rgba(241, 196, 15, 0.08);
  transform: scale(1.025);
  box-shadow: 0 0 5px #f1c40f66;
}






/* Paginacja */


.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 30px 0;
  font-family: 'Cinzel', serif;
}

.page-btn {
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.6);
  color: #f1c40f;
  border: 1px solid #a7890e;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 8px rgba(168, 137, 14, 0.2);
}

.page-btn:hover {
  background: rgba(168, 137, 14, 0.15);
  color: #fff;
  box-shadow: 0 0 12px rgba(168, 137, 14, 0.4);
}

.active-page {
  background: #a7890e;
  color: #000;
  font-weight: bold;
  border-color: #f1c40f;
  box-shadow: 0 0 12px #f1c40f;
}

.page-dots {
  color: #aaa;
  font-size: 16px;
  padding: 6px 10px;
}





/* PRZYCISKI */
.btn {
  background: linear-gradient(to right, #990000, #cc0000);
  border: 2px solid #f1c40f;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  font-family: 'Cinzel', serif;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background: #b30000;
  box-shadow: 0 0 10px #f1c40f;
}

.btn-return {
  display: inline-block;
  margin-top: 20px;
  float: right;
  background: linear-gradient(to right, #1f1f1f, #2d2d2d);
  color: #f1c40f;
  border: 2px solid #a7890e;
  border-radius: 8px;
  padding: 10px 20px;
  text-decoration: none;
  font-family: 'Cinzel Decorative', serif;
  font-size: 15px;
  box-shadow: 0 0 10px rgba(241, 196, 15, 0.2);
  transition: all 0.3s ease;
}

.btn-return:hover {
  background: #2d2d2d;
  color: #fff;
  box-shadow: 0 0 15px #f1c40f;
}







/* Panel logowania */
.login-panel {
  max-width: 500px;
  margin: 80px auto;
  padding: 30px 40px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #a7890e;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(241, 196, 15, 0.3), inset 0 0 8px rgba(168, 137, 14, 0.2);
  font-family: 'Cinzel', serif;
  color: #f1c40f;
  text-align: center;
}

.login-panel h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #f1c40f;
  animation: glowPulse 2.5s infinite;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-form label {
  font-size: 16px;
  text-align: left;
  color: #f1c40f;
}

.login-form input {
  padding: 10px 14px;
  border: 2px solid #a7890e;
  border-radius: 8px;
  background-color: #1a1a1a;
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 14px;
}

.login-form input:focus {
  outline: none;
  border-color: #f1c40f;
  box-shadow: 0 0 8px #f1c40f88;
}

.btn {
  background: linear-gradient(to right, #660000, #990000);
  color: #f1c40f;
  font-family: 'Cinzel', serif;
  border: 2px solid #a7890e;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: linear-gradient(to right, #990000, #cc0000);
  box-shadow: 0 0 12px #f1c40f88;
}

/* Błąd logowania */
.login-error {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid #ff4d4d;
  color: #ff4d4d;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
}

/* Przycisk powrotu */
.btn-return {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  color: #f1c40f;
  background-color: #111;
  border: 2px solid #a7890e;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  transition: 0.3s;
}

.btn-return:hover {
  background-color: #1a1a1a;
  box-shadow: 0 0 10px #f1c40f88;
}

/* Animacja poświaty */
@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 8px #f1c40f, 0 0 16px #a7890e;
  }
  50% {
    text-shadow: 0 0 4px #f1c40f, 0 0 8px #a7890e;
  }
}







.footer {
  padding: 20px 40px;
  font-size: 14px;
  color: #aaa;
  background: rgba(0, 0, 0, 0.7);
  border-top: 2px solid #a7890e33;
  box-shadow: inset 0 8px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}


.footer .footer-text {
  text-align: right;
  margin-right: 28%;
}


@media screen and (max-width: 768px) {
  .main-content {
    padding-left: 0;
    flex-direction: column;
    align-items: center;
  }

  .left-menu {
    display: block !important;
    min-height: 100%; /* ⬅️ Możesz zwiększyć np. do 400px */
    padding: 20px;
    font-size: 16px;
     overflow: visible !important; /* ⬅️ Jeśli treść się nie mieści */
    background-color: rgba(0, 0, 0, 0.85) !important;
    border: 2px solid #a7890e !important;
    border-radius: 10px !important;
    box-shadow: 0 0 12px #a7890e99 !important;
  z-index: 0;
    position: relative !important;
    margin-top: 15px !important;
}
  .left-menu h3 {
    font-size: 18px !important;
    color: #f1c40f !important;
    margin-bottom: 10px !important;
  }

  .left-menu a {
    display: block !important;
    padding: 8px 12px !important;
    font-size: 16px !important;
    color: #f1c40f !important;
    text-decoration: none !important;
    margin-bottom: 6px !important;
    background-color: #1a1a1a !important;
    border: 1px solid #a7890e !important;
    border-radius: 6px !important;
  }

  .left-menu a:hover {
    background-color: #2a2a2a !important;
    text-shadow: 0 0 6px #f1c40f !important;
  }

  .left-menu {
    font-size: 16px;
    padding: 20px;
  }

  .left-menu a {
    font-size: 16px;
    padding: 10px;
  }

  .left-menu h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }


  .header-inner {
    margin-left: 0;
    padding: 10px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .nav-links a {
    margin: 5px 10px 0 0;
    font-size: 14px;
  }

  .content-wrapper {
    flex-direction: column;
    padding: 15px;
  }

  .sidebar,
  .news-sidebar,
  .container {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .effects-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .grid-item,
  .related-item {
    width: 100px;
  }

  .related-item img {
    width: 40px;
    height: 40px;
  }

  .search-box {
    width: 100%;
  }

  #search-results {
    left: 0;
    width: 90%;
  }

  .btn-return {
    float: none;
    display: block;
    text-align: center;
    margin: 20px auto 0 auto;
  }

  .footer .footer-text {
    margin-right: 0;
    text-align: center;
  }

  .left-menu {
    display: block !important;
    width: 100% !important;
    padding: 15px !important;
    margin: 0 auto 20px auto;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #a7890e;
    border-radius: 10px;
    font-size: 16px !important;
    box-shadow: 0 0 10px rgba(168, 137, 14, 0.4);
    overflow-x: auto;
  }

  .left-menu h3 {
    font-size: 18px !important;
    color: #f1c40f;
    margin-bottom: 10px;
  }

  .left-menu button,
  .left-menu a {
    display: block;
    width: 100%;
    font-size: 16px !important;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #111;
    border: 1px solid #a7890e;
    color: #f1c40f;
    font-family: 'Cinzel', serif;
    text-align: left;
    border-radius: 6px;
    text-decoration: none;
  }

  .left-menu button:hover,
  .left-menu a:hover {
    background: #222;
    box-shadow: 0 0 6px #f1c40f66;
  }
  .sidebar, .news-sidebar, .left-menu {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto 20px auto;
    padding: 15px;
    box-sizing: border-box;
    font-size: 16px;
  }

  .left-menu h3 {
    font-size: 18px !important;
    margin-bottom: 10px;
    color: #f1c40f;
  }

  .left-menu a, .left-menu button {
    display: block;
    width: 100%;
    font-size: 16px !important;
    margin-bottom: 10px;
    padding: 10px 14px;
    border: 1px solid #a7890e;
    border-radius: 6px;
    background: #111;
    color: #f1c40f;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    text-align: left;
  }

  .left-menu a:hover, .left-menu button:hover {
    background: #222;
    box-shadow: 0 0 8px #a7890e77;
  }

  .container {
    flex-direction: column;
    padding: 15px;
  }

  .effects-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }


  select,
  .category-bar select,
  .category-bar select option {
    font-size: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #a7890e !important;
    border-radius: 10px !important;
    background-color: #1a1a1a !important;
    color: #f1c40f !important;
    box-shadow: 0 0 8px #a7890e99 !important;
    appearance: none !important;
  }

  .category-bar {
    padding: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .category-bar select:focus {
    outline: none !important;
    box-shadow: 0 0 12px #f1c40f !important;
  }

  .category-bar option {
    font-size: 16px !important;
    background-color: #111 !important;
    color: #fff !important;
  }
  .glowPulse {
    display: inline-block;
    width: 90%; /* 🔧 Szeroki, ale nie na 100% */
    font-size: 16px; /* 🔧 Większa czcionka */
    box-sizing: border-box;
    padding: 12px 15px;
    margin: 10px auto;
  }
}

.hide-button {
  background: transparent;
  border: none;
  color: #f55;
  font-size: 16px;
  float: right;
  cursor: pointer;
  font-weight: bold;
  text-shadow: 0 0 6px #a7890e;
}
.hide-button:hover {
  color: #fff;
}

.styled-select {
  width: 210px;
  padding: 6px 10px;
  background: linear-gradient(to right, #1a1a1a, #0d0d0d);
  border: 2px solid #a7890e;
  border-radius: 6px;
  color: #f1c40f;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  box-shadow: 0 0 10px #a7890e55;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Strzałka */
.select-label {
  display: block;
  margin-bottom: 6px;
  color: #f1c40f;
  font-family: 'Cinzel', serif;
  font-size: 14px;
}

.select-wrapper {
  position: relative;
  width: 210px;
}

.styled-select {
  width: 100%;
  padding: 6px 36px 6px 10px;
  background: linear-gradient(to right, #1a1a1a, #0d0d0d);
  border: 2px solid #a7890e;
  border-radius: 6px;
  color: #f1c40f;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  box-shadow: 0 0 10px #a7890e55;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Złota strzałka po prawej */
.select-wrapper::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 10px;
  pointer-events: none;
  transform: translateY(-50%);
  color: #f1c40f;
  font-size: 12px;
  font-family: Arial, sans-serif;
}

/* Styl opcji w rozwinięciu */
.styled-select option {
  background-color: #0d0d0d;
  color: #f1c40f;
  font-family: 'Cinzel', serif;
  font-size: 14px;
}

@media screen and (max-width: 480px) {
  .header-inner {
    padding: 8px 12px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    width: 100%;
  }

  .nav-links a {
    margin: 6px 0;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }

  .content-wrapper,
  .main-content,
  .container,
  .sidebar,
  .news-sidebar {
    padding: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin: 0 auto 15px;
  }

  .effects-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .grid-item,
  .related-item {
    width: 90px;
  }

  .grid-item img,
  .related-item img {
    width: 36px;
    height: 36px;
  }

  .search-box {
    width: 100% !important;
    padding: 10px !important;
    font-size: 14px !important;
  }

  .left-menu {
    padding: 12px !important;
    font-size: 15px !important;
  }

  .btn,
  .btn-return {
    font-size: 14px !important;
    padding: 8px 14px !important;
  }

  .login-panel {
    padding: 20px !important;
    margin: 60px auto !important;
  }

  .login-form input {
    font-size: 14px;
  }

  .footer {
    padding: 15px;
    font-size: 13px;
  }

  .footer .footer-text {
    margin: 0;
    text-align: center;
  }
}


.left-menu {
  width: 100%;
  max-width: 300px;
  padding: 10px;
  box-sizing: border-box;
}

.category-dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 999;
  background-color: #1a1a1a;
  border: 1px solid #a7890e;
  padding: 10px;
  min-width: 200px;
  flex-direction: column;
  gap: 6px;
  font-family: Cinzel;
  box-shadow: 4px 0 12px rgba(0,0,0,0.4);
  border-radius: 0 10px 10px 0;
}

@media (max-width: 768px) {
  .left-menu {
    width: 100%;
  }

  .dropdown-content {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    top: auto;
    box-shadow: none !important;
    border-radius: 10px !important;
  }

  .category-dropdown:hover .dropdown-content {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .sidebar,
  .news-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px;
    margin: 0 auto;
    border-radius: 10px;
    height: auto;
  }
}


@media (max-width: 768px) {


  .search-box {
    width: 100% !important;
    font-size: 14px;
  }

  .search-suggestions {
    background: #222;
    border: 1px solid #a7890e;
    border-radius: 8px;
    padding: 8px;
    margin-top: 4px;
  }

  .search-suggestions a {
    display: block;
    padding: 6px;
    font-size: 14px;
    color: #f1c40f;
  }
}



.highlighted-boss {
  box-shadow: 0 0 18px #f1c40f;
  border: 2px solid #f1c40f;
  animation: pulseHighlight 1.5s infinite;
}

@keyframes pulseHighlight {
  0% { box-shadow: 0 0 10px #f1c40f; }
  50% { box-shadow: 0 0 20px #f1c40f; }
  100% { box-shadow: 0 0 10px #f1c40f; }
}

.left-menu.open-up .dropdown-content {
  top: auto !important;
  bottom: 100%;
}


@media (max-width: 768px) {
  .left-menu {
    position: relative !important;  /* nie fixed, żeby nie zasłaniało */
    top: 0;
    width: 100% !important;
    max-height: 100%;              /* 🚀 max 65% wysokości ekranu */
    overflow-y: auto;              /* scroll w środku */
    overflow-x: hidden;
    margin: 0 auto 15px auto;      /* odstęp od dołu */
    padding: 15px;
    background: rgba(0,0,0,0.9) !important;
    border: 2px solid #a7890e;
    border-radius: 10px;
    box-shadow: 0 0 12px #a7890e99;
    z-index: 1000;
  }

  /* żeby nie rozwalało dropdownem */
  .category-dropdown .dropdown-content {
    position: relative !important;
    max-height: 200px;
    overflow-y: auto;
  }
}

