:root {
  --bg: #070912;
  --bg-soft: #0d1020;
  --surface: rgba(15, 18, 36, 0.72);
  --surface-strong: rgba(17, 21, 43, 0.93);
  --line: rgba(255, 255, 255, 0.11);
  --line-bright: rgba(255, 255, 255, 0.2);
  --text: #f7f7ff;
  --muted: #a7acc6;
  --violet: #9b6cff;
  --cyan: #42e8ff;
  --pink: #ff5da8;
  --green: #52f2a4;
  --amber: #ffc65c;
  --blue: #5f8dff;
  --danger: #ff6b7a;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.aura-celebration {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 420ms ease, visibility 0s linear 420ms;
}

.aura-celebration::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(82, 242, 164, 0.16), transparent 28%),
    radial-gradient(circle at 50% 45%, rgba(155, 108, 255, 0.15), transparent 48%);
  content: "";
  opacity: 0;
}

.aura-celebration.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.aura-celebration.is-active::before {
  animation: auraGlow 4.9s ease-out both;
}

.aura-overlay-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: screen;
}

.aura-reward-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  min-width: min(320px, calc(100vw - 42px));
  place-items: center;
  padding: 25px 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(15, 19, 38, 0.92), rgba(8, 12, 25, 0.82));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 70px rgba(82, 242, 164, 0.2), inset 0 0 28px rgba(155, 108, 255, 0.08);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.68);
  backdrop-filter: blur(18px);
}

