* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Owner dashboard */
.owner-dashboard-link {
  display: inline-flex;
  margin: 0 0 2rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(154, 93, 255, 0.55);
  border-radius: 0.7rem;
  color: #fff;
  background: rgba(116, 48, 210, 0.18);
  text-decoration: none;
  font-weight: 700;
}

.owner-dashboard-link[hidden] { display: none; }
.owner-main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 7.5rem 0 4rem; }
.owner-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.owner-heading h1 { margin: 0.25rem 0 0.5rem; font-size: clamp(2rem, 5vw, 4rem); }
.owner-heading p:last-child { color: #aaa7b5; }
.owner-heading img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 2px solid #8750d6; }
.owner-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.owner-metrics article, .owner-section { border: 1px solid rgba(255,255,255,0.09); background: rgba(18,17,25,0.92); border-radius: 1rem; }
.owner-metrics article { padding: 1.25rem; }
.owner-metrics span { display: block; color: #aaa7b5; font-size: 0.88rem; }
.owner-metrics strong { display: block; margin-top: 0.35rem; font-size: 2rem; color: #fff; }
.owner-section { padding: 1.5rem; margin-top: 1.25rem; }
.owner-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.owner-section h2 { margin: 0.2rem 0 0; }
.owner-section-heading > span { color: #8f8b9b; font-size: 0.85rem; }
.owner-server-list { display: grid; gap: 0.75rem; }
.owner-server-card { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto auto; align-items: center; gap: 1rem; padding: 1rem; border-radius: 0.75rem; background: rgba(255,255,255,0.035); }
.owner-server-card h3, .owner-server-card p { margin: 0; }
.owner-server-card p { margin-top: 0.2rem; color: #9d99a8; font-size: 0.9rem; }
.owner-server-card > span { display: inline-flex; align-items: center; gap: 0.5rem; color: #d8d5df; font-size: 0.85rem; font-weight: 700; }
.owner-server-card > span::before { content: ""; flex: 0 0 auto; width: 0.7rem; height: 0.7rem; border-radius: 50%; }
.owner-server-online::before { background: #57f287; box-shadow: 0 0 14px rgba(87,242,135,0.55); }
.owner-server-offline::before { background: #ed4245; box-shadow: 0 0 14px rgba(237,66,69,0.4); }
.owner-power-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem; }
.owner-power-controls button, .owner-member-card button { border: 1px solid rgba(139, 88, 225, 0.6); border-radius: 0.55rem; padding: 0.55rem 0.7rem; color: #fff; background: rgba(105, 51, 174, 0.55); font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.owner-power-controls button:hover, .owner-member-card button:hover { background: #7136b9; }
.owner-power-controls button:disabled, .owner-member-card button:disabled { cursor: wait; opacity: 0.55; }
.owner-power-controls .owner-power-stop { border-color: rgba(237, 66, 69, 0.55); background: rgba(145, 35, 49, 0.35); }
.owner-search input { width: min(260px, 70vw); border: 1px solid rgba(255,255,255,0.14); border-radius: 0.65rem; padding: 0.7rem 0.85rem; color: #fff; background: rgba(255,255,255,0.045); }
.owner-member-list, .owner-audit-list { display: grid; gap: 0.65rem; }
.owner-member-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 0.85rem; padding: 0.9rem; border-radius: 0.75rem; background: rgba(255,255,255,0.035); }
.owner-member-card[hidden] { display: none; }
.owner-member-card img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.owner-member-card h3, .owner-member-card p { margin: 0; }
.owner-member-card p { margin-top: 0.18rem; color: #9d99a8; font-size: 0.82rem; }
.owner-member-card > span { color: #b7b3c0; font-size: 0.82rem; }
.owner-audit-row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; gap: 0.85rem; padding: 0.8rem 0.9rem; border-radius: 0.7rem; background: rgba(255,255,255,0.03); }
.owner-audit-row > span { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.owner-audit-success { color: #57f287; }
.owner-audit-failed { color: #ff6b6e; }
.owner-audit-row p { margin: 0.18rem 0 0; color: #9995a3; font-size: 0.8rem; }
.owner-audit-row time { color: #85818d; font-size: 0.75rem; }
.owner-links { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.owner-links > div:last-child { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.owner-links a { padding: 0.75rem 1rem; border-radius: 0.65rem; color: #fff; background: #6632a8; text-decoration: none; font-weight: 700; }

@media (max-width: 760px) {
  .owner-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owner-heading, .owner-links, .owner-section-heading { align-items: flex-start; flex-direction: column; }
  .owner-server-card { grid-template-columns: 1fr auto; }
  .owner-server-card > span { grid-column: 1 / -1; }
  .owner-server-card > strong { grid-column: 2; grid-row: 2; }
  .owner-power-controls { grid-column: 1 / -1; justify-content: flex-start; }
  .owner-member-card { grid-template-columns: auto 1fr; }
  .owner-member-card > span, .owner-member-card > button { grid-column: 2; justify-self: start; }
  .owner-audit-row { grid-template-columns: 1fr; }
}

/* ==================== STORE PAGE ==================== */
.store-page {
  background:
    radial-gradient(circle at 78% 8%, rgba(114, 50, 204, 0.2), transparent 28%),
    linear-gradient(180deg, #050315, #020611 62%, #050216);
}

.store-main {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 100px;
}

.store-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 70px;
  padding: 58px;
  background:
    linear-gradient(90deg, rgba(7, 4, 26, 0.94), rgba(14, 7, 40, 0.72)),
    url("images/home-banner.png") center / cover;
  border: 1px solid rgba(157, 74, 242, 0.34);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.store-hero-copy h1 {
  max-width: 780px;
  margin: 9px 0 20px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.98;
}

.store-hero-copy h1 span,
.store-section-heading h2 span {
  background: linear-gradient(90deg, #a14cff, #31cfff);
  background-clip: text;
  color: transparent;
}

.store-hero-copy > p:not(.section-label) {
  max-width: 680px;
  color: #b6afc7;
  font-size: 18px;
  line-height: 1.7;
}

.store-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.store-trust-row span {
  padding: 9px 12px;
  color: #c9c3d7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: rgba(12, 9, 34, 0.74);
  border: 1px solid rgba(89, 204, 255, 0.18);
  border-radius: 999px;
}

.store-status-card {
  padding: 30px;
  background: rgba(8, 5, 28, 0.82);
  border: 1px solid rgba(126, 87, 225, 0.42);
  border-radius: 18px;
}

.store-status-dot {
  width: 10px;
  height: 10px;
  display: block;
  margin-bottom: 24px;
  background: #54e9a5;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(84, 233, 165, 0.8);
}

.store-status-card p,
.store-status-card small {
  margin: 0;
  color: #8e869f;
}

.store-status-card strong {
  display: block;
  margin: 8px 0 22px;
  font-size: 25px;
}

.store-game-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 85px;
}

.store-game-tabs a {
  padding: 13px 19px;
  color: #d9d1e8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  background: rgba(16, 9, 37, 0.78);
  border: 1px solid rgba(155, 76, 236, 0.28);
  border-radius: 10px;
}

.store-game-tabs a:hover {
  color: white;
  border-color: #4acff5;
}

.store-catalogue {
  scroll-margin-top: 115px;
  margin-bottom: 110px;
}

.store-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 34px;
}

.store-section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(35px, 5vw, 55px);
}

.store-section-heading > p {
  margin: 0;
  color: #9991aa;
  line-height: 1.65;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* A single starter package stays compact; copied packages will form a grid automatically. */
.single-product-grid {
  grid-template-columns: minmax(280px, 420px);
}

.product-card {
  position: relative;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: linear-gradient(145deg, rgba(20, 12, 47, 0.96), rgba(6, 8, 25, 0.98));
  border: 1px solid rgba(137, 71, 219, 0.3);
  border-radius: 18px;
}

.featured-product {
  border-color: rgba(65, 206, 248, 0.5);
  box-shadow: inset 0 0 45px rgba(54, 158, 236, 0.06);
}

.product-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  padding: 7px 13px;
  color: #08101d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #55e7f8, #9470ff);
  border-radius: 999px;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4bd7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.product-card-top strong {
  color: #a58fbf;
}

.product-card h3 {
  margin: 32px 0 12px;
  font-size: 27px;
}

.product-card > p,
.product-card li {
  color: #9e97ad;
  line-height: 1.6;
}

.product-card ul {
  margin: 22px 0 30px;
  padding-left: 20px;
}

.product-card li + li {
  margin-top: 9px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(154, 104, 208, 0.17);
}

.product-price {
  font-size: 28px;
  font-weight: 900;
}

.product-card button {
  padding: 12px 16px;
  color: #857e91;
  font-weight: 800;
  background: rgba(31, 27, 45, 0.84);
  border: 1px solid rgba(144, 130, 160, 0.2);
  border-radius: 9px;
  cursor: not-allowed;
}

.manual-product {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: 55px;
  padding: 45px;
  background:
    radial-gradient(circle at 0 100%, rgba(45, 198, 255, 0.12), transparent 36%),
    rgba(14, 8, 36, 0.92);
  border: 1px solid rgba(132, 72, 220, 0.32);
  border-radius: 20px;
}

.manual-tag {
  color: #58dafe;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.manual-product-copy h3 {
  margin: 16px 0 12px;
  font-size: 31px;
}

.manual-product-copy p {
  color: #9f98ad;
  line-height: 1.7;
}

.manual-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.manual-steps div {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: rgba(4, 6, 22, 0.62);
  border: 1px solid rgba(78, 207, 244, 0.14);
  border-radius: 12px;
}

.manual-steps strong {
  color: #a14dfc;
  font-size: 21px;
}

.manual-steps span {
  color: #d5cfe0;
  font-size: 13px;
  font-weight: 700;
}

.store-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 42px;
  background: linear-gradient(100deg, rgba(29, 14, 63, 0.98), rgba(9, 10, 30, 0.98));
  border: 1px solid rgba(164, 78, 246, 0.34);
  border-radius: 18px;
}

.store-help h2 {
  margin: 7px 0 9px;
}

.store-help p:last-child {
  margin: 0;
  color: #9e97ab;
}

.store-help a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 15px 20px;
  color: white;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(90deg, #8e4bf0, #507bee);
  border-radius: 11px;
}

.store-help img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 950px) {
  .store-hero,
  .store-section-heading,
  .manual-product {
    grid-template-columns: 1fr;
  }

  .store-hero {
    gap: 38px;
    padding: 42px;
  }

  .store-status-card {
    max-width: 420px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .store-main {
    width: min(100% - 30px, 1280px);
    padding-top: 125px;
  }

  .store-hero,
  .manual-product,
  .store-help {
    padding: 28px 22px;
  }

  .store-game-tabs,
  .store-help {
    align-items: stretch;
    flex-direction: column;
  }

  .store-game-tabs a,
  .store-help a {
    text-align: center;
  }

  .manual-steps {
    grid-template-columns: 1fr;
  }
}

html,
body {
  min-height: 100%;
  margin: 0;
}

/* Makes navigation links glide smoothly to each page section. */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #020817;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

/* Top bar: a mix of the two references */
.navbar {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 86px;

  background: linear-gradient(
    90deg,
    rgba(28, 8, 55, 0.34),
    rgba(2, 5, 22, 0.18) 50%,
    rgba(18, 7, 45, 0.34)
  );
  border-bottom: 1px solid rgba(175, 82, 255, 0.25);
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.2),
    0 1px 15px rgba(123, 65, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  width: min(1450px, calc(100% - 56px));
  min-height: 86px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 12px;

  color: white;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(174, 79, 255, 0.5));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  padding: 5px 10px;
  background: rgba(8, 4, 24, 0.24);
  border: 1px solid rgba(167, 90, 255, 0.2);
  border-radius: 12px;
  box-shadow:
    inset 0 0 20px rgba(127, 57, 224, 0.04),
    0 6px 22px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.nav-links a {
  position: relative;
  padding: 12px 14px;

  color: #d1cbe2;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;

  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;

  height: 2px;
  background: linear-gradient(90deg, #b84dff, #28d8ff);
  border-radius: 999px;
  box-shadow: 0 0 9px rgba(73, 200, 255, 0.48);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;

  content: "";
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(174, 112, 255, 0.65);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* ==================== SERVER DROPDOWN MENU ==================== */
.server-menu {
  position: relative;
}

.server-menu summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;

  color: #d1cbe2;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  list-style: none;
  text-transform: uppercase;

  cursor: pointer;
  transition: color 0.2s ease;
}

/* Removes the browser's default details arrow. */
.server-menu summary::-webkit-details-marker {
  display: none;
}

.server-menu summary:hover,
.server-menu[open] summary {
  color: white;
  text-shadow: 0 0 12px rgba(174, 112, 255, 0.65);
}

/* Keeps the Store dropdown highlighted while visiting any store page. */
.store-menu.current summary {
  color: white;
  text-shadow: 0 0 12px rgba(174, 112, 255, 0.65);
}

.server-menu summary span {
  color: #45d4ff;
  font-size: 15px;
  transition: transform 0.2s;
}

.server-menu[open] summary span {
  transform: rotate(180deg);
}

.server-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);

  display: grid;
  min-width: 190px;
  padding: 8px;

  background: rgba(8, 5, 25, 0.96);
  border: 1px solid rgba(170, 91, 255, 0.32);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.server-dropdown a {
  padding: 12px 14px;
  border-radius: 8px;
  color: #bdb6cf;
  font-size: 12px;
  white-space: nowrap;
}

.server-dropdown a::after {
  display: none;
}

.server-dropdown a:hover,
.server-dropdown a.active {
  background: linear-gradient(90deg, rgba(152, 68, 233, 0.2), rgba(52, 154, 226, 0.12));
  color: white;
}

.sign-in {
  justify-self: end;
  padding: 11px 17px;

  background: linear-gradient(
    135deg,
    rgba(168, 68, 255, 0.17),
    rgba(38, 184, 255, 0.1)
  );
  border: 1px solid rgba(189, 112, 255, 0.58);
  border-radius: 8px;

  color: #f6efff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.sign-in:hover {
  background: linear-gradient(135deg, #9c48ed, #247fd6);
  border-color: #c078ff;
  box-shadow: 0 0 18px rgba(150, 71, 255, 0.35);
}

/* Original hero design kept unchanged */
.hero {
  position: relative;

  display: grid;
  place-items: center;

  min-height: 100vh;
  padding: 130px 24px 60px;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 10, 25, 0.88)),
    url("images/home-banner.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;

  width: min(700px, 100%);
  padding: 42px 24px;
  text-align: center;
}

.hero-content::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;

  width: min(780px, 110vw);
  height: 440px;

  background: radial-gradient(
    ellipse,
    rgba(70, 35, 145, 0.2) 0%,
    rgba(11, 7, 32, 0.1) 48%,
    transparent 72%
  );
  transform: translate(-50%, -50%);
  filter: blur(8px);

  content: "";
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin: 0 0 18px !important;
  padding: 8px 14px;

  background: rgba(111, 54, 199, 0.12);
  border: 1px solid rgba(176, 103, 255, 0.3);
  border-radius: 999px;

  color: #cfc3e8 !important;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-kicker::before {
  width: 7px;
  height: 7px;

  background: #4bdcff;
  border-radius: 50%;
  box-shadow: 0 0 10px #4bdcff;

  content: "";
}

.hero h1 {
  margin: 0;
  color: #f8f7ff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(42px, 5.5vw, 74px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  display: block;
  margin-top: 9px;

  background: linear-gradient(90deg, #b24cff, #24c8ff);
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(115, 88, 255, 0.16));
}

.hero-description {
  max-width: 650px;
  margin: 24px auto 30px !important;

  color: #bdb8ce !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

.discord-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;

  background: linear-gradient(135deg, #9148e8, #416ee8);
  border: 1px solid rgba(210, 168, 255, 0.5);
  border-radius: 999px;
  box-shadow:
    0 12px 35px rgba(74, 55, 196, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.18);

  color: white;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;

  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.discord-button img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.24));
}

.discord-button .button-arrow {
  font-size: 18px;
  transition: transform 0.2s;
}

.discord-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 42px rgba(98, 67, 224, 0.46),
    0 0 20px rgba(62, 193, 255, 0.18);
}

.discord-button:hover .button-arrow {
  transform: translateX(3px);
}

/* ==================== ABOUT US SECTION ==================== */
.about-section {
  position: relative;
  overflow: hidden;
  padding: 120px 28px;

  background:
    radial-gradient(
      circle at 15% 35%,
      rgba(135, 55, 224, 0.15),
      transparent 34%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(26, 151, 225, 0.1),
      transparent 30%
    ),
    #050411;
  border-top: 1px solid rgba(167, 90, 255, 0.2);

  /* Stops the navbar covering this section after clicking Information. */
  scroll-margin-top: 85px;
}

/* Keeps all About Us content centred inside a readable page width. */
.about-container {
  width: min(1250px, 100%);
  margin: 0 auto;
}

.about-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  margin: 0 0 18px;
  color: #48d9ff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.about-intro h2 {
  margin: 0;
  color: #f8f7ff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(38px, 4.5vw, 64px);
  letter-spacing: -2px;
  line-height: 1.05;
}

.about-intro h2 span {
  background: linear-gradient(90deg, #b14cff, #31c9ff);
  background-clip: text;
  color: transparent;
}

.about-description {
  margin: 28px auto;
  color: #aaa5ba;
  font-size: 17px;
  line-height: 1.75;
}

.about-discord-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #ded5f4;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.about-discord-link span {
  color: #42d2ff;
  transition: transform 0.2s;
}

.about-discord-link:hover span {
  transform: translateX(4px);
}

/* Three short highlights break up the description without using fake numbers. */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 70px auto 55px;
}

.about-highlights div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 30px;
  text-align: center;
}

.about-highlights div + div {
  border-left: 1px solid rgba(169, 91, 255, 0.2);
}

.about-highlights strong {
  background: linear-gradient(90deg, #ae50ff, #36d1ff);
  background-clip: text;
  color: transparent;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(25px, 3vw, 36px);
}

.about-highlights span {
  color: #858091;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Holds the three community-value cards in one balanced row. */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-card {
  position: relative;
  min-height: 230px;
  padding: 64px 28px 28px;

  background: linear-gradient(
    105deg,
    rgba(28, 17, 57, 0.72),
    rgba(8, 8, 24, 0.6)
  );
  border: 1px solid rgba(167, 90, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.25s,
    border-color 0.25s;
}

.about-card:hover {
  border-color: rgba(74, 205, 255, 0.42);
  transform: translateY(-7px);
}

.card-number {
  position: absolute;
  top: 24px;
  left: 28px;

  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;

  background: rgba(137, 66, 224, 0.12);
  border: 1px solid rgba(170, 91, 255, 0.25);
  border-radius: 8px;
  color: #a776ed;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-card h3 {
  margin: 0 0 8px;
  color: #f0edf8;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 20px;
}

.about-card p {
  margin: 0;
  color: #9590a5;
  font-size: 15px;
  line-height: 1.6;
}

/* ==================== COMMUNITY RULES SECTION ==================== */
.rules-section {
  padding: 120px 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(43, 186, 240, 0.09), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(149, 61, 229, 0.13), transparent 32%),
    #03040f;
  border-top: 1px solid rgba(159, 82, 245, 0.18);
  scroll-margin-top: 85px;
}

.rules-container {
  width: min(1250px, 100%);
  margin: 0 auto;
}

.rules-heading {
  max-width: 790px;
  margin: 0 auto 60px;
  text-align: center;
}

.rules-heading h1,
.rules-heading h2 {
  margin: 0;
  color: #f7f3fd;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(40px, 5vw, 66px);
  letter-spacing: -2.5px;
  line-height: 1.05;
}

.rules-heading h1 span,
.rules-heading h2 span {
  background: linear-gradient(90deg, #ad4cff, #36d0ff);
  background-clip: text;
  color: transparent;
}

.rules-heading > p:last-child {
  margin: 26px auto 0;
  color: #a5a0b0;
  font-size: 17px;
  line-height: 1.75;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.rule-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(25, 14, 54, 0.76), rgba(7, 8, 23, 0.86));
  border: 1px solid rgba(159, 85, 239, 0.24);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s,
    border-color 0.25s;
}

.rule-card::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  background: rgba(110, 61, 218, 0.1);
  border-radius: 50%;
  filter: blur(8px);
  content: "";
}

.rule-card:hover {
  border-color: rgba(62, 207, 255, 0.42);
  transform: translateY(-5px);
}

.rule-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rule-number {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(164, 70, 236, 0.2), rgba(42, 177, 235, 0.12));
  border: 1px solid rgba(173, 91, 255, 0.3);
  border-radius: 10px;
  color: #bc84f4;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.rule-card h2,
.rule-card h3 {
  margin: 0;
  color: #eeeaf6;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 22px;
}

/* Adds room for the navigation on the separate Community Rules page. */
.rules-page .rules-section {
  min-height: 100vh;
  padding-top: 180px;
}

.rule-card ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rule-card li {
  position: relative;
  padding-left: 22px;
  color: #a7a1b2;
  font-size: 14px;
  line-height: 1.6;
}

.rule-card li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, #ad4cff, #39d5ff);
  border-radius: 2px;
  content: "";
  transform: rotate(45deg);
}

.rules-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 20px;
  padding: 24px 28px;
  background: rgba(17, 10, 39, 0.65);
  border: 1px solid rgba(157, 82, 241, 0.2);
  border-radius: 16px;
}

.rules-help div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rules-help strong {
  color: #eeeaf5;
  font-size: 15px;
}

.rules-help div span {
  color: #85808e;
  font-size: 12px;
}

.rules-help a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  background: linear-gradient(135deg, rgba(146, 63, 225, 0.8), rgba(51, 116, 215, 0.8));
  border: 1px solid rgba(199, 136, 255, 0.4);
  border-radius: 10px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* ==================== SERVER SPECS SECTION ==================== */
.specs-section {
  padding: 115px 28px;
  background:
    linear-gradient(rgba(4, 5, 18, 0.94), rgba(5, 3, 17, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(58, 126, 255, 0.18), transparent 50%);
  border-top: 1px solid rgba(60, 176, 255, 0.15);
  scroll-margin-top: 85px;
}

.specs-container {
  width: min(1250px, 100%);
  margin: 0 auto;
}

.specs-heading {
  max-width: 720px;
  margin: 0 auto 55px;
  text-align: center;
}

.specs-heading h2 {
  margin: 0;
  color: #f8f7ff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(38px, 4.5vw, 62px);
  letter-spacing: -2px;
}

.specs-heading h2 span {
  background: linear-gradient(90deg, #a94cff, #32ceff);
  background-clip: text;
  color: transparent;
}

.specs-heading > p:last-child {
  max-width: 610px;
  margin: 20px auto 0;
  color: #9f9aac;
  font-size: 17px;
  line-height: 1.7;
}

/* Pairs the original server-room image with a readable spec sheet. */
.server-list {
  display: grid;
  gap: 28px;
}

.server-showcase {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  min-height: 430px;
  margin: 0;
  overflow: hidden;

  background: rgba(9, 7, 26, 0.74);
  border: 1px solid rgba(151, 84, 244, 0.28);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.server-image {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
}

.server-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(7, 5, 22, 0.92));
  content: "";
}

.server-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.server-showcase:hover .server-image img {
  transform: scale(1.025);
}

.server-image figcaption {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 25px;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;

  background: rgba(3, 5, 17, 0.76);
  border: 1px solid rgba(83, 210, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);

  color: #ddd8e9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.server-sheet {
  position: relative;
  z-index: 1;
  padding: 34px;
  background: linear-gradient(
    145deg,
    rgba(23, 13, 52, 0.88),
    rgba(6, 7, 22, 0.94)
  );
}

.sheet-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.sheet-heading span:first-child {
  color: #48d4ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sheet-heading h3 {
  margin: 7px 0 0;
  color: #f6f2ff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 30px;
}

.node-status {
  padding: 7px 10px;
  background: rgba(65, 255, 168, 0.08);
  border: 1px solid rgba(65, 255, 168, 0.26);
  border-radius: 999px;
  color: #6dffc0 !important;
  font-size: 9px !important;
  letter-spacing: 1px !important;
}

.sheet-list {
  margin: 0;
}

.sheet-list div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sheet-list dt {
  color: #867b9e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sheet-list dd {
  margin: 0;
  color: #d5d0df;
  font-size: 13px;
  line-height: 1.45;
}

.summary-dot {
  width: 9px;
  height: 9px;
  background: #4dffae;
  border-radius: 50%;
  box-shadow: 0 0 12px #4dffae;
}

/* ==================== SITE FOOTER ==================== */
.site-footer {
  padding: 48px 28px 22px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(124, 54, 213, 0.16),
      transparent 55%
    ),
    #03020b;
  border-top: 1px solid rgba(157, 82, 246, 0.26);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1250px, 100%);
  margin: 0 auto;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(165, 72, 255, 0.38));
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-copy strong {
  color: #f4f0fb;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 18px;
}

.footer-copy span {
  color: #777182;
  font-size: 12px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;

  background: rgba(25, 13, 52, 0.62);
  border: 1px solid rgba(173, 93, 255, 0.32);
  border-radius: 12px;

  color: #d9d2e8;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;

  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s;
}

.social-button:hover {
  background: linear-gradient(135deg, #923fe5, #347edc);
  border-color: rgba(99, 213, 255, 0.6);
  transform: translateY(-4px);
}

.social-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Each uploaded icon has different padding, so they need individual sizing. */
.social-links .social-button:first-child img {
  width: 38px;
  height: 38px;
}

.social-links .social-button:nth-child(2) img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
}

.social-links .social-button:nth-child(3) img {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  clip-path: circle(49%);
}

/* Uses the uploaded YouTube icon and hides the old text fallback. */
.social-links .social-button:last-child {
  background-image: url("images/youtube.png");
  background-position: center;
  background-size: 56px 56px;
  background-repeat: no-repeat;
  font-size: 0;
}

.social-links .social-button:last-child:hover {
  background-image:
    url("images/youtube.png"),
    linear-gradient(135deg, #923fe5, #347edc);
  background-size:
    56px 56px,
    100% 100%;
}

.discord-social {
  width: 46px;
  background: linear-gradient(
    135deg,
    rgba(142, 62, 224, 0.76),
    rgba(54, 102, 216, 0.76)
  );
}

.footer-bottom {
  width: min(1250px, 100%);
  margin: 25px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #625d6d;
  font-size: 11px;
  text-align: center;
}

/* ==================== INDIVIDUAL GAME PAGE ==================== */
.game-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(2, 3, 14, 0.62), rgba(3, 4, 18, 0.94)),
    url("images/home-banner.png") center / cover fixed;
}

.game-hero {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 150px 24px 80px;
}

.game-panel {
  width: min(900px, 100%);
  padding: clamp(32px, 6vw, 65px);
  background: linear-gradient(145deg, rgba(24, 13, 54, 0.82), rgba(5, 7, 23, 0.9));
  border: 1px solid rgba(169, 87, 255, 0.32);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(13px);
  text-align: center;
}

.game-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #76ffc3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.game-panel h1 {
  margin: 0;
  background: linear-gradient(90deg, #b34dff, #31d0ff);
  background-clip: text;
  color: transparent;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(58px, 9vw, 105px);
  letter-spacing: -4px;
}

.game-intro {
  max-width: 650px;
  margin: 22px auto 34px;
  color: #b5afc3;
  font-size: 17px;
  line-height: 1.7;
}

.game-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0;
}

.game-detail {
  padding: 20px 15px;
  background: rgba(5, 5, 20, 0.42);
  border: 1px solid rgba(127, 91, 200, 0.2);
  border-radius: 12px;
}

.game-detail span,
.game-detail strong {
  display: block;
}

.game-detail span {
  margin-bottom: 8px;
  color: #777184;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.game-detail strong {
  color: #e7e2ef;
  font-size: 15px;
}

/* ==================== MEMBER SIGN-IN AND ACCOUNT ==================== */
.account-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 20%, rgba(126, 64, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #050414, #09051a 55%, #020711);
  color: #f5f1fb;
}

.account-main {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
  padding: 70px 24px;
}

.signin-card,
.account-panel {
  width: min(100%, 620px);
  padding: clamp(32px, 5vw, 54px);
  background: linear-gradient(145deg, rgba(25, 13, 55, 0.94), rgba(5, 7, 24, 0.96));
  border: 1px solid rgba(151, 81, 242, 0.34);
  border-radius: 24px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.signin-brand-mark img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(160, 78, 255, 0.35));
}

.signin-card h1,
.account-profile-heading h1 {
  margin: 10px 0 12px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(35px, 6vw, 52px);
  line-height: 1.02;
}

.signin-card h1 span {
  background: linear-gradient(90deg, #a149ff, #42cfff);
  background-clip: text;
  color: transparent;
}

.signin-intro,
.signin-notice,
.account-profile-heading p,
.account-connection p {
  color: #aaa4b9;
  line-height: 1.6;
}

.signin-error {
  margin: 22px 0 0;
  padding: 12px 14px;
  background: rgba(255, 74, 113, 0.09);
  border: 1px solid rgba(255, 74, 113, 0.3);
  border-radius: 10px;
  color: #ff9aae;
  font-size: 14px;
}

.signin-options {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.provider-button {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  color: #f7f4fc;
  font: 700 14px "Trebuchet MS", "Segoe UI", sans-serif;
  text-align: left;
  text-decoration: none;
}

.provider-button img,
.account-connection img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.provider-discord {
  background: linear-gradient(90deg, #7545e8, #4f6ee9);
  border-color: rgba(181, 157, 255, 0.62);
  box-shadow: 0 12px 35px rgba(96, 80, 232, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.provider-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(96, 80, 232, 0.35);
}

.provider-steam {
  background: linear-gradient(90deg, rgba(18, 72, 108, 0.72), rgba(17, 35, 57, 0.9));
  border-color: rgba(74, 178, 238, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.provider-steam:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 178, 238, 0.7);
}

.provider-letter {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: rgba(70, 213, 255, 0.1);
  border: 1px solid rgba(70, 213, 255, 0.25);
  border-radius: 8px;
  color: #64dcff;
  font-weight: 800;
}

.signin-notice {
  margin: 24px 0 0;
  font-size: 12px;
}

.account-dashboard {
  align-items: start;
}

.account-loading {
  color: #aaa4b9;
}

.account-panel {
  width: min(100%, 980px);
  text-align: left;
}

.account-profile-heading {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 24px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-profile-heading > img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  background: #0b071c;
  border: 2px solid rgba(154, 82, 240, 0.5);
  border-radius: 22px;
}

.account-profile-heading h1 {
  font-size: clamp(32px, 5vw, 46px);
}

.account-profile-heading p {
  margin: 0;
}

.account-logout {
  padding: 11px 16px;
  background: transparent;
  border: 1px solid rgba(255, 111, 143, 0.34);
  border-radius: 10px;
  color: #ff91a9;
  font-weight: 700;
  cursor: pointer;
}

.account-section-heading {
  margin: 38px 0 18px;
}

.account-section-heading h2 {
  margin: 8px 0 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 28px;
}

.account-connections {
  display: grid;
  gap: 12px;
}

.account-connection {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 17px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.account-connection h3,
.account-connection p {
  margin: 0;
}

.account-connection p {
  margin-top: 4px;
  font-size: 13px;
}

.account-connection > span:last-child {
  color: #777184;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.account-connection-active {
  background: rgba(65, 255, 168, 0.045);
  border-color: rgba(65, 255, 168, 0.2);
}

.account-connection-active > span:last-child {
  color: #6dffc0;
}

.connection-action {
  padding: 8px 12px;
  border: 1px solid rgba(70, 213, 255, 0.28);
  border-radius: 9px;
  color: #64dcff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-decoration: none;
  text-transform: uppercase;
}

.account-message {
  margin: 0 0 22px;
  padding: 12px 14px;
  background: rgba(65, 255, 168, 0.07);
  border: 1px solid rgba(65, 255, 168, 0.24);
  border-radius: 10px;
  color: #83ffca;
  text-transform: capitalize;
}

.account-message-error {
  background: rgba(255, 74, 113, 0.08);
  border-color: rgba(255, 74, 113, 0.28);
  color: #ff9aae;
  text-transform: none;
}

.account-danger-zone {
  margin-top: 28px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 65, 103, 0.035);
  border: 1px solid rgba(255, 92, 124, 0.18);
  border-radius: 14px;
}

.account-danger-zone .section-label {
  margin-bottom: 7px;
  color: #ff7895;
}

.account-danger-zone h2 {
  margin: 0 0 7px;
  font-size: 20px;
}

.account-danger-zone p:last-child {
  margin: 0;
  color: #aaa3bd;
}

.account-delete {
  flex: 0 0 auto;
  padding: 11px 15px;
  background: transparent;
  border: 1px solid rgba(255, 92, 124, 0.42);
  border-radius: 10px;
  color: #ff8aa3;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.account-delete:hover {
  background: rgba(255, 65, 103, 0.09);
}

.account-delete:disabled {
  cursor: wait;
  opacity: 0.6;
}

@media (max-width: 700px) {
  .account-main {
    padding: 40px 16px;
  }

  .account-profile-heading {
    grid-template-columns: 72px 1fr;
  }

  .account-profile-heading > img {
    width: 72px;
    height: 72px;
  }

  .account-logout {
    grid-column: 1 / -1;
  }

  .account-danger-zone {
    align-items: stretch;
    flex-direction: column;
  }
}

/* ==================== PALWORLD PAGE ==================== */
.palworld-main {
  min-height: 100vh;
  padding-top: 86px;
  background: #040412;
}

.palworld-hero {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 85px 24px;
  background:
    linear-gradient(90deg, rgba(4, 3, 18, 0.94), rgba(4, 6, 24, 0.66), rgba(4, 3, 18, 0.9)),
    url("images/home-banner.png") center / cover;
  border-bottom: 1px solid rgba(157, 82, 246, 0.22);
}

.palworld-hero-content {
  width: min(850px, 100%);
  text-align: center;
}

.palworld-hero h1 {
  margin: 0;
  color: #f8f5ff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(58px, 8vw, 105px);
  letter-spacing: -4px;
  line-height: 0.95;
}

.palworld-hero h1 span {
  background: linear-gradient(90deg, #a84bff, #2dd4ff);
  background-clip: text;
  color: transparent;
}

.palworld-hero-content > p:not(.section-label) {
  max-width: 680px;
  margin: 25px auto 32px;
  color: #b0aabc;
  font-size: 17px;
  line-height: 1.7;
}

.palworld-content {
  width: min(1250px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 120px;
}

.pal-server-section,
.pal-settings-section {
  scroll-margin-top: 100px;
}

.pal-settings-section {
  margin-top: 95px;
}

.pal-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.pal-section-heading .section-label {
  margin-bottom: 10px;
}

.pal-section-heading h2 {
  margin: 0;
  color: #f4f0fa;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
}

.pal-total-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(12, 10, 35, 0.65);
  border: 1px solid rgba(70, 202, 255, 0.19);
  border-radius: 999px;
  color: #aaa4b7;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pal-server-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pal-server-card {
  padding: 30px;
  background: linear-gradient(145deg, rgba(26, 14, 57, 0.78), rgba(6, 8, 25, 0.88));
  border: 1px solid rgba(153, 82, 240, 0.26);
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.23);
}

.pal-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pal-card-heading div > span {
  color: #46d5ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.pal-card-heading h3 {
  margin: 7px 0 0;
  color: #f1edf8;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 23px;
}

.pal-card-status {
  align-self: flex-start;
  padding: 7px 10px;
  background: rgba(252, 188, 61, 0.08);
  border: 1px solid rgba(252, 188, 61, 0.24);
  border-radius: 999px;
  color: #f7c76b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Green status style used when a listed game server is online. */
.pal-card-online {
  background: rgba(65, 255, 168, 0.08);
  border-color: rgba(65, 255, 168, 0.26);
  color: #6dffc0;
}

/* Red status style used when the live monitor reports an offline server. */
.pal-card-offline {
  background: rgba(255, 83, 122, 0.08);
  border-color: rgba(255, 83, 122, 0.3);
  color: #ff7895;
}

.pal-server-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 25px;
  margin: 14px 0 0;
}

.pal-server-details div {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pal-server-details dt {
  margin-bottom: 7px;
  color: #777184;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.pal-server-details dd {
  margin: 0;
  color: #ded9e8;
  font-size: 14px;
  font-weight: 700;
}

.pal-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pal-setting-card {
  position: relative;
  min-height: 270px;
  padding: 62px 28px 28px;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(24, 14, 52, 0.72), rgba(7, 8, 24, 0.86));
  border: 1px solid rgba(148, 80, 232, 0.23);
  border-radius: 18px;
}

.pal-setting-number {
  position: absolute;
  top: 23px;
  right: 25px;
  color: rgba(164, 78, 242, 0.25);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 44px;
  font-weight: 800;
}

.pal-setting-card h3 {
  margin: 0 0 22px;
  color: #f0ebf7;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 25px;
}

.pal-setting-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pal-setting-card li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #9690a2;
  font-size: 13px;
}

.pal-setting-card li strong {
  color: #55d4ff;
}

.pal-setting-card > p {
  color: #9791a3;
  font-size: 14px;
  line-height: 1.7;
}

/* ==================== TEAM PAGE ==================== */
.team-page {
  min-height: 100vh;
  background: #04030f;
}

.team-main {
  padding-top: 86px;
}

.team-intro {
  min-height: 720px;
  padding: 100px max(6vw, 28px);
  background:
    radial-gradient(circle at 18% 45%, rgba(142, 57, 224, 0.17), transparent 34%),
    radial-gradient(circle at 88% 25%, rgba(43, 183, 239, 0.1), transparent 31%),
    linear-gradient(rgba(3, 3, 15, 0.92), rgba(5, 4, 18, 0.98)),
    url("images/home-banner.png") center / cover;
}

.team-intro-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.team-intro-copy h1 {
  margin: 0;
  color: #f7f3fd;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(48px, 6vw, 82px);
  letter-spacing: -3px;
  line-height: 0.98;
}

.team-intro-copy h1 span {
  background: linear-gradient(90deg, #ad4cff, #35d0ff);
  background-clip: text;
  color: transparent;
}

.team-intro-copy > p:last-child {
  margin: 28px auto 0;
  color: #aba5b7;
  font-size: 17px;
  line-height: 1.75;
}

/* Adds columns automatically as more member cards are inserted. */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 420px));
  justify-content: center;
  gap: 24px;
  width: min(1250px, 100%);
  margin: 65px auto 0;
}

.founder-card {
  display: grid;
  grid-template-rows: 270px 1fr;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(25, 14, 54, 0.86), rgba(6, 8, 24, 0.92));
  border: 1px solid rgba(164, 86, 246, 0.3);
  border-radius: 24px;
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.42);
}

.founder-image {
  display: grid;
  place-items: center;
  padding: 35px;
  background:
    radial-gradient(circle, rgba(145, 58, 226, 0.25), transparent 62%),
    rgba(5, 5, 20, 0.5);
}

.founder-image img {
  width: min(240px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(165, 72, 255, 0.38));
}

.founder-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.founder-label {
  margin: 0 0 9px;
  color: #43d5ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.founder-content h2 {
  margin: 0;
  color: #f4effb;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
}

.founder-content > p:not(.founder-label) {
  margin: 18px 0 24px;
  color: #9f99aa;
  font-size: 15px;
  line-height: 1.7;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.founder-tags span {
  padding: 8px 10px;
  background: rgba(133, 62, 210, 0.11);
  border: 1px solid rgba(164, 83, 240, 0.23);
  border-radius: 8px;
  color: #bcb4cc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.founder-contact {
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  color: #ded7ec;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.founder-contact span {
  color: #42d4ff;
  transition: transform 0.2s;
}

.founder-contact:hover span {
  transform: translateX(4px);
}

.team-responsibilities {
  padding: 110px max(6vw, 28px) 125px;
  background: #050412;
}

.team-responsibility-heading {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.team-responsibility-heading h2 {
  margin: 0;
  color: #f2edf8;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.responsibility-grid article {
  padding: 30px;
  background: linear-gradient(145deg, rgba(25, 14, 53, 0.68), rgba(7, 8, 23, 0.8));
  border: 1px solid rgba(157, 82, 239, 0.22);
  border-radius: 17px;
}

.responsibility-grid article > span {
  color: #9255da;
  font-size: 12px;
  font-weight: 800;
}

.responsibility-grid h3 {
  margin: 25px 0 10px;
  color: #eee9f5;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 20px;
}

.responsibility-grid p {
  margin: 0;
  color: #928c9d;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 950px) {
  .navbar-inner {
    grid-template-columns: 1fr auto;
    width: calc(100% - 28px);
    padding: 10px 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;

    width: 100%;
    margin-top: 8px;
    overflow-x: auto;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .nav-links:has(.server-menu[open]) {
    flex-wrap: wrap;
    overflow: visible;
  }

  .hero {
    padding-top: 180px;
  }

  /* Stack the About Us columns on tablets and smaller screens. */
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-intro {
    max-width: 680px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-card {
    min-height: auto;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .server-showcase {
    grid-template-columns: 1fr;
  }

  .pal-settings-grid {
    grid-template-columns: 1fr;
  }

  .founder-image {
    min-height: 300px;
  }

  .responsibility-grid {
    grid-template-columns: 1fr;
  }

  .server-image::after {
    background: linear-gradient(180deg, transparent 55%, rgba(7, 5, 22, 0.88));
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .sign-in {
    padding: 9px 12px;
    font-size: 12px;
  }

  .nav-links a {
    padding: 10px;
    font-size: 11px;
  }

  .hero p {
    font-size: 17px;
  }

  .about-section {
    padding: 85px 20px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 55px auto 45px;
  }

  .about-highlights div + div {
    padding-top: 28px;
    border-top: 1px solid rgba(169, 91, 255, 0.2);
    border-left: 0;
  }

  .about-card {
    padding: 65px 22px 24px;
  }

  .rules-section {
    padding: 85px 20px;
  }

  .rule-card {
    padding: 25px 22px;
  }

  .rules-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-number {
    top: 24px;
    left: 22px;
  }

  .specs-section {
    padding: 85px 20px;
  }

  .server-image {
    min-height: 280px;
  }

  .server-sheet {
    padding: 28px 22px;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
  }

  .social-links {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .game-details {
    grid-template-columns: 1fr;
  }

  .palworld-content {
    width: min(100% - 32px, 1250px);
    padding: 75px 0 90px;
  }

  .pal-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .pal-server-grid,
  .pal-server-details {
    grid-template-columns: 1fr;
  }

  .team-intro {
    padding: 85px 20px;
  }

  .founder-content {
    padding: 34px 24px;
  }

  .team-responsibilities {
    padding: 85px 20px;
  }
}
