:root {
  --bg: #030b1b;
  --bg-soft: #07162d;
  --panel: rgba(8, 20, 43, 0.82);
  --panel-border: rgba(110, 180, 255, 0.22);
  --text: #e8f2ff;
  --muted: #9bb4d4;
  --primary: #59b7ff;
  --primary-strong: #1b7dff;
  --glow: rgba(76, 173, 255, 0.35);
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.42);
  --radius: 20px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 15%, rgba(54, 112, 255, 0.10), transparent 25%),
    radial-gradient(circle at 80% 10%, rgba(91, 183, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #030b1b 0%, #020814 100%);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: min(1050px, 100vh);
  pointer-events: none;
  z-index: -2;
  background:
    url('../Images/site-background.png') center top / 100% auto no-repeat;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: min(1050px, 100vh);
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(3, 11, 27, 0.30) 0%,
      rgba(3, 11, 27, 0.42) 35%,
      rgba(3, 11, 27, 0.70) 68%,
      rgba(2, 8, 20, 0.96) 100%
    );
}

@media (max-width: 1200px) {
  body::before {
    background:
      url('../Images/site-background.jpg') center top / cover no-repeat;
  }
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(3, 11, 27, 0.32);
  border-bottom: 1px solid rgba(96, 164, 255, 0.10);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  color: #62c2ff;
  text-shadow:
    0 0 10px rgba(98, 194, 255, 0.35),
    0 0 24px rgba(98, 194, 255, 0.18);
}

.brand-text {
  color: #ffffff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: nowrap;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(235, 244, 255, 0.90);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link.is-active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 42px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #62c2ff 50%, transparent 100%);
  box-shadow:
    0 0 8px rgba(98, 194, 255, 0.45),
    0 0 18px rgba(98, 194, 255, 0.22);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, #39b7ff 0%, #1d86ff 48%, #176cff 100%);
  border: 1px solid rgba(140, 210, 255, 0.72);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 0 0 2px rgba(28, 121, 255, 0.18),
    0 0 18px rgba(58, 176, 255, 0.22);
}

.nav-button:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 0 0 2px rgba(28, 121, 255, 0.24),
    0 0 26px rgba(58, 176, 255, 0.34);
}

.nav-button--logout {
  background: linear-gradient(180deg, #ff6b6b 0%, #e53935 48%, #c62828 100%);
  border: 1px solid rgba(255, 170, 170, 0.72);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 0 0 2px rgba(198, 40, 40, 0.18),
    0 0 18px rgba(229, 57, 53, 0.22);
}

.nav-button--logout:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 0 0 2px rgba(198, 40, 40, 0.24),
    0 0 26px rgba(229, 57, 53, 0.34);
}

@media (max-width: 1100px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

.btn-secondary {
  background: rgba(9, 22, 45, 0.65);
  border: 1px solid rgba(128, 188, 255, 0.24);
  color: #e7f3ff;
}

.btn-secondary:hover {
  background: rgba(13, 30, 59, 0.92);
}

.btn-full {
  width: 100%;
}

.hero {
  text-align: center;
}

.hero-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 150px 0 120px;
}

.hero-copy {
  max-width: 1280px;
  margin: 0 auto;
}

.hero-copy .frame-header {
  display: none;
}

.hero-copy .ce-bodytext > p:first-child {
  position: relative;
  margin: 0 0 18px !important;
  padding-bottom: 24px;
  font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
  font-size: clamp(42px, 4.7vw, 76px) !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #f6f8fc !important;
  text-align: center;
  white-space: nowrap;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.08),
    0 3px 18px rgba(0, 0, 0, 0.30);
}

.hero-copy .ce-bodytext > p:first-child strong,
.hero-copy .ce-bodytext > p:first-child b {
  color: #6fc7ff !important;
  font-weight: 900 !important;
  text-shadow:
    0 0 10px rgba(85, 190, 255, 0.26),
    0 0 24px rgba(85, 190, 255, 0.14);
}

.hero-copy .ce-bodytext > p:first-child::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(440px, 72vw);
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(90, 190, 255, 0.30) 8%,
    #69c7ff 24%,
    #b9ecff 50%,
    #69c7ff 76%,
    rgba(90, 190, 255, 0.30) 92%,
    transparent 100%
  );
  box-shadow:
    0 0 10px rgba(88, 192, 255, 0.40),
    0 0 22px rgba(88, 192, 255, 0.18);
  animation: heroLineGlow 3s ease-in-out infinite;
}

.hero-copy .ce-bodytext > p:nth-child(2) {
  max-width: 920px;
  margin: 0 auto 26px !important;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(15px, 1.05vw, 21px) !important;
  line-height: 1.45 !important;
  font-weight: 600;
  color: #eef5ff !important;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.30);
}

.hero-copy .ce-bodytext > p:last-child {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px !important;
}

@keyframes heroLineGlow {
  0% {
    opacity: 0.72;
    box-shadow:
      0 0 8px rgba(73, 169, 255, 0.28),
      0 0 18px rgba(73, 169, 255, 0.14);
  }
  50% {
    opacity: 1;
    box-shadow:
      0 0 14px rgba(73, 169, 255, 0.55),
      0 0 30px rgba(73, 169, 255, 0.24);
  }
  100% {
    opacity: 0.72;
    box-shadow:
      0 0 8px rgba(73, 169, 255, 0.28),
      0 0 18px rgba(73, 169, 255, 0.14);
  }
}

@media (max-width: 1200px) {
  .hero-copy .ce-bodytext > p:first-child {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    padding: 120px 0 90px;
  }

  .hero-copy .ce-bodytext > p:first-child {
    font-size: clamp(34px, 8vw, 56px) !important;
    padding-bottom: 20px;
  }

  .hero-copy .ce-bodytext > p:first-child::after {
    width: min(300px, 70vw);
  }
}



.hero-copy .ce-bodytext > p:last-child a,
.hero-copy .ce-bodytext a {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 300px;
  min-height: 58px !important;
  padding: 0 34px !important;
  border-radius: 3px !important;
  overflow: hidden;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase;
  color: #ffffff !important;
  text-decoration: none !important;
  background: linear-gradient(180deg, #34b6ff 0%, #1d8dff 48%, #176cff 100%) !important;
  border: 1px solid rgba(145, 214, 255, 0.78) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 0 0 2px rgba(35, 129, 255, 0.22),
    0 0 16px rgba(57, 178, 255, 0.28),
    0 0 32px rgba(57, 178, 255, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: heroButtonPulse 2.8s ease-in-out infinite;
}

.hero-copy .ce-bodytext > p:last-child a::before,
.hero-copy .ce-bodytext a::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 2px;
  border: 1px solid rgba(150, 220, 255, 0.22);
  pointer-events: none;
}

.hero-copy .ce-bodytext > p:last-child a::after,
.hero-copy .ce-bodytext a::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -30%;
  width: 26%;
  height: 140%;
  transform: rotate(18deg) translateX(-220%);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.10) 20%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0.10) 80%,
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
  animation: heroButtonSweep 3.4s ease-in-out infinite;
}