.aura-reward-popup strong {
  color: transparent;
  background: linear-gradient(110deg, #ffffff, #6effbf 48%, #7deeff);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(3.1rem, 10vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.aura-reward-popup span {
  margin-top: 10px;
  color: #d9fff0;
  font-size: clamp(0.92rem, 2vw, 1.22rem);
  font-weight: 950;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
}

.aura-celebration.is-active .aura-reward-popup {
  animation: auraReward 4.8s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

@keyframes auraReward {
  0% { opacity: 0; transform: translate(-50%, -42%) scale(0.68); }
  14% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  24% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  72% { opacity: 1; transform: translate(-50%, -52%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -68%) scale(1.16); }
}

@keyframes auraGlow {
  0% { opacity: 0; transform: scale(0.8); }
  18% { opacity: 1; transform: scale(1); }
  76% { opacity: 0.76; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.14); }
}

@keyframes auraButtonPulse {
  from { transform: translateY(-1px) scale(1); }
  to { transform: translateY(-1px) scale(1.035); }
}

body::before,
body::after {
  position: fixed;
  z-index: -4;
  content: "";
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
}

body::before {
  top: -27vw;
  left: -12vw;
  background: var(--violet);
}

body::after {
  right: -20vw;
  bottom: -30vw;
  background: var(--cyan);
}

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(circle at 82% 12%, rgba(66, 232, 255, 0.12), transparent 28%),
    radial-gradient(circle at 18% 80%, rgba(155, 108, 255, 0.16), transparent 31%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, #070912, #0b0e1b 48%, #080b16);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  mask-image: linear-gradient(to bottom, black 0%, black 78%, transparent 100%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-shell {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(155, 108, 255, 0.95), rgba(66, 232, 255, 0.72));
  box-shadow: 0 0 30px rgba(155, 108, 255, 0.33);
  font-size: 0.9rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-pill,
.eyebrow,
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(10, 13, 27, 0.62);
  backdrop-filter: blur(14px);
}

.status-pill {
  padding: 9px 13px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.aura-button {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.aura-button:hover,
.aura-button:focus-visible {
  color: #ffffff;
  border-color: rgba(82, 242, 164, 0.5);
  background: rgba(82, 242, 164, 0.09);
  box-shadow: 0 0 28px rgba(82, 242, 164, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.aura-button.is-active {
  color: #ffffff;
  border-color: rgba(82, 242, 164, 0.72);
  background: rgba(82, 242, 164, 0.14);
  box-shadow: 0 0 34px rgba(82, 242, 164, 0.26);
  animation: auraButtonPulse 760ms ease-in-out infinite alternate;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #0a0c16;
  background: linear-gradient(135deg, #ffffff, #d7dbff);
  box-shadow: 0 13px 38px rgba(110, 93, 255, 0.24);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(110, 93, 255, 0.34);
}

.button:focus-visible,
.input:focus-visible,
.service-card:focus-visible {
  outline: 3px solid rgba(66, 232, 255, 0.45);
  outline-offset: 3px;
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
  backdrop-filter: blur(15px);
}

.button-danger {
  color: #ffdce0;
  border-color: rgba(255, 107, 122, 0.22);
  background: rgba(255, 107, 122, 0.08);
  box-shadow: none;
}

.hero {
  display: grid;
  min-height: calc(100vh - 92px);
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.88fr);
  gap: clamp(40px, 8vw, 100px);
  padding: 50px 0 110px;
}

.eyebrow {
  width: fit-content;
  padding: 8px 12px;
  color: #d8d5ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero h1,
.page-title {
  margin: 23px 0 20px;
  max-width: 870px;
  font-size: clamp(3.25rem, 8.2vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #ffffff 10%, #c7b8ff 48%, #71efff 90%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.23rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.mini-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 36px;
  color: #c7cae0;
  font-size: 0.9rem;
  font-weight: 700;
}

.mini-feature::before {
  margin-right: 8px;
  color: var(--cyan);
  content: "✦";
}

.portal-preview {
  position: relative;
  min-height: 520px;
  perspective: 1000px;
}

.preview-window {
  position: absolute;
  inset: 20px 0 20px 20px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(16, 19, 39, 0.9), rgba(8, 11, 25, 0.78));
  box-shadow: var(--shadow), 0 0 85px rgba(155, 108, 255, 0.15);
  transform: rotateY(-7deg) rotateX(2deg);
  backdrop-filter: blur(24px);
}

.window-bar {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.window-controls {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 2px 8px 0;
  border-radius: 999px;
  outline: none;
}

.window-controls:focus-visible {
  box-shadow: 0 0 0 2px rgba(66, 232, 255, 0.35);
}

.window-controls-popup {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(260px, 72vw);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(16, 19, 39, 0.97), rgba(9, 12, 25, 0.95));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.38), 0 0 44px rgba(66, 232, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 170ms ease, transform 170ms ease;
}

.window-controls-popup::before {
  position: absolute;
  top: -6px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 18, 35, 0.98);
  content: "";
  transform: rotate(45deg);
}

.window-controls-popup-copy {
  display: grid;
  gap: 6px;
}

.window-controls-popup-copy strong {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.window-controls-popup-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.window-controls-popup img {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(66, 232, 255, 0.24));
}

.window-controls:hover .window-controls-popup,
.window-controls:focus-within .window-controls-popup,
.window-controls:focus-visible .window-controls-popup {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.window-title {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.preview-content {
  padding: 25px;
}

.preview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.preview-head strong {
  font-size: 1.55rem;
}

.preview-head span {
  color: var(--muted);
  font-size: 0.76rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.preview-tile {
  min-height: 132px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
}

.preview-tile b {
  display: block;
  margin-top: 18px;
}

.preview-tile span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.preview-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: rgba(155, 108, 255, 0.18);
}

.floating-chip {
  position: absolute;
  right: -18px;
  bottom: 67px;
  z-index: 3;
  padding: 13px 16px;
  border: 1px solid rgba(82, 242, 164, 0.24);
  border-radius: 16px;
  background: rgba(11, 18, 25, 0.85);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  color: #caffdf;
  font-size: 0.83rem;
  font-weight: 900;
  backdrop-filter: blur(18px);
}

.input {
  width: 100%;
  min-height: 54px;
  padding: 0 48px 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(3, 5, 13, 0.48);
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease;
}

.input:hover,
.input:focus {
  border-color: rgba(155, 108, 255, 0.6);
  background: rgba(3, 5, 13, 0.68);
}

.dashboard-shell {
  padding-bottom: 90px;
}

.dashboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  padding: 65px 0 34px;
}

.dashboard-head .page-title {
  margin: 14px 0 0;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
}

.dashboard-copy {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.user-pill {
  padding: 9px 13px 9px 9px;
  white-space: nowrap;
}

.user-avatar {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  color: #0a0c16;
  background: linear-gradient(135deg, var(--cyan), #d9fbff);
  font-weight: 950;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 24px;
}

.search-box {
  position: relative;
  width: min(420px, 100%);
}

.search-box .input {
  padding-left: 46px;
}

.search-symbol {
  position: absolute;
  top: 50%;
  left: 16px;
  color: var(--muted);
  transform: translateY(-50%);
}

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

.service-card {
  --accent: var(--violet);
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--text);
  background: linear-gradient(145deg, rgba(19, 22, 44, 0.82), rgba(8, 11, 24, 0.8));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  backdrop-filter: blur(20px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::before {
  position: absolute;
  top: -90px;
  right: -80px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(55px);
  opacity: 0.14;
  content: "";
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.33), 0 0 42px color-mix(in srgb, var(--accent) 12%, transparent);
}

.service-card:hover::before {
  opacity: 0.23;
  transform: scale(1.1);
}

.service-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.service-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  font-size: 1.45rem;
}

.service-status {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(5, 7, 16, 0.48);
  font-size: 0.69rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.service-card h2 {
  position: relative;
  z-index: 1;
  margin: 31px 0 9px;
  font-size: 1.28rem;
}

.service-description {
  position: relative;
  z-index: 1;
  min-height: 46px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.service-link {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #d9dced;
  font-size: 0.77rem;
  font-weight: 800;
}

.service-arrow {
  color: var(--accent);
  font-size: 1.15rem;
}

.empty-state {
  display: none;
  padding: 55px 20px;
  border: 1px dashed var(--line-bright);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
}

.footer-note {
  margin-top: 35px;
  color: #777d99;
  font-size: 0.78rem;
  text-align: center;
}

.accent-violet { --accent: var(--violet); }
.accent-cyan { --accent: var(--cyan); }
.accent-pink { --accent: var(--pink); }
.accent-green { --accent: var(--green); }
.accent-amber { --accent: var(--amber); }
.accent-blue { --accent: var(--blue); }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .portal-preview {
    min-height: 480px;
  }

  .preview-window {
    left: 0;
    transform: none;
  }

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

  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    min-height: 76px;
  }

  .topbar .status-pill {
    display: none;
  }

  .brand-name {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 55px 0 85px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 5.3rem);
  }

  .portal-preview {
    min-height: 440px;
  }

  .preview-window {
    inset: 10px 0;
  }

  .preview-content {
    padding: 17px;
  }

  .preview-grid {
    gap: 9px;
  }

  .preview-tile {
    min-height: 123px;
    padding: 13px;
  }

  .floating-chip {
    right: 10px;
    bottom: 18px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
  }

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

  .service-card {
    min-height: 235px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aura-celebration.is-active .aura-reward-popup {
    animation-duration: 2.4s;
  }

  .aura-button.is-active {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Community homepage */
.home-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(155, 108, 255, 0.08), transparent 25%),
    radial-gradient(circle at 86% 18%, rgba(66, 232, 255, 0.08), transparent 25%),
    var(--bg);
}

.community-shell {
  padding-bottom: 28px;
}

.community-topbar {
  position: relative;
  z-index: 20;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 13, 27, 0.58);
  backdrop-filter: blur(18px);
}

.main-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  outline: none;
}

.community-hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 92px);
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(40px, 7vw, 92px);
  padding: 65px 0 125px;
}

.hero-copy-column h1 {
  margin: 23px 0 23px;
  font-size: clamp(3.6rem, 7.9vw, 7.4rem);
  line-height: 0.91;
  letter-spacing: -0.075em;
}

.button-discord {
  color: #eef0ff;
  border-color: rgba(142, 161, 225, 0.35);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.94), rgba(112, 78, 236, 0.94));
  box-shadow: 0 15px 44px rgba(88, 101, 242, 0.27);
}

.community-stats {
  display: grid;
  max-width: 650px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.community-stat {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 16, 32, 0.58);
  backdrop-filter: blur(16px);
}

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

.community-stat strong {
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.community-stat span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-command-center {
  position: relative;
  min-height: 610px;
  perspective: 1100px;
}

.command-window {
  position: absolute;
  inset: 15px 0 25px 22px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 24%, rgba(155, 108, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(16, 19, 39, 0.94), rgba(8, 11, 25, 0.82));
  box-shadow: var(--shadow), 0 0 90px rgba(155, 108, 255, 0.16);
  transform: rotateY(-5deg) rotateX(1deg);
  backdrop-filter: blur(26px);
}

.command-content {
  display: grid;
  min-height: 535px;
  align-items: center;
  grid-template-rows: 1fr auto;
  padding: 24px 28px 30px;
}

.network-orbit {
  --node-orbit-radius: 148px;
  position: relative;
  width: min(330px, 80%);
  aspect-ratio: 1;
  margin: 5px auto 18px;
}

.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(143, 125, 255, 0.28);
  border-radius: 50%;
  animation: orbitPulse 4.2s ease-in-out infinite;
}

.orbit-two {
  inset: 18%;
  border-color: rgba(66, 232, 255, 0.29);
  animation-delay: -1.6s;
}

.orbit-core {
  position: absolute;
  inset: 35%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 34%;
  color: white;
  background: linear-gradient(145deg, rgba(155, 108, 255, 0.92), rgba(66, 232, 255, 0.72));
  box-shadow: 0 0 65px rgba(155, 108, 255, 0.42);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  transform: rotate(45deg);
}

.orbit-core::first-letter {
  transform: rotate(-45deg);
}

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--node-color, var(--cyan));
  background: transparent;
  cursor: pointer;
  animation: nodeOrbit var(--node-speed, 12s) linear infinite;
  animation-delay: var(--node-delay, 0s);
  animation-direction: var(--node-direction, normal);
  appearance: none;
}

