:root {
  --dark-950: #050505;
  --dark-900: #090909;
  --dark-850: #0e0d0a;
  --dark-800: #14130f;
  --gold-600: #6a02b0;
  --gold-500: rgb(134, 2, 223);
  --gold-400: #a12ef0;
  --gold-300: #c56bff;
  --discord: #5865f2;
  --text: #ffffff;
  --muted: #a7a7a7;
  --soft: #d8d8d8;
  --line: rgba(255, 255, 255, 0.09);
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --shadow-gold: 0 0 30px rgba(134, 2, 223, 0.32);
  --shadow-deep: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at top, rgba(134, 2, 223, 0.24), transparent 38rem),
    radial-gradient(circle at 75% 30%, rgba(134, 2, 223, 0.12), transparent 26rem),
    linear-gradient(180deg, #070707 0%, var(--dark-900) 44%, #070707 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.04;
  mix-blend-mode: overlay;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 5, 0.58);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand {
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  text-decoration: none;
  line-height: 1;
}

.server-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #efe7cc;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.server-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.75);
}

.server-live-dot[data-status="online"] {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.server-live-dot[data-status="restart"] {
  background: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.9);
}

.server-live-dot[data-status="offline"] {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.75);
}

@media (max-width: 680px) {
  .server-live {
    padding: 5px 8px 5px 7px;
    font-size: 0.72rem;
  }
}

.brand span,
.text-gradient-gold {
  color: transparent;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-300), var(--gold-600));
  background-clip: text;
  -webkit-background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #f2f2f2;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

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

.nav-dropdown summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.nav-dropdown[open] summary {
  border-color: rgba(134, 2, 223, 0.42);
  background: rgba(134, 2, 223, 0.1);
  box-shadow: var(--shadow-gold);
}

.nav-dropdown[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(8, 8, 7, 0.96);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(18px);
}

.nav-dropdown-menu a {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  border-radius: 7px;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: var(--gold-400);
  background: rgba(134, 2, 223, 0.09);
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-links a {
  position: relative;
  color: #e6e6e6;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold-500);
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(134, 2, 223, 0.45);
  box-shadow: var(--shadow-gold);
}

.btn.primary,
.btn.login {
  border-color: rgba(134, 2, 223, 0.5);
  color: #fff;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  box-shadow: 0 0 18px rgba(134, 2, 223, 0.38);
}

.btn.discord {
  border-color: rgba(88, 101, 242, 0.45);
  color: #fff;
  background: rgba(88, 101, 242, 0.14);
}

.btn.round {
  border-radius: 999px;
}

main {
  min-height: 70vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 90px;
}

.hero::after,
.section-fade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(0deg, var(--dark-900), rgba(9, 9, 9, 0));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(134, 2, 223, 0.28);
  border-radius: 999px;
  color: var(--gold-400);
  background: rgba(134, 2, 223, 0.08);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  font-weight: 750;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 14px var(--gold-500);
}

.hero h1 {
  max-width: 980px;
  margin: 30px 0 18px;
  font-size: clamp(3.8rem, 11vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-transform: uppercase;
  font-weight: 950;
}

.lead {
  max-width: 780px;
  margin: 0 auto;
  color: #d5d5d5;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 350;
}

.hero-cta,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  transform: translateX(-50%);
  color: var(--gold-500);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
}

.scroll-cue span {
  display: block;
  width: 14px;
  height: 14px;
  margin: 8px auto 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-tight {
  padding: 92px 0 70px;
}

.page-hero {
  padding: 150px 0 70px;
  text-align: center;
}

.page-hero h1,
.section-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.section-title {
  text-align: center;
}

.section-copy {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 1.08rem;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 72px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0.58;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-icon {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--gold-400);
  background: var(--dark-800);
  box-shadow: var(--shadow-deep);
}

.step-icon svg {
  width: 40px;
  height: 40px;
}

.step-number {
  position: absolute;
  top: -14px;
  right: -12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 4px solid var(--dark-900);
  border-radius: 50%;
  color: #fff;
  background: var(--gold-500);
  font-weight: 950;
}

.step h3,
.card-glass h3,
.activity-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.28rem;
}

