/*
 * WestdeutschlandRP.de™ – übersichtliche Portaloberfläche
 * Diese Datei überschreibt nur die Darstellung. Bestehende Module und Daten
 * bleiben dadurch unabhängig vom neuen Design vollständig kompatibel.
 */

:root {
  --bg: #050d17;
  --bg-deep: #030912;
  --surface: #0a1726;
  --surface-2: #0e1d2e;
  --surface-3: #13263a;
  --surface-soft: rgba(14, 29, 46, .82);
  --text: #f1f5f8;
  --text-soft: #c8d3dc;
  --muted: #8495a4;
  --line: rgba(171, 193, 211, .13);
  --line-strong: rgba(225, 190, 111, .34);
  --gold: #d9b665;
  --gold-light: #f2d78e;
  --gold-dark: #9d742a;
  --blue: #3d94cf;
  --blue-light: #75c0ee;
  --green: #52d297;
  --red: #e9767c;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --shadow-soft: 0 14px 38px rgba(0, 0, 0, .18);
  --radius: 15px;
  --radius-lg: 24px;
  --font-display: Georgia, "Times New Roman", serif;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0, rgba(44, 126, 185, .13), transparent 28rem),
    radial-gradient(circle at 93% 12%, rgba(217, 182, 101, .08), transparent 26rem),
    linear-gradient(180deg, #081523 0, var(--bg) 34rem, var(--bg-deep) 100%);
  font-size: 14px;
}

body::before {
  opacity: .3;
  background-image:
    linear-gradient(rgba(255, 255, 255, .012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .012) 1px, transparent 1px);
  background-size: 52px 52px;
}

.container {
  width: min(1280px, calc(100% - 48px));
}

.site-main {
  min-height: 68vh;
}

.skip-link:focus {
  z-index: 200;
}

/* Header und eine klar gegliederte Hauptnavigation */
.site-header {
  box-shadow: 0 1px 0 rgba(255, 255, 255, .025);
}

.site-header.scrolled {
  box-shadow: 0 18px 55px rgba(0, 0, 0, .34);
}

.utility-bar {
  background: rgba(3, 9, 16, .96);
}

.utility-inner {
  min-height: 31px;
}

.portal-status {
  gap: 7px;
  font-size: 9px;
}

.portal-status strong {
  color: #d7e0e7;
  font-size: 9px;
  letter-spacing: .1em;
}

.portal-status em {
  color: #6f8292;
}

.utility-links {
  gap: 17px;
  font-size: 9px;
}

.nav-shell {
  background: rgba(6, 15, 26, .91);
  border-bottom-color: rgba(224, 190, 111, .12);
  backdrop-filter: blur(22px) saturate(130%);
}

.nav-inner {
  min-height: 72px;
  gap: 22px;
}

.site-brand {
  gap: 11px;
}

.site-brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 14px;
}

.site-brand-logo img {
  width: 44px;
  height: 44px;
}

.site-brand-copy strong {
  font-size: 18px;
  letter-spacing: -.02em;
}

.site-brand-copy small {
  margin-top: 5px;
  color: #8395a5;
  font-size: 7px;
  letter-spacing: .16em;
}

.site-brand-copy small b {
  color: var(--gold-light);
}

.main-nav {
  min-width: 0;
  overflow: visible;
  gap: 1px;
}

.main-nav > a,
.nav-more > summary {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #94a4b2;
  font-size: 11px;
  font-weight: 760;
  transition: color .18s ease, background .18s ease;
}

.main-nav > a:hover,
.nav-more > summary:hover {
  color: #fff;
  background: rgba(255, 255, 255, .025);
}

.main-nav > a.active,
.nav-more.active > summary,
.nav-more[open] > summary {
  color: var(--gold-light);
}

.main-nav > a.active::after,
.nav-more.active > summary::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}

.nav-more {
  position: relative;
  align-self: stretch;
  display: flex;
}

.nav-more > summary {
  gap: 6px;
  cursor: pointer;
  list-style: none;
}

.nav-more > summary::-webkit-details-marker {
  display: none;
}

.nav-more > summary span {
  color: #667b8c;
  font-size: 10px;
  transition: transform .18s ease;
}

.nav-more[open] > summary span {
  transform: rotate(180deg);
}

.nav-more-panel {
  position: absolute;
  top: calc(100% + 11px);
  left: 50%;
  z-index: 100;
  width: min(530px, 72vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 9px;
  border: 1px solid rgba(181, 201, 217, .17);
  border-radius: 17px;
  background: rgba(7, 18, 30, .985);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .5);
  transform: translateX(-50%);
}

.nav-more-panel > a {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 11px;
}

.nav-more-panel > a:hover {
  background: rgba(255, 255, 255, .045);
}