.orbit-node::before {
  position: absolute;
  inset: 7px;
  border: 3px solid rgba(7, 9, 18, 0.9);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 22px currentColor;
  content: "";
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.orbit-node::after {
  position: absolute;
  top: 31px;
  left: 50%;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: rgba(7, 9, 18, 0.9);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  content: var(--node-label, "Server");
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.network-orbit:hover .orbit-node,
.network-orbit:focus-within .orbit-node {
  animation-play-state: paused;
}

.orbit-node:hover::before,
.orbit-node:focus-visible::before {
  transform: scale(1.35);
  box-shadow: 0 0 31px currentColor;
}

.orbit-node:hover::after,
.orbit-node:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.orbit-node:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.node-one {
  --node-color: var(--cyan);
  --node-delay: 0s;
}

.node-two {
  --node-color: var(--violet);
  --node-delay: -3s;
}

.node-three {
  --node-color: var(--green);
  --node-delay: -6s;
}

.node-four {
  --node-color: var(--amber);
  --node-delay: -9s;
}

.command-status-list {
  display: grid;
  align-content: start;
  gap: 9px;
  height: 218px;
  max-height: 218px;
  overflow-y: auto;
  padding-right: 6px;
  padding-bottom: 14px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(155, 108, 255, 0.5) transparent;
}

.command-status-list::-webkit-scrollbar {
  width: 7px;
}

.command-status-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(155, 108, 255, 0.7), rgba(66, 232, 255, 0.6));
}

.command-status-list::-webkit-scrollbar-track {
  background: transparent;
}

.command-status-row {
  display: grid;
  width: 100%;
  align-items: center;
  grid-template-columns: 10px 1fr auto;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(5, 7, 16, 0.55);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.command-status-row:hover,
.command-status-row:focus-visible {
  border-color: rgba(66, 232, 255, 0.34);
  background: rgba(20, 25, 48, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24), inset 0 0 18px rgba(66, 232, 255, 0.035);
  outline: none;
  transform: translateX(3px);
}

.command-status-row strong {
  min-width: 0;
  font-size: 0.86rem;
  line-height: 1.25;
  white-space: normal;
}

.command-status-row > span:last-child {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.command-status-link-row {
  text-decoration: none;
}

.capybara-status-row {
  border-color: rgba(82, 242, 164, 0.22);
  background: linear-gradient(145deg, rgba(18, 25, 35, 0.78), rgba(10, 14, 24, 0.58));
}

.capybara-status-row:hover,
.capybara-status-row:focus-visible {
  border-color: rgba(82, 242, 164, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24), inset 0 0 22px rgba(82, 242, 164, 0.06);
}

.command-status-dot,
.server-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #69708b;
}

.command-status-dot.status-online,
.status-online .server-live-dot {
  background: var(--green);
  box-shadow: 0 0 13px rgba(82, 242, 164, 0.9);
}

.command-status-dot.status-maintenance,
.status-maintenance .server-live-dot {
  background: var(--amber);
  box-shadow: 0 0 13px rgba(255, 198, 92, 0.8);
}

.command-status-dot.status-offline,
.status-offline .server-live-dot {
  background: var(--danger);
  box-shadow: 0 0 13px rgba(255, 107, 122, 0.7);
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.025); opacity: 1; }
}

@keyframes nodeOrbit {
  from { transform: rotate(0deg) translateX(var(--node-orbit-radius)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(var(--node-orbit-radius)) rotate(-360deg); }
}

.server-section {
  position: relative;
  scroll-margin-top: 30px;
  padding: 25px 0 120px;
}

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

.section-heading h2,
.discord-section h2,
.team-panel h2 {
  margin: 16px 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-heading p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-heading code {
  color: #ddd7ff;
  font-size: 0.91em;
}

.server-summary {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid rgba(82, 242, 164, 0.2);
  border-radius: 999px;
  color: #d5ffe7;
  background: rgba(11, 24, 21, 0.62);
  font-size: 0.8rem;
}

.game-server-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.game-server-card {
  --accent: var(--violet);
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 29px;
  background: linear-gradient(155deg, rgba(19, 22, 44, 0.95), rgba(8, 11, 24, 0.94));
  box-shadow: 0 24px 66px rgba(0, 0, 0, 0.31);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.game-server-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 44%, transparent);
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.42), 0 0 48px color-mix(in srgb, var(--accent) 13%, transparent);
}

.server-card-visual {
  position: relative;
  min-height: 285px;
  padding: 20px;
  background-color: #101426;
  background-image:
    linear-gradient(180deg, rgba(7, 9, 18, 0.02), rgba(7, 9, 18, 0.98)),
    radial-gradient(circle at 65% 25%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 33%);
  background-position: center;
  background-size: cover;
}

.server-card-visual::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 70px;
  background: linear-gradient(to top, rgba(11, 14, 29, 1), transparent);
  content: "";
}

.server-live-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #f8f8ff;
  background: rgba(5, 7, 16, 0.68);
  font-size: 0.69rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  backdrop-filter: blur(14px);
}

