.leaderboard-page {
  padding: 16px;
}

.leaderboard-header h1 {
  margin: 0;
}

.leaderboard-sub {
  opacity: 0.7;
  font-size: 0.9rem;
}
/* ===== Warzone Leaderboard ===== */

.wz-board {
  overflow-x: auto;
}

.wz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.wz-table th,
.wz-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  white-space: nowrap;
}

.wz-table th {
  font-weight: 600;
  opacity: 0.85;
}

.wz-rank {
  font-weight: 700;
}

.wz-lws {
  font-weight: 800;
  font-size: 15px;
}

.wz-subtle {
  opacity: 0.65;
}

.wz-tier {
  cursor: pointer;
  font-weight: 600;
}

.wz-tier:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .wz-table {
    font-size: 13px;
  }
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #0b0f1a;
  width: min(900px, 95%);
  max-height: 80vh;
  border-radius: 12px;
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #222;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  padding: 16px;
  overflow-y: auto;
}

.player-card {
  background: #12182a;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}
/* ================================
   KOBRA MODAL BASE
================================ */

.kobra-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 18, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.kobra-modal.hidden {
  display: none;
}

.kobra-modal-content {
  background: radial-gradient(
    circle at top,
    #121a33,
    #0b0f1a 70%
  );
  width: min(960px, 95%);
  max-height: 85vh;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 200, 0.18);
  box-shadow:
    0 0 30px rgba(0, 255, 200, 0.12),
    inset 0 0 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.kobra-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 255, 200, 0.15);
}

.kobra-modal-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #9fffe5;
  letter-spacing: 0.4px;
  text-shadow: 0 0 8px rgba(0, 255, 200, 0.35);
}

#closeTierModal {
  background: transparent;
  border: none;
  color: #6ef2c2;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
}

#closeTierModal:hover {
  color: #ffffff;
  transform: scale(1.1);
}
.kobra-player-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  overflow-y: auto;
}

/* Mobile optimization */
@media (max-width: 600px) {
  .kobra-player-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px;
  }
}
.tier-player-card {
  background: linear-gradient(
    180deg,
    #141c36,
    #0f1424
  );
  border-radius: 12px;
  padding: 12px 10px;
  border: 1px solid rgba(0, 255, 200, 0.12);
  box-shadow:
    0 0 12px rgba(0, 255, 200, 0.08);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tier-player-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 18px rgba(0, 255, 200, 0.25);
}
.tp-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #e9fff8;
  margin-bottom: 4px;
  text-shadow: 0 0 6px rgba(0, 255, 200, 0.35);
}

.tp-alliance {
  font-size: 0.75rem;
  color: #9adbc8;
  opacity: 0.9;
  margin-bottom: 6px;
}

.tp-power {
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffd479;
  margin-bottom: 4px;
}

.tp-g1 {
  font-size: 0.72rem;
  color: #7de3ff;
}
.wz-tier.clickable {
  cursor: pointer;
  color: #6ef2c2;
  text-shadow: 0 0 6px rgba(0, 255, 200, 0.3);
}

.wz-tier.clickable:hover {
  color: #ffffff;
}
/* ================================
   MOBILE: CARDS MODE
================================ */

.wz-card-container {
  display: none;
}

@media (max-width: 900px) {

  /* Hide ONLY the table, not everything */
  .wz-table {
    display: none;
  }

  /* Show card container */
  .wz-card-container {
    display: grid;
    gap: 14px;
    padding: 12px;
  }
}

/* ================================
   WARZONE CARD
================================ */

.wz-card {
  background: radial-gradient(circle at top, #151e3a, #0b0f1a 70%);
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(0, 255, 200, 0.15);
  box-shadow:
    0 0 16px rgba(0, 255, 200, 0.12);
}

.wz-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.wz-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #9fffe5;
  text-shadow: 0 0 8px rgba(0,255,200,0.35);
}

.wz-card-rank {
  font-size: 0.85rem;
  color: #7de3ff;
}

/* LWS */
.wz-card-lws {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffd479;
  text-align: center;
  margin: 6px 0 10px;
}
.wz-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #bdeee0;
  margin-bottom: 6px;
}

.wz-card-row span:last-child {
  color: #ffffff;
}

.wz-card-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.wz-tier-pill {
  text-align: center;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}