.nav-more-panel > a > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 182, 101, .16);
  border-radius: 10px;
  color: var(--gold-light);
  background: rgba(217, 182, 101, .06);
  font-size: 12px;
}

.nav-more-panel strong,
.nav-more-panel small {
  display: block;
}

.nav-more-panel strong {
  color: #dae3e9;
  font-size: 10px;
}

.nav-more-panel small {
  margin-top: 2px;
  color: #718595;
  font-size: 8px;
}

.nav-actions {
  gap: 9px;
}

.header-search {
  width: 150px;
  height: 38px;
  border-radius: 11px;
}

.header-search:focus-within {
  width: 190px;
}

.login-link {
  min-height: 40px;
  padding-right: 10px;
  border: 1px solid rgba(88, 101, 242, .22);
  border-radius: 12px;
  background: rgba(88, 101, 242, .06);
}

.user-menu > summary {
  background: rgba(255, 255, 255, .022);
}

/* Einheitliche Flächen, Abstände und Formulare */
.breadcrumbs {
  padding: 24px 0 12px;
}

.page-header {
  padding: 10px 0 25px;
}

.page-header h1 {
  font-size: clamp(30px, 4vw, 46px);
}

.page-header p {
  max-width: 760px;
  color: #8798a6;
}

.button {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 11px;
}

.button-primary {
  background: linear-gradient(135deg, #f1d58c, #cfa852);
  box-shadow: 0 11px 28px rgba(174, 130, 51, .2);
}

.button-secondary {
  background: rgba(18, 35, 53, .72);
}

.panel,
.sidebar-card,
.form-card,
.legal,
.profile-hero,
.member-card,
.info-card,
.news-card,
.topic-list,
.dashboard-card,
.integration-panel {
  border-color: var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(14, 29, 46, .93), rgba(7, 18, 30, .95));
  box-shadow: var(--shadow-soft);
}

.input,
.textarea,
.select {
  border-radius: 10px;
  background: rgba(4, 13, 22, .72);
}

.table th {
  color: #91a2af;
  background: rgba(255, 255, 255, .025);
}

.table tr:hover td {
  background: rgba(255, 255, 255, .014);
}

/* Neue, ruhigere Startseite */
.portal-home {
  padding-top: 26px;
  padding-bottom: 10px;
}

.home-hero-clean {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(184, 205, 220, .13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 81% 24%, rgba(217, 182, 101, .11), transparent 25rem),
    radial-gradient(circle at 8% 0, rgba(61, 148, 207, .12), transparent 27rem),
    linear-gradient(135deg, rgba(15, 32, 50, .98), rgba(6, 16, 28, .98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .3);
}

.home-hero-clean::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(100deg, #000, transparent 75%);
}

.home-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, .72fr);
  align-items: center;
  gap: clamp(35px, 6vw, 82px);
  min-height: 445px;
  padding: clamp(38px, 6vw, 74px);
}

.home-hero-copy {
  max-width: 690px;
}

.home-de-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9dadba;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.home-de-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 15px rgba(82, 210, 151, .7);
}

.home-hero-copy h1 {
  max-width: 660px;
  margin: 15px 0 18px;
  font: 600 clamp(46px, 6vw, 76px)/.99 var(--font-display);
  letter-spacing: -.045em;
}

.home-hero-copy h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.home-hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: #a5b4c0;
  font-size: 16px;
  line-height: 1.68;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.home-hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 26px;
  color: #7d909f;
  font-size: 9px;
}

.home-hero-assurances span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-hero-assurances b {
  color: var(--gold-light);
}

.home-command-card {
  overflow: hidden;
  border: 1px solid rgba(184, 205, 220, .15);
  border-radius: 20px;
  background: rgba(4, 13, 23, .7);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}

.home-command-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.home-command-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(217, 182, 101, .18);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
}

.home-command-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.home-command-head small,
.home-command-head strong {
  display: block;
}

.home-command-head small {
  color: var(--gold);
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.home-command-head strong {
  margin-top: 4px;
  color: #edf2f5;
  font-family: var(--font-display);
  font-size: 16px;
}

.home-command-state {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 17px 16px;
  border-bottom: 1px solid var(--line);
}

.home-command-state:hover {
  background: rgba(255, 255, 255, .025);
}

.home-command-state > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(82, 210, 151, .07);
}

.home-command-state > span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(82, 210, 151, .7);
}

.home-command-state.status-offline > span,
.home-command-state.status-unconfigured > span {
  background: rgba(233, 118, 124, .07);
}

.home-command-state.status-offline > span i,
.home-command-state.status-unconfigured > span i {
  background: #e9a25e;
  box-shadow: 0 0 14px rgba(233, 162, 94, .5);
}

.home-command-state small,
.home-command-state strong {
  display: block;
}