.hero-copy .ce-bodytext > p:last-child a:hover,
.hero-copy .ce-bodytext a:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 0 0 2px rgba(35, 129, 255, 0.28),
    0 0 22px rgba(57, 178, 255, 0.36),
    0 0 40px rgba(57, 178, 255, 0.20);
}

@keyframes heroButtonPulse {
  0% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.10) inset,
      0 0 0 2px rgba(35, 129, 255, 0.20),
      0 0 14px rgba(57, 178, 255, 0.20),
      0 0 28px rgba(57, 178, 255, 0.10);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.14) inset,
      0 0 0 2px rgba(35, 129, 255, 0.28),
      0 0 22px rgba(57, 178, 255, 0.34),
      0 0 42px rgba(57, 178, 255, 0.18);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.10) inset,
      0 0 0 2px rgba(35, 129, 255, 0.20),
      0 0 14px rgba(57, 178, 255, 0.20),
      0 0 28px rgba(57, 178, 255, 0.10);
  }
}

@keyframes heroButtonSweep {
  0% {
    transform: rotate(18deg) translateX(-260%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  45% {
    transform: rotate(18deg) translateX(420%);
    opacity: 1;
  }
  46% {
    opacity: 0;
  }
  100% {
    transform: rotate(18deg) translateX(420%);
    opacity: 0;
  }
}





@keyframes heroButtonPulse {
  0% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.10) inset,
      0 0 0 2px rgba(28, 121, 255, 0.20),
      0 0 14px rgba(58, 176, 255, 0.20),
      0 0 28px rgba(58, 176, 255, 0.10);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.14) inset,
      0 0 0 2px rgba(28, 121, 255, 0.28),
      0 0 22px rgba(58, 176, 255, 0.34),
      0 0 42px rgba(58, 176, 255, 0.18);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.10) inset,
      0 0 0 2px rgba(28, 121, 255, 0.20),
      0 0 14px rgba(58, 176, 255, 0.20),
      0 0 28px rgba(58, 176, 255, 0.10);
  }
}

@keyframes heroButtonSweep {
  0% {
    transform: rotate(18deg) translateX(-260%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  45% {
    transform: rotate(18deg) translateX(420%);
    opacity: 1;
  }
  46% {
    opacity: 0;
  }
  100% {
    transform: rotate(18deg) translateX(420%);
    opacity: 0;
  }
}

.stats-section {
  position: relative;
  z-index: 2;
  margin-top: -54px;
}

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

.stat-card {
  padding: 24px 24px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 28, 57, 0.88), rgba(7, 18, 38, 0.92));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-value {
  font-size: clamp(26px, 2.4vw, 42px);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.home-panels {
  padding: 42px 0 90px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.95fr);
  gap: 26px;
  align-items: start;
}

.panel {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(9, 22, 45, 0.84), rgba(4, 14, 31, 0.92));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.panel-main {
  padding: 30px;
}

.panel-side {
  padding: 24px;
  position: sticky;
  top: 108px;
}

.panel-title {
  margin-bottom: 18px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.panel-title span {
  color: var(--primary);
}

.panel-copy {
  color: #d7e5fb;
  line-height: 1.75;
  margin-bottom: 30px;
}

.panel-copy h1,
.panel-copy h2,
.panel-copy h3,
.panel-copy h4 {
  color: #ffffff;
}

.panel-copy a {
  color: var(--primary);
}

.panel-copy .frame {
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.feature-card {
  padding: 24px;
  border-radius: 18px;
  background: rgba(9, 23, 49, 0.78);
  border: 1px solid rgba(110, 180, 255, 0.16);
  transition: 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 180, 255, 0.32);
  box-shadow: 0 0 28px rgba(65, 149, 255, 0.12);
}

.feature-card-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.news-card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(8, 19, 40, 0.82);
  border: 1px solid rgba(110, 180, 255, 0.16);
}

.news-thumb {
  height: 180px;
  background:
    linear-gradient(135deg, rgba(255, 180, 90, 0.45), rgba(28, 102, 199, 0.25)),
    linear-gradient(180deg, #2e4a73, #162640);
}

.news-thumb-alt {
  background:
    linear-gradient(135deg, rgba(74, 178, 255, 0.32), rgba(17, 43, 92, 0.2)),
    linear-gradient(180deg, #1e3154, #0b1730);
}

.news-content {
  padding: 18px;
}

.news-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.news-text {
  color: var(--muted);
  line-height: 1.65;
}

.map-preview {
  position: relative;
  min-height: 360px;
  margin: 10px 0 22px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 30%, rgba(140, 230, 160, 0.62), transparent 20%),
    radial-gradient(circle at 70% 40%, rgba(172, 209, 120, 0.5), transparent 18%),
    radial-gradient(circle at 55% 70%, rgba(140, 190, 120, 0.55), transparent 16%),
    linear-gradient(180deg, rgba(85, 145, 96, 0.9), rgba(44, 88, 56, 0.88));
  border: 1px solid rgba(255,255,255,0.06);
}

.map-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.25;
}

.map-point {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(9, 23, 49, 0.88);
  border: 1px solid rgba(110, 180, 255, 0.24);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.point-1 { top: 24%; left: 58%; }
.point-2 { top: 45%; left: 18%; }
.point-3 { top: 72%; left: 48%; }

.subpage-hero {
  padding: 90px 0 40px;
  border-bottom: 1px solid rgba(96, 164, 255, 0.12);
  background:
    radial-gradient(circle at 50% 0%, rgba(78, 167, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(7, 18, 38, 0.9), rgba(3, 11, 27, 0.96));
}

.subpage-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.content-area {
  padding: 42px 0 90px;
}

.content-area .frame {
  margin-bottom: 24px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(9, 22, 45, 0.84), rgba(4, 14, 31, 0.92));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.content-area h1,
.content-area h2,
.content-area h3,
.content-area h4 {
  color: #fff;
}

.content-area p,
.content-area li {
  color: #d7e5fb;
  line-height: 1.8;
}

.content-area a {
  color: var(--primary);
}

.site-footer {
  position: relative;
  margin-top: 80px;
  overflow: hidden;
  border-top: 1px solid rgba(96, 164, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(5, 14, 30, 0.96) 0%, rgba(3, 9, 20, 0.98) 100%);
}

.footer-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 720px;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(62, 171, 255, 0.14) 0%, rgba(62, 171, 255, 0.06) 35%, transparent 72%);
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 32px;
  padding: 56px 0 34px;
}

.footer-brand-block {
  max-width: 460px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.footer-brand-mark {
  color: #62c2ff;
  text-shadow:
    0 0 10px rgba(98, 194, 255, 0.35),
    0 0 24px rgba(98, 194, 255, 0.18);
}

.footer-brand-text {
  color: #ffffff;
}

.footer-text {
  margin: 0;
  color: #cddcf3;
  font-size: 15px;
  line-height: 1.8;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7fcfff;
}

.footer-column a {
  color: #e7f2ff;
  font-size: 15px;
  line-height: 1.5;
  transition: 0.2s ease;
}

.footer-column a:hover {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(98, 194, 255, 0.18);
}

.footer-cta p {
  margin: 0 0 18px;
  color: #cddcf3;
  font-size: 15px;
  line-height: 1.75;
}

.footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, #39b7ff 0%, #1d86ff 48%, #176cff 100%);
  border: 1px solid rgba(140, 210, 255, 0.72);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 0 0 2px rgba(28, 121, 255, 0.18),
    0 0 18px rgba(58, 176, 255, 0.22);
}

.footer-button:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 0 0 2px rgba(28, 121, 255, 0.24),
    0 0 26px rgba(58, 176, 255, 0.34);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(96, 164, 255, 0.10);
  color: #8fa9ca;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #8fa9ca;
  font-size: 14px;
  transition: 0.2s ease;
}