.wz-tier-pill.mega    { background: rgba(255,80,80,0.15);  color: #ff8a8a; }
.wz-tier-pill.whale   { background: rgba(160,120,255,0.15);color: #bca6ff; }
.wz-tier-pill.shark   { background: rgba(255,180,80,0.15); color: #ffd479; }
.wz-tier-pill.piranha { background: rgba(0,255,200,0.15);  color: #6ef2c2; }
/* ================================
   KOBRA BACKGROUND — PAGE
================================ */

.leaderboard-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top,
      #141c36 0%,
      #0b0f1a 55%,
      #070a14 100%
    );
  color: #e6fff6;
}
/* Modal overlay */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 18, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal container */
.modal-content {
  background: radial-gradient(circle at top, #141c36, #0b0f1a 70%);
  width: min(960px, 95%);
  max-height: 85vh;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* IMPORTANT */
}

/* Header stays fixed */
.modal-header {
  flex-shrink: 0;
}

/* ✅ THIS IS THE SCROLL AREA */
.modal-grid {
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS smooth scroll */
  flex: 1;
}
.wz-depth {
  font-weight: 600;
  color: #6ef2c2;
  text-shadow: 0 0 6px rgba(0, 255, 200, 0.35);
}
th[data-sort]::after {
  content: " ⇅";
  opacity: 0.4;
  font-size: 0.75em;
}

th[data-sort]:hover::after {
  opacity: 0.9;
}
/* ================================
   SORT BAR
================================ */
.wz-sortbar {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  flex-wrap: wrap;
}

.wz-sortbar button {
  background: #0f1424;
  border: 1px solid rgba(0,255,200,0.2);
  color: #6ef2c2;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.75rem;
}

.wz-sortbar button.active {
  background: rgba(0,255,200,0.15);
  box-shadow: 0 0 10px rgba(0,255,200,0.4);
}

/* ================================
   CARD GRID
================================ */
.wz-card-grid {
  display: grid;
  gap: 14px;
  padding: 12px;
}

/* Desktop */
@media (min-width: 900px) {
  .wz-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

/* Mobile */
@media (max-width: 899px) {
  .wz-card-grid {
    grid-template-columns: 1fr;
  }
}
/* ================================
   WARZONE CARD
================================ */
.wz-card {
  background: radial-gradient(circle at top, #141c36, #0b0f1a 70%);
  border: 1px solid rgba(0,255,200,0.18);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 0 16px rgba(0,255,200,0.12);
}

.wz-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wz-title {
  font-weight: 600;
  color: #9fffe5;
}

.wz-rank {
  font-size: 0.8rem;
  color: #7de3ff;
}

.wz-lws {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin: 8px 0;
  color: #ffd479;
}

.wz-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  font-size: 0.8rem;
}

.wz-metrics span {
  color: #bdeee0;
}

.wz-metrics strong {
  color: #ffffff;
}

.wz-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.wz-tier-pill {
  text-align: center;
  font-size: 0.7rem;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
}
/* ================================
   WARZONE CARD STACK (ALL SCREENS)
================================ */

.wz-card-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px;
}
/* ================================
   WARZONE CARD STACK — PHASE 1
================================ */

.wz-card-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

/* Card */
.wz-card {
  background: radial-gradient(circle at top, #141c36, #0b0f1a 70%);
  border: 1px solid rgba(0, 255, 200, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 0 14px rgba(0, 255, 200, 0.12);
  color: #e6fff7;
}

/* Header row */
.wz-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.wz-rank {
  font-size: 0.8rem;
  color: #7de3ff;
}

.wz-title {
  font-weight: 600;
  color: #9fffe5;
}

/* Primary metric */
.wz-primary {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffd479;
}

/* Secondary metrics */
.wz-secondary {
  display: flex;
  gap: 14px;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #bdeee0;
}

/* Tier line (one line, icons only) */
.wz-tiers-line {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  font-size: 0.9rem;
}

.wz-tier {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #c7fdf0;
}
/* ================================
   SORT BAR — PHASE 2
================================ */

.wz-sortbar {
  display: flex;
  gap: 8px;
  padding: 8px 12px 0;
  flex-wrap: wrap;
}

.wz-sortbar button {
  background: #0f1424;
  border: 1px solid rgba(0, 255, 200, 0.2);
  color: #6ef2c2;
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.75rem;
}

.wz-sortbar button.active {
  background: rgba(0, 255, 200, 0.15);
  box-shadow: 0 0 10px rgba(0, 255, 200, 0.35);
}
.wz-primary-label {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #7de3ff;
  text-align: right;
}

.wz-primary-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffd479;
  text-align: right;
}
/* ================================
   TOOLTIP — PHASE 3
================================ */

.tooltip {
  position: absolute;
  background: rgba(10, 14, 30, 0.95);
  border: 1px solid rgba(0, 255, 200, 0.25);
  color: #e6fff7;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.7rem;
  max-width: 220px;
  line-height: 1.35;
  z-index: 9999;
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.tooltip.visible {
  opacity: 1;
}
/* ================================
   TIER MODAL — PHASE 4
================================ */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #0b0f1a;
  border: 1px solid rgba(0, 255, 200, 0.25);
  border-radius: 14px;
  width: 92%;
  max-width: 520px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 18px rgba(0, 255, 200, 0.35);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 255, 200, 0.15);
}

.modal-header h3 {
  font-size: 0.9rem;
  color: #9fffe5;
}

.modal-header button {
  background: none;
  border: none;
  color: #7de3ff;
  font-size: 1.1rem;
  cursor: pointer;
}

.modal-body {
  padding: 10px;
  overflow-y: auto;
}
/* ================================
   PLAYER MINI CARD
================================ */

.player-card {
  background: radial-gradient(circle at top, #141c36, #0b0f1a 70%);
  border: 1px solid rgba(0, 255, 200, 0.18);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.player-name {
  font-weight: 600;
  color: #e6fff7;
}

.player-alliance {
  font-size: 0.7rem;
  color: #7de3ff;
  margin-bottom: 4px;
}

.player-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #bdeee0;
}

.player-s1 {
  color: #ffd479;
}
.player-s1 {
  color: #ffd479;
  font-weight: 600;
}

.player-stats span {
  opacity: 0.9;
}
/* ================================
   GLOBAL LOADER — KOBRA
================================ */

.loader-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #0b0f1a 40%, #050812);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}

.loader-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.loader-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(0, 255, 200, 0.15);
  border-top-color: #6ef2c2;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 14px rgba(0, 255, 200, 0.45);
}

.loader-text {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #9fffe5;
  text-transform: uppercase;
  opacity: 0.85;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loader-overlay.hidden {
  display: none;
}
.wz-card-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wz-card {
  background: radial-gradient(circle at top, #e4e4e4, #0044ff 70%);
  border: 1px solid rgba(0,255,200,0.18);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 0 16px rgb(0, 255, 200);
}
.wz-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.wz-rank {
  font-size: 1.5rem;
  font-weight: 800;
  color: #6ef2c2;
}

.wz-warzone {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e6fff7;
}
.wz-primary {
  text-align: right;
}

.wz-primary-label {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #7de3ff;
}

.wz-primary-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffd479;
}
.wz-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
  padding-top: 6px;
  border-top: 1px solid rgba(0,255,200,0.15);
}

.wz-tier {
  text-align: center;
  font-size: 0.7rem;
  color: #9fffe5;
}

.wz-tier span {
  display: block;
  font-weight: 700;
  color: #6ef2c2;
  margin-top: 2px;
}
.wz-top {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
}
.wz-title {
  text-align: center;
}
.wz-mid {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #9fffe5;
}
.wz-depth strong {
  color: #6ef2c2;
  font-weight: 600;
}
.wz-sub {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
  font-size: 0.72rem;
  color: #bdeee0;
}

.wz-power strong {
  color: #ffd479;
  font-weight: 500;
}
.wz-card {
  box-shadow: 0 0 12px rgba(0,255,200,0.18);
}
.wz-tiers {
  margin-top: 12px;
}
body {
  background: linear-gradient(
    180deg,
    #0f172a 0%,
    #0b1220 60%,
    #060b14 100%
  );
  color: #22f7ba;
}
.wz-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(6, 201, 129, 0.22);
  border-radius: 18px;
  padding: 14px 16px;
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 0 0 1px rgba(1, 86, 184, 0.377),
    0 6px 20px rgb(2, 1, 70);
}
.wz-rank {
  font-size: 1.6rem;
  font-weight: 800;
  color: #6ef2c2;
  letter-spacing: -0.02em;
}
.wz-warzone {
  font-size: 1.15rem;
  font-weight: 700;
  color: #3ddda8;
  text-shadow: none;
}
.wz-primary-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: #7dd3fc;
  opacity: 0.9;
}

.wz-primary-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffd479;
}
.wz-mid {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #b6f3e2;
}

