:root {
  color-scheme: dark;
  --cyan: #00E5FF;
  --blue: #2979FF;
  --magenta: #D500F9;
  --violet: #AA00FF;
  --blue-soft: rgba(0, 229, 255, 0.13);
  --magenta-soft: rgba(213, 0, 249, 0.12);
  --brand-gradient: linear-gradient(135deg, #00E5FF 0%, #2979FF 42%, #D500F9 76%, #AA00FF 100%);
  --brand-gradient-cool: linear-gradient(135deg, #00E5FF 0%, #2979FF 100%);
  --brand-gradient-warm: linear-gradient(135deg, #D500F9 0%, #AA00FF 100%);
  --hot: #ff1f6d;
  --hot-2: #ff4a9b;
  --bg: #030409;
  --surface: #070910;
  --card: #080b13;
  --card-soft: rgba(8, 11, 19, 0.78);
  --text: #ffffff;
  --muted: #aeb8c8;
  --subtle: #778396;
  --line: rgba(255, 255, 255, 0.075);
  --green: #22c55e;
  --gold: #facc15;
  --gold-soft: rgba(250, 204, 21, 0.13);
  --radius: 8px;
  --shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
  --container: 1280px;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Sora", Inter, ui-sans-serif, system-ui, sans-serif;
  font-family: var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background:
    radial-gradient(circle at 18% -12%, rgba(0, 229, 255, 0.055), transparent 30rem),
    radial-gradient(circle at 84% -10%, rgba(255, 31, 109, 0.08), transparent 30rem),
    linear-gradient(180deg, #020308 0%, var(--bg) 34rem);
  color: var(--text);
}

html.modal-open,
body.modal-open {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: hidden;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 22, 0.9);
  backdrop-filter: blur(18px);
}

.app-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 13, 22, 0.96), rgba(8, 13, 22, 0.84), rgba(8, 13, 22, 0.96)),
    url("../images/hero-city.png") center 38% / cover;
  opacity: 0.34;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(520px, auto) minmax(360px, 0.9fr);
  gap: 24px;
  align-items: center;
  width: min(100%, var(--container));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 850;
  white-space: nowrap;
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 10px 24px rgba(0,229,255,0.16)) drop-shadow(0 8px 22px rgba(213,0,249,0.13));
}

.brand-logo-text {
  display: block;
  width: clamp(190px, 15vw, 245px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.28)) drop-shadow(0 0 16px rgba(0,229,255,0.08));
}

.brand-logo-font {
  display: block;
  width: min(280px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0,229,255,0.1));
}

.main-nav {
  display: flex;
  justify-self: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius);
  padding: 10px 12px;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.055);
  color: var(--text);
}

.main-nav a.is-active {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    rgba(12, 12, 20, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.075), 0 10px 26px rgba(0,0,0,0.18);
  color: var(--text);
}

.main-nav svg {
  width: 17px;
  height: 17px;
  color: rgba(255,255,255,0.86);
  filter: none;
  transition: color 160ms ease, filter 160ms ease, transform 160ms ease;
}

.main-nav a:hover svg,
.main-nav a.is-active svg {
  color: var(--cyan);
  filter: drop-shadow(0 0 12px rgba(0,229,255,0.38));
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 12px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.075);
}

.discord-button,
.join-discord-button,
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  gap: 8px;
  padding: 0 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(3, 4, 9, 0.72);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.button svg,
.discord-button svg,
.join-discord-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
  flex: 0 0 auto;
}

main {
  flex: 1 0 auto;
}

.discord-button::after,
.join-discord-button::after,
.button::after,
.submit-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 45%, transparent 70%);
  opacity: 0;
  transform: translateX(-80%);
  transition: opacity 180ms ease, transform 320ms ease;
}

.discord-button:hover::after,
.join-discord-button:hover::after,
.button:hover::after,
.submit-button:hover .submit-icon::after {
  opacity: 0.55;
  transform: translateX(80%);
}

.profile-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  max-width: 190px;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px 0 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
  white-space: nowrap;
}

.profile-button span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-button:hover,
.profile-button.is-active {
  border-color: rgba(0, 229, 255, 0.34);
  background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(213,0,249,0.08));
}

.user-avatar,
.avatar-fallback {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  object-fit: cover;
}

.avatar-fallback svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.logout-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
}

.logout-button:hover {
  border-color: rgba(251, 113, 133, 0.32);
  background: rgba(251, 113, 133, 0.08);
  color: #fecdd3;
}

.logout-button svg {
  width: 18px;
  height: 18px;
}

.submit-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.submit-button.icon-only {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255,255,255,0.88);
}

.submit-button:hover,
.submit-button.is-active {
  color: var(--text);
}

.submit-icon {
  position: relative;
  overflow: hidden;
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(255,255,255,0.025);
}

.submit-button:hover .submit-icon,
.submit-button.is-active .submit-icon {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
}

.submit-button.icon-only .submit-icon,
.submit-button.icon-only:hover .submit-icon,
.submit-button.icon-only.is-active .submit-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.09);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014)),
    rgba(255,255,255,0.025);
}

.submit-button svg {
  width: 15px;
  height: 15px;
  color: currentColor;
}

.submit-button.icon-only svg {
  width: 19px;
  height: 19px;
  color: currentColor;
}

.discord-button,
.button.primary {
  border: 1px solid rgba(255, 31, 109, 0.52);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0)),
    linear-gradient(135deg, var(--hot), #d500f9);
  box-shadow: 0 10px 22px rgba(255, 31, 109, 0.18), inset 0 1px 0 rgba(255,255,255,0.18);
}

.join-discord-button {
  min-height: 38px;
  border-color: rgba(0, 229, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.018)),
    linear-gradient(135deg, rgba(0,229,255,0.11), rgba(213,0,249,0.09)),
    rgba(5, 7, 13, 0.88);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 26px rgba(0,0,0,0.18);
  white-space: nowrap;
}

.join-discord-button svg {
  width: 21px;
  height: 21px;
  color: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(0,229,255,0.3));
}

.join-discord-button:hover {
  border-color: rgba(213, 0, 249, 0.5);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.026)),
    linear-gradient(135deg, rgba(0,229,255,0.15), rgba(213,0,249,0.18)),
    rgba(8, 12, 21, 0.94);
  color: var(--text);
}

.discord-button {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0)),
    linear-gradient(135deg, var(--hot), #d500f9);
  box-shadow: 0 10px 22px rgba(255, 31, 109, 0.18), inset 0 1px 0 rgba(255,255,255,0.18);
}

.discord-button svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.15;
}

.discord-button:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.02)),
    linear-gradient(135deg, var(--hot-2), #d500f9);
  border-color: rgba(255, 74, 155, 0.66);
}