.footer-legal a:hover {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(98, 194, 255, 0.18);
}

@media (max-width: 780px) {
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 780px) {
  .footer-top {
    grid-template-columns: 1fr;
    padding: 42px 0 24px;
  }

  .footer-bottom {
    min-height: auto;
    padding: 18px 0 24px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-brand {
    font-size: 28px;
  }
}

@media (max-width: 1100px) {
  .stats-grid,
  .feature-grid,
  .news-grid,
  .home-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .panel-side {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 560px;
  }

  .hero-inner {
    padding: 90px 0 100px;
  }

  .hero-copy .ce-bodytext a,
  .hero-copy a {
    min-width: 220px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    gap: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 80px 0 90px;
  }

  .hero p {
    font-size: 18px;
  }

  .stats-grid,
  .feature-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .panel-main,
  .panel-side {
    padding: 20px;
  }

  .panel-title {
    font-size: 28px;
  }

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


/*Registrierungs Abschnitt*/

.mom-portal-card {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 42px 46px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(7, 22, 48, 0.76) 0%, rgba(4, 14, 33, 0.82) 100%);
  border: 1px solid rgba(110, 170, 255, 0.16);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mom-portal-card--wide {
  width: 100%;
}

.mom-portal-header {
  margin-bottom: 28px;
}

.mom-portal-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #74b7ff;
}

.mom-portal-card h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  color: #ffffff;
}

.mom-portal-lead {
  max-width: 760px;
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.75;
  color: #d6e4ff;
}

.mom-portal-steps {
  display: grid;
  gap: 14px;
  margin: 26px 0 28px;
}

.mom-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(8, 20, 42, 0.52);
  border: 1px solid rgba(122, 170, 255, 0.12);
}

.mom-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  background: rgba(78, 163, 255, 0.14);
  border: 1px solid rgba(78, 163, 255, 0.3);
  color: #9fd0ff;
  font-weight: 800;
}

.mom-step strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
}

.mom-step p {
  margin: 0;
  color: #b7c9e6;
  line-height: 1.55;
}

.mom-step.is-active {
  border-color: rgba(78, 163, 255, 0.34);
  background: rgba(12, 30, 64, 0.72);
  box-shadow: 0 0 0 1px rgba(78, 163, 255, 0.08) inset;
}

.mom-step.is-done .mom-step-number {
  background: rgba(75, 186, 120, 0.16);
  border-color: rgba(75, 186, 120, 0.36);
  color: #9df0b5;
}

.mom-info-box,
.mom-note-box {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(8, 20, 42, 0.54);
  border: 1px solid rgba(122, 170, 255, 0.12);
  color: #d5e3fb;
  line-height: 1.65;
}

.mom-note-box--error {
  border-color: rgba(255, 108, 108, 0.28);
  background: rgba(60, 16, 22, 0.46);
  color: #ffd2d2;
}

.mom-portal-form {
  margin-top: 26px;
}

.mom-form-grid {
  display: grid;
  gap: 18px;
}

.mom-form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #ffffff;
}

.mom-form-field small {
  display: block;
  margin-top: 8px;
  color: #98abc8;
  font-size: 0.92rem;
}

.mom-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(122, 170, 255, 0.18);
  background: rgba(4, 11, 24, 0.78);
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mom-input::placeholder {
  color: #7f93b2;
}

.mom-input:focus {
  border-color: rgba(78, 163, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(78, 163, 255, 0.12);
  background: rgba(5, 14, 30, 0.92);
}

.mom-form-actions {
  margin-top: 20px;
}

.mom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mom-button--primary {
  color: #ffffff;
  background: linear-gradient(180deg, #56adff 0%, #2f80ed 100%);
  box-shadow:
    0 14px 34px rgba(47, 128, 237, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.mom-button--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 18px 40px rgba(47, 128, 237, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.mom-portal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 18px;
}

.mom-meta-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(8, 20, 42, 0.52);
  border: 1px solid rgba(122, 170, 255, 0.12);
}

.mom-meta-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7fb8ff;
}

.mom-meta-item strong {
  font-size: 1.08rem;
  color: #ffffff;
}

.mom-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(78, 163, 255, 0.14);
  border: 1px solid rgba(78, 163, 255, 0.26);
  color: #9fd0ff;
  font-weight: 700;
}

.mom-code-box {
  margin: 8px 0 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(5, 12, 24, 0.82);
  border: 1px solid rgba(122, 170, 255, 0.14);
}

.mom-code-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7fb8ff;
}

.mom-code-box code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  color: #ffffff;
  word-break: break-word;
}

.tx-mindofmineportal .typo3-messages,
.tx-mindofmineportal .alert {
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .mom-portal-card {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .mom-portal-meta {
    grid-template-columns: 1fr;
  }
}

/*Verifizierung*/

.mom-portal-card--verify {
  border-color: rgba(102, 190, 255, 0.22);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(78, 163, 255, 0.08) inset;
}

.mom-verify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 20px;
}

.mom-command-panel {
  margin: 10px 0 20px;
  padding: 22px 24px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(8, 24, 52, 0.88) 0%, rgba(5, 16, 35, 0.94) 100%);
  border: 1px solid rgba(102, 190, 255, 0.2);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.mom-command-panel code {
  display: block;
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(3, 10, 22, 0.9);
  border: 1px solid rgba(122, 170, 255, 0.14);
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.04rem;
  word-break: break-word;
}

.mom-status-badge--pending {
  background: rgba(78, 163, 255, 0.14);
  border: 1px solid rgba(78, 163, 255, 0.28);
  color: #9fd0ff;
}

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

/*Registirung Complete */

.mom-checkbox-row {
  margin-top: 18px;
}

.mom-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #d5e3fb;
  line-height: 1.6;
}

.mom-checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.mom-checkbox-label a {
  color: #7fb8ff;
  text-decoration: none;
}

.mom-checkbox-label a:hover {
  text-decoration: underline;
}

/* Profil Seiten Plugin */

.mom-portal {
  display: grid;
  gap: 28px;
}

