/* :root {
  --panel: rgba(20,20,30,0.7);
  --panel-glass: rgba(20,20,30,0.5);
  --border: rgba(255,255,255,0.12);
  --text: #fff;
  --muted: #bbb;
  --blue: #3da1f0;
  --blue-glow: 0 0 10px rgba(61,161,240,0.7);
  --radius: 16px;
}

body {
  margin:0;
  font-family:'Inter',sans-serif;
  background:#111;
  color:var(--text);
} */

/* Main container */
.servers,
.appz {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 24px;
}

/* Header */
.header,
.headerz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.title,
.titlez {
  font-weight: 800;
  letter-spacing: 0.04em;
}
.title {
  font-size: 26px;
}
.titlez {
  font-size: 32px;
  text-align: center;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tab {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--panel-glass);
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.25s;
}
.tab.active {
  background: var(--blue);
  box-shadow: var(--blue-glow);
}
.tab:hover {
  background: rgba(61, 161, 240, 0.18);
}

/* Controls */
.controls {
  display: grid;
  grid-template-columns: 160px 1fr 180px;
  gap: 16px;
  margin-bottom: 20px;
}
.select,
.search {
  position: relative;
}
.select button,
.search input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--panel-glass);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.select ul {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  list-style: none;
  padding: 6px;
  display: none;
  z-index: 10;
}
.select.open ul {
  display: block;
}
.select li {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}
.select li:hover {
  background: rgba(61, 161, 240, 0.15);
}
.search input {
  border: none;
  outline: none;
  color: var(--text);
}

/* Table */
.table-wrap {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--panel-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
thead {
  background: rgba(0, 0, 0, 0.35);
}
th,
td {
  padding: 14px 16px;
  text-align: left;
  font-weight: 800;
  white-space: nowrap;
}
th {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
tbody tr {
  border-top: 1px solid var(--border);
  transition: 0.2s;
}
tbody tr:hover {
  background: rgba(61, 161, 240, 0.08);
}
.badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(61, 161, 240, 0.18);
  border: 1px solid rgba(61, 161, 240, 0.45);
  font-size: 12px;
  font-weight: 900;
}
.details-btn {
  padding: 8px 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s;
}
.details-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--blue-glow);
}

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 18px;
}
.page {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--panel-glass);
  border: 1px solid var(--border);
  font-weight: 800;
  cursor: pointer;
}
.page.active {
  background: var(--blue);
  box-shadow: var(--blue-glow);
}

/* Modal */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
.modal {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 500px;
  width: 90%;
}
.modal .row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.modal .value {
  text-align: right;
  max-width: 60%;
  word-break: break-word;
  white-space: normal;
  font-size: 0.9rem;
  color: var(--text);
}
.modal .row:last-child {
  border-bottom: none;
}
.modal .label {
  font-weight: 700;
  color: var(--muted);
}
.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.modal-actions button {
  padding: 8px 16px;
  background: var(--blue);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.modal-actions button:hover {
  box-shadow: 0 0 12px rgba(61, 161, 240, 0.6);
  transform: scale(1.05);
}

/* Leaderboard Podium Cards 1-5 */
#podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  margin: 36px 0;
  flex-wrap: wrap;
}

.podium-card {
  background: var(--panel-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s;
}

.podium-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--blue-glow);
}

.podium-card .podium-rank {
  font-weight: 900;
  margin-bottom: 4px;
}

.podium-card .podium-name {
  font-weight: 800;
  margin-bottom: 4px;
}

.podium-card .podium-points {
  margin-bottom: 4px;
}

.podium-card .badge {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.8em;
}

/* Adjust content sizes per rank */
.podium-card .rank-1 {
  height: 280px;
  .podium-rank { font-size: 24px; }
  .podium-name { font-size: 20px; }
  .podium-points { font-size: 16px; }
  .badge { font-size: 12px; }
}

.podium-card .rank-2 {
  height: 250px;
  .podium-rank { font-size: 22px; }
  .podium-name { font-size: 18px; }
  .podium-points { font-size: 14px; }
  .badge { font-size: 11px; }
}

.podium-card .rank-3 {
  height: 220px;
  .podium-rank { font-size: 20px; }
  .podium-name { font-size: 16px; }
  .podium-points { font-size: 14px; }
  .badge { font-size: 10px; }
}

.podium-card .rank-4 {
  height: 190px;
  .podium-rank { font-size: 18px; }
  .podium-name { font-size: 14px; }
  .podium-points { font-size: 12px; }
  .badge { font-size: 9px; }
}

.podium-card .rank-5 {
  height: 160px;
  .podium-rank { font-size: 16px; }
  .podium-name { font-size: 12px; }
  .podium-points { font-size: 12px; }
  .badge { font-size: 8px; }
}

/* Cards Grid */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.vpn-card,
.status-card {
  background: rgba(61, 161, 240, 0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s;
  font-weight: 700;
}
.vpn-card:hover,
.status-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(61, 161, 240, 0.35);
}
.flag {
  font-size: 24px;
  margin-bottom: 8px;
}
.status {
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
}
.status.online {
  background: #1abc9c;
  color: #fff;
}
.status.offline {
  background: #e74c3c;
  color: #fff;
}
.status.maintenance {
  background: #f1c40f;
  color: #fff;
}
.status.info {
  background: #3498db;
  color: #fff;
}

/* Construction */
.construction {
  text-align: center;
  padding: 20px;
}
.construction-icon {
  font-size: 50px;
  margin-bottom: 12px;
}
.construction h1 {
  font-size: 28px;
  margin: 12px 0;
}
.construction p {
  font-size: 16px;
  margin-bottom: 20px;
  max-width: 700px;
  margin: auto;
}
.construction-note {
  margin-top: 24px;
  font-weight: 700;
  color: #bbb;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .controls {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .card-grid-3 {
    grid-template-columns: 1fr;
  }
  #podium {
    flex-wrap: wrap;
    justify-content: center;
  }
  .podium-card {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
  }
  .title {
    font-size: 24px;
  }
}