.wz-sub {
  display: flex;
  justify-content: flex-end;
  font-size: 0.72rem;
  color: #9bdacb;
}
.wz-tiers {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.wz-tier {
  text-align: center;
  font-size: 0.7rem;
  color: #a7f3d0;
}

.wz-tier span {
  display: block;
  margin-top: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #6ef2c2;
}
.wz-sortbar button {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(110,242,194,0.25);
  color: #9fffe5;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.wz-sortbar button.active {
  background: rgba(110,242,194,0.18);
  color: #06130f;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 52px;
  padding: 0 22px;

  background: linear-gradient(
    180deg,
    #0b0f17 0%,
    #070b12 100%
  );

  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-radius: 0;

  box-shadow: none;
}
.logo a {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;

  color: #3fffd6;
  text-decoration: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  font-size: 0.8rem;
  font-weight: 500;

  color: #9aa4b2;
  text-decoration: none;

  padding: 0;
  background: none;
  border: none;

  transition: color 0.15s ease;
}

.nav a:hover {
  color: #e6fdf6;
}
.badge {
  margin-left: 6px;
  padding: 2px 6px;

  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.05em;

  color: #f6d365;
  background: #2a2408;

  border: 1px solid #5a4a12;
  border-radius: 6px;
}
.page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 640px) {
  .site-header {
    padding: 0 14px;
  }

  .nav {
    gap: 14px;
  }
}
/* ================================
   WARZONE LEADERBOARD PAGE HEADER
================================ */