.button.primary:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.02)),
    linear-gradient(135deg, var(--hot-2), #d500f9);
  border-color: rgba(255, 74, 155, 0.66);
}

.submit-button.icon-only:hover .submit-icon,
.submit-button.icon-only.is-active .submit-icon {
  border-color: rgba(0, 229, 255, 0.46);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(0,229,255,0.22), rgba(41,121,255,0.13));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0,229,255,0.08), 0 12px 26px rgba(0,229,255,0.13), inset 0 1px 0 rgba(255,255,255,0.12);
}

.button.ghost:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.024)),
    rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.16);
}

.button.is-disabled {
  pointer-events: none;
  border-color: rgba(255,255,255,0.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    rgba(4, 6, 12, 0.62) !important;
  color: rgba(203, 213, 225, 0.45) !important;
  opacity: 1;
  filter: grayscale(0.45);
  box-shadow: none !important;
}

.top-actions .button.ghost {
  background: rgba(255,255,255,0.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.icon-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.icon-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.page {
  display: none;
}

.page.is-active {
  display: block;
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 96px clamp(18px, 4vw, 56px) 56px;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  right: clamp(18px, 7vw, 150px);
  top: 128px;
  width: min(38vw, 560px);
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(7,11,18,0.05), rgba(7,11,18,0.18)),
    url("../images/hero-city.png") center / cover;
  box-shadow: 0 28px 90px rgba(0,0,0,0.34), 0 0 80px rgba(0,229,255,0.05);
  opacity: 0.42;
  transform: perspective(900px) rotateY(-8deg) rotateX(2deg);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("../images/hero-city.png");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  filter: saturate(1.05) contrast(1.06);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.98) 0%, rgba(7, 11, 18, 0.72) 18%, rgba(7, 11, 18, 0.42) 50%, rgba(7, 11, 18, 0.78) 82%, rgba(7, 11, 18, 0.98) 100%),
    radial-gradient(circle at 18% 24%, rgba(0,229,255,0.08), transparent 28rem),
    radial-gradient(circle at 80% 20%, rgba(213,0,249,0.08), transparent 26rem),
    linear-gradient(0deg, var(--bg), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1,
h2,
h3,
.top-title h3,
.card-title-row h3,
.dashboard-welcome strong,
.admin-overview strong,
.section-row h3 {
  font-family: var(--font-display);
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5.7vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.05;
}
h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(155px, 1fr));
  gap: 1px;
  max-width: 820px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  background: var(--line);
}

.hero-stats article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 15px 16px;
  background: rgba(3,4,9,0.64);
}

.hero-stats svg {
  width: 19px;
  height: 19px;
  color: var(--cyan);
  opacity: 0.9;
}

.hero-stats article:nth-child(2) svg {
  color: var(--magenta);
}

.hero-stats article:nth-child(3) svg {
  color: var(--gold);
}

.hero-stats article:nth-child(4) svg {
  color: #e2e8f0;
}

.hero-stats strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.hero-stats span {
  color: var(--subtle);
  font-size: 0.82rem;
  line-height: 1.25;
  white-space: nowrap;
}

.page-body,
.detail-section,
.panels {
  padding: 64px clamp(18px, 4vw, 56px);
}

.anchor {
  position: relative;
  top: -88px;
  display: block;
}

.section-heading {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  max-width: var(--container);
  margin: 0 auto 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.055);
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 170px;
  height: 1px;
  background: linear-gradient(90deg, var(--hot), rgba(213,0,249,0.15), transparent);
  box-shadow: 0 0 24px rgba(255,31,109,0.22);
}

.section-heading.compact {
  display: block;
}

.page-body,
.section-heading.compact,
.finder,
.server-grid,
.detail-card {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.page-body.narrow {
  max-width: 860px;
}

[data-page="owner"] .page-body {
  min-height: calc(100vh - 310px);
}

.section-heading p {
  max-width: 650px;
}

.finder {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, minmax(145px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(3,4,9,0.58);
}

.toplist-finder {
  margin-bottom: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    rgba(3,4,9,0.68);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: var(--container);
  margin: 22px auto 0;
}

.pagination button {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014)),
    rgba(255,255,255,0.025);
  color: rgba(255,255,255,0.84);
  font-weight: 850;
  cursor: pointer;
}

.pagination button:hover,
.pagination button.active {
  border-color: rgba(0,229,255,0.42);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.018)),
    linear-gradient(135deg, rgba(0,229,255,0.18), rgba(213,0,249,0.1));
  color: var(--text);
  box-shadow: 0 12px 28px rgba(0,229,255,0.1);
}

.empty-state {
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 14px;
  padding: 26px;
  background: rgba(3,4,9,0.72);
  color: var(--muted);
  text-align: center;
}

.advanced-filters {
  grid-column: 1 / -1;
  order: 2;
}

.advanced-filters summary {
  width: max-content;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.advanced-filters > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.finder .button {
  order: 1;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--subtle);
  font-size: 0.74rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0 13px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
    rgba(3,4,9,0.68);
  color: var(--text);
  outline: none;
}

select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 13px) 19px,
    0 0;
  background-size: 5px 5px, 5px 5px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select > select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0 12px 0 13px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    rgba(3,4,9,0.78);
  color: var(--text);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 500;
}

.custom-select-button svg {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.72);
  transition: color 160ms ease, transform 160ms ease;
}

.custom-select.is-open .custom-select-button,
.custom-select-button:hover {
  border-color: rgba(0,229,255,0.48);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1), inset 0 1px 0 rgba(255,255,255,0.07);
}

.custom-select.is-open .custom-select-button svg {
  color: var(--cyan);
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: 40;
  display: none;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(0,229,255,0.28);
  border-radius: 12px;
  padding: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(3,4,9,0.98);
  box-shadow: 0 22px 54px rgba(0,0,0,0.38), 0 0 34px rgba(0,229,255,0.08);
}

.custom-select.is-open .custom-select-menu {
  display: grid;
  grid-template-columns: 1fr;
}

.custom-select-menu button {
  min-height: 36px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  background: transparent;
  color: rgba(255,255,255,0.82);
  text-align: left;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-menu button:hover,
.custom-select-menu button.active {
  background:
    linear-gradient(135deg, rgba(0,229,255,0.16), rgba(213,0,249,0.1)),
    rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 500;
}

.toplist-finder:has(.advanced-filters .custom-select.is-open) {
  padding-bottom: 118px;
}

.advanced-filters .custom-select {
  z-index: 1;
}

.advanced-filters .custom-select.is-open {
  z-index: 45;
}

.advanced-filters .custom-select-menu {
  display: none;
  width: 100%;
}

.advanced-filters .custom-select.is-open .custom-select-menu {
  display: grid;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 229, 255, 0.58);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12), 0 0 0 1px rgba(213, 0, 249, 0.08);
}

textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.tabs button {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.tabs button:hover {
  background: rgba(255, 255, 255, 0.04);
}

.tabs button.active {
  border-color: rgba(0, 229, 255, 0.34);
  background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(213,0,249,0.08));
  color: var(--text);
}

.server-grid {
  display: grid;
  gap: 14px;
}

.toplist-list {
  display: grid;
  gap: 10px;
  max-width: var(--container);
  margin: 0 auto;
}

.toplist-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px 260px minmax(280px, 1fr) 120px 185px 115px;
  gap: 18px;
  align-items: center;
  min-height: 172px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 14px;
  padding: 22px;
  background: rgba(3,4,9,0.72);
  justify-content: flex-end;
}

.top-players strong {
  font-size: 2rem;
  font-weight: 800;
}

.top-rating {
  min-width: 120px;
}

.top-stats {
  min-width: 190px;
}

.top-actions {
  min-width: 120px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.top-actions .vote-button {
  width: 92px;
  height: 38px;
  padding: 0 14px;
}

.toplist-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(90deg, rgba(7,11,18,0) 0%, rgba(7,11,18,0.18) 42%, rgba(7,11,18,0.86) 74%, rgba(7,11,18,0.98) 100%),;
  background-size: cover;
  background-position: left center;
  transform: scale(1.01);
  transition: transform 260ms ease, opacity 260ms ease;
}

.toplist-row::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,4,9,0.05) 0%, rgba(3,4,9,0.12) 22%, rgba(3,4,9,0.58) 48%, rgba(3,4,9,0.9) 72%, rgba(3,4,9,0.98) 100%);
}

.toplist-row > * {
  position: relative;
  z-index: 2;
}

.toplist-row:hover {
  border-color: rgba(0, 229, 255, 0.22);
  background: rgba(17,24,39,0.76);
}

.toplist-row:hover::before {
  transform: scale(1.045);
  opacity: 0.96;
}

.toplist-row.is-featured {
  border-color: rgba(250, 204, 21, 0.22);
}

.toplist-row .top-rank {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  background: rgba(8,13,22,0.76);
  backdrop-filter: blur(10px);
}

.top-rank {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.82);
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
}

.toplist-row:nth-child(1) .top-rank {
  border-color: rgba(250,204,21,0.36);
  background: rgba(250,204,21,0.13);
  color: #facc15;
  box-shadow: 0 0 28px rgba(250,204,21,0.22), inset 0 1px 0 rgba(255,255,255,0.12);
}

.toplist-row:nth-child(2) .top-rank {
  border-color: rgba(226,232,240,0.32);
  background: rgba(226,232,240,0.12);
  color: #e2e8f0;
  box-shadow: 0 0 24px rgba(226,232,240,0.12), inset 0 1px 0 rgba(255,255,255,0.12);
}

.toplist-row:nth-child(3) .top-rank {
  border-color: rgba(249,115,22,0.36);
  background: rgba(249,115,22,0.12);
  color: #fb923c;
  box-shadow: 0 0 24px rgba(249,115,22,0.16), inset 0 1px 0 rgba(255,255,255,0.12);
}

.toplist-row:nth-child(n+4) .top-rank {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.045);
  color: #ffffff;
}

.top-media {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: min(54%, 640px);
  pointer-events: none;
}

.top-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,4,9,0.06) 0%, rgba(3,4,9,0.18) 42%, rgba(3,4,9,0.86) 86%, rgba(3,4,9,0.98) 100%),
    linear-gradient(180deg, rgba(3,4,9,0.14), rgba(3,4,9,0.28));
}

.top-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.86;
  filter: saturate(1.08) contrast(1.05);
}

.top-media span {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 100px;
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(250, 204, 21, 0.14);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.top-main {
  grid-column: 3;
  min-width: 0;
}

.top-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-title h3 {
  margin-bottom: 6px;
  cursor: pointer;
}

.top-main p {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.top-rating span {
  display: block;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.9rem;
  white-space: nowrap;
}

.top-rating {
  grid-column: 4;
}

.top-rating small,
.top-votes span,
.top-players span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.65);
}

.top-stats {
  grid-column: 5;
  display: grid;
  grid-template-columns: 70px 110px;
  gap: 16px;
  align-items: center;
}
.vote-button {
  width: 84px;
  height: 36px;
  font-size: 0.9rem;
}

.top-votes {
  min-width: 50px;
}

.top-votes,
.top-players {
  min-width: 0;
  text-align: left;
}

.top-votes strong,
.top-players strong {
  display: block;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.top-actions {
  grid-column: 6;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.top-actions .button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.top-status-corner {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 6px 9px;
  background: rgba(8,13,22,0.72);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.top-status-corner::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.top-status-corner.is-offline {
  color: #ef4444;
  background: rgba(239,68,68,0.08);
}

.finder-results {
  margin-top: 18px;
}

.discover-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 34px);
  min-height: 330px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: clamp(22px, 5vw, 44px);
  background:
    linear-gradient(90deg, rgba(3,4,9,0.92) 0%, rgba(7,11,18,0.82) 54%, rgba(3,4,9,0.55) 100%),
    url("../images/hero-city.png") center / cover;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 22px 70px rgba(0,0,0,0.22);
}

.discover-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  opacity: 0.8;
}

.discover-hero > * {
  position: relative;
  z-index: 1;
}

.discover-hero h2 {
  max-width: 720px;
  margin: 4px 0 8px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
}

.discover-hero .muted {
  max-width: 640px;
  margin: 0;
}

.discover-hero-panel {
  display: grid;
  width: min(100%, 280px);
  align-content: end;
  justify-items: start;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 16px;
  background: rgba(3,4,9,0.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.discover-hero-panel strong,
.discover-hero-panel span {
  display: block;
}

.discover-hero-panel strong {
  color: var(--text);
  font-size: 1.05rem;
}

.discover-hero-panel span {
  color: var(--muted);
  line-height: 1.45;
}

.discover-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 26px;
}

.discover-strip article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 11px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 12px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    rgba(8, 12, 21, 0.72);
}

.discover-strip svg {
  grid-row: span 2;
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.discover-strip strong,
.discover-strip span {
  display: block;
}

.discover-strip strong {
  color: var(--text);
}

.discover-strip span {
  margin-top: 3px;
  color: var(--subtle);
  font-size: 0.84rem;
}

.compact-heading {
  margin-bottom: 14px;
}

.showcase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.discovery-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
}

.server-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 11, 19, 0.86), rgba(3, 4, 9, 0.76));
  box-shadow: none;
}