.mom-portal-top {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.mom-profile-card,
.mom-map-card,
.mom-stat-card,
.mom-server-card {
  background: rgba(8, 18, 38, 0.82);
  border: 1px solid rgba(98, 175, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mom-profile-card {
  padding: 24px;
}

.mom-profile-skin {
  min-height: 320px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(49, 118, 204, 0.28), rgba(6, 16, 34, 0.86));
  border: 1px solid rgba(113, 179, 255, 0.16);
  overflow: hidden;
}

.mom-profile-skin img {
  display: block;
  max-width: 100%;
  height: auto;
}

.mom-profile-skin-placeholder {
  font-size: 28px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.7);
}

.mom-profile-name {
  margin: 0 0 18px;
  font-size: 36px;
  line-height: 1.05;
  color: #f4f8ff;
}

.mom-profile-meta {
  display: grid;
  gap: 12px;
}

.mom-profile-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(124, 179, 255, 0.10);
}

.mom-profile-row span {
  color: #9db7d8;
}

.mom-profile-row strong {
  color: #ffffff;
  text-align: right;
}

.mom-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mom-badge--ok {
  color: #ddfff2;
  background: rgba(33, 173, 114, 0.18);
  border: 1px solid rgba(73, 226, 156, 0.34);
}

.mom-badge--muted {
  color: #eef5ff;
  background: rgba(94, 118, 156, 0.18);
  border: 1px solid rgba(133, 158, 199, 0.24);
}

.mom-badge--warn {
  color: #fff4dc;
  background: rgba(184, 125, 31, 0.18);
  border: 1px solid rgba(240, 181, 79, 0.28);
}

.mom-social-card {
  padding: 22px;
}

.mom-social-card__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.mom-social-card__header h3 {
  margin: 0 0 6px;
  color: #f4f8ff;
  font-size: 28px;
}

.mom-social-card__header p {
  margin: 0;
  color: #9db7d8;
  line-height: 1.6;
}

.mom-social-stats {
  display: grid;
}

@media (max-width: 720px) {
  .mom-social-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.mom-map-card {
  padding: 0;
  overflow: hidden;
}

.mom-map-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 18px 0;
}

.mom-map-tab {
  appearance: none;
  border: 1px solid rgba(112, 176, 255, 0.18);
  background: rgba(15, 31, 61, 0.78);
  color: #dce9ff;
  border-radius: 14px 14px 0 0;
  padding: 12px 18px;
  font-weight: 800;
  cursor: default;
}

.mom-map-tab.is-active {
  background: linear-gradient(180deg, rgba(39, 106, 196, 0.92), rgba(21, 57, 115, 0.92));
  border-color: rgba(140, 197, 255, 0.28);
}

.mom-map-stage {
  min-height: 430px;
  padding: 18px;
}

.mom-map-placeholder {
  height: 100%;
  min-height: 390px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(110, 184, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 34, 67, 0.72), rgba(7, 17, 33, 0.90)),
    radial-gradient(circle at top, rgba(67, 135, 229, 0.20), transparent 60%);
  color: #dce9ff;
  padding: 30px;
}

.mom-map-placeholder-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 10px;
}

.mom-section {
  display: grid;
  gap: 16px;
}

.mom-section-title {
  font-size: 34px;
  font-weight: 900;
  color: #f4f8ff;
}

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

.mom-stat-card {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.mom-stat-card span {
  color: #9ab3d4;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.mom-stat-card strong {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
}

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

.mom-server-card {
  padding: 22px;
}

.mom-server-card h3 {
  margin: 0 0 16px;
  color: #f4f8ff;
  font-size: 28px;
}

.mom-empty-state {
  min-height: 140px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #c4d7f0;
  border-radius: 16px;
  border: 1px dashed rgba(122, 186, 255, 0.18);
  background: rgba(9, 21, 44, 0.56);
  padding: 20px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .mom-portal-top,
  .mom-global-stats,
  .mom-server-grid {
    grid-template-columns: 1fr;
  }
}

/* Profil Skin*/

.mom-profile-skin {
  min-height: 320px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(49, 118, 204, 0.28), rgba(6, 16, 34, 0.86));
  border: 1px solid rgba(113, 179, 255, 0.16);
  overflow: hidden;
  position: relative;
}

.mom-skin-viewer {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.mom-skin-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== Login-Seite ===== */

.frame-type-felogin_login {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 24px;
  background: rgba(8, 18, 38, 0.82);
  border: 1px solid rgba(103, 170, 255, 0.18);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #eef5ff;
  box-sizing: border-box;
}

.frame-type-felogin_login h3 {
  display: none;
}

.frame-type-felogin_login > p {
  margin: 0 0 28px;
  max-width: 720px;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.frame-type-felogin_login > p::after {
  content: "Melde dich mit deiner E-Mail-Adresse und deinem Passwort an, um auf dein Spielerportal zuzugreifen.";
  display: block;
  font-size: 18px;
  line-height: 1.8;
  color: #c5d8ee;
}

.frame-type-felogin_login form > div:first-child {
  display: none;
}

.frame-type-felogin_login fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.frame-type-felogin_login legend {
  display: none;
}

.frame-type-felogin_login fieldset > div {
  margin-bottom: 18px;
}

.frame-type-felogin_login label {
  display: block;
  margin-bottom: 10px;
  color: #dce9ff;
  font-size: 15px;
  font-weight: 800;
}

.frame-type-felogin_login label[for="tx-felogin-input-username"] {
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.frame-type-felogin_login label[for="tx-felogin-input-username"]::after {
  content: "E-Mail:";
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  color: #dce9ff;
}

.frame-type-felogin_login input[type="text"],
.frame-type-felogin_login input[type="email"],
.frame-type-felogin_login input[type="password"] {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(116, 179, 255, 0.18);
  background: rgba(10, 23, 46, 0.92);
  color: #ffffff;
  font-size: 17px;
  box-sizing: border-box;
  max-width: none;
  outline: none;
}

.frame-type-felogin_login input[type="text"]:focus,
.frame-type-felogin_login input[type="email"]:focus,
.frame-type-felogin_login input[type="password"]:focus {
  border-color: rgba(113, 191, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(67, 145, 255, 0.12);
}

.frame-type-felogin_login #tx-felogin-input-username::placeholder {
  color: #7f9cc4;
}

.frame-type-felogin_login input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #4ea6ff 0%, #2b79ff 45%, #1f63dd 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 0 18px rgba(70, 145, 255, 0.24);
}

.frame-type-felogin_login input[type="submit"]:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.14) inset,
    0 0 24px rgba(70, 145, 255, 0.34);
}

.frame-type-felogin_login a {
  color: #74c8ff;
  text-decoration: none;
}

.frame-type-felogin_login a:hover {
  text-decoration: underline;
}

/* Registrierungsbox direkt unter dem Login-Formular */
.frame-type-felogin_login + .frame-type-textpic {
  max-width: 860px;
  margin: 24px auto 0;
}

.frame-type-felogin_login + .frame-type-textpic .ce-bodytext {
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(12, 28, 56, 0.82);
  border: 1px solid rgba(116, 179, 255, 0.16);
  color: #d9e9ff;
  box-sizing: border-box;
}

.frame-type-felogin_login + .frame-type-textpic p {
  margin: 0;
  line-height: 1.7;
  font-size: 17px;
  color: #d9e9ff;
}