.wz-page-header {
  margin: 18px 0 14px;
  padding: 0 2px;
}

.wz-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #eafff8;
  margin: 0;
}

.wz-subtitle {
  margin-top: 4px;
  font-size: 0.8rem;
  color: #9aa4b2;
  line-height: 1.4;
}

.wz-subtitle strong {
  color: #3fffd6;
  font-weight: 600;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 8px 12px;
    gap: 6px;
  }

  /* Logo row */
  .logo {
    text-align: left;
  }

  /* Nav becomes its own block */
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
    padding-top: 4px;
  }

  /* Force Alliance Showdown to next row if needed */
  .badge-link {
    flex-basis: 100%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .nav a {
    font-size: 0.78rem;
  }
}
@media (max-width: 768px) {

  /* Header becomes vertical stack */
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 10px 14px 6px;
    gap: 6px;
  }

  /* LWServers stays on top */
  .logo {
    width: 100%;
  }

  .logo a {
    font-size: 1.05rem;
    font-weight: 700;
  }

  /* Nav moves BELOW logo */
  .nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;           /* 🔒 force single line */
    justify-content: center;
    align-items: center;
    gap: 18px;

    overflow-x: auto;            /* safety on very small screens */
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 768px) {
  .nav a {
    font-size: 0.78rem;
    font-weight: 500;
    color: #9aa4b2;
    white-space: nowrap;
  }

  .nav a:hover {
    color: #eafff8;
  }
}
@media (max-width: 768px) {
  .badge {
    font-size: 0.5rem;
    padding: 2px 5px;
    margin-left: 4px;
  }
}
.page-hero {
  margin: 12px 0 18px;
  padding: 14px 16px;

  background: radial-gradient(
    circle at top,
    rgba(63,255,214,0.15),
    rgba(0,0,0,0.6)
  );

  border-radius: 18px;
  text-align: center;

  box-shadow:
    0 0 0 1px rgba(63,255,214,0.18),
    0 12px 30px rgba(0,0,0,0.6);
}

.page-hero h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #eafff8;
}

.page-hero p {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #9fffe5;
}
.site-footer {
  background: rgba(10, 16, 24, 0.95);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 10px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #9fb0b5;
}

.footer-inner nav {
  display: flex;
  gap: 16px;
}

.footer-inner a {
  color: #00ffae;
  text-decoration: none;
  font-weight: 500;
}

.footer-inner a:hover {
  text-decoration: underline;
}


