:root {
  --bg: #05070d;
  --panel: rgba(8, 12, 22, 0.82);
  --panel-soft: rgba(13, 18, 32, 0.72);
  --line: rgba(35, 109, 184, 0.56);
  --line-bright: #1498ff;
  --cyan: #1fbfff;
  --cyan-deep: #075ed3;
  --text: #f3f7fa;
  --muted: #b9c4cc;
  --shadow: rgba(0, 0, 0, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 16%, rgba(20, 152, 255, 0.16), transparent 30%),
    radial-gradient(circle at 84% 82%, rgba(116, 80, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #02040a 0%, #06101d 48%, #030610 100%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.6), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.6)),
    linear-gradient(180deg, rgba(1, 3, 8, 0.16), rgba(1, 3, 8, 0.58));
  z-index: 1;
}

.home-body {
  background:
    radial-gradient(circle at 12% 12%, rgba(20, 152, 255, 0.26), transparent 30%),
    radial-gradient(circle at 88% 88%, rgba(7, 94, 211, 0.24), transparent 34%),
    linear-gradient(135deg, #02040a 0%, #07111f 42%, #030610 100%),
    var(--bg);
}

.neon-network {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: #02040a;
  opacity: 0.78;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce), (max-width: 760px) {
  .neon-network {
    display: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 96px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 clamp(22px, 4vw, 52px);
  background: rgba(3, 8, 12, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, opacity 220ms ease;
  will-change: transform, opacity;
}

.site-header.header-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-110%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  text-transform: uppercase;
}

.brand-mark {
  width: 138px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(31, 191, 255, 0.42));
}

.brand-text strong {
  display: block;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 0.9;
  font-weight: 950;
  text-shadow: 0 3px 0 #2c3338, 0 10px 18px var(--shadow);
}

.brand-text span {
  display: block;
  margin-top: 7px;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.34em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 74px);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 35px 0 31px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(31, 191, 255, 0.48);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 76px;
  height: 2px;
  background: var(--cyan);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(22, 183, 242, 0.8);
}

.discord-top {
  justify-self: end;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  border: 1px solid var(--line-bright);
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(2, 12, 18, 0.54);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.discord-top:hover {
  transform: translateY(-2px);
  border-color: #1fd7ff;
  background: rgba(20, 152, 255, 0.16);
  box-shadow: 0 0 28px rgba(20, 152, 255, 0.26);
}

.discord-top svg,
.btn svg {
  width: 26px;
  height: 26px;
  color: var(--cyan);
  stroke-width: 3;
}

.discord-icon {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.btn .discord-icon {
  width: 30px;
  height: 30px;
}

main {
  min-height: calc(100vh - 88px);
  padding: 96px clamp(18px, 4vw, 52px) 30px;
}

.hero {
  min-height: 600px;
  display: grid;
  place-items: center;
  text-align: center;
  padding-bottom: 42px;
}

.hero-content {
  width: min(860px, 100%);
  padding-top: 38px;
}

.hero-logo {
  width: min(660px, 92vw);
  height: auto;
  margin: 0 auto 4px;
  display: block;
  filter: drop-shadow(0 0 28px rgba(8, 124, 255, 0.44)) drop-shadow(0 18px 20px rgba(0, 0, 0, 0.68));
}

.kicker {
  margin: 0 0 2px;
  color: var(--cyan);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(22, 183, 242, 0.46);
}

h1 {
  margin: 0;
  font-size: clamp(4.6rem, 10.5vw, 8.8rem);
  line-height: 0.84;
  font-weight: 950;
  text-transform: uppercase;
  background: linear-gradient(#fff 8%, #d7dde1 34%, #707b84 58%, #ffffff 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 0 rgba(0, 0, 0, 0.42)) drop-shadow(0 20px 24px rgba(0, 0, 0, 0.78));
}

.hero h1 {
  font-size: clamp(3.8rem, 9vw, 7.2rem);
}

.subtitle {
  margin: 8px 0 18px;
  color: var(--cyan);
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(22, 183, 242, 0.44), 0 9px 14px rgba(0, 0, 0, 0.72);
}

.intro {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 32px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.btn {
  min-width: min(290px, 100%);
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 30px;
  border-radius: 6px;
  border: 1px solid var(--line-bright);
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.btn.primary {
  background: linear-gradient(180deg, #1498ff, #075ed3);
  border-color: rgba(31, 215, 255, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn.primary:hover {
  transform: translateY(-3px);
  border-color: #78dcff;
  background: linear-gradient(180deg, #1fbfff, #087cff);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.48), 0 0 30px rgba(20, 152, 255, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn.primary svg {
  color: #78dcff;
}

.btn.ghost {
  background: rgba(2, 10, 15, 0.62);
}

.btn.ghost:hover {
  transform: translateY(-3px);
  border-color: #1fd7ff;
  color: #ffffff;
  background: rgba(20, 152, 255, 0.14);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.36), 0 0 24px rgba(20, 152, 255, 0.24);
}

.btn:active,
.discord-top:active {
  transform: translateY(0);
}

.quick-links {
  width: min(1180px, 100%);
  margin: 28px auto 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.info-card,
.notice {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.info-card {
  min-height: 236px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  padding: 30px 34px;
  border-radius: 8px;
  text-align: center;
}

.info-card svg {
  width: 44px;
  height: 44px;
  color: var(--cyan);
  stroke-width: 2.4;
}

.info-card h2 {
  margin: 0;
  font-size: 1.48rem;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 3px 0 #1d252c, 0 8px 14px rgba(0, 0, 0, 0.72);
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.info-card a {
  margin-top: 6px;
  color: var(--cyan);
  font-weight: 850;
  text-transform: uppercase;
}

.notice {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 26px;
  border-color: rgba(24, 174, 234, 0.82);
  border-radius: 7px;
  background: rgba(5, 15, 22, 0.82);
}

.notice svg {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--cyan);
}

.notice h2 {
  margin: 0 0 5px;
  color: var(--cyan);
  font-size: 1.08rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.notice p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.home-page {
  padding-top: 96px;
}

.home-hero {
  min-height: calc(100vh - 96px);
  padding: clamp(54px, 8vw, 96px) 0 64px;
  place-items: center;
}

.server-showcase {
  width: min(1180px, 100%);
  position: relative;
  isolation: isolate;
}

.showcase-stats span,
.status-panel span {
  display: block;
  color: rgba(211, 225, 239, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.showcase-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: 0;
  text-align: left;
}

.showcase-copy {
  max-width: 760px;
}

.home-hero .kicker {
  margin-bottom: 16px;
  font-size: clamp(0.84rem, 1.1vw, 1rem);
  text-align: left;
}

.home-hero h1 {
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: 0.88;
}

.home-hero h1 span {
  display: block;
}

.home-hero .subtitle {
  margin: 18px 0 18px;
  color: #ffffff;
  font-size: clamp(1.12rem, 2.1vw, 1.72rem);
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.home-hero .intro {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.home-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 34px;
  margin-bottom: 0;
}

.status-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(20, 152, 255, 0.42);
  border-radius: 8px;
  background: rgba(5, 12, 24, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.32);
}

.status-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.status-panel strong {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-panel div:first-child strong {
  color: #28f7bc;
}

.status-panel.is-offline div:first-child strong {
  color: #ff5f7a;
}

.status-panel.is-online div:first-child strong {
  color: #28f7bc;
}

.showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 58px 0 0;
  border: 1px solid rgba(20, 152, 255, 0.32);
  border-radius: 8px;
  background: rgba(8, 15, 29, 0.72);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.showcase-stats article {
  min-height: 104px;
  padding: 22px 24px;
}

.showcase-stats article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-stats strong {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 950;
}

.showcase-stats p {
  margin: 6px 0 0;
  color: rgba(185, 196, 204, 0.72);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-page .quick-links {
  margin-top: 56px;
}

.rules-page {
  padding-bottom: 58px;
}

.rules-hero {
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.rules-hero h1 {
  font-size: clamp(4rem, 8vw, 7rem);
}

.rules-search {
  width: min(680px, 100%);
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 0 18px;
  border: 1px solid rgba(24, 174, 234, 0.78);
  border-radius: 8px;
  background: rgba(5, 15, 22, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.rules-search svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--cyan);
  stroke-width: 3;
}

.rules-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 1.04rem;
}

.rules-search input::placeholder {
  color: rgba(185, 196, 204, 0.82);
}

.rules-search-count {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.rules-content {
  width: min(1040px, 100%);
  margin: -18px auto 0;
}

.rules-article {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 15, 22, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.rules-article h2 {
  margin: 34px 0 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(24, 174, 234, 0.24);
  color: #eaf9ff;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.rules-article h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.rules-article p,
.rules-article li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.75;
}

.rules-article p {
  margin: 0 0 14px;
}

.rules-article ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.rules-article li + li {
  margin-top: 7px;
}

.rules-article strong {
  color: #ffffff;
}

.rules-article .apv-label,
.rules-article .rules-label {
  color: var(--cyan);
}

.rules-article hr {
  margin: 22px 0;
  border: 0;
  border-top: 1px solid rgba(24, 174, 234, 0.22);
}

.team-page {
  padding-bottom: 56px;
}

.donation-page {
  padding-bottom: 58px;
}

.donation-hero {
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.donation-hero h1 {
  font-size: clamp(4rem, 8vw, 7rem);
}

.donation-content {
  width: min(1180px, 100%);
  margin: -18px auto 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.donation-card {
  min-height: 300px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.donation-card.featured {
  border-color: rgba(31, 215, 255, 0.82);
  background:
    linear-gradient(180deg, rgba(20, 152, 255, 0.18), transparent),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 36px rgba(20, 152, 255, 0.18), 0 18px 36px rgba(0, 0, 0, 0.28);
}

.donation-card svg {
  width: 46px;
  height: 46px;
  color: var(--cyan);
  stroke-width: 2.4;
}

.donation-card h2 {
  margin: 0;
  font-size: 1.48rem;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 3px 0 #1d252c, 0 8px 14px rgba(0, 0, 0, 0.72);
}

.donation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.donation-note {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 26px;
  border: 1px solid rgba(24, 174, 234, 0.82);
  border-radius: 7px;
  background: rgba(5, 15, 22, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.donation-note svg {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--cyan);
}

.donation-note h2 {
  margin: 0 0 5px;
  color: var(--cyan);
  font-size: 1.08rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.donation-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.donation-rules {
  display: block;
  padding: clamp(24px, 4vw, 42px);
}

.donation-rules h2 {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
}

.donation-rules h3 {
  margin: 28px 0 10px;
  color: #eaf9ff;
  font-size: 1.08rem;
  font-weight: 950;
  text-transform: uppercase;
}

.donation-rules p,
.donation-rules li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.75;
}

.donation-rules p {
  margin: 0 0 12px;
}

.donation-rules ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.donation-rules li + li {
  margin-top: 7px;
}

.team-hero {
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.team-hero h1 {
  font-size: clamp(4rem, 8vw, 7rem);
}

.team-roster {
  width: min(1180px, 100%);
  margin: -18px auto 28px;
}

.roster-section {
  margin-top: 24px;
}

.roster-section h2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #dff8ff;
  font-size: 1.16rem;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.roster-section h2 svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
  fill: rgba(22, 183, 242, 0.18);
  stroke-width: 3;
}

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

.staff-card {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--role-color), transparent 58%);
  border-radius: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--role-color), transparent 88%), transparent),
    rgba(8, 18, 27, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.staff-card img {
  width: 92px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid color-mix(in srgb, var(--role-color), white 24%);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 0 20px color-mix(in srgb, var(--role-color), transparent 58%);
}

.staff-card h3 {
  margin: 0 0 5px;
  color: #f7fbff;
  font-size: 0.98rem;
}

.staff-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.team-dashboard {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.member-panel {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.panel-heading svg {
  width: 38px;
  height: 38px;
  color: var(--cyan);
  stroke-width: 2.4;
}

.panel-heading h2,
.role-block h3,
.profile-row h3,
.team-card h3 {
  margin: 0;
  text-transform: uppercase;
  font-weight: 950;
}

.panel-heading h2 {
  font-size: 1.3rem;
}

.panel-heading p,
.profile-row p,
.team-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(24, 174, 234, 0.38);
  border-radius: 8px;
  background: rgba(4, 14, 20, 0.56);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(24, 174, 234, 0.76);
}

.role-block {
  margin-top: 24px;
}

.role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--role-color, #16b7f2), transparent 30%);
  border-radius: 999px;
  color: #eaf8ff;
  background: color-mix(in srgb, var(--role-color, #16b7f2), transparent 72%);
  font-size: 0.92rem;
  font-weight: 800;
}

.role-pill.muted {
  color: var(--muted);
  border-color: rgba(185, 196, 204, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.team-card {
  min-height: 210px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(24, 174, 234, 0.38);
  border-radius: 8px;
  text-align: center;
  background: rgba(4, 14, 20, 0.56);
}

.team-card svg {
  width: 48px;
  height: 48px;
  color: var(--cyan);
}

.btn.compact {
  min-width: 0;
  min-height: 46px;
  margin-top: 4px;
  padding: 0 18px;
  font-size: 0.86rem;
}

.hidden {
  display: none;
}

.site-footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 12vw, 188px);
  color: rgba(255, 255, 255, 0.68);
  background: rgba(3, 8, 12, 0.74);
}

.socials {
  display: flex;
  align-items: center;
  gap: 28px;
}

.socials a {
  color: #f7fbff;
}

.socials svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.8;
}

.socials .discord-icon.small {
  width: 22px;
  height: 22px;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    grid-template-columns: 1fr auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.92rem;
  }

  .main-nav a {
    padding: 10px 0;
  }

  .main-nav a.active::after,
  .main-nav a:hover::after {
    bottom: 2px;
    width: 100%;
  }

  main {
    padding-top: 142px;
  }

  .home-page {
    padding-top: 142px;
  }

  .home-hero {
    min-height: auto;
    padding: 36px 0 48px;
  }

  .showcase-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .status-panel {
    max-width: 420px;
  }

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

  .donation-content {
    grid-template-columns: 1fr;
  }

  .team-dashboard {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  body {
    background-position: center top;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .brand {
    justify-self: center;
  }

  .brand-mark {
    width: 116px;
    height: 64px;
  }

  .brand-text strong {
    font-size: 1.42rem;
  }

  .brand-text span {
    font-size: 0.75rem;
  }

  .discord-top {
    justify-self: center;
    min-height: 44px;
    padding: 0 18px;
  }

  .main-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  main {
    padding-top: 218px;
  }

  .home-page {
    padding-top: 226px;
  }

  .hero {
    min-height: 560px;
    padding-bottom: 28px;
  }

  .home-hero {
    min-height: auto;
    padding: 24px 0 36px;
  }

  .showcase-body {
    gap: 24px;
  }

  .home-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.25rem);
  }

  .home-hero .hero-actions {
    gap: 14px;
  }

  .status-panel div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .showcase-stats {
    grid-template-columns: 1fr;
    margin: 0 14px 16px;
  }

  .showcase-stats article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero-content {
    padding-top: 10px;
  }

  h1 {
    font-size: clamp(3.1rem, 14vw, 4.8rem);
  }

  .subtitle {
    letter-spacing: 0.1em;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .info-card {
    min-height: 210px;
    padding: 26px 22px;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .notice,
  .donation-note {
    align-items: flex-start;
    padding: 18px;
  }

  .donation-hero {
    min-height: 260px;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 24px 18px;
  }

  .team-hero {
    min-height: 260px;
  }

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