.server-visual-title {
  position: absolute;
  right: 20px;
  bottom: 12px;
  left: 20px;
  z-index: 2;
}

.server-game-label {
  color: #d9d6f6;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.server-visual-title h3 {
  margin: 8px 0 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.server-card-body {
  padding: 18px 21px 22px;
}

.server-card-description {
  min-height: 68px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.server-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0 21px;
}

.server-tags span {
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--accent) 56%, white);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: 0.65rem;
  font-weight: 850;
}

.player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.77rem;
}

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

.player-track {
  height: 6px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
}

.player-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, white));
  box-shadow: 0 0 13px color-mix(in srgb, var(--accent) 54%, transparent);
}

.server-details {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 14px;
  margin: 20px 0;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
}

.server-details dt {
  color: #777e9a;
  font-weight: 800;
}

.server-details dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #daddf0;
  font-weight: 750;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.server-join-button {
  min-height: 43px;
  padding: 0 14px;
  font-size: 0.78rem;
}

.modpack-download-button {
  grid-column: 1 / -1;
  min-height: 43px;
  padding: 0 14px;
  border-color: rgba(82, 242, 164, 0.38);
  background: linear-gradient(135deg, rgba(82, 242, 164, 0.2), rgba(66, 232, 255, 0.13));
  font-size: 0.78rem;
}

.modpack-download-button::after {
  content: "↗";
  margin-left: 8px;
}

.copy-address-button {
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.copy-address-button:hover {
  color: var(--text);
  border-color: var(--line-bright);
}

.server-unavailable {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.discord-section {
  display: grid;
  scroll-margin-top: 40px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 20px;
  margin: 0 0 105px;
}

.discord-invite-panel,
.team-panel {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 31px;
  box-shadow: var(--shadow);
}

.discord-invite-panel {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  padding: clamp(30px, 5vw, 54px);
  background:
    linear-gradient(180deg, rgba(61, 71, 174, 0.08), rgba(13, 16, 38, 0.98)),
    radial-gradient(circle at 76% 20%, rgba(114, 137, 218, 0.55), transparent 27%),
    linear-gradient(145deg, #20275c, #10142c 57%, #0b0e20);
}

.discord-invite-panel::before,
.discord-invite-panel::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.discord-invite-panel::before {
  top: -120px;
  right: -100px;
  width: 360px;
  height: 360px;
}

.discord-invite-panel::after {
  top: -38px;
  right: -18px;
  width: 205px;
  height: 205px;
}

.discord-kicker {
  position: relative;
  z-index: 1;
  color: #bcc5ff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.discord-invite-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.discord-invite-panel p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0;
  color: #b7bedc;
  line-height: 1.7;
}

.discord-features {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
}

.discord-features span {
  padding: 8px 11px;
  border: 1px solid rgba(150, 163, 255, 0.2);
  border-radius: 999px;
  color: #d9ddff;
  background: rgba(88, 101, 242, 0.09);
  font-size: 0.72rem;
  font-weight: 850;
}

.discord-join-button {
  position: relative;
  z-index: 1;
  color: white;
  background: #5865f2;
  box-shadow: 0 18px 44px rgba(88, 101, 242, 0.36);
}

.discord-logo {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 1.1rem;
}

.team-panel {
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(circle at 92% 8%, rgba(66, 232, 255, 0.11), transparent 28%),
    linear-gradient(145deg, rgba(17, 21, 43, 0.96), rgba(8, 11, 24, 0.96));
}

.team-panel h2 {
  max-width: 570px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.role-group {
  margin-top: 28px;
}

.role-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.role-label > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 13px var(--violet);
}

.admin-role > span {
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
}

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

.role-group:last-child .member-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.member-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.042);
}

.member-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(155, 108, 255, 0.28);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(155, 108, 255, 0.2), rgba(66, 232, 255, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.member-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card div {
  min-width: 0;
}

.member-card strong,
.member-card div span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-card strong {
  font-size: 0.88rem;
}

.member-card div span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
}

.member-card div .member-realname {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 800;
}

.community-footer {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  padding: 26px 0 10px;
  border-top: 1px solid var(--line);
  color: #777d99;
  font-size: 0.76rem;
}

.community-footer p {
  margin: 0;
  text-align: center;
}

.community-footer > a:last-child {
  justify-self: end;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 0.72rem;
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .community-hero {
    grid-template-columns: 1fr;
  }

  .hero-command-center {
    min-height: 570px;
  }

  .command-window {
    left: 0;
    transform: none;
  }

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

  .discord-section {
    grid-template-columns: 1fr;
  }

  .discord-invite-panel,
  .team-panel {
    min-height: 470px;
  }
}

@media (max-width: 720px) {
  .control-button {
    padding: 0 13px;
    font-size: 0.72rem;
  }

  .community-hero {
    min-height: auto;
    padding: 58px 0 95px;
  }

  .hero-copy-column h1 {
    font-size: clamp(3.2rem, 16vw, 5.4rem);
  }

  .community-stats {
    grid-template-columns: 1fr;
  }

  .community-stat {
    min-height: 78px;
  }

  .hero-command-center {
    min-height: 520px;
  }

  .command-window {
    inset: 0;
  }

  .command-content {
    min-height: 460px;
    padding: 18px;
  }

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

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

  .game-server-card {
    min-height: 570px;
  }

  .member-list,
  .role-group:last-child .member-list {
    grid-template-columns: 1fr;
  }

  .community-footer {
    justify-items: center;
    grid-template-columns: 1fr;
  }

  .community-footer > a:last-child {
    justify-self: center;
  }
}

@media (max-width: 430px) {
  .community-topbar .status-pill {
    display: none;
  }

  .community-topbar .topbar-actions {
    gap: 6px;
  }

  .community-topbar .control-button {
    min-height: 42px;
  }

  .hero-command-center {
    min-height: 480px;
  }

  .network-orbit {
    --node-orbit-radius: 112px;
    width: 250px;
  }

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

  .copy-address-button {
    width: 100%;
  }
}

/* Community carousel, uploaded branding and Discord artwork */
.brand-with-image {
  gap: 12px;
}

.brand-logo-image {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 17px;
  filter: drop-shadow(0 0 18px rgba(97, 83, 255, 0.34));
}

.footer-brand .brand-logo-image {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.button-icon-image,
.discord-button-logo {
  display: block;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.orbit-logo-shell {
  position: absolute;
  inset: 24%;
  z-index: 2;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34%;
  background: rgba(7, 9, 18, 0.72);
  box-shadow:
    0 0 80px rgba(155, 108, 255, 0.42),
    inset 0 0 34px rgba(66, 232, 255, 0.08);
  transform: rotate(4deg);
}

.orbit-logo-shell::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, transparent 45%, rgba(66, 232, 255, 0.16));
  content: "";
  pointer-events: none;
}

.orbit-logo-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04) rotate(-4deg);
}