.home-command-state small {
  color: #708596;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-command-state strong {
  overflow: hidden;
  margin-top: 3px;
  color: #d9e2e8;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-command-state > b {
  color: var(--gold-light);
  font-size: 8px;
}

.home-command-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.home-command-links > a {
  min-width: 0;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  background: rgba(7, 18, 30, .98);
}

.home-command-links > a:hover {
  background: rgba(14, 30, 47, .98);
}

.home-command-links > a > span {
  color: var(--gold-light);
  font-size: 14px;
}

.home-command-links strong,
.home-command-links small {
  display: block;
}

.home-command-links strong {
  color: #cad5dd;
  font-size: 8px;
}

.home-command-links small {
  overflow: hidden;
  margin-top: 2px;
  color: #657a8b;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-command-links b {
  color: #64798a;
  font-size: 10px;
}

.home-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(3, 11, 19, .37);
}

.home-hero-metrics > div {
  min-height: 74px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.home-hero-metrics > div:last-child {
  border-right: 0;
}

.home-hero-metrics strong {
  color: #edf2f6;
  font: 600 24px/1 var(--font-display);
}

.home-hero-metrics span {
  color: #748797;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-primary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 17px;
}

.home-primary-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) auto;
  align-items: start;
  gap: 13px;
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(13, 28, 44, .9), rgba(7, 17, 29, .93));
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.home-primary-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 182, 101, .3);
  background: linear-gradient(145deg, rgba(18, 36, 55, .96), rgba(8, 20, 33, .97));
}

.home-primary-card > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 182, 101, .17);
  border-radius: 12px;
  color: var(--gold-light);
  background: rgba(217, 182, 101, .06);
  font-size: 14px;
  font-weight: 950;
}

.home-primary-card.is-news > span {
  color: #fff;
  border-color: rgba(192, 46, 58, .36);
  background: #9e1c28;
  font-size: 10px;
}

.home-primary-card small,
.home-primary-card strong {
  display: block;
}

.home-primary-card small {
  color: #657a8b;
  font-size: 7px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-primary-card strong {
  margin-top: 5px;
  color: #e4ebef;
  font-size: 11px;
}

.home-primary-card p {
  margin: 6px 0 0;
  color: #778a99;
  font-size: 9px;
  line-height: 1.5;
}

.home-primary-card > b {
  color: #607586;
  font-size: 13px;
  transition: transform .18s ease;
}

.home-primary-card:hover > b {
  color: var(--gold-light);
  transform: translateX(3px);
}

.home-section {
  margin-top: 56px;
}

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

.home-section-heading h2 {
  margin: 5px 0 5px;
  font: 600 clamp(25px, 3vw, 36px)/1.1 var(--font-display);
}

.home-section-heading p {
  margin: 0;
  color: #7c8f9e;
  font-size: 11px;
}

.home-section-heading > a {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 850;
}

.home-today-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr);
  gap: 16px;
  align-items: stretch;
}

.home-news-panel,
.home-live-panel > div,
.home-topic-panel,
.home-discover-card {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(13, 28, 44, .9), rgba(7, 18, 30, .94));
  box-shadow: var(--shadow-soft);
}

.home-news-panel {
  overflow: hidden;
}

.home-news-list {
  display: grid;
}

.home-news-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 15px;
  min-height: 113px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .18s ease;
}

.home-news-item:last-child {
  border-bottom: 0;
}

.home-news-item:hover {
  background: rgba(255, 255, 255, .025);
}

.home-news-item > span {
  justify-self: start;
  padding: 5px 7px;
  border: 1px solid rgba(217, 182, 101, .16);
  border-radius: 6px;
  color: var(--gold-light);
  background: rgba(217, 182, 101, .05);
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-news-item.breaking > span {
  color: #fff;
  border-color: #a51d29;
  background: #a51d29;
}

.home-news-item > div {
  min-width: 0;
}

.home-news-item small {
  color: #667b8b;
  font-size: 8px;
}

.home-news-item strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #e1e8ed;
  font: 600 16px/1.25 var(--font-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-item p {
  overflow: hidden;
  margin: 5px 0 0;
  color: #788b99;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-item > b {
  color: #607586;
}

.home-live-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
}

.home-live-panel > div {
  padding: 20px;
}

.home-server-summary header {
  display: flex;
  align-items: center;
  gap: 11px;
}

.home-server-summary header > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(82, 210, 151, .07);
}

.home-server-summary header i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(82, 210, 151, .7);
}

.home-server-summary.status-offline header > span,
.home-server-summary.status-unconfigured header > span {
  background: rgba(233, 162, 94, .07);
}

.home-server-summary.status-offline header i,
.home-server-summary.status-unconfigured header i {
  background: #e9a25e;
  box-shadow: 0 0 14px rgba(233, 162, 94, .5);
}

