:root {
  color-scheme: dark;
  --bg: #03040a;
  --panel: rgba(13, 12, 28, 0.78);
  --panel-2: rgba(20, 17, 42, 0.72);
  --line: rgba(180, 105, 255, 0.3);
  --line-strong: rgba(210, 165, 255, 0.5);
  --text: #fbf7ff;
  --muted: #b9aed9;
  --dim: #8073aa;
  --accent: #a44cff;
  --accent-2: #dcb8ff;
  --green: #36f59a;
  --red: #ff4d6d;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 20%, rgba(164, 76, 255, 0.24), transparent 32%),
    radial-gradient(circle at 12% 52%, rgba(80, 36, 170, 0.22), transparent 28%),
    linear-gradient(145deg, #020208, #080414 60%, #020208);
  overflow-x: hidden;
}

a { color: inherit; }

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(185, 125, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 125, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%);
}

.beam {
  position: absolute;
  height: 2px;
  width: 56vw;
  background: linear-gradient(90deg, transparent, rgba(171, 77, 255, 0.72), transparent);
  filter: blur(1px);
  opacity: 0.5;
}

.beam-a { left: -8vw; top: 26vh; transform: rotate(17deg); }
.beam-b { right: -12vw; bottom: 28vh; transform: rotate(-15deg); }

.spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 32px var(--accent);
  animation: pulse 2.8s ease-in-out infinite;
}

.spark-a { left: 14%; top: 28%; }
.spark-b { right: 18%; top: 36%; animation-delay: 0.7s; }
.spark-c { left: 52%; bottom: 18%; animation-delay: 1.3s; }

.shell {
  position: relative;
  width: min(1220px, calc(100vw - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0;
  display: grid;
  gap: 22px;
}

.topbar,
.hero,
.panel,
.info-card,
.reviews-section,
.owner-section,
.terms {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 18, 40, 0.84), rgba(9, 9, 21, 0.78));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.topbar {
  min-height: 72px;
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 14px;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 22%, #f1ddff, #9b42ff 44%, #35106f 100%);
  color: white;
  font-weight: 900;
  font-size: 24px;
  box-shadow: 0 0 34px rgba(164, 76, 255, 0.46);
}

.brand strong { display: block; font-size: 17px; }
.brand span,
.panel span,
.section-head span,
.info-card span,
footer,
p,
small,
li { color: var(--muted); }

.brand span,
.panel span,
.section-head span,
.info-card span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

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

.nav-link,
.discord,
.primary-cta {
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 11px 18px;
  background: rgba(164, 76, 255, 0.12);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.discord,
.primary-cta {
  color: var(--text);
}

.primary-cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: linear-gradient(135deg, #7a2dff, #b35cff);
  box-shadow: 0 0 36px rgba(164, 76, 255, 0.36);
  font-weight: 800;
}

.nav-link:hover,
.discord:hover,
.primary-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(230, 195, 255, 0.78);
  background: rgba(164, 76, 255, 0.26);
}

.primary-cta:hover {
  box-shadow: 0 0 50px rgba(164, 76, 255, 0.52);
}

.hero {
  min-height: 620px;
  border-radius: 26px;
  padding: clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 34px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(105deg, transparent 38%, rgba(220, 184, 255, 0.11), transparent 61%);
  animation: sweep 8s linear infinite;
}

.copy,
.counter-card {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: clamp(46px, 6.2vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

p {
  max-width: 620px;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.7;
}

.cta-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  border: 1px solid rgba(54, 245, 154, 0.26);
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(54, 245, 154, 0.08);
}

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

.offline .status {
  border-color: rgba(255, 77, 109, 0.28);
  background: rgba(255, 77, 109, 0.08);
}

.offline .dot {
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
}

.account-box {
  margin-top: 18px;
  width: min(520px, 100%);
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(210, 165, 255, 0.24);
  border-radius: 16px;
  padding: 12px;
  background: rgba(8, 8, 20, 0.55);
}

.account-box img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.account-box div {
  flex: 1;
}

.account-box span {
  display: block;
  color: var(--dim);
  font-size: 12px;
}

.account-box a {
  color: var(--accent-2);
  text-decoration: none;
}

.hidden { display: none; }

.counter-card {
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(164, 76, 255, 0.28), transparent 42%),
    rgba(5, 6, 16, 0.78);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  box-shadow: 0 0 76px rgba(164, 76, 255, 0.22);
}

.counter-label {
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#count {
  margin: 18px 0 8px;
  font-size: clamp(92px, 12vw, 168px);
  line-height: 0.88;
  text-shadow: 0 0 42px rgba(164, 76, 255, 0.7);
}

.grid,
.split {
  display: grid;
  gap: 18px;
}

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

.panel,
.info-card,
.reviews-section,
.terms {
  border-radius: 18px;
  padding: 24px;
}

.panel { min-height: 132px; }
.info-card { min-height: 220px; }

.panel strong {
  display: block;
  margin-top: 18px;
  font-size: 38px;
}

.panel small {
  display: block;
  margin-top: 10px;
}

.reviews-section,
.owner-section,
.terms {
  padding: 30px;
}

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

.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 380px);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 16px;
  scrollbar-color: var(--accent-2) rgba(255, 255, 255, 0.06);
}

