:root {
  --bg: #090909;
  --bg-soft: #101010;
  --panel: #171717;
  --panel-2: #202020;
  --panel-header: #2b2b2b;
  --text: #f3f3f3;
  --muted: #b6b6b6;
  --faint: #787878;
  --yellow: #f4c430;
  --yellow-hover: #ffd84a;
  --green: #35d07f;
  --red: #ff4d5e;
  --border: rgba(255, 255, 255, 0.07);
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(244, 196, 48, 0.13), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(244, 196, 48, 0.06), transparent 26%),
    linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 80%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, rgba(244,196,48,0.22) 1px, transparent 1.8px);
  background-size: 90px 90px;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

header {
  padding: 26px 0 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 55px; 
  width: auto;
  display: block;
  transition: 180ms ease;
}

.logo:hover img {
  transform: scale(1.03);
}

.hero {
  text-align: center;
  padding: 80px 0 48px;
}

.eyebrow {
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.95;
  margin-bottom: 22px;
  text-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.hero p,
.page-hero p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 42px 0 18px;
}

.section-title h2 {
  font-size: 1.25rem;
  letter-spacing: 0.2px;
}

.section-title span {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.card {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  min-height: 152px;
  overflow: hidden;
  box-shadow: 0 18px 45px var(--shadow);
  transition: 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(244,196,48,0.12), transparent 34%);
  opacity: 0;
  transition: 180ms ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 196, 48, 0.36);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(244, 196, 48, 0.12);
  border: 1px solid rgba(244, 196, 48, 0.18);
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.card p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.94rem;
  position: relative;
  z-index: 1;
}

.button-row {
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 10px;
  background: var(--yellow);
  color: #080808;
  font-weight: 800;
  font-size: 0.86rem;
}

.status-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.94rem;
}

.status-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.status-name {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 700;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(53, 208, 127, 0.45);
  flex: none;
}

.dot.warn {
  background: var(--yellow);
  box-shadow: 0 0 16px rgba(244, 196, 48, 0.45);
}

.dot.offline {
  background: var(--red);
  box-shadow: 0 0 16px rgba(255, 77, 94, 0.45);
}

.changelog-item {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
}

.changelog-item:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 18px;
}

.changelog-item strong {
  display: block;
  margin-bottom: 6px;
}

.changelog-item small,
.loading,
.error-text {
  color: var(--muted);
}

.loading,
.error-text {
  margin-top: 18px;
  line-height: 1.5;
}

.page-hero {
  text-align: center;
  padding: 58px 0 28px;
}

.disabled-card {
  opacity: 0.72;
  cursor: default;
}

.disabled-card:hover {
  transform: none;
  border-color: var(--border);
}

.coming-soon {
  position: absolute;
  top: 14px;
  right: -34px;

  background: var(--yellow);
  color: #080808;

  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 1px;

  padding: 7px 42px;

  transform: rotate(35deg);

  box-shadow: 0 8px 20px rgba(244, 196, 48, 0.25);

  z-index: 5;
}


.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 28px;
}

.filter-button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 180ms ease;
}

.filter-button:hover,
.filter-button.active {
  background: var(--yellow);
  color: #080808;
  border-color: var(--yellow);
}

.changelog-card {
  margin-bottom: 16px;
}

.changelog-body {
  margin-top: 12px;
  white-space: normal;
} 

.changelog-meta-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

#network-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  pointer-events: none;
}



.ban-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(28,28,32,0.95),
    rgba(18,18,22,0.96)
  );
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.ban-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.ban-table thead {
  background: rgba(255,255,255,0.03);
}

.ban-table th {
  text-align: left;
  padding: 20px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.ban-table td {
  padding: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  vertical-align: middle;
}

.ban-table tbody tr {
  transition: 180ms ease;
}

.ban-table tbody tr:hover {
  background: rgba(255,255,255,0.025);
}

.ban-reason {
  min-width: 280px;
}

.game-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 0.76rem;
  font-weight: 800;
}

.game-gmod {
  background: rgba(244, 196, 48, 0.14);
  color: var(--yellow);
}

.game-minecraft {
  background: rgba(53, 208, 127, 0.14);
  color: #35d07f;
}

.status-pill.banned {
  background: rgba(255, 77, 94, 0.16);
  color: #ff7585;
}

.status-pill.temp {
  background: rgba(244, 196, 48, 0.14);
  color: var(--yellow);
}

.ban-table code {
  font-family: monospace;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  padding: 4px 7px;
  border-radius: 8px;
  font-size: 0.8rem;
}



.ban-toolbar {
  margin-bottom: 18px;
}

.ban-search {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 0.95rem;
}

.ban-search:focus {
  outline: none;
  border-color: rgba(244, 196, 48, 0.5);
}

.game-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 5px 10px;
  border-radius: 999px;

  font-size: 0.78rem;
  font-weight: 800;
}

.game-gmod {
  background: rgba(244, 196, 48, 0.15);
  color: var(--yellow);
}

.game-minecraft {
  background: rgba(53, 208, 127, 0.15);
  color: #35d07f;
}

.game-rust {
  background: rgba(255, 120, 80, 0.15);
  color: #ff7850;
}



/* 
    Status Page
*/

.status-subheader {
  margin: 18px 0 14px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--yellow);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.status-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.status-name-large {
  font-size: 1rem;
  font-weight: 800;
}

.uptime-value {
  margin-top: 26px;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text);
}

.uptime-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-pill.online {
  background: rgba(53, 208, 127, 0.16);
  color: #35d07f;
}






/*
    Main Page End 
*/

footer {
  margin-top: 70px;
  border-top: 1px solid var(--border);
  padding: 24px 0 36px;
  color: var(--faint);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1020px) {
  .portal-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .portal-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 58px 0 32px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title span {
    width: 100%;
    flex: none;
  }
}