.step p,
.card-glass p,
.activity-desc,
.muted {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 20px;
  margin-top: 60px;
}

.feature-card,
.card-glass,
.activity-card,
.member,
.rules-container section,
.rules-container,
.card,
.application-panel,
.profile-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(16px);
}

.admin-box,
.app-box {
  margin-top: 130px !important;
  border-color: var(--line) !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)) !important;
  box-shadow: var(--shadow-deep);
}

.card-glass {
  padding: 28px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.24s ease, transform 0.24s ease;
}

.feature-card:hover,
.activity-card:hover,
.member:hover {
  transform: translateY(-4px);
  border-color: rgba(134, 2, 223, 0.34);
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-card.centered {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 16%, rgba(134, 2, 223, 0.24), transparent 30rem);
  opacity: 0.68;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card svg,
.discord-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  color: var(--gold-400);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.feature-card p {
  max-width: 560px;
  margin: 0;
  color: #c8c8c8;
}

.discord-section {
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(88, 101, 242, 0.05) 2px, rgba(88, 101, 242, 0.05) 4px),
    radial-gradient(circle at 50% 50%, rgba(88, 101, 242, 0.22), transparent 34rem);
}

.discord-panel {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(88, 101, 242, 0.32);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(18px);
}

.discord-panel::before {
  content: "";
  display: block;
  height: 8px;
  background: linear-gradient(90deg, rgba(88, 101, 242, 0.2), var(--discord), rgba(88, 101, 242, 0.2));
}

.discord-panel-inner {
  padding: clamp(42px, 8vw, 90px);
}

.discord-icon {
  margin-inline: auto;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(88, 101, 242, 0.34);
  border-radius: 24px;
  color: var(--discord);
  background: rgba(88, 101, 242, 0.1);
  box-shadow: 0 0 34px rgba(88, 101, 242, 0.28);
}

.about-grid,
.team-grid,
.activities-grid,
.stats-grid {
  display: grid;
  gap: 22px;
}

.about-grid {
  grid-template-columns: repeat(3, 1fr);
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.activities-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

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

.member {
  padding: 26px;
  text-align: center;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.member img {
  width: 108px;
  height: 108px;
  border: 2px solid rgba(134, 2, 223, 0.32);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(134, 2, 223, 0.18);
}

.role {
  color: var(--gold-400);
  font-weight: 800;
}

.center {
  text-align: center;
}

.activities-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dfdfdf;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  border-color: rgba(134, 2, 223, 0.5);
  color: #fff;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  box-shadow: var(--shadow-gold);
}

.activity-card {
  padding: 20px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.slider {
  position: relative;
  height: 230px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #080808;
}

.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.slider img.active {
  opacity: 1;
}

.meta,
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.meta-box,
.stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
}

.meta-box strong,
.stat .num,
.big-number {
  display: block;
  color: var(--gold-400);
  font-size: 1.45rem;
  font-weight: 950;
}

.meta-box span,
.stat small {
  color: var(--muted);
  font-size: 0.82rem;
}

.rules-container {
  max-width: 1050px;
  margin: 130px auto 90px;
  padding: clamp(22px, 4vw, 42px);
}

.rules-header h2,
.rules-container h2 {
  color: var(--gold-400);
}

.rules-container section {
  margin: 22px 0;
  padding: 24px;
}

.rules-container h3,
.rules-container h4 {
  color: #fff;
}

.rules-container p,
.rules-container li {
  color: #cfcfcf;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  color: #eeeeee;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  outline: none;
}

select {
  color-scheme: dark;
  appearance: auto;
}

select option {
  color: #fff;
  background: #11110d;
}

select option:checked,
select option:hover {
  color: #fff;
  background: var(--gold-400);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(134, 2, 223, 0.55);
  box-shadow: 0 0 0 3px rgba(134, 2, 223, 0.12);
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  background: #070707;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 42px;
  padding: 70px 0 58px;
}

.footer-grid h3 {
  margin: 0 0 18px;
  text-transform: uppercase;
  font-size: 0.96rem;
}

.footer-grid p,
.footer-grid a,
.site-footer p,
.site-footer small {
  color: var(--muted);
}

.footer-grid a {
  display: block;
  margin: 12px 0;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: #777;
}

.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: -3vw;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(5rem, 15vw, 14rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  white-space: nowrap;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 8, 8, 0.96);
    box-shadow: var(--shadow-deep);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .nav-dropdown,
  .nav-dropdown summary {
    width: 100%;
  }

  .nav-dropdown summary {
    border-radius: 8px;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 10px;
    box-shadow: none;
  }

  .nav-dropdown-menu a {
    justify-content: center;
  }

  .steps,
  .about-grid,
  .feature-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .feature-grid {
    grid-auto-rows: auto;
  }

  .feature-card,
  .feature-card.wide {
    grid-column: auto;
    min-height: 260px;
  }

  .activities-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

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

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .meta,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .discord-panel-inner,
  .feature-card,
  .card-glass {
    padding: 24px;
  }
}