.home-server-summary small,
.home-server-summary strong {
  display: block;
}

.home-server-summary small {
  color: #6f8393;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-server-summary strong {
  margin-top: 3px;
  color: #dce5eb;
  font-size: 11px;
}

.home-server-summary p {
  margin: 15px 0;
  color: #8193a1;
  font-size: 9px;
}

.home-server-summary > a,
.home-member-card > a {
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 850;
}

.home-member-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-content: center;
  gap: 12px;
}

.home-member-card > img,
.home-member-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  border: 1px solid rgba(88, 101, 242, .28);
  border-radius: 14px;
  object-fit: cover;
  color: #aeb5ff;
  background: rgba(88, 101, 242, .09);
}

.home-member-card small,
.home-member-card strong,
.home-member-card span {
  display: block;
}

.home-member-card > .home-member-icon {
  display: grid;
}

.home-member-card small {
  color: #6d8292;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-member-card strong {
  margin-top: 3px;
  color: #dce5ea;
  font-size: 11px;
}

.home-member-card div span {
  margin-top: 4px;
  color: #758998;
  font-size: 8px;
  line-height: 1.45;
}

.home-member-card > a {
  grid-column: 2;
}

.home-empty-state {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px;
}

.home-empty-state > span {
  color: var(--gold-light);
  font-weight: 950;
}

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

.home-empty-state p {
  margin: 4px 0 0;
  color: #718595;
  font-size: 9px;
}

.home-empty-state > a {
  color: var(--gold-light);
  font-size: 9px;
}

.home-factions-clean .faction-card {
  min-height: 205px;
  border-radius: 17px;
  box-shadow: var(--shadow-soft);
}

.home-factions-clean .faction-card-link {
  min-height: 205px;
}

.home-community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 16px;
}

.home-topic-panel {
  overflow: hidden;
}

.home-topic-panel-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.home-topic-panel-head strong {
  color: #dce5eb;
  font: 600 15px/1 var(--font-display);
}

.home-topic-panel-head a {
  color: var(--gold-light);
  font-size: 8px;
}

.home-topic-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.home-topic-item:last-child {
  border-bottom: 0;
}

.home-topic-item:hover {
  background: rgba(255, 255, 255, .022);
}

.home-topic-item img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  object-fit: cover;
}

.home-topic-item > div {
  min-width: 0;
}

.home-topic-item strong,
.home-topic-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-topic-item strong {
  color: #d6e0e6;
  font-size: 10px;
}

.home-topic-item span {
  margin-top: 3px;
  color: #6c8191;
  font-size: 8px;
}

.home-topic-item > b {
  color: #8fa0ad;
  text-align: right;
  font-size: 9px;
}

.home-topic-item > b small {
  display: block;
  color: #607586;
  font-size: 6px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-discover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.home-discover-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 16px;
  transition: transform .18s ease, border-color .18s ease;
}

.home-discover-card:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 182, 101, .27);
}

.home-discover-card > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--gold-light);
  background: rgba(217, 182, 101, .07);
}

.home-discover-card strong {
  color: #d8e2e8;
  font-size: 9px;
}

.home-discover-card p {
  margin: 5px 0 0;
  color: #718596;
  font-size: 8px;
  line-height: 1.45;
}

.home-discover-card > b {
  color: #607586;
}

/* Übersichtliche Verwaltungszentrale */
.admin-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.admin-tool-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(13, 28, 44, .91), rgba(7, 18, 30, .94));
  box-shadow: var(--shadow-soft);
}

.admin-tool-section.admin-tool-section-wide {
  grid-column: 1 / -1;
}

.admin-tool-section > header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.admin-tool-section > header > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(217, 182, 101, .18);
  border-radius: 11px;
  color: var(--gold-light);
  background: rgba(217, 182, 101, .06);
}

.admin-tool-section > header strong,
.admin-tool-section > header small {
  display: block;
}

.admin-tool-section > header strong {
  color: #e0e8ed;
  font-size: 12px;
}

.admin-tool-section > header small {
  margin-top: 3px;
  color: #708494;
  font-size: 8px;
}

.admin-tool-section .admin-tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.admin-tool-section-wide .admin-tool-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-tool-section .admin-tool-grid a {
  min-height: 68px;
  padding: 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .018);
  box-shadow: none;
}

.admin-tool-section .admin-tool-grid a > span {
  width: 34px;
  height: 34px;
}

.operations-nav-clean {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  overflow: visible;
  padding: 8px;
}

.operations-nav-clean .operations-home {
  min-width: 42px;
  justify-content: center;
  padding-inline: 10px;
}

.operations-group {
  position: relative;
  min-width: 0;
}

.operations-group > summary {
  min-height: 48px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #8799a7;
  cursor: pointer;
  list-style: none;
}