.frame-type-felogin_login + .frame-type-textpic p + p {
  margin-top: 10px;
}

.frame-type-felogin_login + .frame-type-textpic strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 18px;
}

.frame-type-felogin_login + .frame-type-textpic a {
  color: #74c8ff;
  font-weight: 800;
  text-decoration: none;
}

.frame-type-felogin_login + .frame-type-textpic a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .frame-type-felogin_login {
    padding: 24px;
  }

  .frame-type-felogin_login > p::after {
    font-size: 16px;
  }

  .frame-type-felogin_login + .frame-type-textpic .ce-bodytext {
    padding: 18px 20px;
  }
}

/* Map */

.portal-card--map {
  margin-top: 24px;
}

.portal-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.portal-card__title {
  margin: 0;
}

.portal-card__subtitle {
  margin: 6px 0 0;
  opacity: 0.8;
}

.portal-card__link {
  white-space: nowrap;
}

.portal-bluemap-wrap {
  position: relative;
  width: 100%;
  min-height: 720px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.portal-bluemap {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
}

/* ===== MindOfMine Home Plugin ===== */

/* TYPO3-Frame rund um das Plugin auf der Startseite neutralisieren */
.content-area--home .frame-type-list,
.content-area--home .frame-default,
.content-area--home .frame {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.content-area--home .frame .frame-inner,
.content-area--home .frame .ce-bodytext {
  padding: 0 !important;
  margin: 0 !important;
}

/* Plugin-Grundbereich */
.mom-home-overview {
  position: relative;
  z-index: 2;
  padding: 0 0 72px;
}

/* ===== Statistik-Karten ===== */

.mom-home-overview__stats {
  position: relative;
  margin-top: -48px;
  padding-bottom: 56px;
}

.mom-home-overview__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.mom-home-overview__stat-card {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10, 28, 56, 0.90) 0%, rgba(6, 17, 36, 0.95) 100%);
  border: 1px solid rgba(110, 180, 255, 0.20);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.mom-home-overview__stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(93, 180, 255, 0.08) inset,
    0 0 26px rgba(69, 158, 255, 0.08);
}

.mom-home-overview__stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
  background:
    radial-gradient(circle, rgba(74, 170, 255, 0.22) 0%, rgba(74, 170, 255, 0.08) 65%, rgba(74, 170, 255, 0) 100%);
  border: 1px solid rgba(108, 184, 255, 0.18);
  box-shadow:
    0 0 18px rgba(79, 173, 255, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.mom-home-overview__stat-value {
  margin-bottom: 10px;
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.mom-home-overview__stat-label {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: #c8d9f1;
}

/* ===== Features ===== */

.mom-home-overview__features {
  position: relative;
  padding: 10px 0 30px;
}

.mom-home-overview__heading {
  max-width: 860px;
  margin: 0 auto 36px;
  text-align: center;
}

.mom-home-overview__heading h2 {
  margin: 0 0 14px;
  font-size: clamp(36px, 3.6vw, 56px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.mom-home-overview__heading p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  color: #c9dbf2;
}

.mom-home-overview__features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.mom-home-overview__feature-card {
  position: relative;
  min-height: 290px;
  padding: 28px 24px 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(9, 25, 50, 0.84) 0%, rgba(4, 13, 30, 0.93) 100%);
  border: 1px solid rgba(110, 180, 255, 0.18);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.mom-home-overview__feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 180, 255, 0.34);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(69, 158, 255, 0.10);
}

.mom-home-overview__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  border-radius: 18px;
  font-size: 30px;
  line-height: 1;
  background:
    linear-gradient(180deg, rgba(20, 55, 101, 0.82) 0%, rgba(11, 28, 55, 0.92) 100%);
  border: 1px solid rgba(110, 180, 255, 0.18);
  box-shadow:
    0 0 20px rgba(69, 158, 255, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.mom-home-overview__feature-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
}

.mom-home-overview__feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #c7d8ef;
}

/* ===== Responsive ===== */

@media (max-width: 1200px) {
  .mom-home-overview__stats-grid,
  .mom-home-overview__features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .mom-home-overview {
    padding-bottom: 48px;
  }

  .mom-home-overview__stats {
    margin-top: -18px;
    padding-bottom: 36px;
  }

  .mom-home-overview__stats-grid,
  .mom-home-overview__features-grid {
    grid-template-columns: 1fr;
  }

  .mom-home-overview__stat-card,
  .mom-home-overview__feature-card {
    padding: 22px 20px;
  }

  .mom-home-overview__heading {
    margin-bottom: 26px;
  }

  .mom-home-overview__heading h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .mom-home-overview__heading p {
    font-size: 16px;
    line-height: 1.65;
  }

  .mom-home-overview__feature-card {
    min-height: auto;
  }
}

.mom-portal-shell {
  position: relative;
}

.mom-global-social {
  pointer-events: none;
}

.mom-global-social .mom-social-toggle,
.mom-global-social .mom-social-drawer {
  pointer-events: auto;
}

.mom-portal-main {
  position: relative;
  z-index: 1;
}

.mom-social-toggle {
  position: fixed;
  top: 124px;
  right: 24px;
  z-index: 78;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(116, 188, 255, 0.24);
  border-radius: 999px;
  background: rgba(7, 19, 41, 0.92);
  color: #eef6ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease;
}

.mom-social-toggle:hover {
  background: rgba(11, 28, 58, 0.98);
}

.mom-social-toggle__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #47d68d;
  box-shadow: 0 0 14px rgba(71, 214, 141, 0.55);
}

.mom-social-backdrop {
  display: none;
}

.mom-social-drawer {
  position: fixed;
  top: 104px;
  right: 24px;
  bottom: 24px;
  z-index: 77;
  width: min(390px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid rgba(110, 180, 255, 0.18);
  background: linear-gradient(180deg, rgba(6, 20, 44, 0.97) 0%, rgba(3, 12, 28, 0.98) 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  overflow: hidden;
  transform: translateX(calc(100% + 34px));
  transition: transform 0.28s ease;
}

.mom-portal-shell.is-social-open .mom-social-drawer {
  transform: translateX(0);
}

.mom-portal-shell.is-social-open .mom-social-toggle {
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px);
}

.mom-social-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(110, 180, 255, 0.12);
}

.mom-social-drawer__eyebrow {
  margin-bottom: 8px;
  color: #7dbfff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mom-social-drawer__header h2 {
  margin: 0 0 8px;
  color: #f5f8ff;
  font-size: 38px;
  line-height: 1;
}

.mom-social-drawer__header p {
  margin: 0;
  color: #a3bad7;
  line-height: 1.55;
}

.mom-social-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(124, 190, 255, 0.18);
  border-radius: 12px;
  background: rgba(9, 24, 49, 0.8);
  color: #eef5ff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.mom-social-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 18px 20px;
}

.mom-social-panel {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(110, 180, 255, 0.12);
  border-radius: 18px;
  background: rgba(7, 20, 42, 0.62);
}

.mom-social-panel--chat {
  min-height: 240px;
}

