body {
  font-family: "Roboto Mono", monospace;
  background: #0b0f19;
  color: #eaeaea;
  margin: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

/* Crypto-styled table */
table {
  width: 95%;
  max-width: 1000px;
  border-collapse: collapse;
  background: rgba(18, 24, 38, 0.85);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

table th,
table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
}

table th {
  background: #111827;
  color: #f3ba2f; /* Binance-style yellow */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #2d3748;
}

table td {
  color: #eaeaea;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Example of gain/loss highlight classes */
table td.gain {
  color: #4caf50; /* green for up */
  font-weight: 600;
}
table td.loss {
  color: #f44336; /* red for down */
  font-weight: 600;
}

table tr:nth-child(even) {
  background: rgba(31, 41, 55, 0.4);
}

table tr:hover td {
  background: rgba(45, 55, 72, 0.7);
  transition: background 0.3s ease;
}

table tr:last-child td {
  border-bottom: none;
}

/* Crypto exchange style pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.pagination a,
.pagination strong {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: #1e293b;
  color: #eaeaea;
  border: 1px solid #2d3748;
  transition: all 0.2s;
}

.pagination a:hover {
  background: #f3ba2f;
  color: #0b0f19;
  border-color: #f3ba2f;
  box-shadow: 0 0 10px rgba(243, 186, 47, 0.6);
}

.pagination strong {
  background: #f3ba2f;
  color: #0b0f19;
  border-color: #f3ba2f;
}