.operations-group > summary::-webkit-details-marker {
  display: none;
}

.operations-group > summary > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #a9bac6;
  background: rgba(255, 255, 255, .035);
}

.operations-group > summary strong,
.operations-group > summary small {
  display: block;
}

.operations-group > summary strong {
  color: #c9d4dc;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.operations-group > summary small {
  overflow: hidden;
  margin-top: 2px;
  color: #687d8d;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operations-group > summary > b {
  color: #687d8d;
  font-size: 9px;
  transition: transform .18s ease;
}

.operations-group[open] > summary > b {
  transform: rotate(180deg);
}

.operations-group.active > summary,
.operations-group[open] > summary {
  border-color: rgba(217, 182, 101, .17);
  background: rgba(217, 182, 101, .055);
}

.operations-group.active > summary strong,
.operations-group[open] > summary strong {
  color: var(--gold-light);
}

.operations-group-links {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  min-width: 245px;
  display: grid;
  gap: 3px;
  padding: 7px;
  border: 1px solid rgba(181, 201, 217, .17);
  border-radius: 13px;
  background: rgba(7, 18, 30, .99);
  box-shadow: 0 23px 60px rgba(0, 0, 0, .45);
}

.operations-group:last-child .operations-group-links {
  right: 0;
  left: auto;
}

.operations-nav-clean .operations-group-links a {
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  padding: 6px 9px;
}

.operations-nav-clean .operations-group-links a span {
  width: 25px;
  height: 25px;
}

/* Ruhiger Abschluss */
.site-footer {
  margin-top: 78px;
  background: rgba(2, 8, 14, .96);
}

.footer-grid {
  padding-block: 38px;
}

.footer-brand strong {
  font-size: 18px;
}

.footer-column > strong {
  color: #dfe6eb;
}

.footer-column a {
  color: #778b9a;
}

/* Responsive Navigation und Inhalte */
@media (max-width: 1180px) {
  .site-brand-copy {
    display: none;
  }

  .nav-inner {
    gap: 14px;
  }

  .main-nav > a,
  .nav-more > summary {
    padding-inline: 8px;
  }

  .header-search {
    width: 42px;
  }

  .header-search input {
    width: 0;
    padding: 0;
  }

  .header-search:focus-within {
    width: 180px;
  }

  .header-search:focus-within input {
    width: 100%;
    padding-left: 12px;
  }

  .home-hero-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 34px;
  }

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

  .admin-tool-section-wide .admin-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .container {
    width: min(100% - 32px, 1280px);
  }

  .utility-bar {
    display: none;
  }

  .nav-inner {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
    order: 2;
    margin-left: auto;
    border-radius: 10px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    z-index: 90;
    max-height: calc(100vh - 66px);
    display: none;
    overflow-y: auto;
    padding: 10px 16px 18px;
    border-bottom: 1px solid rgba(181, 201, 217, .16);
    background: rgba(5, 14, 24, .985);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  }

  .main-nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 5px;
  }

  .main-nav > a,
  .nav-more > summary {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 11px;
  }

  .main-nav > a.active,
  .nav-more.active > summary {
    border-color: rgba(217, 182, 101, .18);
    background: rgba(217, 182, 101, .06);
  }

  .main-nav > a.active::after,
  .nav-more.active > summary::after {
    display: none;
  }

  .nav-more {
    grid-column: 1 / -1;
    display: block;
  }

  .nav-more-panel {
    position: static;
    width: 100%;
    margin-top: 5px;
    border-radius: 13px;
    box-shadow: none;
    transform: none;
  }

  .nav-actions {
    order: 1;
    margin-left: auto;
  }

  .nav-toggle {
    order: 2;
    margin-left: 0;
  }

  .header-search {
    display: none;
  }

  .home-hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 48px;
  }

  .home-command-card {
    width: min(100%, 560px);
  }

  .home-today-grid,
  .home-community-grid {
    grid-template-columns: 1fr;
  }

  .home-live-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

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

  .admin-tool-section-wide .admin-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .portal-home {
    padding-top: 16px;
  }

  .home-hero-clean {
    border-radius: 21px;
  }

  .home-hero-layout {
    gap: 30px;
    padding: 34px 25px;
  }

  .home-hero-copy h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .home-hero-copy > p {
    font-size: 14px;
  }

  .home-hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-hero-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .home-hero-metrics > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .home-primary-grid,
  .home-discover-grid,
  .home-live-panel,
  .admin-section-grid {
    grid-template-columns: 1fr;
  }

  .home-section {
    margin-top: 42px;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .admin-tool-section-wide {
    grid-column: auto;
  }

  .operations-nav-clean {
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }

  .operations-nav-clean .operations-home {
    grid-column: 1 / -1;
  }

  .operations-group {
    position: static;
  }

  .operations-group-links,
  .operations-group:last-child .operations-group-links {
    position: static;
    min-width: 0;
    margin-top: 5px;
    box-shadow: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1280px);
  }

  .site-brand-logo {
    width: 46px;
    height: 46px;
  }

  .site-brand-logo img {
    width: 40px;
    height: 40px;
  }

  .login-link > span:last-child {
    display: none;
  }

  .login-link {
    padding: 4px;
    border: 0;
    background: transparent;
  }

  .user-menu > summary > span,
  .user-menu > summary > i {
    display: none;
  }

  .user-menu > summary {
    padding: 4px;
  }

  .main-nav.open {
    grid-template-columns: 1fr;
  }

  .nav-more {
    grid-column: auto;
  }

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

  .home-hero-layout {
    padding: 31px 20px;
  }

  .home-hero-actions {
    display: grid;
  }

  .home-hero-actions .button {
    width: 100%;
  }

  .home-hero-assurances {
    display: grid;
    gap: 8px;
  }

  .home-command-head strong {
    font-size: 13px;
  }

  .home-command-state {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .home-command-state > b {
    grid-column: 2;
  }

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

  .home-primary-grid {
    grid-template-columns: 1fr;
  }

  .home-primary-card {
    min-height: 0;
  }

  .home-news-item {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 10px;
    min-height: 0;
  }

  .home-news-item > span {
    grid-column: 1 / -1;
  }

  .home-topic-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .home-topic-item > b {
    grid-column: 2;
    text-align: left;
  }

  .faction-grid-home {
    grid-template-columns: 1fr;
  }

  .admin-tool-section {
    padding: 13px;
  }

  .admin-tool-section .admin-tool-grid,
  .admin-tool-section-wide .admin-tool-grid {
    grid-template-columns: 1fr;
  }

  .operations-nav-clean {
    grid-template-columns: 1fr;
  }
}