.server-card:hover {
  border-color: rgba(255, 31, 109, 0.28);
  background: rgba(8, 11, 19, 0.94);
  transform: translateY(-2px);
}

.card-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.rank {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(8, 13, 22, 0.72);
  backdrop-filter: blur(10px);
  color: var(--gold);
  font-weight: 900;
}

.banner {
  min-height: 190px;
  background: #182133 center / cover;
  position: relative;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.1), rgba(8, 13, 22, 0.86)),
    linear-gradient(90deg, transparent, rgba(15, 22, 36, 0.25));
}

.server-status,
.server-platform {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 6px 9px;
  background: rgba(8, 13, 22, 0.72);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 850;
}

.server-status {
  right: 14px;
  top: 14px;
  color: var(--green);
  background: rgba(34, 197, 94, 0.08);
}

.server-status,
.status-light {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.server-status::before,
.status-light::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.server-status.is-online,
.status-light.is-online {
  color: var(--green);
}

.server-status.is-offline,
.status-light.is-offline {
  color: #ef4444;
}

.server-status.is-offline {
  background: rgba(239,68,68,0.08);
}

.server-platform {
  left: 14px;
  bottom: 14px;
  color: #dffbff;
  background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(41,121,255,0.1));
}

.server-card-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
  padding: 18px;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.card-title-row h3 {
  cursor: pointer;
}

.slogan,
.muted,
.server-card p {
  color: var(--muted);
}

.slogan {
  margin-bottom: 0;
  line-height: 1.5;
}

.featured-badge {
  display: none;
  width: max-content;
  margin-top: 9px;
  border-radius: var(--radius);
  padding: 4px 8px;
  background: rgba(250, 204, 21, 0.13);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
}

.is-featured .featured-badge { display: inline-flex; }

.badges,
.tags,
.metrics,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.badges {
  grid-column: auto;
}

.live-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 9px 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.live-meta strong {
  color: var(--text);
  font-weight: 850;
}

.tags {
  display: flex;
}

.metrics {
  grid-column: auto;
  color: var(--subtle);
}

.metrics .rating {
  color: var(--gold);
}

.badges span,
.tags span,
.metrics span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.badges span {
  color: #c6cfdd;
  background: rgba(255, 255, 255, 0.045);
}

.tags span {
  color: #8f9bad;
  background: rgba(255,255,255,0.035);
}

.online-dot {
  color: var(--green) !important;
}

.vote-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  text-align: left;
}

.vote-row strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.vote-row span {
  color: var(--subtle);
  font-size: 0.76rem;
}

.card-actions {
  grid-column: auto;
  justify-content: flex-start;
  align-self: end;
  position: relative;
  z-index: 3;
}

.card-actions .button {
  min-height: 36px;
  padding: 0 11px;
}

.detail-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(8,11,19,0.84), rgba(3,4,9,0.76)),
    var(--card);
}

.detail-banner {
  position: relative;
  min-height: 340px;
  background: #182133 center / cover;
}

.detail-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3,4,9,0.94), rgba(3,4,9,0.08));
}

.detail-banner-content {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-banner-content span {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: rgba(8,13,22,0.76);
  color: var(--text);
}

.detail-banner-content span:not(.server-status) {
  display: none;
}

.detail-body {
  padding: 28px;
}

.detail-body > .eyebrow,
.detail-body > h2,
.detail-body > .muted,
.detail-body > .detail-meta,
.detail-body > .card-actions,
.detail-body > .detail-layout {
  display: none;
}

.profile-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.profile-head h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.profile-badges span {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.035);
  color: #d8e8ff;
  font-size: 0.78rem;
  font-weight: 750;
}

.profile-rating-value {
  color: var(--gold) !important;
  letter-spacing: 0;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.profile-action-button {
  min-height: 38px;
  border-radius: 9px;
  padding-inline: 13px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
    rgba(7, 11, 18, 0.72);
  color: #eef6ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.profile-action-button svg {
  width: 17px;
  height: 17px;
}

.profile-action-button.action-discord,
.profile-action-button.action-connect {
  border-color: rgba(255, 31, 109, 0.48);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.01)),
    linear-gradient(135deg, var(--hot), #d500f9);
  box-shadow: 0 10px 24px rgba(255, 31, 109, 0.16), inset 0 1px 0 rgba(255,255,255,0.18);
}

.profile-action-button.action-website,
.profile-action-button.action-report {
  border-color: rgba(255,255,255,0.1);
}

.profile-action-button.action-website svg,
.profile-action-button.action-report svg {
  color: #8fa3bd;
}

.profile-action-button:not(.is-disabled):hover {
  transform: translateY(-1px);
}

.profile-action-button.action-website:not(.is-disabled):hover,
.profile-action-button.action-report:not(.is-disabled):hover {
  border-color: rgba(0,229,255,0.2);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.024)),
    rgba(10, 16, 27, 0.9);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 18px 0 20px;
  background: var(--line);
}

.profile-stats article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.022);
}

.profile-stats svg,
.profile-stats .status-light {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.profile-stats article:nth-child(2) svg {
  color: var(--gold);
}

.profile-stats article:nth-child(4) svg {
  color: var(--magenta);
}

.profile-stats span,
.profile-sidebar span {
  display: block;
  color: var(--subtle);
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.profile-stats strong,
.profile-sidebar strong {
  display: block;
  color: var(--text);
  font-weight: 950;
}

.profile-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
}

.profile-story,
.profile-sidebar {
  background: rgba(255,255,255,0.018);
}

.profile-story h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.profile-sidebar {
  align-content: start;
}

.profile-sidebar div + div {
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 12px;
}

.profile-features {
  margin: 12px 0 0;
}

.profile-features[hidden] {
  display: none;
}

.highlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.highlight-tags span {
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(0,229,255,0.06);
  color: #b9f8ff;
  font-size: 0.76rem;
  font-weight: 800;
}

.profile-media {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.022);
}

.video-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.34);
}

.video-frame img,
.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.video-frame img {
  object-fit: cover;
  filter: brightness(0.58) saturate(1.08);
  transform: scale(1.01);
  transition: transform 180ms ease, filter 180ms ease;
}

.video-frame iframe {
  border: 0;
}

.video-link-card {
  color: #fff;
  text-decoration: none;
}

.video-link-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4,7,14,0.04), rgba(4,7,14,0.72)),
    linear-gradient(90deg, rgba(4,7,14,0.62), rgba(4,7,14,0.05));
}

.video-link-card:hover img {
  filter: brightness(0.7) saturate(1.15);
  transform: scale(1.035);
}

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2aa3, #d500f9);
  box-shadow: 0 18px 45px rgba(229,0,164,0.34);
  transform: translate(-50%, -50%);
}

