* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  height: 100vh;
  background: #0b0b11;
  color: white;
  overflow-x: hidden;
}

/* NAV */
.nav {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-weight: bold;
}

.menu-btn {

  background: #11141d;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  padding: .625rem;
}

/* MENU DROPDOWN */
.menu {
  position: absolute;
  top: 60px;
  right: 0;
  background: #141824;
  width: 200px;
  border-radius: 16px;
  padding: 10px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu a,
.menu button {
  display: block;
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  color: white;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
}

.menu a:hover,
.menu button:hover {
  background: #1f2433;
}

/* MAIN */
.content {
  padding-top: 150px;
  text-align: center;
  opacity: 0.6;
}

/* WALLET PANEL */
.wallet-panel {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  background: #141824;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.wallet-header {
  background: #1b2030;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.wallet-body {
  padding: 20px;
  text-align: center;
}

.wallet-btn {
  margin-top: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #9b7cff, #7f5cff);
  color: white;
  cursor: pointer;
}

/* CLOSED STATE */
.wallet-panel.closed .wallet-body {
  display: none;
}

.wallet-panel.closed .arrow {
  transform: rotate(180deg);
}

.arrow {
  transition: transform 0.3s ease;
}
/* ---------- MAIN LAYOUT ---------- */
.content {
  max-width: 1100px;
  margin: 120px auto 200px;
  padding: 0 20px;
}

.content h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 600;
}

/* ---------- TABS ---------- */
[role="tablist"] {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #1c1e2c;
  border: 2px solid #3c265f;
  backdrop-filter: blur(14px);
}

[role="tab"] {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.25s ease;
}

[role="tab"][aria-selected="true"] {
  background: rgba(255,255,255,0.12);
  color: white;
  box-shadow: 0 4px 16px rgba(8,11,34,0.4);
}

[role="tab"]:hover {
  color: white;
}

/* ---------- CARD ---------- */
.rounded-2xl {
  margin-top: 24px;
  background: rgba(20, 24, 36, 0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  overflow: hidden;
}

/* ---------- TABLE ---------- */
table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  background: rgba(20,24,36,0.75);
  backdrop-filter: blur(12px);
  padding: 10px 14px;
}

tbody tr {
  transition: background 0.25s ease;
}

tbody tr:hover {
  background: rgba(255,255,255,0.04);
}

td {
  padding: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Sticky columns */
th.sticky,
td.sticky {
  position: sticky;
  z-index: 5;
}

th.left-0,
td.left-0 {
  left: 0;
}

th.right-0,
td.right-0 {
  right: 0;
}

/* ---------- STATUS BADGE ---------- */
.bg-green-500\/20 {
  background: rgba(34,197,94,0.15);
}

.text-green-400 {
  color: #4ade80;
}

/* ---------- PROGRESS BAR ---------- */
[role="progressbar"] {
  height: 6px;
  border-radius: 999px;
  background: rgba(127,90,240,0.15);
  overflow: hidden;
}

[role="progressbar"] > div {
  height: 100%;
  background: linear-gradient(
    90deg,
    #7f5af0,
    #9b7cff
  );
  border-radius: 999px;
  transition: transform 0.4s ease;
}

/* ---------- MIGRATE BUTTON ---------- */
button {
  font-family: inherit;
}

button:focus {
  outline: none;
}

.bg-purple-900\/35 {
  background: rgba(127,90,240,0.25);
}

.border-purple-500\/35 {
  border: 1px solid rgba(127,90,240,0.4);
}

button.rounded-full {
  border-radius: 999px;
}

button:hover {
  filter: brightness(1.15);
}

/* ---------- DETAILS LINK ---------- */
button span {
  pointer-events: none;
}

button.hidden.md\:flex {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
}

button.hidden.md\:flex:hover {
  color: rgba(255,255,255,0.8);
}

/* ---------- SCROLLBAR ---------- */
.max-h-\[calc\(100vh-340px\)\] {
  max-height: calc(100vh - 340px);
  overflow-y: auto;
}

.max-h-\[calc\(100vh-340px\)\]::-webkit-scrollbar {
  width: 6px;
}

.max-h-\[calc\(100vh-340px\)\]::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
}

/* ---------- FADE AT BOTTOM ---------- */
.bg-gradient-to-t {
  pointer-events: none;
}
/* ========================= */
/* ===== RESPONSIVE ======= */
/* ========================= */

/* ---------- TABLE SCROLL ---------- */
@media (max-width: 1024px) {
  .rounded-2xl {
    overflow-x: auto;
  }

  table {
    min-width: 900px;
  }
}

/* ---------- TABLET ---------- */
@media (max-width: 768px) {

  /* Page spacing */
  .content {
    margin: 100px 12px 180px;
    padding: 0;
  }

  /* Tabs scroll */
  [role="tablist"] {
    overflow-x: auto;
    white-space: nowrap;
  }

  [role="tablist"]::-webkit-scrollbar {
    display: none;
  }

  /* Nav menu fix */
  .menu {
    right: 0;
    width: 100%;
    max-width: 260px;
  }

  /* Wallet panel */
  .wallet-panel {
    width: calc(100% - 24px);
    bottom: 12px;
  }

  /* Buttons */
  button.rounded-full {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {

  /* Header text */
  .content h1 {
    font-size: 22px;
  }

  /* Hide less important columns */
  th:nth-child(4),
  td:nth-child(4),
  th:nth-child(5),
  td:nth-child(5) {
    display: none;
  }

  /* Remove sticky columns */
  th.sticky,
  td.sticky {
    position: static;
  }

  /* Table spacing */
  td {
    padding: 10px 8px;
    font-size: 13px;
  }

  /* Progress bar */
  [role="progressbar"] {
    height: 5px;
  }

  /* Wallet text */
  .wallet-body p {
    font-size: 14px;
  }
}

/* ---------- SMALL PHONES ---------- */
@media (max-width: 420px) {

  /* Logo + menu */
  .logo {
    font-size: 14px;
  }

  .menu-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* Tabs buttons */
  [role="tab"] {
    font-size: 13px;
    padding: 6px 10px;
  }
}