.server-carousel {
  position: relative;
}

.game-server-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  align-items: stretch;
  gap: 20px;
  padding: 10px 6px 28px;
  scroll-behavior: smooth;
  scroll-padding-inline: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.game-server-grid::-webkit-scrollbar {
  display: none;
}

.game-server-grid:focus-visible {
  border-radius: 32px;
  outline: 2px solid rgba(155, 108, 255, 0.65);
  outline-offset: 6px;
}

.game-server-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.game-server-card.server-card-highlight {
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 34px 82px rgba(0, 0, 0, 0.48),
    0 0 0 2px color-mix(in srgb, var(--accent) 68%, white 12%),
    0 0 64px color-mix(in srgb, var(--accent) 34%, transparent);
  transform: translateY(-8px) scale(1.012);
}

.capybara-egg {
  position: absolute;
  z-index: 8;
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  opacity: 0.18;
  filter: saturate(0.8) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.36));
  transform: rotate(var(--capy-rotation, 0deg)) scale(0.92);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.capybara-egg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.capybara-egg:hover,
.capybara-egg:focus-visible {
  border-color: rgba(66, 232, 255, 0.55);
  opacity: 1;
  filter: saturate(1) drop-shadow(0 10px 24px rgba(66, 232, 255, 0.22));
  outline: none;
  transform: rotate(0deg) scale(1.14);
}

.capybara-egg-one {
  --capy-rotation: -11deg;
  right: -18px;
  bottom: 78px;
}

.capybara-egg-two {
  --capy-rotation: 8deg;
  top: 118px;
  left: -20px;
  width: 46px;
  height: 46px;
}

.capybara-egg-three {
  --capy-rotation: -6deg;
  right: 88px;
  bottom: 7px;
  width: 38px;
  height: 38px;
}

.server-carousel-controls {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 14px;
  max-width: 760px;
  margin: 4px auto 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(11, 14, 29, 0.68);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.carousel-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(155, 108, 255, 0.25);
  border-radius: 14px;
  color: var(--text);
  background: rgba(155, 108, 255, 0.1);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.carousel-arrow:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(155, 108, 255, 0.6);
  background: rgba(155, 108, 255, 0.2);
}

.carousel-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.carousel-slider-wrap {
  display: grid;
  gap: 8px;
}

.carousel-slider-wrap > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.server-slider {
  width: 100%;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: grab;
  appearance: none;
  -webkit-appearance: none;
}

.server-slider:active {
  cursor: grabbing;
}

.server-slider::-webkit-slider-runnable-track {
  height: 7px;
  border: 1px solid rgba(155, 108, 255, 0.2);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(155, 108, 255, 0.4), rgba(66, 232, 255, 0.22));
}

.server-slider::-webkit-slider-thumb {
  width: 25px;
  height: 25px;
  margin-top: -10px;
  border: 2px solid #e9e6ff;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--violet), var(--cyan));
  box-shadow: 0 0 22px rgba(155, 108, 255, 0.55);
  appearance: none;
  -webkit-appearance: none;
}

.server-slider::-moz-range-track {
  height: 7px;
  border: 1px solid rgba(155, 108, 255, 0.2);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(155, 108, 255, 0.4), rgba(66, 232, 255, 0.22));
}

.server-slider::-moz-range-thumb {
  width: 21px;
  height: 21px;
  border: 2px solid #e9e6ff;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--violet), var(--cyan));
  box-shadow: 0 0 22px rgba(155, 108, 255, 0.55);
}

.coming-soon-card {
  border-style: dashed;
  background:
    linear-gradient(155deg, rgba(18, 21, 42, 0.96), rgba(7, 10, 23, 0.98));
}

.coming-soon-card::before {
  position: absolute;
  inset: -30%;
  background:
    conic-gradient(from 90deg, transparent, color-mix(in srgb, var(--accent) 18%, transparent), transparent 38%);
  content: "";
  opacity: 0.75;
  animation: comingSoonSweep 12s linear infinite;
}

.coming-soon-visual {
  position: relative;
  z-index: 1;
  display: flex;
  overflow: hidden;
  min-height: 590px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 34px;
  text-align: center;
}

.coming-soon-visual::before,
.coming-soon-visual::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 50%;
  content: "";
}

.coming-soon-visual::before {
  top: 8%;
  left: -32%;
  width: 120%;
  aspect-ratio: 1;
}

.coming-soon-visual::after {
  right: -54%;
  bottom: -8%;
  width: 135%;
  aspect-ratio: 1;
}

.coming-soon-slot {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--accent) 64%, white);
  background: rgba(5, 7, 16, 0.55);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.coming-soon-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118%;
  max-width: none;
  opacity: 0.075;
  filter: grayscale(0.4) saturate(1.25);
  transform: translate(-50%, -50%) rotate(-7deg);
}

.coming-soon-content {
  position: relative;
  z-index: 2;
  max-width: 270px;
}

