:root {
  color-scheme: dark;
  --bg: #070812;
  --surface: rgba(17, 19, 33, 0.78);
  --surface-strong: rgba(17, 19, 33, 0.96);
  --stroke: rgba(154, 165, 255, 0.24);
  --text: #f4f7ff;
  --muted: #b3bbde;
  --brand: #7f5eff;
  --brand-2: #2dd4f5;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: radial-gradient(1200px 700px at 10% -10%, #2c2165 0%, transparent 60%),
              radial-gradient(1000px 650px at 95% 5%, #103a52 0%, transparent 55%),
              var(--bg);
  color: var(--text);
}

.bg-glow {
  position: fixed;
  filter: blur(80px);
  border-radius: 999px;
  z-index: -1;
  opacity: 0.55;
}

.bg-glow--one {
  width: 260px;
  height: 260px;
  left: 4%;
  top: 12%;
  background: #7f5eff;
}

.bg-glow--two {
  width: 320px;
  height: 320px;
  right: 3%;
  top: 45%;
  background: #22d3ee;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(7, 8, 18, 0.62);
  border-bottom: 1px solid rgba(152, 161, 226, 0.18);
  z-index: 10;
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: .02em;
}

.brand__logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 1.2rem;
  padding: 2.4rem 0 1.2rem;
}

.eyebrow {
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: #9fa7d1;
  margin: 0 0 .75rem;
}

h1, h2, h3, h4, h5 { font-family: 'Space Grotesk', system-ui, sans-serif; }

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.05;
}

.hero__text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 66ch;
}

.hero__cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.hero-card h2 { margin-top: 0; font-size: 1.2rem; }
.hero-card ol { color: var(--muted); padding-left: 1.2rem; }
.hero-card__tip {
  margin: 1rem 0 0;
  padding: .65rem;
  border-radius: 12px;
  background: rgba(127, 94, 255, .16);
  border: 1px solid rgba(127, 94, 255, .4);
  color: #e5ddff;
}

.listing-head { margin-top: 1rem; }
.listing-head h2 { margin: .2rem 0 0; font-size: clamp(1.4rem, 3.2vw, 2rem); }

.server-list {
  margin: 1.2rem 0 2.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface-strong);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.banner {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(164, 173, 248, .3);
  margin-bottom: .8rem;
}

.card__head {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  align-items: center;
}

.card__head h4 { margin: 0; font-size: 1.22rem; }

.card p { color: var(--muted); }
.card h5 { margin: .2rem 0; }

.pill {
  font-size: .74rem;
  background: rgba(45, 212, 245, 0.18);
  border: 1px solid rgba(45, 212, 245, 0.45);
  color: #b8f5ff;
  border-radius: 999px;
  padding: .24rem .58rem;
  white-space: nowrap;
}

.meta { color: #9ca7d3; font-size: .84rem; margin: .45rem 0 .8rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 0;
  border-radius: 12px;
  padding: .66rem 1rem;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  color: white;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 24px rgba(74, 82, 219, .35);
  transition: .15s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.1); }

.btn--ghost {
  background: rgba(127, 94, 255, .14);
  border: 1px solid rgba(142, 156, 255, .35);
  box-shadow: none;
}

.btn--disabled {
  opacity: .6;
  pointer-events: none;
  filter: grayscale(.35);
}

.empty {
  padding: 1rem;
  border: 1px dashed var(--stroke);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(19, 22, 42, 0.55);
}

.panel-wrap {
  max-width: 820px;
  padding: 2rem 0;
}

.panel-status { color: var(--muted); }

.panel-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  background: var(--surface-strong);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-weight: 600;
  font-size: .95rem;
}

input, textarea {
  border-radius: 11px;
  border: 1px solid rgba(154, 165, 255, .3);
  background: #0d1022;
  color: var(--text);
  padding: .68rem;
  font: inherit;
}

input:focus, textarea:focus {
  outline: 2px solid rgba(45, 212, 245, .45);
  border-color: rgba(45, 212, 245, .45);
}

.hidden { display: none; }

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

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .45rem 0;
}

select {
  border-radius: 11px;
  border: 1px solid rgba(154, 165, 255, .3);
  background: #0d1022;
  color: var(--text);
  padding: .68rem;
  font: inherit;
}