.mom-social-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.mom-social-panel__head h3 {
  margin: 0;
  color: #f3f7ff;
  font-size: 26px;
  line-height: 1.1;
}

.mom-social-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(89, 183, 255, 0.16);
  color: #dff1ff;
  font-size: 14px;
  font-weight: 800;
}

.mom-social-search {
  display: grid;
  gap: 10px;
}

.mom-social-search__input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(110, 180, 255, 0.16);
  border-radius: 14px;
  background: rgba(3, 13, 30, 0.92);
  color: #eef6ff;
  font-size: 16px;
}

.mom-social-search__input::placeholder {
  color: #89a8ce;
}

.mom-social-search__button {
  min-height: 46px;
  border: 1px solid rgba(120, 194, 255, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, #3fb4ff 0%, #1b7eff 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.mom-social-search__button:disabled,
.mom-social-search__input:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.mom-social-note {
  margin-top: 10px;
  color: #92add0;
  font-size: 14px;
  line-height: 1.5;
}

.mom-social-empty {
  color: #cddcf0;
  line-height: 1.6;
}

.mom-social-status-legend {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mom-social-status-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dbe8f8;
  font-size: 14px;
}

.mom-social-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.mom-social-status-dot.is-offline {
  background: #7f8ea3;
}

.mom-social-status-dot.is-portal {
  background: #44b6ff;
  box-shadow: 0 0 10px rgba(68, 182, 255, 0.42);
}

.mom-social-status-dot.is-ingame {
  background: #43d57d;
  box-shadow: 0 0 10px rgba(67, 213, 125, 0.42);
}

.mom-social-status-dot.is-afk {
  background: #f1b84f;
  box-shadow: 0 0 10px rgba(241, 184, 79, 0.42);
}

.mom-social-chat-placeholder {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 160px;
  padding: 16px;
  border: 1px dashed rgba(110, 180, 255, 0.16);
  border-radius: 16px;
  background: rgba(3, 12, 28, 0.58);
}

.mom-social-chat-placeholder strong {
  color: #f4f8ff;
  font-size: 18px;
}

.mom-social-chat-placeholder p {
  margin: 0;
  color: #9fb6d6;
  line-height: 1.6;
}

.mom-social-friend {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(110, 180, 255, 0.08);
}

.mom-social-friend:last-child {
  border-bottom: 0;
}

.mom-social-friend__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(14, 31, 61, 0.95);
  border: 1px solid rgba(110, 180, 255, 0.14);
}

.mom-social-friend__meta strong {
  display: block;
  color: #f5f8ff;
  font-size: 16px;
}

.mom-social-friend__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #97b4d8;
  font-size: 13px;
}

.mom-social-friend__menu-button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(110, 180, 255, 0.14);
  border-radius: 10px;
  background: rgba(9, 24, 49, 0.85);
  color: #eef5ff;
  cursor: pointer;
}

.mom-social-context-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  padding: 8px;
  border: 1px solid rgba(110, 180, 255, 0.18);
  border-radius: 16px;
  background: rgba(6, 18, 39, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mom-social-context-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mom-social-context-menu__action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #edf5ff;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.mom-social-context-menu__action:hover {
  background: rgba(75, 145, 255, 0.12);
}

.mom-social-context-menu__action.is-danger {
  color: #ffb0b0;
}

@media (max-width: 1200px) {
  .mom-social-toggle {
    top: 104px;
    right: 16px;
  }

  .mom-social-drawer {
    top: 88px;
    right: 16px;
    bottom: 16px;
    width: min(380px, calc(100vw - 24px));
  }
}

@media (max-width: 720px) {
  .mom-social-drawer {
    width: calc(100vw - 20px);
    right: 10px;
    top: 82px;
    bottom: 10px;
    border-radius: 20px;
  }

  .mom-social-drawer__header {
    padding: 20px 18px 16px;
  }

  .mom-social-drawer__header h2 {
    font-size: 30px;
  }

  .mom-social-drawer__body {
    padding: 14px;
  }

  .mom-social-panel {
    padding: 16px;
  }

  .mom-social-panel__head h3 {
    font-size: 22px;
  }
}

.mom-social-friends {
  display: grid;
  gap: 4px;
}

.mom-social-friend {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(110, 180, 255, 0.08);
}

.mom-social-friend:last-child {
  border-bottom: 0;
}

.mom-social-friend__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(110, 180, 255, 0.14);
  background: linear-gradient(180deg, rgba(16, 39, 76, 0.96) 0%, rgba(7, 21, 43, 0.96) 100%);
}

.mom-social-friend__avatar-label {
  color: #f2f7ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mom-social-friend__meta {
  position: relative;
  min-width: 0;
}

.mom-social-friend__topline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mom-social-friend__name-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #f5f8ff;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.mom-social-friend__name-button:hover {
  color: #7cc2ff;
}

.mom-social-friend__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3fb4ff 0%, #1b7eff 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.mom-social-friend__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.mom-social-friend__status-text {
  color: #9fb6d6;
  font-size: 13px;
  line-height: 1.4;
}

.mom-social-guild-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(110, 180, 255, 0.12);
  border-radius: 16px;
  background: rgba(3, 12, 28, 0.58);
}

.mom-social-guild-card__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  border: 1px solid rgba(110, 180, 255, 0.14);
  background: rgba(11, 28, 58, 0.9);
  color: #f3f8ff;
  font-size: 22px;
  font-weight: 900;
}

.mom-social-guild-card__body strong {
  display: block;
  margin-bottom: 6px;
  color: #f4f8ff;
  font-size: 17px;
}

.mom-social-guild-card__body p {
  margin: 0;
  color: #9eb6d7;
  line-height: 1.55;
}

.mom-social-chat-thread {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.mom-social-chat-message {
  display: grid;
  justify-items: start;
}

.mom-social-chat-message--self {
  justify-items: end;
}

.mom-social-chat-message__meta {
  margin-bottom: 5px;
  color: #8eaed3;
  font-size: 12px;
}

.mom-social-chat-message__bubble {
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 6px;
  background: rgba(10, 28, 58, 0.88);
  color: #eef6ff;
  line-height: 1.5;
}

.mom-social-chat-message--self .mom-social-chat-message__bubble {
  border-radius: 14px 14px 6px 14px;
  background: linear-gradient(180deg, rgba(63, 180, 255, 0.24) 0%, rgba(27, 126, 255, 0.22) 100%);
}

.mom-social-chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.mom-social-chat-composer__input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(110, 180, 255, 0.16);
  border-radius: 14px;
  background: rgba(3, 13, 30, 0.92);
  color: #eef6ff;
  font-size: 15px;
}

