body {
  margin: 0;
  padding: 2rem;
  background-color: #ff8c42;
  color: #fffdf5;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

h1 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.2rem;
  color: #fff;
}

/* Guziki */
.buttons-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.buttons-container button {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  margin: 0 0.3rem;
  border-radius: 0.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.buttons-container button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.buttons-container button.active {
  background: #ffd166;
  color: #402a00;
}

/* Tabela */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

thead {
  background-color: rgba(255, 255, 255, 0.2);
}

th, td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

th {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.08);
}

tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}

/* Stopka */
footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile */
@media (max-width: 700px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead tr {
    display: none;
  }

  tbody tr {
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1rem;
  }

  td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 1rem;
    font-weight: bold;
    text-transform: uppercase;
  }
}