.coming-soon-kicker {
  color: color-mix(in srgb, var(--accent) 64%, white);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.coming-soon-content h3 {
  margin: 13px 0 16px;
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.coming-soon-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

.coming-soon-signal {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 7px;
  height: 34px;
}

.coming-soon-signal span {
  width: 5px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 55%, transparent);
  animation: comingSoonSignal 1.4s ease-in-out infinite;
}

.coming-soon-signal span:nth-child(1) { height: 9px; animation-delay: -0.55s; }
.coming-soon-signal span:nth-child(2) { height: 17px; animation-delay: -0.35s; }
.coming-soon-signal span:nth-child(3) { height: 28px; animation-delay: -0.15s; }
.coming-soon-signal span:nth-child(4) { height: 17px; animation-delay: -0.35s; }
.coming-soon-signal span:nth-child(5) { height: 9px; animation-delay: -0.55s; }

.discord-panel-logo {
  position: absolute;
  top: clamp(28px, 5vw, 48px);
  right: clamp(28px, 5vw, 48px);
  z-index: 1;
  width: clamp(125px, 15vw, 185px);
  aspect-ratio: 1.36;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 27px;
  box-shadow: 0 24px 60px rgba(34, 42, 120, 0.45);
  opacity: 0.92;
  transform: rotate(4deg);
}

.discord-invite-panel > :not(.discord-panel-logo) {
  max-width: min(100%, 640px);
}

.discord-button-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

@keyframes comingSoonSweep {
  to { transform: rotate(360deg); }
}

@keyframes comingSoonSignal {
  0%, 100% { opacity: 0.34; transform: scaleY(0.72); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 1040px) {
  .game-server-card {
    flex-basis: calc((100% - 20px) / 2);
  }

  .discord-panel-logo {
    width: 150px;
  }
}

@media (max-width: 720px) {
  .brand-logo-image {
    width: 49px;
    height: 49px;
    border-radius: 15px;
  }

  .game-server-card {
    flex-basis: min(86vw, 390px);
  }

  .server-carousel-controls {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 9px;
    padding: 10px;
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
  }

  .carousel-slider-wrap > span {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .discord-invite-panel {
    padding-top: 185px;
  }

  .discord-panel-logo {
    top: 27px;
    right: auto;
    left: 30px;
    width: 150px;
    transform: rotate(-3deg);
  }
}

@media (max-width: 430px) {
  .brand-with-image .brand-name {
    display: none;
  }

  .game-server-card {
    flex-basis: calc(100vw - 48px);
  }

  .server-carousel-controls {
    margin-inline: 2px;
  }

  .carousel-slider-wrap > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-node {
    animation: none;
  }

  .node-one { transform: rotate(0deg) translateX(var(--node-orbit-radius)); }
  .node-two { transform: rotate(90deg) translateX(var(--node-orbit-radius)) rotate(-90deg); }
  .node-three { transform: rotate(180deg) translateX(var(--node-orbit-radius)) rotate(-180deg); }
  .node-four { transform: rotate(270deg) translateX(var(--node-orbit-radius)) rotate(-270deg); }

  .coming-soon-card::before,
  .coming-soon-signal span {
    animation: none;
  }
}

/* Live-Status: neutrale Zustände während der Abfrage oder bei API-Ausfällen. */
.command-status-dot.status-checking,
.status-checking .server-live-dot {
  background: var(--cyan);
  box-shadow: 0 0 13px rgba(66, 232, 255, 0.75);
  animation: liveStatusPulse 1.25s ease-in-out infinite;
}

.command-status-dot.status-unknown,
.status-unknown .server-live-dot {
  background: #8b91aa;
  box-shadow: 0 0 10px rgba(139, 145, 170, 0.45);
}

@keyframes liveStatusPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1.12); }
}

/* Control Center: Minecraft console cards */
.service-content {
  position: relative;
  z-index: 1;
}

.service-card-image {
  min-height: 310px;
  background-image:
    linear-gradient(180deg, rgba(7, 9, 18, 0.12) 0%, rgba(7, 9, 18, 0.35) 34%, rgba(7, 9, 18, 0.96) 78%, #070912 100%),
    var(--service-image);
  background-position: center;
  background-size: cover;
}

.service-card-image::before {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: inherit;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, transparent), transparent 38%),
    linear-gradient(180deg, transparent 50%, rgba(5, 7, 16, 0.78));
  filter: none;
  opacity: 1;
}

.service-card-image:hover::before {
  opacity: 1;
  transform: none;
}

.service-card-image .service-content {
  position: absolute;
  right: 23px;
  bottom: 71px;
  left: 23px;
}

.service-card-image h2 {
  margin: 0 0 8px;
  font-size: 1.38rem;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.82);
}

.service-card-image .service-description {
  min-height: auto;
  color: #e3e6f5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.service-server-address {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #f7f7ff;
  background: rgba(5, 7, 16, 0.68);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.service-status.status-online,
.service-status.status-offline,
.service-status.status-checking,
.service-status.status-unknown {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f7f7ff;
  backdrop-filter: blur(12px);
}

.service-status.status-online::before,
.service-status.status-offline::before,
.service-status.status-checking::before,
.service-status.status-unknown::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
}

.service-status.status-online {
  border-color: rgba(82, 242, 164, 0.34);
  background: rgba(19, 87, 58, 0.58);
}