.video-play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #fff;
}

.video-link-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.video-link-copy strong {
  font-size: 1.1rem;
  line-height: 1.2;
}

.video-link-copy small {
  color: var(--muted);
  font-size: 0.86rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}

.detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0;
}

.detail-tabs[hidden] {
  display: none;
}

.detail-tabs span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  margin-top: 20px;
}

.server-story,
.server-sidebar,
.comment-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: rgba(255,255,255,0.022);
}

.server-story p {
  color: var(--muted);
  line-height: 1.7;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.story-grid article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255,255,255,0.026);
}

.story-grid article:nth-child(2) {
  background: rgba(255,255,255,0.026);
}

.story-grid article:nth-child(3) {
  background: rgba(255,255,255,0.035);
}

.story-grid strong,
.server-sidebar strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.story-grid span,
.server-sidebar span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.server-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
}

.server-sidebar strong {
  font-size: 1.15rem;
}

.server-sidebar span {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 10px;
}

.comment-box {
  margin-top: 18px;
  padding: 16px;
}

.comment-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.comment-section-head h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.comment-section-head > span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.comment-composer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.018);
}

.comment-avatar {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255,255,255,0.07);
  box-shadow: 0 12px 28px rgba(0,0,0,0.24);
}

.composer-avatar {
  width: 38px;
  height: 38px;
}

.composer-body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.composer-meta,
.comment-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.composer-meta {
  margin-bottom: 8px;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin-bottom: -10px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 4px;
  background: rgba(0,0,0,0.18);
}

.editor-toolbar button {
  min-width: 30px;
  min-height: 26px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 850;
  font-size: 0.78rem;
}

.editor-toolbar button:hover {
  border-color: rgba(0,229,255,0.28);
  color: var(--text);
}

.composer-meta strong,
.comment-head strong {
  color: var(--text);
  font-weight: 950;
}

.composer-meta span,
.comment-head span {
  color: var(--subtle);
  font-size: 0.82rem;
}

.comment-composer textarea {
  min-height: 76px;
  border-radius: 10px;
  background: rgba(4,7,13,0.72);
}

.review-composer textarea {
  border-top: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
}

.rating-picker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 10px;
}

.rating-picker button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
  color: var(--subtle);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.rating-picker button:hover,
.rating-picker button.active {
  border-color: rgba(250, 204, 21, 0.36);
  background: rgba(250, 204, 21, 0.11);
  color: var(--gold);
  transform: translateY(-1px);
}

.rating-picker svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: currentColor;
}

.own-review-note {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(250, 204, 21, 0.075);
}

.own-review-note span {
  color: var(--subtle);
  font-size: 0.76rem;
  font-weight: 800;
}

.own-review-note strong {
  color: var(--gold);
  font-size: 0.86rem;
  letter-spacing: 0;
}

.review-stars {
  display: inline-block;
  margin-top: 6px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
}

.form-message {
  width: 100%;
  margin-bottom: 8px;
}

.composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.comment-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.comment-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 12px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    rgba(8, 12, 21, 0.72);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.comment-card:hover {
  border-color: rgba(0,229,255,0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.018)),
    rgba(8, 12, 21, 0.82);
}

.comment-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.comment-card-head > span {
  flex: 0 0 auto;
  color: var(--subtle);
  font-size: 0.78rem;
}

.comment-card-tools {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--subtle);
  font-size: 0.78rem;
}

.comment-card-tools span {
  color: var(--subtle);
}

.report-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(203, 213, 225, 0.72);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
}

.report-link:hover {
  color: #8ff4ff;
}

.danger-link {
  color: rgba(254, 202, 202, 0.78);
}

.danger-link:hover {
  color: #fecdd3;
}

.report-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 4, 10, 0.74);
  backdrop-filter: blur(10px);
}

.report-dialog {
  width: min(100%, 520px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    #090d16;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45), 0 0 50px rgba(0,229,255,0.08);
}

.report-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.report-dialog h3 {
  margin: 3px 0 0;
  font-size: 1.25rem;
}

.report-dialog textarea {
  min-height: 118px;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.submit-dialog {
  width: min(100%, 820px);
  max-height: min(92vh, 860px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    #090d16;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45), 0 0 58px rgba(0,229,255,0.08);
}

.submit-dialog-head {
  margin-bottom: 16px;
}

.submit-dialog-head h3 {
  margin: 3px 0 4px;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
}

.submit-dialog-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.server-submit-form {
  display: grid;
  gap: 14px;
}

.submit-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.submit-form-section {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.024);
}

.submit-form-section.is-primary {
  border-color: rgba(0,229,255,0.17);
  background:
    linear-gradient(135deg, rgba(0,229,255,0.08), rgba(213,0,249,0.045)),
    rgba(255,255,255,0.024);
}

.submit-form-section h4 {
  margin: -4px 0 0;
  font-size: 1.05rem;
}

.submit-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.server-submit-form textarea {
  min-height: 96px;
}

.submit-checkbox {
  margin-top: 0;
}

.submit-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 14px;
}

.submit-dialog-footer .form-message {
  margin: 0;
}

.comment-profile {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.comment-profile-avatar {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255,255,255,0.07);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22), 0 0 0 3px rgba(255,255,255,0.035);
}

.comment-profile strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.2;
}

.comment-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.comment-profile-badges span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(0,229,255,0.07);
  color: #b9f8ff;
  font-size: 0.66rem;
  font-weight: 800;
}

.comment-profile-badges svg {
  width: 11px;
  height: 11px;
}

.rank-badge.rank-founder {
  border-color: rgba(37, 99, 235, 0.42);
  background: rgba(37, 99, 235, 0.14);
  color: #bfdbfe;
}

.rank-badge.rank-admin {
  border-color: rgba(220, 38, 38, 0.42);
  background: rgba(220, 38, 38, 0.14);
  color: #fecaca;
}

.rank-badge.rank-support {
  border-color: rgba(34, 197, 94, 0.42);
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
}

.rank-badge.rank-owner {
  border-color: rgba(245, 158, 11, 0.46);
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
}

.comment-content {
  min-width: 0;
}

.comment-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.comment-empty {
  border: 1px dashed rgba(148,163,184,0.28);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
}

.comment-empty strong,
.comment-empty span {
  display: block;
}

.comment-empty strong {
  color: var(--text);
  margin-bottom: 4px;
}

.comment-empty span {
  color: var(--subtle);
}

.panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-left: 0;
  padding-right: 0;
}

.dashboard-shell {
  display: grid;
  gap: 14px;
  padding-left: 0;
  padding-right: 0;
}

.dashboard-switch {
  display: inline-flex;
  justify-self: start;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px;
  background: rgba(255,255,255,0.03);
}

