/* === OGÓLNY WYGLĄD STRONY === */
body {
  background: #0b0f14;
  color: #e0d6b3;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 20px;
}

h1 {
  text-align: center;
  color: #00ffae;
  text-shadow: 0 0 10px #00ffae55;
  margin-bottom: 25px;
}

/* === SEKCJA OPISU === */
.opis {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #222;
  border-radius: 10px;
  padding: 25px;
  margin: 0 auto 35px;
  max-width: 950px;
  line-height: 1.7;
  box-shadow: 0 0 10px rgba(0,255,174,0.1);
}

.opis h2, .opis h3 {
  color: #00ffae;
  margin-top: 15px;
  text-shadow: 0 0 8px #00ffae33;
}

.opis code {
  background: rgba(0,255,174,0.1);
  padding: 3px 6px;
  border-radius: 4px;
  color: #00ffae;
  font-size: 14px;
}

/* === LISTY I TEKST === */
ul {
  margin-left: 25px;
  padding: 0;
}

ul li {
  list-style: "◆ ";
  color: #e0d6b3;
  line-height: 1.6;
}

/* === FILTRY === */
.filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

select, button {
  background: #111;
  color: #00ffae;
  border: 1px solid #00ffae44;
  padding: 6px 10px;
  border-radius: 5px;
}

button {
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #00ffae;
  color: #000;
}

/* === SEKCJE KAMIENI === */
.gem-section {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 15px;
  margin: 25px auto;
  max-width: 1000px;
  box-shadow: 0 0 10px rgba(0,255,174,0.15);
}

.gem-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gem-header img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,255,174,0.4);
}

.gem-name {
  color: #00ffae;
  font-size: 22px;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #00ffae33;
}

/* === TABELA POZIOMÓW === */
.level-table {
  border-collapse: collapse;
  margin: 20px auto;
  width: 100%;
  max-width: 750px;
  text-align: center;
  font-size: 15px;
  background: rgba(10, 15, 20, 0.6);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,255,174,0.15);
}

.level-table th, .level-table td {
  border: 1px solid #333;
  padding: 6px 10px;
}

.level-table th {
  background: linear-gradient(180deg, #007a47, #004c2d);
  color: #00ffae;
  text-shadow: 0 0 6px #00ffae66;
}

.level-table td {
  background: rgba(20, 25, 30, 0.8);
}

.level-table td:first-child {
  color: #ffcc66;
  font-weight: bold;
}

/* === TABELA BONUSÓW === */
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-bottom: 35px;
  background: rgba(10, 15, 20, 0.8);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0,255,174,0.15);
}

.bonus-table th {
  background: linear-gradient(180deg, #006c3c, #003f24);
  color: #00ffae;
  font-weight: bold;
  padding: 10px;
  border: 1px solid #00ffae33;
  text-shadow: 0 0 6px #00ffae44;
}

.bonus-table td {
  padding: 10px 12px;
  border: 1px solid #333;
  color: #e0d6b3;
  vertical-align: top;
  line-height: 1.5em;
}

.bonus-table tr:nth-child(even) td {
  background: rgba(25, 30, 35, 0.7);
}

.bonus-table tr:hover td {
  background: rgba(0, 255, 160, 0.06);
  transition: background 0.2s;
}

.bonus-table td:first-child {
  font-weight: bold;
  color: #00ffae;
  text-shadow: 0 0 6px #00ffae33;
}

/* === POWRÓT === */
.back-btn {
  display: block;
  margin: 40px auto;
  width: fit-content;
  background: linear-gradient(180deg, #007a47, #004c2e);
  color: #00ffae;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #00ffae66;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.back-btn:hover {
  background: linear-gradient(180deg, #00b06b, #007a47);
  color: #fff;
  box-shadow: 0 0 10px #00ffae;
}

/* === LISTA BONUSÓW (np. w opisie losowych efektów) === */
.bonusy-list {
  margin-top: 20px;
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #222;
}

.bonusy-list h4 {
  color: #00ffae;
  margin-top: 15px;
  text-shadow: 0 0 6px #00ffae55;
}

.bonusy-list ul {
  margin: 5px 0 15px 20px;
  padding: 0;
}

.bonusy-list li {
  list-style: "◆ ";
  color: #e0d6b3;
  line-height: 1.5;
}

/* === DODATKOWE EFEKTY === */
table {
  transition: box-shadow 0.2s ease;
}

table:hover {
  box-shadow: 0 0 12px rgba(0,255,174,0.2);
}


/* === Stylowanie tabel bonusów === */

.gem-section {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid #1b1b1b;
  border-radius: 8px;
  padding: 15px 20px;
  margin: 25px auto;
  max-width: 900px;
  box-shadow: 0 0 10px rgba(0,255,174,0.15);
}

.gem-name {
  color: #00ffae;
  font-size: 26px;
  margin-bottom: 5px;
  text-shadow: 0 0 8px #00ffae55;
}

.tier-name {
  font-size: 20px;
  margin: 15px 0 10px 0;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: 0.2s;
  text-shadow: 0 0 8px currentColor;
}

.tier-content {
  padding-left: 10px;
  margin-bottom: 15px;
}

.quality-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 6px;
}

.quality-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0,255,174,0.5);
}

.quality-name {
  font-size: 15px;
  font-weight: bold;
  color: #ffd166;
  text-shadow: 0 0 5px #000;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  font-size: 14px;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

th, td {
  border: 1px solid #222;
  padding: 6px 10px;
}

th {
  background: rgba(0,255,174,0.08);
  color: #00ffae;
  font-weight: 600;
}

td {
  color: #e0d6b3;
}

tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

tr:hover td {
  background: rgba(0, 255, 174, 0.05);
}

th[colspan] {
  background: rgba(0, 204, 255, 0.08);
  color: #00ccff;
  font-weight: bold;
  text-align: center;
}

.losowy-blok {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid #222;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 10px 15px;
  box-shadow: 0 0 8px rgba(0,255,174,0.15);
}

.losowy-naglowek img {
  width: 26px;
  height: 26px;
  margin-right: 8px;
}

.losowy-nazwa {
  font-weight: bold;
  color: #00ffae;
  font-size: 16px;
  text-shadow: 0 0 8px #00ffae55;
}

.losowy-lista li {
  list-style: "◆ ";
  margin-left: 20px;
  color: #e0d6b3;
  line-height: 1.5;
}

.quality-name::before {
  content: "💎 ";
  color: #00ffae;
}