.service-status.status-online::before {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.service-status.status-offline {
  border-color: rgba(255, 107, 122, 0.34);
  background: rgba(92, 26, 39, 0.62);
}

.service-status.status-offline::before {
  background: var(--danger);
  box-shadow: 0 0 12px var(--danger);
}

.service-status.status-checking {
  border-color: rgba(255, 198, 92, 0.32);
  background: rgba(88, 63, 18, 0.58);
}

.service-status.status-checking::before {
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: portal-status-pulse 1.2s ease-in-out infinite;
}

.service-status.status-unknown {
  border-color: rgba(167, 172, 198, 0.3);
  background: rgba(43, 47, 66, 0.62);
}

.service-status.status-unknown::before {
  background: var(--muted);
}

@keyframes portal-status-pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

@media (max-width: 620px) {
  .service-card-image {
    min-height: 300px;
  }
}

/* Wider desktop layout and aligned server-card information rows */
.community-shell {
  width: min(1560px, calc(100% - 28px));
}

.game-server-grid {
  gap: 24px;
}

.game-server-card {
  display: flex;
  min-height: 790px;
  flex-basis: calc((100% - 72px) / 4);
  flex-direction: column;
}

.server-card-visual {
  flex: 0 0 285px;
}

.server-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.server-card-description {
  min-height: 100px;
}

.server-tags {
  min-height: 66px;
  align-content: flex-start;
  margin: 10px 0 18px;
}

.server-details {
  min-height: 132px;
  align-content: start;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
}

.server-details dd {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.server-card-actions {
  min-height: 96px;
  align-content: end;
  margin-top: auto;
}

@media (max-width: 1040px) {
  .community-shell {
    width: min(100% - 24px, 1560px);
  }

  .game-server-card {
    min-height: 730px;
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 720px) {
  .game-server-card {
    min-height: 0;
  }

  .server-card-description,
  .server-tags,
  .server-details,
  .server-card-actions {
    min-height: 0;
  }

  .server-card-actions {
    margin-top: 0;
  }
}


/* Aura profile, name dialog and global leaderboard */
.aura-button {
  min-width: 124px;
  justify-content: center;
}

.aura-button-score {
  min-width: 24px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: #d9fff0;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.aura-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.aura-name-dialog {
  width: min(520px, calc(100% - 30px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  color: var(--text);
  background: transparent;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.7), 0 0 80px rgba(155, 108, 255, 0.2);
}

.aura-name-dialog::backdrop {
  background: rgba(3, 5, 13, 0.76);
  backdrop-filter: blur(12px);
}

.aura-name-form {
  position: relative;
  display: grid;
  gap: 15px;
  padding: clamp(28px, 6vw, 48px);
  background:
    radial-gradient(circle at 90% 8%, rgba(82, 242, 164, 0.13), transparent 30%),
    radial-gradient(circle at 10% 92%, rgba(155, 108, 255, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(17, 21, 43, 0.99), rgba(8, 11, 24, 0.99));
}

.aura-name-form h2 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 8vw, 3.2rem);
  letter-spacing: -0.055em;
}

.aura-name-form p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.65;
}

.aura-name-form label {
  color: #e4e6f5;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.aura-name-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line-bright);
  border-radius: 15px;
  outline: none;
  color: var(--text);
  background: rgba(5, 7, 16, 0.66);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
}

.aura-name-input:focus {
  border-color: rgba(66, 232, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(66, 232, 255, 0.1);
}

.aura-name-form small {
  color: #7f86a2;
  font-size: 0.72rem;
  line-height: 1.5;
}

.aura-name-error {
  min-height: 20px;
  color: #ff9ba6;
  font-size: 0.78rem;
  font-weight: 800;
}

.aura-name-submit {
  width: 100%;
  margin-top: 2px;
}

.aura-dialog-close {
  position: absolute;
  top: 17px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.aura-dialog-close:hover,
.aura-dialog-close:focus-visible {
  color: white;
  border-color: var(--line-bright);
  outline: none;
}

.aura-leaderboard-section {
  scroll-margin-top: 30px;
  margin: 0 0 105px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 8%, rgba(82, 242, 164, 0.12), transparent 27%),
    radial-gradient(circle at 9% 92%, rgba(155, 108, 255, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(14, 18, 36, 0.96), rgba(7, 10, 22, 0.94));
  box-shadow: var(--shadow);
}

.aura-section-heading {
  margin-bottom: 26px;
}

.aura-refresh-button {
  min-width: 190px;
}

.aura-refresh-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.aura-leaderboard-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  gap: 18px;
}

.aura-own-profile,
.aura-ranking-panel {
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(5, 8, 18, 0.56);
}

.aura-own-profile {
  position: relative;
  display: flex;
  min-height: 420px;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
}

.aura-own-profile::before,
.aura-own-profile::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.aura-own-profile::before {
  top: -85px;
  right: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(82, 242, 164, 0.19);
  box-shadow: inset 0 0 70px rgba(82, 242, 164, 0.05);
}

.aura-own-profile::after {
  top: 22px;
  right: 18px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(82, 242, 164, 0.18), transparent 67%);
  filter: blur(3px);
}

.aura-profile-kicker {
  position: relative;
  z-index: 1;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.aura-own-profile h3 {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 11px 0 23px;
  overflow: hidden;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aura-profile-score {
  position: relative;
  z-index: 1;
  color: transparent;
  background: linear-gradient(110deg, #fff, #72ffc3 55%, #71efff);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(4rem, 10vw, 7.5rem);
  line-height: 0.78;
  letter-spacing: -0.08em;
  font-variant-numeric: tabular-nums;
}

.aura-profile-unit {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: #bfffe0;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.32em;
}

.aura-own-profile p {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.aura-ranking-panel {
  min-width: 0;
  padding: 15px;
}

.aura-ranking-header,
.aura-ranking-row {
  display: grid;
  align-items: center;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 14px;
}

.aura-ranking-header {
  padding: 8px 15px 13px;
  color: #737b98;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.aura-ranking-header span:last-child {
  text-align: right;
}

.aura-ranking-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aura-ranking-row {
  min-height: 51px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.aura-ranking-row:nth-child(1) {
  border-color: rgba(255, 198, 92, 0.3);
  background: rgba(255, 198, 92, 0.055);
}

.aura-ranking-row:nth-child(2) {
  border-color: rgba(207, 220, 240, 0.21);
}

.aura-ranking-row:nth-child(3) {
  border-color: rgba(201, 132, 88, 0.24);
}

.aura-ranking-row.is-current-player {
  border-color: rgba(82, 242, 164, 0.55);
  box-shadow: inset 0 0 22px rgba(82, 242, 164, 0.055);
}

.aura-rank-number {
  color: #858daa;
  font-size: 0.76rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.aura-rank-name {
  min-width: 0;
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aura-rank-score {
  color: #ddfff0;
  font-size: 0.9rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.aura-rank-score small {
  color: #7d998b;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.aura-ranking-loading {
  display: grid;
  min-height: 120px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.aura-ranking-status {
  min-height: 20px;
  margin: 13px 6px 0;
  color: #aeb5cf;
  font-size: 0.72rem;
}

.aura-ranking-status.is-error {
  color: #ff9ba6;
}

.aura-privacy-note {
  margin: 20px 4px 0;
  color: #747c99;
  font-size: 0.72rem;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .aura-leaderboard-layout {
    grid-template-columns: 1fr;
  }

  .aura-own-profile {
    min-height: 330px;
  }
}

@media (max-width: 620px) {
  .aura-leaderboard-section {
    padding: 22px 14px;
    border-radius: 26px;
  }

  .aura-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .aura-refresh-button {
    width: 100%;
  }

  .aura-ranking-panel {
    padding: 10px;
  }

  .aura-ranking-header,
  .aura-ranking-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .aura-ranking-header {
    padding-inline: 10px;
  }

  .aura-ranking-row {
    padding-inline: 10px;
  }

  .aura-rank-score small {
    display: none;
  }

  .aura-button {
    min-width: 106px;
  }
}


/* v7: spam-friendly Aura, reliable preview scrolling and compact mobile layout */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.command-window {
  display: flex;
  flex-direction: column;
}

.window-bar {
  flex: 0 0 58px;
}

.hero-command-center {
  min-height: 690px;
}

.command-content {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
  align-items: stretch;
  grid-template-rows: minmax(330px, 1fr) minmax(0, 240px);
}

.command-status-list {
  min-height: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  overflow-y: auto;
  padding-bottom: 32px;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.command-status-list:focus-visible {
  border-radius: 15px;
  outline: 2px solid rgba(66, 232, 255, 0.48);
  outline-offset: 3px;
}

.aura-button {
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.aura-button:active {
  transform: translateY(1px) scale(0.96);
}

@media (max-width: 1040px) {
  .hero-command-center {
    min-height: 680px;
  }
}

@media (max-width: 720px) {
  .community-shell {
    width: min(100% - 20px, 1560px);
  }

  .community-topbar {
    min-height: auto;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0 12px;
  }

  .community-topbar .brand-logo-image {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .community-topbar .topbar-actions {
    display: flex;
    margin-left: auto;
    gap: 7px;
  }

  .community-topbar .status-pill.aura-button {
    display: inline-flex;
    min-width: 0;
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .community-topbar .aura-button-score {
    min-width: 20px;
    padding-left: 6px;
    font-size: 0.68rem;
  }

  .community-topbar .control-button {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.64rem;
  }

  .community-hero {
    gap: 38px;
    padding: 34px 0 72px;
  }

  .hero-copy-column h1 {
    margin-top: 18px;
    font-size: clamp(2.85rem, 13vw, 4.6rem);
    line-height: 0.95;
  }

  .hero-copy {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 24px;
  }

  .hero-actions .button {
    flex: 1 1 145px;
    min-height: 44px;
    padding-inline: 14px;
    font-size: 0.78rem;
  }

  .community-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 24px;
  }

  .community-stat {
    min-height: 72px;
    padding: 11px 9px;
    border-radius: 14px;
  }

  .community-stat strong {
    font-size: 1.22rem;
  }

  .community-stat span {
    margin-top: 5px;
    font-size: 0.54rem;
    line-height: 1.25;
    letter-spacing: 0.055em;
  }

  .hero-command-center {
    min-height: 660px;
  }

  .command-window {
    inset: 0;
    height: 100%;
  }

  .command-content {
    padding: 14px;
    grid-template-rows: 270px minmax(0, 1fr);
  }

  .network-orbit {
    --node-orbit-radius: 112px;
    width: 250px;
    margin-block: 2px 8px;
  }

  .command-status-list {
    padding-right: 4px;
    padding-bottom: 26px;
  }

  .command-status-row {
    grid-template-columns: 8px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 10px 11px;
    border-radius: 12px;
  }

  .command-status-row strong {
    font-size: 0.74rem;
  }

  .command-status-row > span:last-child {
    font-size: 0.63rem;
  }

  .server-section {
    margin-bottom: 72px;
  }

  .game-server-grid {
    gap: 14px;
    padding: 8px 0 22px;
    scroll-padding-inline: 0;
  }

  .game-server-card {
    flex: 0 0 min(88vw, 390px) !important;
    min-height: 0;
    border-radius: 24px;
  }

  .server-card-visual {
    min-height: 220px;
    flex-basis: 220px;
    padding: 16px;
  }

  .server-live-badge {
    padding: 7px 10px;
    font-size: 0.63rem;
  }

  .server-visual-title {
    right: 16px;
    bottom: 14px;
    left: 16px;
  }

  .server-game-label {
    font-size: 0.66rem;
  }

  .server-visual-title h3 {
    margin-top: 6px;
    font-size: clamp(1.7rem, 8.5vw, 2.25rem);
    line-height: 0.98;
  }

  .server-card-body {
    padding: 17px 17px 19px;
  }

  .server-card-description {
    min-height: 0;
    font-size: 0.88rem;
    line-height: 1.52;
  }

  .server-tags {
    min-height: 0;
    gap: 6px;
    margin: 14px 0 18px;
  }

  .server-tags span {
    padding: 6px 8px;
    font-size: 0.62rem;
  }

  .player-row {
    font-size: 0.74rem;
  }

  .server-details {
    min-height: 0;
    grid-template-columns: minmax(92px, 0.75fr) minmax(0, 1.25fr);
    gap: 8px 12px;
    margin: 17px 0;
    padding: 15px 0;
    font-size: 0.72rem;
  }

  .server-details dd {
    overflow: visible;
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: right;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .server-card-actions {
    min-height: 0;
    margin-top: 0;
    gap: 8px;
  }

  .server-join-button,
  .modpack-download-button,
  .copy-address-button {
    min-height: 42px;
    font-size: 0.7rem;
  }

  .server-carousel-controls {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .community-topbar .status-pill.aura-button {
    display: inline-flex;
  }

  .community-topbar .control-button {
    display: inline-flex;
  }

  .game-server-card {
    flex-basis: calc(100vw - 30px) !important;
  }

  .server-card-visual {
    min-height: 205px;
    flex-basis: 205px;
  }

  .server-details {
    grid-template-columns: minmax(86px, 0.7fr) minmax(0, 1.3fr);
  }
}

/* v8: Desktop-Vorschaufenster vollständig bis zur letzten Zeile scrollbar */
@media (min-width: 1041px) {
  .hero-command-center {
    min-height: 800px;
  }

  .command-content {
    padding: 20px 28px 24px;
    grid-template-rows: minmax(0, 1fr) 350px;
  }

  .network-orbit {
    --node-orbit-radius: 128px;
    width: min(280px, 72%);
    margin: 0 auto 8px;
  }

  .command-status-list {
    min-height: 0;
    height: 100%;
    max-height: none;
    padding-bottom: 18px;
    scroll-padding-block: 8px 18px;
  }

  .command-status-list > :last-child {
    scroll-margin-bottom: 18px;
  }
}

@media (min-width: 721px) and (max-width: 1040px) {
  .hero-command-center {
    min-height: 730px;
  }

  .command-content {
    padding-bottom: 22px;
    grid-template-rows: minmax(0, 1fr) 285px;
  }

  .network-orbit {
    --node-orbit-radius: 126px;
    width: min(285px, 76%);
    margin-bottom: 8px;
  }

  .command-status-list {
    padding-bottom: 18px;
    scroll-padding-bottom: 18px;
  }
}