.dashboard-switch button {
  border: 0;
  border-radius: 8px;
  padding: 9px 13px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.dashboard-switch button:hover,
.dashboard-switch button.active {
  background: linear-gradient(135deg, rgba(0,229,255,0.13), rgba(213,0,249,0.09));
  color: var(--text);
}

.dashboard-panel {
  display: none;
}

.dashboard-panel.is-active {
  display: block;
}

.dashboard-panel[hidden] {
  display: none;
}

.panel {
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(180deg, rgba(8, 11, 19, 0.84), rgba(3, 4, 9, 0.72));
  box-shadow: none;
}

.owner-form {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012)),
    rgba(3,4,9,0.58);
}

.owner-form-intro {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-bottom: 16px;
  margin-bottom: 2px;
}

.owner-form-intro span {
  display: block;
  color: var(--hot);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-form-intro strong {
  display: block;
  margin: 4px 0 6px;
  color: var(--text);
  font-size: 1.18rem;
}

.owner-form-intro p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.022);
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkmark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(3,4,9,0.72);
}

.checkmark::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  opacity: 0;
  transform: rotate(-45deg) translateY(-1px);
}

.checkbox input:checked + .checkmark {
  border-color: rgba(255,31,109,0.62);
  background: linear-gradient(135deg, var(--hot), #d500f9);
  box-shadow: 0 0 18px rgba(255,31,109,0.2);
}

.checkbox input:checked + .checkmark::after {
  opacity: 1;
}

.checkbox strong,
.checkbox small {
  display: block;
}

.checkbox strong {
  color: var(--text);
}

.checkbox small {
  color: var(--subtle);
  line-height: 1.45;
}

.form-message {
  min-height: 22px;
  color: var(--muted);
}

.admin-grid,
.panel-body {
  display: grid;
  gap: 12px;
}

.stat-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)),
    rgba(255, 255, 255, 0.03);
}

.stat-box strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
}

.stat-box span {
  color: var(--subtle);
  font-size: 0.82rem;
}

.dashboard-welcome {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.13), rgba(41, 121, 255, 0.08), rgba(213, 0, 249, 0.08)),
    rgba(255,255,255,0.03);
}

.dashboard-avatar {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
}

.dashboard-welcome span,
.dashboard-welcome small {
  display: block;
  color: var(--muted);
}

.dashboard-welcome strong {
  display: block;
  margin: 3px 0;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-badge {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(250, 204, 21, 0.18);
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(250,204,21,0.08), rgba(255,255,255,0.018)),
    rgba(255,255,255,0.03);
}

.dashboard-badge svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.dashboard-badge strong,
.dashboard-badge span {
  display: block;
}

.dashboard-badge strong {
  color: var(--text);
}

.dashboard-badge span {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 0.82rem;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-row h3 {
  margin: 3px 0 0;
  font-size: 1.15rem;
}

.text-link {
  color: #8ff4ff;
  font-weight: 800;
  font-size: 0.88rem;
}

.text-link:hover {
  color: var(--text);
}

.compact-button {
  min-height: 34px;
  padding-inline: 10px;
  font-size: 0.84rem;
}

.owned-servers {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

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

.owned-server-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018)),
    rgba(17,24,39,0.72);
}

.owned-server-card:hover {
  border-color: rgba(213, 0, 249, 0.2);
}

.owned-server-card img {
  width: 74px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.08);
}

.owned-server-card strong,
.owned-server-card span {
  display: block;
}

.owned-server-card strong {
  color: var(--text);
}

.owned-server-main {
  min-width: 0;
}

.owned-server-card span {
  color: var(--subtle);
  font-size: 0.84rem;
}

.owned-banner-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.owned-banner-form input {
  min-height: 34px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.owned-banner-form .button {
  white-space: nowrap;
}

.owned-server-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.icon-danger-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(251, 113, 133, 0.22);
  border-radius: var(--radius);
  background: rgba(251, 113, 133, 0.06);
  color: #fecdd3;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.icon-danger-button svg {
  width: 16px;
  height: 16px;
}

.icon-danger-button:hover {
  border-color: rgba(251, 113, 133, 0.46);
  background: rgba(251, 113, 133, 0.13);
  color: #fff;
  transform: translateY(-1px);
}

.modal-close-button {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.045);
  color: var(--muted);
}

.modal-close-button:hover {
  border-color: rgba(0,229,255,0.38);
  background: rgba(0,229,255,0.09);
  color: #fff;
}

.danger-text-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(251, 113, 133, 0.24);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(251, 113, 133, 0.07);
  color: #fecdd3;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
}

.danger-text-button svg {
  width: 15px;
  height: 15px;
}

.danger-text-button:hover {
  border-color: rgba(251, 113, 133, 0.5);
  background: rgba(251, 113, 133, 0.14);
  color: #fff;
}

.status-pill {
  justify-self: end;
  border: 1px solid rgba(250, 204, 21, 0.26);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: capitalize;
}

.status-pill.online {
  border-color: rgba(34, 197, 94, 0.26);
  background: rgba(34, 197, 94, 0.08);
  color: #86efac;
}

.status-pill.pending {
  border-color: rgba(250, 204, 21, 0.28);
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a;
}

.status-pill.blocked {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.09);
  color: #fecaca;
}

.empty-state {
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255,255,255,0.025);
}

.empty-state strong,
.empty-state span {
  display: block;
}

.empty-state strong {
  color: var(--text);
  margin-bottom: 4px;
}

.empty-state span {
  color: var(--subtle);
}

.admin-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(213, 0, 249, 0.24);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(213, 0, 249, 0.12), rgba(170, 0, 255, 0.08)),
    rgba(255,255,255,0.03);
}

.admin-overview strong,
.admin-overview small {
  display: block;
}

.admin-overview strong {
  color: var(--text);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.05;
  margin: 3px 0 6px;
}

.admin-overview small {
  color: var(--muted);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)),
    rgba(255, 255, 255, 0.03);
}

.admin-stat span,
.admin-stat small {
  display: block;
  color: var(--subtle);
  font-size: 0.8rem;
}

.admin-stat strong {
  display: block;
  margin: 5px 0 2px;
  color: var(--text);
  font-size: 1.7rem;
}

.admin-stat.needs-attention {
  border-color: rgba(250, 204, 21, 0.28);
  background:
    linear-gradient(180deg, rgba(250,204,21,0.09), rgba(255,255,255,0.018)),
    rgba(255, 255, 255, 0.03);
}

.admin-stat.needs-attention small {
  color: #fde68a;
}

.admin-server-review {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
    rgba(3, 4, 9, 0.5);
}

.admin-server-list {
  display: grid;
  gap: 10px;
}