.mom-social-chat-composer__button {
  min-width: 92px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(120, 194, 255, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, #3fb4ff 0%, #1b7eff 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.mom-social-chat-composer__button:disabled,
.mom-social-chat-composer__input:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.mom-social-context-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  padding: 8px;
  border: 1px solid rgba(110, 180, 255, 0.18);
  border-radius: 16px;
  background: rgba(6, 18, 39, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mom-social-context-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mom-social-context-menu__action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #edf5ff;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.mom-social-context-menu__action:hover {
  background: rgba(75, 145, 255, 0.12);
}

.mom-social-context-menu__action.is-danger {
  color: #ffb0b0;
}

@media (max-width: 720px) {
  .mom-social-chat-composer {
    grid-template-columns: 1fr;
  }
}

.mom-social-request:last-child {
  border-bottom: 0;
}

.mom-social-note--success {
  color: #baf4ce;
  padding: 12px 14px;
  border: 1px solid rgba(79, 201, 126, 0.18);
  border-radius: 14px;
  background: rgba(28, 73, 44, 0.22);
}

.mom-social-requests {
  display: grid;
  gap: 14px;
}

.mom-social-request {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(110, 180, 255, 0.12);
  border-radius: 18px;
  background: rgba(5, 18, 40, 0.72);
}

.mom-social-request__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(110, 180, 255, 0.16);
  background: linear-gradient(180deg, rgba(18, 44, 84, 0.96) 0%, rgba(8, 23, 46, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mom-social-request__avatar-label {
  color: #f5f9ff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mom-social-request__body {
  min-width: 0;
}

.mom-social-request__body strong {
  display: block;
  margin-bottom: 6px;
  color: #f4f8ff;
  font-size: 18px;
  line-height: 1.2;
}

.mom-social-request__body p {
  margin: 0 0 14px;
  color: #a8bfdc;
  line-height: 1.55;
  font-size: 15px;
}

.mom-social-request__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mom-social-inline-form {
  margin: 0;
}

.mom-social-action-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(120, 194, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, #42b6ff 0%, #1c7fff 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(22, 113, 255, 0.24);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mom-social-action-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(22, 113, 255, 0.32);
  filter: brightness(1.04);
}

.mom-social-action-button:active {
  transform: translateY(0);
}

.mom-social-action-button--secondary {
  border-color: rgba(110, 180, 255, 0.16);
  background: rgba(10, 27, 54, 0.92);
  color: #eef5ff;
  box-shadow: none;
}

.mom-social-action-button--secondary:hover {
  background: rgba(16, 37, 70, 0.96);
  box-shadow: none;
}

@media (max-width: 520px) {
  .mom-social-request {
    grid-template-columns: 1fr;
  }

  .mom-social-request__avatar {
    width: 48px;
    height: 48px;
  }

  .mom-social-request__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mom-social-inline-form {
    width: 100%;
  }

  .mom-social-action-button {
    width: 100%;
  }
}

.mom-social-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
}

.mom-social-drawer__header-copy {
  min-width: 0;
}

.mom-social-drawer__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.mom-social-drawer__eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 4px;
}

.mom-social-drawer__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.mom-social-requests-toolbar {
  position: relative;
}

.mom-social-requests-toggle {
  position: relative;
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-radius: 12px;
  padding: 0 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mom-social-requests-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}

.mom-social-requests-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}

.mom-social-requests-toggle__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.mom-social-requests-toggle__icon svg {
  width: 16px;
  height: 16px;
}

.mom-social-requests-toggle__label {
  font-size: 13px;
  font-weight: 600;
}

.mom-social-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff4d5f;
  box-shadow: 0 0 0 2px rgba(11, 17, 28, 0.95);
  position: absolute;
  top: 6px;
  right: 6px;
}

.mom-social-requests-dropdown {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}

.mom-social-requests-dropdown[hidden] {
  display: none;
}

.mom-social-requests-dropdown__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mom-social-requests-dropdown__head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.mom-social-requests--dropdown {
  display: grid;
  gap: 10px;
}

/* Anfrage-Dropdown kompakter */
.mom-social-requests-dropdown {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
}

.mom-social-requests-dropdown__head h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.mom-social-requests--dropdown {
  display: grid;
  gap: 8px;
}

.mom-social-request {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
}

.mom-social-request__avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
}

.mom-social-request__avatar-label {
  font-size: 16px;
  font-weight: 700;
}

.mom-social-request__body strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  line-height: 1.2;
}

.mom-social-request__body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.82;
}

/* Buttons nebeneinander und kleiner */
.mom-social-request__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: nowrap;
}

.mom-social-inline-form {
  margin: 0;
}

.mom-social-request__actions .mom-social-inline-form {
  flex: 0 0 auto;
}

.mom-social-request__actions .mom-social-action-button {
  min-width: 108px;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
}