.review-form {
  margin-bottom: 18px;
  border: 1px solid rgba(210, 165, 255, 0.22);
  border-radius: 16px;
  padding: 18px;
  background: rgba(8, 8, 20, 0.56);
  display: grid;
  gap: 12px;
}

.review-form span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.review-form textarea {
  min-height: 96px;
  resize: vertical;
  border: 1px solid rgba(210, 165, 255, 0.28);
  border-radius: 12px;
  padding: 14px;
  color: var(--text);
  background: rgba(3, 4, 10, 0.75);
  outline: none;
  font: inherit;
}

.review-form textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(164, 76, 255, 0.18);
}

.review-form button {
  width: fit-content;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--text);
  background: linear-gradient(135deg, #7a2dff, #b35cff);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.owner-section button {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--text);
  background: rgba(164, 76, 255, 0.16);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.owner-note {
  max-width: none;
  margin-bottom: 18px;
}

.owner-users {
  display: grid;
  gap: 14px;
  max-height: 620px;
  overflow: auto;
  padding-right: 8px;
  scrollbar-color: var(--accent-2) rgba(255, 255, 255, 0.06);
}

.owner-card {
  border: 1px solid rgba(210, 165, 255, 0.22);
  border-radius: 16px;
  padding: 18px;
  background: rgba(8, 8, 20, 0.56);
}

.owner-card.is-banned {
  border-color: rgba(255, 77, 109, 0.38);
  background: rgba(255, 77, 109, 0.08);
}

.owner-user-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.owner-user-head img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.owner-user-head div {
  flex: 1;
}

.owner-user-head span {
  display: block;
  color: var(--dim);
  font-size: 12px;
}

.owner-user-head em {
  font-style: normal;
  color: var(--accent-2);
}

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

.owner-fields label {
  min-width: 0;
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}

.owner-fields code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(210, 165, 255, 0.16);
  border-radius: 10px;
  padding: 9px 10px;
  color: var(--text);
  background: rgba(3, 4, 10, 0.6);
}

.owner-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reviews article {
  min-height: 180px;
  border: 1px solid rgba(210, 165, 255, 0.22);
  border-radius: 16px;
  padding: 20px;
  background: rgba(8, 8, 20, 0.56);
}

.reviews strong {
  display: block;
  margin-bottom: 14px;
  font-size: 20px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-user img,
.review-avatar-fallback {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(164, 76, 255, 0.22);
}

.review-avatar-fallback {
  display: grid;
  place-items: center;
  color: var(--accent-2);
  font-weight: 900;
}

.terms ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

footer {
  padding: 4px 8px 8px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}

@keyframes sweep {
  from { transform: translateX(-24%) rotate(-8deg); }
  to { transform: translateX(24%) rotate(-8deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.35); }
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 24px, 1220px);
    padding: 12px 0 20px;
  }

  .topbar,
  .hero,
  .panel,
  .info-card,
  .reviews-section,
  .owner-section,
  .terms {
    border-radius: 16px;
  }

  .topbar,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .grid,
  .split,
  .owner-fields {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .counter-card {
    min-height: 260px;
  }

  footer {
    flex-direction: column;
  }
}