.admin-user-list {
  display: grid;
  gap: 10px;
}

.admin-user-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 150px 130px auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: var(--radius);
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    rgba(8, 12, 21, 0.72);
}

.admin-user-avatar {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255,255,255,0.07);
}

.admin-user-main {
  min-width: 0;
}

.admin-user-main strong,
.admin-user-main span {
  display: block;
}

.admin-user-main strong {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-main span {
  color: var(--subtle);
  font-size: 0.82rem;
}

.admin-user-select {
  min-height: 36px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.admin-moderation-list {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding-right: 2px;
}

.admin-moderation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: var(--radius);
  padding: 11px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    rgba(8, 12, 21, 0.72);
}

.admin-moderation-card.needs-review {
  border-color: rgba(250, 204, 21, 0.24);
  box-shadow: inset 3px 0 0 rgba(250, 204, 21, 0.72);
}

.admin-moderation-card strong,
.admin-moderation-card span,
.admin-moderation-card p {
  display: block;
}

.admin-moderation-card strong {
  color: var(--text);
}

.admin-moderation-card span,
.admin-moderation-card p {
  color: var(--subtle);
  font-size: 0.82rem;
}

.admin-moderation-card p {
  margin: 4px 0 0;
  line-height: 1.45;
}

.admin-server-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: var(--radius);
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014)),
    rgba(8, 12, 21, 0.72);
}

.admin-server-card.needs-review {
  border-color: rgba(250, 204, 21, 0.24);
  box-shadow: inset 3px 0 0 rgba(250, 204, 21, 0.72);
}

.admin-server-card img {
  width: 86px;
  height: 54px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  object-fit: cover;
}

.admin-server-main {
  min-width: 0;
}

.admin-server-main strong,
.admin-server-main span {
  display: block;
}

.admin-server-main strong {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-server-main span {
  margin-top: 3px;
  color: var(--subtle);
  font-size: 0.84rem;
}

.admin-server-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.review-feed {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.review-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(17,24,39,0.58);
}

.review-card h3 {
  margin-bottom: 5px;
}

.review-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.review-score {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
}

.info-grid article,
.login-required {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.64), rgba(13, 20, 33, 0.58));
}

.info-grid svg,
.login-required > svg {
  width: 24px;
  height: 24px;
  margin-bottom: 18px;
  color: var(--cyan);
}

.info-grid article:nth-child(1) svg {
  color: var(--gold);
}

.info-grid article:nth-child(2) svg {
  color: var(--magenta);
}

.info-grid article:nth-child(3) svg {
  color: var(--subtle);
}

.info-grid strong,
.login-required strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.info-grid span,
.login-required span {
  color: var(--muted);
  line-height: 1.6;
}

.login-required {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 22px;
}

.login-required[hidden],
.protected-content[hidden] {
  display: none;
}

.login-required .discord-button {
  margin-top: 8px;
}

.about-page {
  display: grid;
  gap: 14px;
  max-width: var(--container);
}

.about-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: end;
  min-height: 330px;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 18px;
  padding: clamp(26px, 6vw, 64px);
  background:
    linear-gradient(90deg, rgba(3,4,9,0.94) 0%, rgba(7,11,18,0.78) 52%, rgba(3,4,9,0.52) 100%),
    url("../images/hero-city.png") center 46% / cover;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 80px rgba(0,0,0,0.24);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,229,255,0.12), transparent 38%),
    linear-gradient(315deg, rgba(213,0,249,0.12), transparent 42%);
  opacity: 1;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  opacity: 0.82;
}

.about-hero > * {
  position: relative;
  z-index: 1;
}

.about-hero h2 {
  max-width: 880px;
  margin: 6px 0 14px;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.94;
}

.about-hero .muted {
  max-width: 700px;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.about-signal {
  align-self: stretch;
  display: grid;
  align-content: end;
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
    rgba(3,4,9,0.66);
  backdrop-filter: blur(6px);
}

.about-signal span,
.about-signal strong {
  display: block;
}

.about-signal span {
  color: var(--subtle);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-signal strong {
  margin-top: 7px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.12;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 14px;
}

.about-manifest {
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 14px;
  padding: clamp(18px, 4vw, 30px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    rgba(8, 12, 21, 0.72);
}

.about-manifest h3 {
  max-width: 760px;
  margin: 6px 0 14px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
}

.about-manifest p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-pillars article {
  display: grid;
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 12px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    rgba(8, 12, 21, 0.72);
}

.about-pillars svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

.about-pillars strong,
.about-pillars span {
  display: block;
}

.about-pillars strong {
  color: var(--text);
  font-size: 1.02rem;
}

.about-pillars span {
  color: var(--muted);
  line-height: 1.55;
}

.about-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}

.about-flow div {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 180px;
  padding: 18px;
}

.about-flow div + div {
  border-left: 1px solid rgba(255,255,255,0.075);
}

.about-flow span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(0,229,255,0.22);
  background: rgba(0,229,255,0.08);
  color: #b9f8ff;
  font-weight: 900;
}

.about-flow strong {
  color: var(--text);
  font-size: 1.15rem;
}

.about-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.news-page {
  display: grid;
  gap: 14px;
  max-width: var(--container);
}

.news-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 18px;
  padding: clamp(26px, 6vw, 52px);
  background:
    linear-gradient(90deg, rgba(3,4,9,0.94) 0%, rgba(7,11,18,0.78) 52%, rgba(3,4,9,0.52) 100%),
    url("../images/hero-city.png") center 46% / cover;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 80px rgba(0,0,0,0.24);
}

.news-hero h2 {
  max-width: 780px;
  margin: 6px 0 12px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.95;
}

.news-hero .muted {
  max-width: 680px;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.7;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 12px;
}

.news-card,
.news-empty {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    rgba(8, 12, 21, 0.72);
}

.news-card-meta,
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--subtle);
  font-size: 0.82rem;
}

.news-card-meta span {
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(0,229,255,0.07);
  color: #b9f8ff;
  font-weight: 850;
}

.news-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.news-card p,
.news-empty span {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.news-empty strong {
  color: var(--text);
}

.about-community-note {
  display: grid;
  align-content: end;
  gap: 10px;
  border: 1px solid rgba(0,229,255,0.14);
  border-radius: 14px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(0,229,255,0.07), rgba(213,0,249,0.045)),
    rgba(255,255,255,0.024);
}

.about-community-note strong,
.about-community-note span {
  display: block;
}

.about-community-note strong {
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.1;
}

.about-community-note span {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 28px;
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 36px clamp(18px, 4vw, 56px) 28px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.9rem;
}