/* ===== Visuelle Veredelung ===== */
::selection {
  color: #07101b;
  background: var(--gold-light);
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.nav-shell {
  position: relative;
  box-shadow: inset 0 -1px 0 rgba(240, 213, 142, .035);
}

.nav-shell::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 5%, rgba(62, 151, 211, .28), rgba(242, 215, 142, .48), transparent 94%);
  opacity: .62;
}

.site-brand-logo {
  position: relative;
  overflow: hidden;
}

.site-brand-logo::after {
  content: "";
  position: absolute;
  inset: -50%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .17) 50%, transparent 62%);
  transform: translateX(-65%) rotate(8deg);
  transition: transform .65s ease;
}

.site-brand:hover .site-brand-logo::after {
  transform: translateX(65%) rotate(8deg);
}

.site-brand-logo img {
  transition: transform .3s ease, filter .3s ease;
}

.site-brand:hover .site-brand-logo img {
  filter: drop-shadow(0 8px 18px rgba(217, 182, 101, .28));
  transform: scale(1.035);
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -100%;
  bottom: -100%;
  left: -38%;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .24), transparent);
  transform: rotate(18deg);
  transition: left .55s ease;
}

.button:hover::after {
  left: 118%;
}

.button-primary {
  box-shadow: 0 12px 34px rgba(174, 130, 51, .25), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.button-discord {
  box-shadow: 0 12px 32px rgba(88, 101, 242, .23), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.nav-more-panel,
.user-menu-panel,
.operations-group-links {
  transform-origin: top center;
}

.nav-more[open] .nav-more-panel,
.user-menu[open] .user-menu-panel,
.operations-group[open] .operations-group-links {
  animation: de-menu-in .18s ease-out both;
}

.home-hero-clean {
  border-color: rgba(188, 210, 225, .17);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .04),
    inset 0 -1px 0 rgba(217, 182, 101, .05);
}

.home-hero-clean::after {
  content: "BIEBERSTEDT";
  position: absolute;
  z-index: 0;
  right: -25px;
  bottom: 55px;
  pointer-events: none;
  color: rgba(255, 255, 255, .021);
  font: 950 clamp(70px, 11vw, 154px)/.8 "Arial Black", Arial, sans-serif;
  letter-spacing: -.085em;
  white-space: nowrap;
  transform: rotate(-3deg);
}

.home-hero-layout,
.home-hero-metrics {
  position: relative;
  z-index: 1;
}

.home-de-badge {
  min-height: 29px;
  padding: 0 12px;
  border: 1px solid rgba(217, 182, 101, .2);
  border-radius: 99px;
  color: #aebbc5;
  background: linear-gradient(90deg, rgba(217, 182, 101, .075), rgba(255, 255, 255, .018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.home-hero-copy h1 {
  text-wrap: balance;
  text-shadow: 0 12px 38px rgba(0, 0, 0, .2);
}

.home-hero-copy h1 em {
  color: transparent;
  background: linear-gradient(115deg, #fff0bd 5%, #e1ba64 52%, #f6dda0 94%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 10px 30px rgba(217, 182, 101, .11));
}

.home-command-card {
  position: relative;
  border-color: rgba(197, 215, 229, .18);
  background:
    radial-gradient(circle at 85% 10%, rgba(217, 182, 101, .09), transparent 42%),
    linear-gradient(155deg, rgba(9, 23, 37, .9), rgba(3, 12, 21, .86));
  box-shadow: 0 30px 78px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.home-command-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 16%;
  left: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow: 0 0 19px rgba(217, 182, 101, .35);
}

.home-command-logo {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 11px 28px rgba(0, 0, 0, .22);
}

.home-command-logo img {
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .25));
  transition: transform .35s ease, filter .35s ease;
}

.home-command-card:hover .home-command-logo img {
  filter: drop-shadow(0 8px 18px rgba(217, 182, 101, .22));
  transform: scale(1.055) rotate(-1deg);
}

.home-command-state > span i,
.home-server-summary header i {
  animation: de-live-pulse 2.25s ease-in-out infinite;
}

.home-command-state.status-offline > span i,
.home-command-state.status-unconfigured > span i,
.home-server-summary.status-offline header i,
.home-server-summary.status-unconfigured header i {
  animation: none;
}

.home-command-links > a {
  transition: background .18s ease, color .18s ease;
}

.home-command-links > a b,
.home-news-item > b,
.home-discover-card > b {
  transition: color .18s ease, transform .18s ease;
}

.home-command-links > a:hover b,
.home-news-item:hover > b,
.home-discover-card:hover > b {
  color: var(--gold-light);
  transform: translateX(3px);
}

.home-hero-metrics > div {
  position: relative;
  transition: background .18s ease;
}

.home-hero-metrics > div:hover {
  background: rgba(255, 255, 255, .022);
}

.home-hero-metrics > div::after {
  content: "";
  position: absolute;
  right: 25%;
  bottom: 0;
  left: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 182, 101, .52), transparent);
  opacity: 0;
  transition: opacity .18s ease;
}

.home-hero-metrics > div:hover::after {
  opacity: 1;
}

.home-primary-card {
  --card-accent: #d9b665;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--card-accent) 17%, var(--line));
}

.home-primary-card:nth-child(1) { --card-accent: #d64c5a; }
.home-primary-card:nth-child(2) { --card-accent: #5aaee4; }
.home-primary-card:nth-child(3) { --card-accent: #e0b96a; }
.home-primary-card:nth-child(4) { --card-accent: #62c99a; }

.home-primary-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 24%;
  left: 24%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  opacity: .72;
  transition: right .25s ease, left .25s ease, opacity .25s ease;
}

.home-primary-card:hover::before {
  right: 8%;
  left: 8%;
  opacity: 1;
}

.home-primary-card > span {
  color: color-mix(in srgb, var(--card-accent) 80%, white);
  border-color: color-mix(in srgb, var(--card-accent) 28%, transparent);
  background: color-mix(in srgb, var(--card-accent) 10%, transparent);
  box-shadow: 0 10px 27px color-mix(in srgb, var(--card-accent) 9%, transparent);
}

.home-primary-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 38%, var(--line));
  box-shadow: 0 20px 48px rgba(0, 0, 0, .24), 0 0 32px color-mix(in srgb, var(--card-accent) 7%, transparent);
}

.home-section {
  position: relative;
}

.home-section + .home-section::before {
  content: "";
  position: absolute;
  top: -28px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(151, 177, 197, .11) 20%, rgba(217, 182, 101, .17) 50%, rgba(151, 177, 197, .11) 80%, transparent);
}

.home-section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-section-heading .eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.home-section-heading h2 {
  text-wrap: balance;
}

.home-section-heading > a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(217, 182, 101, .14);
  border-radius: 99px;
  background: rgba(217, 182, 101, .035);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.home-section-heading > a:hover {
  border-color: rgba(217, 182, 101, .3);
  background: rgba(217, 182, 101, .08);
  transform: translateX(2px);
}

.home-news-panel,
.home-live-panel > div,
.home-topic-panel,
.home-discover-card {
  border-color: rgba(171, 193, 211, .15);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .19), inset 0 1px 0 rgba(255, 255, 255, .025);
}