/* Home refresh inspired by modern CZ/SK RP landing pages, kept in Future RolePlay black/purple. */
.home-page {
  background:
    linear-gradient(180deg, #030303 0%, #080806 42%, #050505 100%);
}

.home-page .nav {
  background: rgba(3, 3, 3, 0.74);
  border-bottom-color: rgba(134, 2, 223, 0.12);
}

.home-page .nav-inner {
  min-height: 76px;
}

.home-hero {
  min-height: 100svh;
  align-items: stretch;
  padding: 118px 0 86px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.08) brightness(0.58);
  transform: scale(1.02);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.96) 0%, rgba(3, 3, 3, 0.74) 42%, rgba(3, 3, 3, 0.22) 100%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.34) 0%, rgba(3, 3, 3, 0.08) 44%, #080806 100%),
    radial-gradient(circle at 22% 52%, rgba(134, 2, 223, 0.28), transparent 34rem);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.58fr);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
}

.hero-copy {
  max-width: 780px;
}

.home-page .hero-inner {
  align-items: flex-start;
  text-align: left;
}

.hero-copy .eyebrow,
.section-heading .eyebrow,
.split-section > div > .eyebrow {
  margin-bottom: 22px;
}

.home-page .hero h1 {
  max-width: 840px;
  margin: 0 0 22px;
  font-size: clamp(4.6rem, 12vw, 10.5rem);
  line-height: 0.78;
  letter-spacing: 0;
}

.home-page .hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-300), var(--gold-600));
  background-clip: text;
  -webkit-background-clip: text;
}

.home-page .lead {
  margin: 0;
  max-width: 680px;
  color: #ededed;
  font-weight: 450;
}

