:root {
  --page-bg: #111214;
  --surface: #1b1d21;
  --surface-strong: #252830;
  --text-main: #f3f4f6;
  --text-soft: #b3b8c2;
  --accent: #f5f5f5;
  --accent-dark: #d8dbe1;
  --border: #31353d;
  --shadow: rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: var(--page-bg);
  color: var(--text-main);
}

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero {
  padding: 5rem 0 1.75rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  text-align: center;
  min-height: 0;
  max-width: 46rem;
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-subheading {
  max-width: 38rem;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-soft);
}

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 210px;
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background-color: var(--surface-strong);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.discord-button:hover,
.discord-button:focus-visible {
  background-color: #2d3139;
  border-color: #454a55;
  transform: translateY(-2px);
}

.staff-section {
  padding-top: 1rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
  align-items: center;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background-color: #241f31;
  border: 1px solid #8b5cf6;
  color: #efe7ff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.85);
  box-shadow:
    0 0 10px rgba(139, 92, 246, 0.65),
    0 0 24px rgba(139, 92, 246, 0.45),
    inset 0 0 12px rgba(139, 92, 246, 0.18);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.staff-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  min-height: 260px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 14px 30px var(--shadow);
}

.staff-panel h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.15;
}

.staff-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.staff-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.staff-name {
  min-height: 1.8rem;
}

.staff-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background-color: #241f31;
  border: 1px solid #8b5cf6;
  color: #efe7ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.85);
  box-shadow:
    0 0 10px rgba(139, 92, 246, 0.65),
    0 0 24px rgba(139, 92, 246, 0.45),
    inset 0 0 12px rgba(139, 92, 246, 0.18);
}

.staff-badge-admin {
  background-color: #311b1f;
  border-color: #ef4444;
  color: #ffe7e7;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.85);
  box-shadow:
    0 0 10px rgba(239, 68, 68, 0.65),
    0 0 24px rgba(239, 68, 68, 0.45),
    inset 0 0 12px rgba(239, 68, 68, 0.18);
}

.staff-badge-mod {
  background-color: #18283a;
  border-color: #3b82f6;
  color: #e8f1ff;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.85);
  box-shadow:
    0 0 10px rgba(59, 130, 246, 0.65),
    0 0 24px rgba(59, 130, 246, 0.45),
    inset 0 0 12px rgba(59, 130, 246, 0.18);
}

.staff-avatar {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  padding: 0.2rem;
  border: 1px solid #8b5cf6;
  border-radius: 50%;
  background-color: #241f31;
  object-fit: cover;
  box-shadow:
    0 0 10px rgba(139, 92, 246, 0.65),
    0 0 24px rgba(139, 92, 246, 0.45),
    inset 0 0 12px rgba(139, 92, 246, 0.18);
}

.staff-avatar-admin {
  border-color: #ef4444;
  background-color: #311b1f;
  box-shadow:
    0 0 10px rgba(239, 68, 68, 0.65),
    0 0 24px rgba(239, 68, 68, 0.45),
    inset 0 0 12px rgba(239, 68, 68, 0.18);
}

.staff-avatar-mod {
  border-color: #3b82f6;
  background-color: #18283a;
  box-shadow:
    0 0 10px rgba(59, 130, 246, 0.65),
    0 0 24px rgba(59, 130, 246, 0.45),
    inset 0 0 12px rgba(59, 130, 246, 0.18);
}

.staff-panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.staff-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.staff-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background-color: var(--surface-strong);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.staff-link:hover,
.staff-link:focus-visible {
  background-color: #2d3139;
  border-color: #4b5160;
  transform: translateY(-2px);
}

.staff-link img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1.25rem, 1120px);
    padding-top: 1.25rem;
  }

  .hero {
    padding: 3.5rem 0 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 16vw, 4.5rem);
  }

  .hero-subheading {
    font-size: 1rem;
    line-height: 1.65;
  }

  .discord-button {
    width: 100%;
  }

  .staff-section {
    padding-top: 1rem;
  }
}