.home-news-item {
  position: relative;
}

.home-news-item::before {
  content: "";
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 0;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--gold);
  opacity: 0;
  transform: scaleY(.45);
  transition: opacity .18s ease, transform .18s ease;
}

.home-news-item:hover::before,
.home-news-item.breaking::before {
  opacity: 1;
  transform: scaleY(1);
}

.home-news-item.breaking::before {
  background: #dc4e5b;
}

.home-news-item strong {
  transition: color .18s ease;
}

.home-news-item:hover strong {
  color: #fff4d1;
}

.home-server-summary,
.home-member-card {
  position: relative;
  overflow: hidden;
}

.home-server-summary::after,
.home-member-card::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -80px;
  width: 170px;
  height: 170px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 210, 151, .09), transparent 68%);
}

.home-member-card::after {
  background: radial-gradient(circle, rgba(88, 101, 242, .1), transparent 68%);
}

.home-topic-item img {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  transition: transform .2s ease, border-color .2s ease;
}

.home-topic-item:hover img {
  border-color: rgba(217, 182, 101, .38);
  transform: scale(1.045);
}

.home-discover-card {
  --discover-accent: #d9b665;
  border-color: color-mix(in srgb, var(--discover-accent) 15%, var(--line));
}

.home-discover-card:nth-child(1) { --discover-accent: #5aaee4; }
.home-discover-card:nth-child(2) { --discover-accent: #65cda0; }
.home-discover-card:nth-child(3) { --discover-accent: #dfb760; }
.home-discover-card:nth-child(4) { --discover-accent: #9a87e4; }

.home-discover-card > span {
  color: color-mix(in srgb, var(--discover-accent) 82%, white);
  background: color-mix(in srgb, var(--discover-accent) 9%, transparent);
}

.home-discover-card:hover {
  border-color: color-mix(in srgb, var(--discover-accent) 34%, var(--line));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .21), 0 0 25px color-mix(in srgb, var(--discover-accent) 6%, transparent);
}

.faction-card {
  isolation: isolate;
}

.faction-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -35%;
  bottom: -55%;
  width: 190px;
  height: 190px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--faction-color) 14%, transparent), transparent 67%);
  transition: transform .35s ease, opacity .35s ease;
}