.footer-brand p {
  max-width: 380px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-socials a {
  display: inline-grid;
  width: 36px;
  height: 36px;
  min-height: 36px;
  align-items: center;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(3, 4, 9, 0.58);
  color: var(--text);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
}

.footer-socials a:hover {
  border-color: rgba(0,229,255,0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.024)),
    rgba(8, 12, 21, 0.82);
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.site-footer h3 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 0.9rem;
}

.site-footer nav a {
  color: var(--muted);
}

.site-footer nav a:hover {
  color: var(--text);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1220px) {
  .header-inner {
    grid-template-columns: minmax(210px, 0.8fr) minmax(460px, auto) minmax(300px, 0.8fr);
    gap: 14px;
  }

  .brand-logo-text {
    width: clamp(170px, 16vw, 215px);
  }

  .main-nav {
    gap: 3px;
    font-size: 0.84rem;
  }

  .main-nav a {
    padding: 9px 8px;
  }

  .header-actions {
    gap: 8px;
    padding-left: 10px;
  }

  .join-discord-button {
    padding-inline: 10px;
  }
}

@media (max-width: 1080px) {
  .finder,
  .panels,
  .dashboard-stats,
  .dashboard-badges,
  .owned-server-list,
  .admin-metrics,
  .info-grid,
  .showcase-grid,
  .discovery-grid,
  .detail-layout,
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .finder .button {
    grid-column: 1 / -1;
  }

  .discover-hero,
  .about-hero,
  .about-layout,
  .about-pillars,
  .about-flow {
    grid-template-columns: 1fr;
  }

  .discover-hero {
    display: grid;
  }

  .discover-hero-panel {
    width: 100%;
  }

  .discover-strip {
    grid-template-columns: 1fr;
  }

  .about-flow div + div {
    border-top: 1px solid rgba(255,255,255,0.075);
    border-left: 0;
  }

  .toplist-row {
    grid-template-columns: 54px 150px minmax(0, 1fr) 124px;
  }

  .top-media {
    left: 0;
    right: auto;
    top: 0;
    width: min(56%, 520px);
  }

  .top-main {
    grid-column: 3;
  }

  .top-rating {
    grid-column: 4;
  }

  .top-stats,
  .top-votes,
  .top-rating {
    text-align: left;
  }

  .top-stats {
    grid-column: 3;
  }

  .top-actions {
    grid-column: 4;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .vote-button {
  padding: 10px 18px;
  font-size: 0.9rem;
  min-height: 40px;
  }

  .admin-server-card {
    grid-template-columns: 76px minmax(0, 1fr) auto;
  }

  .admin-user-card {
    grid-template-columns: auto minmax(0, 1fr) 1fr 1fr auto;
  }

  .admin-user-card .button {
    grid-column: 3 / 5;
    justify-self: start;
  }

  .admin-panel-grid {
    grid-template-columns: 1fr;
  }

  .admin-server-actions {
    grid-column: 2 / -1;
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .main-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav {
    justify-self: stretch;
  }

  .header-actions {
    justify-self: stretch;
  }

  .main-nav.is-open,
  .header-actions.is-open {
    display: flex;
  }

  .icon-button {
    display: block;
    justify-self: end;
  }

  .hero {
    min-height: 620px;
  }

  .hero::after {
    right: 18px;
    top: auto;
    bottom: 34px;
    width: min(72vw, 360px);
    opacity: 0.18;
    transform: none;
  }

  .hero-stats,
  .finder,
  .panels,
  .dashboard-stats,
  .dashboard-badges,
  .owned-server-list,
  .info-grid,
  .site-footer,
  .form-row,
  .admin-overview,
  .admin-metrics,
  .profile-head,
  .profile-stats,
  .profile-content {
    grid-template-columns: 1fr;
  }

  .profile-actions {
    justify-content: flex-start;
  }

  .admin-overview {
    align-items: start;
  }

  .section-heading {
    display: block;
  }

  .footer-bottom {
    display: grid;
  }

  .tabs {
    justify-content: flex-start;
    margin-top: 14px;
  }

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

  .showcase-grid,
  .detail-layout,
  .story-grid {
    grid-template-columns: 1fr;
  }

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

  .discover-hero {
    min-height: auto;
    padding: 20px;
  }

  .discover-hero h2,
  .about-hero h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .about-hero {
    min-height: auto;
    padding: 22px;
  }

  .owned-server-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .admin-server-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .admin-user-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .admin-user-card select,
  .admin-user-card .button {
    grid-column: 2;
    justify-self: stretch;
  }

  .admin-user-card .icon-danger-button {
    grid-column: 2;
    justify-self: start;
  }

  .admin-moderation-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-moderation-card .button,
  .admin-moderation-card .icon-danger-button,
  .admin-moderation-card select {
    justify-self: start;
  }

  .admin-server-card img {
    width: 64px;
    height: 44px;
  }

  .admin-server-card .status-pill,
  .admin-server-actions {
    grid-column: 2;
    justify-self: start;
  }

  .owned-server-card img {
    width: 64px;
    height: 44px;
  }

  .owned-server-card .status-pill {
    grid-column: 2;
    justify-self: start;
  }

  .owned-server-actions,
  .owned-banner-form {
    grid-column: 2;
  }

  .owned-banner-form {
    grid-template-columns: 1fr;
  }

  .comment-section-head,
  .composer-actions,
  .composer-meta,
  .comment-head {
    display: grid;
    justify-content: start;
  }

  .comment-composer {
    grid-template-columns: 1fr;
  }

  .comment-card {
    grid-template-columns: 1fr;
  }

  .comment-card-head {
    display: grid;
    justify-content: stretch;
  }

  .comment-card-head > span {
    justify-self: start;
  }

  .comment-card-tools {
    width: 100%;
    justify-content: space-between;
  }

  .submit-form-grid,
  .submit-two-col {
    grid-template-columns: 1fr;
  }

  .submit-dialog-footer {
    display: grid;
    justify-content: stretch;
  }

  .submit-dialog-footer .button {
    width: 100%;
  }

  .toplist-row {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .top-rank {
    width: 48px;
    min-width: 48px;
  }

  .top-media {
    inset: 0;
    width: 100%;
  }

  .toplist-row::after {
    background: linear-gradient(180deg, rgba(7,11,18,0.18) 0%, rgba(7,11,18,0.86) 42%, rgba(7,11,18,0.96) 100%);
  }

  .top-main,
  .top-rating,
  .top-stats,
  .top-actions {
    grid-column: auto;
  }

  .review-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand-logo-text {
    width: 150px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-actions,
  .card-actions {
    flex-direction: column;
  }

  .hero-stats span {
    white-space: normal;
  }

  .button,
  .discord-button,
  .join-discord-button {
    width: 100%;
  }
}
