@font-face {
    font-family: 'ARCO';
    src: url('assets/font/ARCO.ttf') format('truetype');
}

html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #0a0a0a;
    font-family: 'ARCO', sans-serif;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #000;
    padding: 10px 30px;
    border-bottom: 2px solid #65d6a9;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navbar-left img {
    height: 40px;
}

.navbar-menu {
    display: flex;
    gap: 30px;
}

.navbar-menu a {
    color: #65d6a9;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.navbar-menu a:hover {
    color: #fff;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    color: #fff;
}

.container2 {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    color: #fff;
}

.card {
    background: #111;
    border: 2px solid #65d6a9;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.card h1,
.card h2 {
    margin-bottom: 20px;
    color: #65d6a9;
}

.highlight {
    color: #fff;
    text-shadow: 0 0 5px #65d6a9;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group input,
.card input[type="text"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #65d6a9;
    border-radius: 8px;
    background: #1b211d;
    color: #fff;
}

.checkbox {
    display: block;
    text-align: left;
    margin: 15px 0;
    font-size: 14px;
}

.checkbox input {
    margin-right: 8px;
}

.btn-submit {
    margin-top: 20px;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    background: #65d6a9;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.btn-submit:hover {
    background: #0c2;
    color: #fff;
}

.note {
    margin-top: 10px;
    font-size: 12px;
    color: #aaa;
}

.ref-box {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.ref-box input {
    flex: 1;
    padding: 12px;
    border: 1px solid #65d6a9;
    border-radius: 8px;
    background: #0a0a0a;
    color: #fff;
}

.btn-copy {
    background: #65d6a9;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 0 15px;
    cursor: pointer;
}

form>input[type="text"]:last-of-type {
    width: 100%;
    max-width: 100%;
    margin-top: 15px;
    box-sizing: border-box;
}

.btn-copy:hover {
    background: #0c2;
    color: #fff;
}

.faq .faq-item {
    text-align: left;
    margin-bottom: 20px;
}

.faq .faq-item h3 {
    color: #65d6a9;
    margin-bottom: 8px;
}

.faq ul {
    margin-left: 20px;
    text-align: left;
}

.btn {
    padding: 8px 20px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    font-family: 'ARCO', sans-serif;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-logout {
    background: #111;
    color: #f44;
    border: 1px solid #f44;
}

.btn-login {
    background: #65d6a9;
    color: #000;
    border: 1px solid #000;
}

.btn-login:hover {
    background: #fff;
    color: #000;
}

.btn-logout:hover {
    background: #f44;
    color: #fff;
}

.btn-profile {
    background: #65d6a9;
    color: #000;
    border: 1px solid #65d6a9;
    font-weight: bold;
}

.btn-profile:hover {
    background: #0c2;
    color: #fff;
}

.title {
    text-align: center;
    margin-bottom: 30px;
}

.title .subtitle {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    color: #65d6a9;
    margin-bottom: 5px;
}

.title .main {
    font-size: 42px;
    color: #65d6a9;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.title .main img {
    height: 50px;
    width: auto;
}

.step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1b211d;
    border: 1px solid #65d6a9;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.step-info {
    text-align: left;
}

.step-info h3 {
    margin: 0 0 10px;
    color: #65d6a9;
    font-size: 16px;
}

.step-btns {
    display: flex;
    gap: 10px;
}

.btn-link {
    background: #111;
    border: 1px solid #65d6a9;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.btn-link:hover {
    background: #65d6a9;
    color: #000;
}

.custom-checkbox input {
    display: none;
}

.custom-checkbox span {
    width: 22px;
    height: 22px;
    display: inline-block;
    border: 2px solid #65d6a9;
    border-radius: 4px;
    background: #0a0a0a;
    cursor: pointer;
    transition: 0.3s;
}

.custom-checkbox input:checked+span {
    background: #65d6a9;
}

.table-container {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
    max-height: 60vh;
    overflow-y: auto;
    box-shadow: 0 0 15px rgba(0,255,150,0.1);
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.table-responsive table {
    width: 100%;
    /* Menggunakan min-width agar kolom tidak menyusut terlalu kecil */
    min-width: 1200px; /* Sesuaikan nilai ini berdasarkan jumlah dan lebar kolom */
    border-collapse: collapse;
    color: #fff;
    font-size: 14px;
    table-layout: fixed; /* Membantu kontrol lebar kolom */
}

/* Pastikan thead (header) tetap di atas saat di-scroll vertikal */
.table-responsive thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-responsive th {
    background: #111;
    color: #65d6a9;
    font-weight: bold;
    text-align: left;
    padding: 14px;
    border-bottom: 2px solid #222;
    white-space: nowrap;
}

.table-responsive th:nth-child(1) { width: 8%; }
.table-responsive th:nth-child(2) { width: 10%; }
.table-responsive th:nth-child(3) { width: 12%; }
.table-responsive th:nth-child(4) { width: 7%; } 
.table-responsive th:nth-child(5) { width: 10%; }
.table-responsive th:nth-child(6) { width: 10%; }
.table-responsive th:nth-child(7) { width: 8%; } 
.table-responsive th:nth-child(8) { width: 8%; } 
.table-responsive th:nth-child(9) { width: 7%; } 
.table-responsive th:nth-child(10) { width: 7%; }
.table-responsive th:nth-child(11) { width: 7%; }
.table-responsive th:nth-child(12) { width: 6%; }
.table-responsive th:nth-child(13) { width: 10%; }


.table-responsive td {
    padding: 14px;
    border-bottom: 1px solid #222;
    overflow: hidden;
    text-overflow: ellipsis;
}



.leaderboard-table {
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,255,150,0.1);
}

.leaderboard-table table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
  font-size: 14px;
  table-layout: auto;
}

.leaderboard-table th {
  background: #111;
  color: #65d6a9;
  font-weight: bold;
  text-align: left;
  padding: 14px;
  border-bottom: 2px solid #222;
}

.leaderboard-table td {
  padding: 14px;
  border-bottom: 1px solid #222;
}

.leaderboard-table tr:hover {
  background: rgba(101, 214, 169, 0.05);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: bold;
  color: #fff;
}
.rank-badge.gold {
  background: linear-gradient(145deg, #FFD700, #e6c200);
}
.rank-badge.silver {
  background: linear-gradient(145deg, #C0C0C0, #a6a6a6);
}
.rank-badge.bronze {
  background: linear-gradient(145deg, #cd7f32, #a8642a);
}

.user-info {
  display: flex;
  flex-direction: row;
  gap: 5px;
}
.wallet-addr {
  font-size: 12px;
  color: #888;
}

.score,
.volume-in,
.balance {
  color: #65d6a9;
  font-weight: bold;
}
.volume-out {
  color: #f44;
  font-weight: bold;
}

.reserve-badge {
  background: rgba(101,214,169,0.1);
  border: 1px solid #65d6a9;
  color: #65d6a9;
  font-size: 13px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}
.page-btn {
  background: #111;
  border: 1px solid #65d6a9;
  color: #65d6a9;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.page-btn.active {
  background: #65d6a9;
  color: #000;
}
.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.page-btn:hover:not(:disabled):not(.active) {
  background: #65d6a9;
  color: #000;
}

.entries-info {
  text-align: center;
  color: #666;
  font-size: 12px;
}

.back-home {
  position: fixed;
  top: 15px;
  left: 20px;
  background: #65d6a9;
  color: #000;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  z-index: 9999;
}
.back-home:hover {
  background: #0c2;
  color: #fff;
}