.faction-card:hover::after {
  opacity: 1;
  transform: translate(-12px, -12px) scale(1.12);
}

.admin-tool-section {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .025);
}

.admin-tool-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22%;
  left: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 182, 101, .62), transparent);
}

.admin-tool-section .admin-tool-grid a {
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.admin-tool-section .admin-tool-grid a:hover {
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}

.portal-glow-target {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.portal-glow-target::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(280px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 230, 167, .075), transparent 64%);
  opacity: 0;
  transition: opacity .22s ease;
}

.portal-glow-target:hover::after {
  opacity: 1;
}

.portal-glow-target > * {
  position: relative;
  z-index: 1;
}

.portal-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, .8, .25, 1);
}

.portal-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.site-footer {
  background:
    radial-gradient(circle at 10% 0, rgba(53, 136, 194, .07), transparent 28rem),
    radial-gradient(circle at 90% 0, rgba(217, 182, 101, .055), transparent 24rem),
    rgba(2, 8, 14, .97);
}

.footer-status i {
  animation: de-live-pulse 2.4s ease-in-out infinite;
}

@keyframes de-menu-in {
  from { opacity: 0; transform: translateY(-6px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes de-live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 11px rgba(82, 210, 151, .62); }
  50% { opacity: .72; box-shadow: 0 0 21px rgba(82, 210, 151, .92); }
}

@keyframes de-rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) {
  .home-primary-card:hover,
  .home-discover-card:hover,
  .faction-card:hover {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .portal-home .home-hero-copy > * {
    animation: de-rise-in .58s ease-out both;
  }

  .portal-home .home-hero-copy > :nth-child(2) { animation-delay: .06s; }
  .portal-home .home-hero-copy > :nth-child(3) { animation-delay: .11s; }
  .portal-home .home-hero-copy > :nth-child(4) { animation-delay: .16s; }
  .portal-home .home-hero-copy > :nth-child(5) { animation-delay: .21s; }
  .portal-home .home-command-card { animation: de-rise-in .65s .12s ease-out both; }
  .portal-home .home-primary-card { animation: de-rise-in .52s ease-out both; }
  .portal-home .home-primary-card:nth-child(1) { animation-delay: .15s; }
  .portal-home .home-primary-card:nth-child(2) { animation-delay: .2s; }
  .portal-home .home-primary-card:nth-child(3) { animation-delay: .25s; }
  .portal-home .home-primary-card:nth-child(4) { animation-delay: .3s; }
}

@media (max-width: 760px) {
  .home-hero-clean::after {
    right: -10px;
    bottom: 102px;
    font-size: 72px;
  }

  .home-section + .home-section::before {
    top: -21px;
  }

  .home-section-heading > a {
    min-height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-command-state > span i,
  .home-server-summary header i,
  .footer-status i {
    animation: none;
  }

  .portal-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-primary-card,
  .home-discover-card,
  .home-primary-card > b {
    transition: none;
  }
}
