body {
  margin: 0;
  font-family: 'Marcellus SC', serif;
  background: #1a1a1a;
  color: #fff;
}
.top_menu nav a.active {
  border-bottom: 2px solid gold;
}

.sidebar li.active a {
  font-weight: bold;
  color: #ffd700;
}

header {
  background: #111;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

header nav a {
  color: #ffd700;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 1.1rem;
}

header nav a:hover {
  text-decoration: underline;
}

.sidebar {
  position: fixed;
  top: 80px;
  left: 0;
  width: 220px;
  background: #222;
  padding: 1rem;
  height: calc(100% - 80px);
  overflow-y: auto;
  border-right: 2px solid #333;
}

.sidebar h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 0.5rem;
}

.sidebar a {
  color: #ccc;
  text-decoration: none;
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.sidebar a:hover,
.sidebar a.active {
  background: #444;
  color: #fff;
}

main.content {
  margin-left: 240px;
  padding: 2rem;
}

img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .sidebar {
	display: none;
  }

  main.content {
	margin-left: 0;
  }

  header {
	flex-direction: column;
	align-items: flex-start;
  }

  header nav {
	margin-top: 1rem;
  }
}
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 1rem;
}
table.wiki-table {
  width: 100%;
  border-collapse: collapse;
  background: #222;
  color: #eee;
}
table.wiki-table th, table.wiki-table td {
  border: 1px solid #555;
  padding: 6px;
  text-align: center;
}
table.wiki-table th {
  background: #333;
  font-weight: bold;
}
.weapon-upgrade {
  margin: 15px 0;
  padding: 8px 12px;
  background: #1e1e1e;
  border-left: 4px solid #00ffff;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.weapon-upgrade .icon {
  height: 24px;
  vertical-align: middle;
}

.weapon-upgrade .item-count,
.weapon-upgrade .yang-cost {
  color: #ffcc00;
}
.back_butt{
    margin: 20px auto;
    width: 80%;
    text-align: center;
}

.three-column-list h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    color: #eeecec; /* tmavě šedá barva */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* jemný stín */
    margin-bottom: 5px; /* mezera pod nadpisem */
    text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* Specifické úpravy pro různé úrovně nadpisů */
.three-column-list h1 {
    font-size: 2em;
    padding-bottom: 10px;
}

.three-column-list h2 {
    font-size: 1.5em;
    padding-bottom: 8px;
}

.three-column-list h3 {
    font-size: 1em;
}

.three-column-list h4 {
    font-size: 1.5em;
}

.three-column-list h5 {
    font-size: 1.25em;
}

.three-column-list h6 {
    font-size: 1em;
}
.okay-wrapper {
  background: #2e2e2e;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  max-width: 1000px;
  margin: 0 auto;
}

.okay-back {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 5px;
  margin-bottom: 20px;
  cursor: pointer;
}

.okay-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  margin-bottom: 20px;
}

.okay-cell {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  border: 1px solid black;
}

.okay-cell.yellow { background-color: yellow; }
.okay-cell.red    { background-color: red; color: white; }
.okay-cell.cyan   { background-color: cyan; }

.okay-reset {
  background-color: #eee;
  color: #111;
  border: none;
  padding: 10px 30px;
  font-size: 16px;
  border-radius: 3px;
  cursor: pointer;
}
.okay-cell.selected {
  background-color: #00cc00 !important; /* zelená */
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 10px #00cc00, inset 0 0 5px #000;
  transform: scale(1.05);
  z-index: 1;
  position: relative;
  border: 2px solid #fff;
}

.language-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0.5rem 1rem;
  margin-bottom: 10px;
  font-size: 16px;
  color: #ccc;
}

.language-switcher a {
  color: #ccc;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
}

.language-switcher a:hover {
  background-color: #2a2a2a;
  border-color: #ffd700;
  color: #ffd700;
}

.language-switcher a.active {
  background-color: #333;
  border: 1px solid #ffd700;
  color: #ffd700;
  font-weight: bold;
}

.language-switcher span {
  color: #666;
}
.homepage {
  padding: 2rem;
  background: #1a1a1a;
  color: #f0f0f0;
}

.wiki-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.highlight {
  color: #ffb400;
}

.intro-text {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.section-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.section {
  background: #2b2b2b;
  border-radius: 12px;
  padding: 1.5rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffb400;
}

.link-list {
  list-style: none;
  padding: 0;
}

.link-list li {
  margin-bottom: 0.5rem;
}

.link-list a {
  color: #9bdcff;
  text-decoration: none;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  background-color: #1f1f1f;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: background 0.3s;
}

.link-list a:hover {
  background-color: #333;
}

.link-list span {
  color: #aaa;
  font-size: 0.9rem;
}

.update-info, .news-info {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.category-grid {
  margin-top: 3rem;
  padding: 2rem 1rem;
  background-color: #2c2c2c;
  border-radius: 12px;
  text-align: center;
}

.category-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #ffb400;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.category-buttons a {
  background-color: #3a3a3a;
  color: #f0f0f0;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.category-buttons a:hover {
  background-color: #555;
  transform: translateY(-2px);
}

/* Výchozí stav – zobrazit jen na desktopu */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block !important;
}

/* Pokud je šířka menší nebo rovna 768px – mobilní zařízení */
/* Výchozí stav – zobrazit jen na desktopu */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block !important;
}

/* Pokud je šířka menší nebo rovna 768px – mobilní zařízení */
@media screen and (max-width: 768px) {
  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }
}
.language-switcher.mobile-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .language-switcher.mobile-only {
    display: flex;
    justify-content: center;
  }
}
.language-switcher.desktop-only {
  display: flex;
  justify-content: center; /* centrování vodorovně */
  gap: 10px;
  align-items: center;
  margin-top: 10px; /* případně odsadit od menu */
  margin-left: 30px; /* případně odsadit od menu */
}
.language-switcher a {
  display: inline-block;
}
@media screen and (max-width: 768px) {
  .mobile-only {
    display: block;
  }
  .desktop-only {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .mobile-only {
    display: none;
  }
  .desktop-only {
    display: block;
  }
}