.server-strip {
  width: min(100%, 560px);
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(134, 2, 223, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.server-strip span {
  color: #f5f0dc;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.server-strip strong,
.hero-card-top strong {
  flex: 0 0 auto;
  color: #fff;
  padding: 7px 11px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-page .hero-cta {
  justify-content: flex-start;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(134, 2, 223, 0.18);
  border-radius: 8px;
  background: rgba(6, 6, 5, 0.72);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(18px);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(134, 2, 223, 0.12), transparent 34%),
    radial-gradient(circle at 70% 8%, rgba(134, 2, 223, 0.22), transparent 17rem);
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: #e7e0c6;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.hero-preview {
  margin: 0 18px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: #070707;
}

.hero-preview img,
.feature-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.mini-stats div {
  padding: 18px 10px 20px;
  background: rgba(8, 8, 7, 0.92);
  text-align: center;
}

.mini-stats strong {
  display: block;
  color: var(--gold-400);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1;
}

.mini-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.start-band {
  padding-top: 94px;
  background:
    linear-gradient(180deg, #080806 0%, #0d0c09 100%);
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: clamp(34px, 6vw, 72px);
}

.split-section .section-title,
.split-section .section-copy {
  text-align: left;
  margin-inline: 0;
}

.compact-steps {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 0;
}

.compact-steps::before {
  display: none;
}

.compact-steps .step {
  min-height: 188px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.18);
  text-align: left;
}

.compact-steps .step-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 22px;
  border-radius: 8px;
  background: rgba(134, 2, 223, 0.12);
}

.compact-steps .step-number {
  position: static;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section-heading .eyebrow {
  margin-inline: auto;
}

.feature-showcase {
  background:
    radial-gradient(circle at 78% 20%, rgba(134, 2, 223, 0.14), transparent 30rem),
    #060606;
}

.home-features {
  grid-auto-rows: 330px;
}

.feature-photo {
  padding: 0;
  justify-content: flex-end;
}

.feature-photo::before {
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.28) 64%, rgba(0, 0, 0, 0.18) 100%),
    radial-gradient(circle at 15% 20%, rgba(134, 2, 223, 0.2), transparent 22rem);
  opacity: 1;
}

.feature-photo > img {
  position: absolute;
  inset: 0;
  filter: saturate(0.94) contrast(1.08);
  transition: transform 0.45s ease;
}

.feature-photo:hover > img {
  transform: scale(1.045);
}

.feature-photo > div {
  position: relative;
  z-index: 2;
  padding: 34px;
}

.feature-photo .btn {
  margin-top: 22px;
}

.news-band {
  background:
    linear-gradient(180deg, #060606 0%, #0a0907 100%);
}

.news-grid {
  margin-top: 42px;
}

.partners-section {
  padding: 84px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 48%, rgba(44, 195, 175, 0.16), transparent 26rem),
    linear-gradient(180deg, #0a0907 0%, #070908 100%);
}

.partners-panel {
  position: relative;
  padding: clamp(30px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(71, 219, 194, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.07), rgba(24, 174, 160, 0.055)),
    rgba(5, 10, 10, 0.75);
  box-shadow: var(--shadow-deep);
}

.partners-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(132, 255, 0, 0.05));
}

.partners-copy,
.partners-grid {
  position: relative;
  z-index: 1;
}

.partners-copy .eyebrow {
  margin-bottom: 18px;
}

.partners-copy .section-title,
.partners-copy .section-copy {
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.partner-card {
  display: flex;
  min-height: 280px;
  padding: 26px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(71, 219, 194, 0.2);
  border-radius: 8px;
  background: radial-gradient(circle at 50% 18%, rgba(25, 176, 161, 0.16), rgba(5, 8, 8, 0.4) 66%);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(119, 255, 224, 0.5);
}

.partner-card img {
  width: min(100%, 150px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(59, 221, 184, 0.25));
}

.partner-card h3 {
  margin: 12px 0;
  font-size: 1.25rem;
}

.partner-link {
  width: 100%;
  justify-content: center;
  border-color: rgba(71, 219, 194, 0.38);
}

.streamers-section {
  background:
    radial-gradient(circle at 18% 45%, rgba(134, 2, 223, 0.13), transparent 27rem),
    linear-gradient(180deg, #070908 0%, #080806 100%);
}

.streamers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.streamer-card {
  display: flex;
  min-height: 310px;
  padding: 28px;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow-deep);
  text-align: center;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.streamer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(134, 2, 223, 0.36);
}

.streamer-avatar,
.streamer-placeholder {
  width: 116px;
  height: 116px;
  border: 2px solid rgba(134, 2, 223, 0.42);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(134, 2, 223, 0.18);
}

.streamer-placeholder {
  display: grid;
  place-items: center;
  color: var(--gold-400);
  background: rgba(134, 2, 223, 0.09);
  font-size: 2.6rem;
  font-weight: 400;
}

.streamer-card h3 {
  margin: 20px 0 8px;
  font-size: 1.35rem;
}

.streamer-card p {
  margin: 0;
  color: var(--muted);
}

.streamer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.streamer-links a,
.streamer-links span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #f1f1f1;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.77rem;
  font-weight: 850;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.streamer-links a:hover {
  border-color: rgba(134, 2, 223, 0.5);
  background: rgba(134, 2, 223, 0.13);
}

.home-page .discord-panel {
  border-radius: 8px;
}

@media (max-width: 980px) {
  .hero-layout,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 560px;
  }

  .home-page .hero h1 {
  font-size: clamp(3rem, 16vw, 5rem);
  letter-spacing: -0.045em;
}

.home-page .hero h1 span {
  white-space: nowrap;
}
}

