body {
  margin: 0;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  background-color: #121212;
  color: #f1f1f1;
}

.wrapper {
  margin: 0 auto;
  max-width: 60%;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #1f1f1f;
  border-radius: 20px;
  border: none;
  position: relative;
  z-index: 10;
}

img.pfp {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
}
.copy-btn {
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.logo img {
  height: 72px;
  margin-right: 2rem;
}

nav {
  display: flex;
  gap: 4rem;
}

nav a {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  color: #e0f0ff;
  transition: color 0.2s ease-in-out;
}

nav a:hover,
nav a.active {
  color: #ffaa2b;
}

.wallet {
  background: #ffaa2b;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: #1f1f1f;
  font-weight: bold;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #ffaa2b;
  margin-left: auto;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: #121212;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  transition: left 0.3s ease-in-out;
}

.mobile-nav.open {
  left: 0;
  display: block;
}

.mobile-nav a {
  font-size: 1.5rem;
  color: #ffaa2b;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
}

.mobile-nav .wallet {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.mobile-nav .close-btn {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 2rem;
  cursor: pointer;
  color: #f1f1f1;
}

.section {
  padding: 2rem 0;
}

.STEADY-banner {
  background-color: #ffaa2b;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  color: #1f1f1f;
}

.STEADY-banner h2 {
  margin: 0 0 0.5rem 0;
}

.STEADY-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e1e1e;
  border-radius: 20px;
  padding: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.STEADY-input div {
  flex: 1;
  min-width: 200px;
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.burn-button {
  background-color: #ffaa2b;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #1f1f1f;
}

.leaderboard {
  margin-top: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1f1f1f;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #333;
}

th {
  background-color: #2a2a2a;
}

.badge {
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

footer {
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.footer-banner {
  background-color: #ffaa2b;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 0rem;
  color: #1f1f1f;
}

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

/* Zabezpeč, že .dataTables_wrapper sa nebude správať zle */
.dataTables_wrapper {
  overflow: visible !important;
}

/* Scroll iba na tabuľku */
.table-scroll-only {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Layout pre entries + search v 1 riadku */
.dataTables_wrapper .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Vnútro "Show entries" */
.dataTables_length label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f1f1f1;
}

/* Vnútro "Search" */
.dataTables_filter label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f1f1f1;
}

/* Vzhľad inputu Search */
.dataTables_filter input {
  background-color: #1f1f1f;
  color: #f1f1f1;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
}

/* Vzhľad select boxu */
.dataTables_length select {
  background-color: #1f1f1f;
  color: #f1f1f1;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
}

/* Mobilné zobrazenie – zalomiť pod seba */
@media (max-width: 600px) {
  .dataTables_wrapper .top {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .wrapper {
    max-width: 95%;
    padding: 0 1rem;
  }

  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .wallet {
    display: none;
  }

  .STEADY-input {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .button-group {
    flex-direction: column;
    width: 100%;
  }

  .burn-button {
    width: 100%;
    margin: 0;
  }

  .STEADY-banner {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .footer-banner {
    padding: 1rem 0rem 1rem 1rem;
    font-size: 0.95rem;
  }

  table {
    font-size: 0.85rem;
    word-break: break-word;
  }

  th,
  td {
    padding: 0.6rem;
  }

  footer {
    padding-bottom: 1rem;
  }
}
