@font-face {
  font-family: 'Minecraft';
  src: url('../fonts/MinecraftRegular.ttf') format('truetype');
}

@font-face {
  font-family: 'PressStart';
  src: url('../fonts/PressStart2P-Regular.ttf') format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Minecraft', sans-serif;
  background-color: #111;
  color: #fff;
}

mc-chat {
  background: linear-gradient(145deg, #4b3612, #36280b);
  border: 3px solid #d4b65a;
  box-shadow: 0 0 15px #d4b65a;
  font-family: 'PressStart2P-Regular', monospace;
  color: #f0e6c8;
  font-size: 14px;
}

.nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 30px;
  background-color: #1b1b1b;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-family: 'PressStart', sans-serif;
}

.logo {
  height: 140px;
  width: 100%;
}

.header {
  background: url('../images/banner.jpg') center/cover no-repeat;
  height: 600px;
  position: relative;
}

.hero {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
}

.hero h1 {
  font-family: 'PressStart', sans-serif;
  font-size: 28px;
  color: white;
  text-shadow: 2px 2px 4px #000;
}

.section-white {
  background-color: white;
  color: #111;
  padding: 40px 20px;
}

.section-dark {
  background-color: #111;
  padding: 40px 20px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px 0;
}

.section-title::before,
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #ccc;
  max-width: 200px;
}

.btn-banner {
  background-color: #4a3a20;
  border: 4px solid #7e5c3b;
  padding: 15px 25px;
  font-family: 'PressStart', sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 0 #f3e7c7;
  cursor: pointer;
  transition: transform 0.1s ease-in-out;
}

.btn-banner:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #ffe66d;
}

.rangi {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.ranga {
  text-align: center;
  background-color: #4a3a20;
  padding: 20px;
  border-radius: 10px;
}

.ranga h3 {
  margin-bottom: 10px;
  font-size: 14px;
  font-family: 'PressStart', sans-serif;
}

.ranga img {
  height: 400px;
  margin-bottom: 10px;
}

.kup-btn {
  background-color: #ffcc00;
  border: 2px solid #ffe66d;
  color: white;
  padding: 10px 15px;
  font-family: 'PressStart', sans-serif;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 3px 0 #ffe66d;
  transition: transform 0.1s ease-in-out;
}

.kup-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #ffe66d;
}

/* TABELKI - styl Minecraft w jasnych brÄ…zach, ciemniejsze tÅ‚o */
.minecraft-table {
  width: 90%;
  margin: 30px auto;
  border-collapse: collapse;
  background-color: #5c432c; /* ciemniejszy brÄ…z - kolor ksiÄ…Å¼ki Minecraft */
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(74, 41, 0, 0.7);
  font-family: 'Minecraft', monospace;
  color: #f3e7c7;
  user-select: none;
  overflow: hidden;
  border: 2px solid #3d2e1a;
}

.minecraft-table thead {
  background: linear-gradient(90deg, #a67c4e, #7e5c3b); /* jasny brÄ…z gradient */
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  box-shadow: inset 0 -3px 8px #4e3b1f88;
}

.minecraft-table thead th {
  padding: 20px 25px; /* wiÄ™ksza wysokoÅ›Ä‡ nagÅ‚Ã³wkÃ³w */
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 2px 2px 3px #00000088;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.minecraft-table thead th:last-child {
  border-right: none;
  border-top-right-radius: 10px;
}

.minecraft-table tbody tr {
  background-color: #4a3a20; /* ciemniejszy brÄ…z dla wierszy */
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border-bottom: 1px solid #3d2e1a;
  color: #f3e7c7;
}

.minecraft-table tbody tr:hover {
  background-color: #7e5c3b;
  box-shadow: inset 0 0 10px #a67c4eaa;
  transform: scale(1.02);
  color: #fff7d9;
}

.minecraft-table tbody td {
  padding: 12px 20px;
  text-align: center;
  border-right: 1px solid #3d2e1a;
  vertical-align: middle;
  font-weight: 600;
  font-size: 14px;
}

.minecraft-table tbody td:last-child {
  border-right: none;
}

.minecraft-table img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  border-radius: 6px;
  vertical-align: middle;
  margin-right: 10px;
  border: 2px solid #a67c4e;
  box-shadow: 0 0 8px #a67c4eaa;
}


/* ================================
   TABELA — WSPÓLNE DU¯E RANKINGI
================================== */

.rankings-big-table {
  width: 90%;
  margin: 30px auto;
  border-collapse: collapse;
  background-color: #5c432c;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(74, 41, 0, 0.7);
  font-family: 'Minecraft', monospace;
  color: #f3e7c7;
  overflow: hidden;
  border: 2px solid #3d2e1a;
}

/* ================================
   SEKCJE G£ÓWNE (BedWars, Survival...)
================================== */

.rankings-big-table .section-header td {
  background: linear-gradient(90deg, #a67c4e, #7e5c3b);
  color: #fff;
  font-family: 'PressStart', sans-serif;
  padding: 20px;
  font-size: 18px;
  border-bottom: 3px solid #3d2e1a;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ikony trybów */
.mode-icon {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  border-radius: 6px;
  border: 2px solid #a67c4e;
  box-shadow: 0 0 8px #a67c4eaa;
}

/* ================================
   POD-NAG£ÓWKI (kolumny)
================================== */

.rankings-big-table .subheader th {
  background-color: #6a4a2b;
  color: #ffe7b0;
  padding: 14px 20px;
  font-family: 'PressStart', monospace;
  font-size: 12px;
  border-bottom: 2px solid #3d2e1a;
  letter-spacing: 1px;
  text-shadow: 2px 2px 3px #00000088;
}

/* ================================
   WIERSZE DANYCH
================================== */

.rankings-big-table tbody tr {
  background-color: #4a3a20;
  transition: 0.25s ease;
  border-bottom: 1px solid #3d2e1a;
}

.rankings-big-table tbody tr:hover {
  background-color: #7e5c3b;
  box-shadow: inset 0 0 10px #a67c4eaa;
  transform: scale(1.02);
  color: #fff7d9;
}

.rankings-big-table td {
  padding: 12px 20px;
  border-right: 1px solid #3d2e1a;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.rankings-big-table td:last-child {
  border-right: none;
}

/* pusty thead (techniczne wymaganie) */
.rankings-big-table thead tr th {
  display: none;
}