@media (max-width: 640px) {
  .home-hero {
    padding: 104px 0 70px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 3, 3, 0.72) 0%, rgba(3, 3, 3, 0.9) 48%, #080806 100%),
      radial-gradient(circle at 35% 24%, rgba(134, 2, 223, 0.22), transparent 21rem);
  }

  .server-strip,
  .hero-card-top,
  .home-page .hero-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .server-strip strong {
    text-align: center;
  }

  .compact-steps,
  .mini-stats {
    grid-template-columns: 1fr;
  }

  .compact-steps .step {
    min-height: auto;
  }

  .home-features {
    grid-auto-rows: auto;
  }

  .feature-photo {
    min-height: 360px;
  }

  .partners-section {
    padding: 64px 0;
  }

  .partners-copy .eyebrow {
    margin-inline: auto;
  }

  .partners-copy .section-title,
  .partners-copy .section-copy {
    margin-inline: auto;
    text-align: center;
  }

  .home-page .hero h1 {
    font-size: clamp(3.8rem, 21vw, 5.7rem);
  }
}

/* Portal, admin and map screens */
.portal-page,
.admin-page,
.map-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(134, 2, 223, 0.17), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #090806 100%);
}

.portal-hero {
  padding-bottom: 54px;
}

.profile-shell,
.admin-shell,
.app-detail-grid,
.map-shell {
  display: grid;
  gap: 22px;
}

.profile-shell {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.profile-sidebar,
.portal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(16px);
}

.profile-sidebar {
  position: sticky;
  top: 98px;
  padding: 26px;
  text-align: center;
}

.profile-avatar {
  width: 118px;
  height: 118px;
  border: 3px solid rgba(134, 2, 223, 0.45);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-gold);
}

.profile-sidebar h2 {
  margin: 18px 0;
  overflow-wrap: anywhere;
}