/* Primary etwas kompakter */
.mom-social-request__actions .mom-social-action-button:not(.mom-social-action-button--secondary) {
  background: linear-gradient(180deg, #4eb2ff 0%, #2c87ff 100%);
}

/* Dezent roter Secondary passend zum Blau-Schema */
.mom-social-request__actions .mom-social-action-button--secondary {
  background: linear-gradient(180deg, rgba(110, 36, 52, 0.34) 0%, rgba(72, 22, 36, 0.42) 100%);
  border: 1px solid rgba(255, 120, 140, 0.22);
  color: #ffcad3;
}

.mom-social-request__actions .mom-social-action-button--secondary:hover {
  background: linear-gradient(180deg, rgba(124, 42, 60, 0.40) 0%, rgba(86, 28, 44, 0.50) 100%);
  border-color: rgba(255, 138, 156, 0.30);
  color: #ffd8df;
}

/* Zähler etwas kleiner */
.mom-social-requests-dropdown .mom-social-count {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-size: 13px;
}

/* Mobile/enger Drawer: Buttons dürfen umbrechen */
@media (max-width: 420px) {
  .mom-social-request__actions {
    flex-wrap: wrap;
  }

  .mom-social-request__actions .mom-social-action-button {
    min-width: 96px;
  }
}

/* --- Suche: luftiger, sauberer, kompakter --- */

.mom-social-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mom-social-search__input {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
}

.mom-social-search__button {
  min-width: 88px;
  height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
}

.mom-social-search-results {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.mom-social-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.mom-social-search-result__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mom-social-search-result__avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mom-social-search-result__avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.mom-social-search-result__avatar-label {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.mom-social-search-result__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mom-social-search-result__meta strong {
  font-size: 14px;
  line-height: 1.2;
}

.mom-social-search-result__state {
  font-size: 12px;
  opacity: 0.76;
}

.mom-social-search-result .mom-social-action-button {
  min-width: 104px;
  height: 34px;
  padding: 0 12px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

/* --- Freundeliste: kompakter und mit Minecraft-Köpfen --- */

.mom-social-friends {
  display: grid;
  gap: 8px;
}

.mom-social-friend {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
}

.mom-social-friend__avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mom-social-friend__avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.mom-social-friend__avatar-label {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.mom-social-friend__meta {
  min-width: 0;
}

.mom-social-friend__topline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mom-social-friend__name-button {
  font-size: 14px;
  line-height: 1.2;
  padding: 0;
}

.mom-social-friend__status {
  margin-top: 3px;
  font-size: 12px;
}

.mom-social-friend__status-text {
  font-size: 12px;
  opacity: 0.78;
}

.mom-social-friend__badge {
  min-width: 8px;
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: #ff4d5f;
  box-shadow: 0 0 0 2px rgba(11, 17, 28, 0.95);
  font-size: 0;
}

/* Freundebereich insgesamt etwas dichter */
.mom-social-panel .mom-social-count {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-size: 13px;
}

.mom-social-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mom-social-search-toolbar {
  position: relative;
}

.mom-social-search-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mom-social-search-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}

.mom-social-search-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}

.mom-social-search-toggle__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.mom-social-search-toggle__icon svg {
  width: 16px;
  height: 16px;
}

.mom-social-search-toggle__label {
  font-size: 13px;
  font-weight: 600;
}

.mom-social-search-dropdown {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}

.mom-social-search-dropdown[hidden] {
  display: none;
}

.mom-social-search-dropdown__head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.mom-social-toolbar-actions {
  display: grid;
  grid-template-columns: 40px auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.mom-social-settings-toolbar,
.mom-social-requests-toolbar {
  position: relative;
}

.mom-social-settings-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mom-social-settings-toggle:hover,
.mom-social-settings-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
}

.mom-social-settings-toggle__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.mom-social-settings-toggle__icon svg {
  width: 18px;
  height: 18px;
}

.mom-social-toolbar-search {
  min-width: 0;
}

.mom-social-toolbar-search__field {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}

.mom-social-toolbar-search__icon {
  width: 36px;
  min-width: 36px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.82);
}

.mom-social-toolbar-search__icon svg {
  width: 16px;
  height: 16px;
}

.mom-social-toolbar-search__input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  padding: 0 12px 0 0;
  font-size: 14px;
}

.mom-social-toolbar-search__input::placeholder {
  color: rgba(255,255,255,0.72);
}

.mom-social-settings-dropdown,
.mom-social-search-results-dropdown {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}

.mom-social-settings-dropdown[hidden],
.mom-social-search-results-dropdown[hidden] {
  display: none;
}

.mom-social-settings-dropdown__head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.mom-social-settings-list {
  display: grid;
  gap: 8px;
}

.mom-social-settings-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  color: #fff;
  padding: 0 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mom-social-settings-item:hover,
.mom-social-settings-item.is-active {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.mom-social-search-results {
  margin-top: 0;
}

/* Freundeeintrag öffnet jetzt Chatfenster */
.mom-social-friend__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.mom-social-friend__open:hover .mom-social-friend__name,
.mom-social-friend__open:focus-visible .mom-social-friend__name {
  color: #8fd3ff;
}

.mom-social-friend__name {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

/* Chat-Dock */
.mom-chat-dock {
  position: fixed;
  right: 84px;
  bottom: 18px;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 12px;
  z-index: 90;
  pointer-events: none;
}

.mom-portal-shell.is-social-open + .mom-chat-dock {
  right: 436px;
}

.mom-chat-window {
  width: 320px;
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(126, 201, 255, 0.10);
  background:
    linear-gradient(180deg, rgba(8, 25, 58, 0.96) 0%, rgba(5, 18, 43, 0.97) 100%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.mom-chat-window.is-minimized .mom-chat-window__body {
  display: none;
}

.mom-chat-window__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  padding: 0 10px 0 12px;
  border-bottom: 1px solid rgba(126, 201, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.015) 100%);
}

.mom-chat-window.is-minimized .mom-chat-window__header {
  border-bottom: 0;
}

.mom-chat-window__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mom-chat-window__avatar {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(126, 201, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.mom-chat-window__avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.mom-chat-window__avatar-label {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.mom-chat-window__name {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mom-chat-window__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mom-chat-window__icon-button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(126, 201, 255, 0.10);
  border-radius: 10px;
  background: rgba(255,255,255,0.035);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mom-chat-window__icon-button:hover {
  background: rgba(255,255,255,0.075);
  border-color: rgba(126, 201, 255, 0.18);
  transform: translateY(-1px);
}

.mom-chat-window__menu-wrapper {
  position: relative;
}

.mom-chat-window__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  display: grid;
  gap: 5px;
  padding: 7px;
  border-radius: 13px;
  border: 1px solid rgba(126, 201, 255, 0.10);
  background:
    linear-gradient(180deg, rgba(8, 25, 58, 0.985) 0%, rgba(5, 18, 43, 0.99) 100%);
  box-shadow:
    0 14px 32px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.03);
  z-index: 8;
}

.mom-chat-window__menu[hidden] {
  display: none;
}

.mom-chat-window__menu-action {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  color: #f3f7ff;
  text-align: left;
  padding: 0 11px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mom-chat-window__menu-action:hover {
  background: rgba(255,255,255,0.065);
  border-color: rgba(126, 201, 255, 0.12);
}

.mom-chat-window__menu-action.is-danger {
  color: #ffd2d9;
  border-color: rgba(255, 128, 146, 0.18);
  background: linear-gradient(180deg, rgba(110, 36, 52, 0.18) 0%, rgba(79, 24, 40, 0.24) 100%);
}

.mom-chat-window__menu-action.is-danger:hover {
  border-color: rgba(255, 142, 160, 0.28);
  background: linear-gradient(180deg, rgba(124, 42, 60, 0.22) 0%, rgba(92, 28, 46, 0.30) 100%);
}

.mom-chat-window__body {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.mom-chat-window__messages {
  min-height: 250px;
  max-height: 340px;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(126, 201, 255, 0.07);
  background: rgba(255,255,255,0.02);
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.mom-chat-window__placeholder strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.mom-chat-window__placeholder p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.78;
}

.mom-chat-window__composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.mom-chat-window__input {
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(126, 201, 255, 0.08);
  background: rgba(255,255,255,0.035);
  color: #fff;
  padding: 0 12px;
}

.mom-chat-window__input::placeholder {
  color: rgba(255,255,255,0.58);
}

.mom-chat-window__send {
  min-width: 84px;
  height: 40px;
  border: 1px solid rgba(126, 201, 255, 0.10);
  border-radius: 12px;
  background: linear-gradient(180deg, #4aaeff 0%, #317ff1 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}

@media (max-width: 980px) {
  .mom-chat-dock,
  .mom-portal-shell.is-social-open + .mom-chat-dock {
    right: 16px;
    left: 16px;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .mom-chat-window {
    width: 300px;
    flex: 0 0 auto;
  }
}

.mom-chat-message {
  display: grid;
  justify-items: start;
  gap: 4px;
  margin-bottom: 10px;
}

.mom-chat-message.is-own {
  justify-items: end;
}

.mom-chat-message__bubble {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(126, 201, 255, 0.07);
  color: #eef6ff;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.mom-chat-message.is-own .mom-chat-message__bubble {
  background: linear-gradient(180deg, rgba(76, 174, 255, 0.22) 0%, rgba(49, 127, 241, 0.24) 100%);
  border-color: rgba(126, 201, 255, 0.16);
}

.mom-chat-message__meta {
  font-size: 11px;
  color: rgba(255,255,255,0.56);
  padding: 0 2px;
}

.mom-chat-window__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mom-chat-window__unread-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 999px;
  background: #ff4d5f;
  box-shadow: 0 0 0 2px rgba(9, 18, 37, 0.95);
  flex: 0 0 auto;
}