.profile-stat {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.profile-stat strong {
  display: block;
  color: var(--gold-400);
  font-size: 1.65rem;
}

.profile-stat span,
.panel-kicker,
.info-grid span,
.answer-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-content {
  display: grid;
  gap: 22px;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.request-panel {
  min-height: 100%;
}

.request-chat {
  margin-top: 20px;
}

.request-chat h3 {
  margin: 0 0 12px;
}

.whitelist-form {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.whitelist-form h2 {
  margin: 20px 0 4px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.whitelist-form h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.whitelist-form label {
  margin-top: 4px;
  color: #f2ecd5;
}

.whitelist-form textarea {
  min-height: 110px;
}

.portal-panel {
  padding: clamp(22px, 3vw, 34px);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.panel-head h2,
.portal-panel h2 {
  margin: 4px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.pending {
  border-color: rgba(134, 2, 223, 0.36);
  color: var(--gold-400);
  background: rgba(134, 2, 223, 0.12);
}

.status-pill.approved,
.btn.success {
  border-color: rgba(77, 190, 116, 0.38);
  color: #b8ffd0;
  background: rgba(77, 190, 116, 0.13);
}

.status-pill.denied,
.btn.danger {
  border-color: rgba(255, 92, 92, 0.38);
  color: #ffd1d1;
  background: rgba(255, 92, 92, 0.13);
}

.smart-form {
  display: grid;
  gap: 14px;
}

.smart-form.compact {
  max-width: 820px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

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

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.info-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.info-grid div,
.answer-list article,
.character-card,
.request-card,
.announcement-card,
.place-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.info-grid div {
  padding: 15px;
}

.info-grid strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.answer-list {
  display: grid;
  gap: 12px;
}

.answer-list.compact {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: stretch;
}

.answer-list.compact .btn {
  align-self: stretch;
}

.answer-list article {
  padding: 18px;
}

.answer-list p {
  margin: 8px 0 0;
  color: #ddd;
  white-space: pre-wrap;
}

.role-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.role-list span {
  padding: 7px 10px;
  border: 1px solid rgba(134, 2, 223, 0.32);
  border-radius: 999px;
  color: var(--gold-400);
  background: rgba(134, 2, 223, 0.1);
  font-size: 0.82rem;
  font-weight: 850;
}

.character-card {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  padding: 18px;
}

.character-card h3 {
  margin: 0 0 8px;
}

.character-card p {
  margin: 4px 0;
  color: var(--muted);
}

.rename-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr)) auto;
  gap: 10px;
  align-items: center;
}

.chat-window {
  height: 300px;
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.chat-window.small {
  height: 230px;
}

.chat-message {
  width: min(86%, 620px);
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.chat-message.admin {
  margin-left: auto;
  border-color: rgba(134, 2, 223, 0.28);
  background: rgba(134, 2, 223, 0.1);
}

.chat-message strong,
.chat-message small {
  display: block;
}

.chat-message small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.chat-message p {
  margin: 8px 0 0;
  white-space: pre-wrap;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 14px;
}

.admin-shell {
  grid-template-columns: 1fr;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.admin-dashboard-card {
  min-height: 230px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 14%, rgba(134, 2, 223, 0.22), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow-deep);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.admin-dashboard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(134, 2, 223, 0.34);
}

.admin-dashboard-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  line-height: 1;
}

.admin-dashboard-card p {
  max-width: 520px;
  color: var(--muted);
}

.admin-dashboard-card strong {
  display: inline-flex;
  margin-top: 20px;
  color: var(--gold-400);
}

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

.admin-stats article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.admin-stats span {
  color: var(--muted);
  font-weight: 850;
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--gold-400);
  font-size: 2.15rem;
  line-height: 1;
}

.admin-toolbar {
  align-items: center;
}

.admin-actions {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 170px;
  gap: 10px;
}

.admin-actions.compact-actions {
  grid-template-columns: minmax(220px, 1fr) 180px;
}

.type-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-left: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(134, 2, 223, 0.24);
  border-radius: 999px;
  color: var(--gold-400);
  background: rgba(134, 2, 223, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.request-list,
.announcement-list,
.place-list {
  display: grid;
  gap: 12px;
}

.request-card,
.announcement-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.request-card h3,
.announcement-card h3 {
  margin: 8px 0 4px;
}

.request-card p,
.announcement-card p {
  margin: 0;
  color: var(--muted);
}

.announcement-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.request-actions,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.app-detail-grid {
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  margin-top: 24px;
}

.chat-panel {
  grid-column: 1 / -1;
}

.action-panel {
  position: sticky;
  top: 98px;
}

.action-panel select,
.action-panel .btn {
  width: 100%;
  margin-top: 12px;
}

.btn:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none !important;
  box-shadow: none !important;
}

.map-shell {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.map-sidebar {
  position: sticky;
  top: 98px;
}

.map-sidebar .filter-buttons {
  margin: 18px 0;
}

.map-board {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(134, 2, 223, 0.16);
  border-radius: 8px;
  background: #090908;
  box-shadow: var(--shadow-deep);
}

.map-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 760px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.map-viewport:active {
  cursor: grabbing;
}

.map-canvas {
  position: relative;
  width: min(100%, 760px);
  height: auto;
  aspect-ratio: 5944 / 8075;
  transform-origin: center;
  transition: transform 0.12s ease;
  background:
    linear-gradient(rgba(6, 6, 5, 0.04), rgba(6, 6, 5, 0.1)),
    url("https://gtwfilesie.grandtheftwiki.com/Map-GTAV-Satellite.jpg"),
    linear-gradient(135deg, #161610 0%, #25251f 38%, #0a0a09 39%, #151511 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 90px rgba(0, 0, 0, 0.45);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 52px 52px;
}

.map-marker {
  position: absolute;
  z-index: 2;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.map-marker span {
  display: block;
  width: 18px;
  height: 18px;
  margin: 5px;
  border: 3px solid #090908;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 5px rgba(134, 2, 223, 0.18), 0 0 24px rgba(134, 2, 223, 0.55);
}

.map-marker.vily span {
  background: #77d6ff;
  box-shadow: 0 0 0 5px rgba(119, 214, 255, 0.17), 0 0 24px rgba(119, 214, 255, 0.44);
}

.map-marker.frakce span {
  background: #ff7777;
  box-shadow: 0 0 0 5px rgba(255, 119, 119, 0.17), 0 0 24px rgba(255, 119, 119, 0.44);
}

.map-marker.frakce.faction-volna span {
  background: #8dffb0;
  box-shadow: 0 0 0 5px rgba(141, 255, 176, 0.16), 0 0 24px rgba(141, 255, 176, 0.42);
}

.map-marker.frakce.faction-zabrana span {
  background: #ff7777;
  box-shadow: 0 0 0 5px rgba(255, 119, 119, 0.17), 0 0 24px rgba(255, 119, 119, 0.44);
}

.map-marker.sluzby span {
  background: #8dffb0;
  box-shadow: 0 0 0 5px rgba(141, 255, 176, 0.15), 0 0 24px rgba(141, 255, 176, 0.38);
}

.map-marker.draft {
  z-index: 5;
  pointer-events: none;
}

.map-marker.draft span {
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18), 0 0 28px rgba(255, 255, 255, 0.55);
}

.map-marker.selected span {
  transform: scale(1.35);
}

.place-card {
  width: 100%;
  padding: 14px;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.place-card:hover,
.place-card.selected {
  border-color: rgba(134, 2, 223, 0.36);
}

.place-card strong,
.place-card span {
  display: block;
}

.place-card span {
  margin-top: 4px;
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.place-card .place-status,
.type-pill.faction-volna,
.type-pill.faction-zabrana {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
}

.place-card .place-status.faction-volna,
.type-pill.faction-volna {
  color: #8dffb0;
  background: rgba(141, 255, 176, 0.12);
}

.place-card .place-status.faction-zabrana,
.type-pill.faction-zabrana {
  color: #ff9d9d;
  background: rgba(255, 119, 119, 0.12);
}

.place-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-map-picker {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(134, 2, 223, 0.16);
  border-radius: 8px;
  background: #090908;
  cursor: crosshair;
}

.admin-map-canvas {
  width: min(100%, 380px);
  min-height: 0;
  box-shadow: none;
}

@media (max-width: 980px) {
  .profile-shell,
  .app-detail-grid,
  .map-shell,
  .applications-grid,
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .profile-sidebar,
  .action-panel,
  .map-sidebar {
    position: static;
  }

  .admin-stats,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .panel-head,
  .request-card,
  .announcement-card,
  .chat-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-actions,
  .admin-actions.compact-actions,
  .rename-row,
  .admin-stats,
  .info-grid,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .request-actions {
    justify-content: stretch;
  }

  .request-actions .btn,
  .chat-form .btn {
    width: 100%;
  }

  .map-board,
  .map-viewport {
    min-height: 520px;
    height: 520px;
  }

  .map-controls {
    left: 12px;
    right: 12px;
  }
}
