:root {
  --bg: #0b0f12;
  --panel-accent: rgba(164, 93, 179, 0.88);
  --panel-dark: rgba(69, 65, 63, 0.85);
  --panel-soft: rgba(255, 248, 251, 0.08);
  --text: #fff8fb;
  --muted: rgba(255, 248, 251, 0.78);
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 18px 50px rgba(36, 17, 35, 0.24);
  --radius: 28px;
}

html,
body {
  height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: blur(6px) saturate(1.05);
  opacity: 0.98;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(36, 22, 33, 0.42), rgba(36, 22, 33, 0.54)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 42%),
    radial-gradient(circle at bottom, rgba(153, 102, 204, 0.16), transparent 30%);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  padding: 24px 20px 32px;
  isolation: isolate;
}

.nav-wrap {
  position: sticky;
  top: 18px;
  z-index: 5;
  width: min(1180px, 100%);
  margin: 0 auto 36px;
  padding: 12px 18px;
  border-radius: 28px;
  background: var(--panel-dark);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}

.brand {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--panel-accent);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease;
  font-size: 0.9rem;
  line-height: 1;
}

.nav-links a:hover {
  transform: translateY(-2px);
}

.dev-wrap {
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 0;
  display: grid;
  gap: 24px;
}

.dev-pill {
  position: relative;
  background: var(--panel-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.2vw, 24px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dev-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 248, 251, 0.07), transparent 56%, rgba(164, 93, 179, 0.08));
  z-index: 0;
}

.dev-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  pointer-events: none;
}

.dev-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 20px 40px rgba(36, 17, 35, 0.34),
    0 0 32px rgba(164, 93, 179, 0.16);
}

.dev-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(16px, 3vw, 30px);
  align-items: center;
}

.dev-skin {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-skin::before {
  content: "";
  position: absolute;
  inset: clamp(6px, 1.2vw, 14px);
  border-radius: 18px;
  background: var(--panel-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.22),
    0 0 26px rgba(164, 93, 179, 0.12);
}

.dev-skin img {
  position: relative;
  z-index: 1;
  max-width: 185%;
  max-height: 100%;
  display: block;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.45));
}

.dev-pill:nth-of-type(2) .dev-skin img {
  transform: translateY(-5px);
}

.dev-pill:nth-of-type(3) .dev-skin img {
  transform: translateY(20px) scale(0.65);
}

.dev-pill:nth-of-type(4) .dev-skin img {
  transform: scale(0.92);
}

.dev-name {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 34px);
}

.dev-role {
  margin: 0 0 14px;
  color: #ffd7f6;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(15px, 1.5vw, 18px);
}

.dev-text p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.75;
  font-size: clamp(16px, 1.28vw, 20px);
}

.dev-text p:last-child {
  margin-bottom: 0;
}

.admin-bottom-media {
  width: min(1180px, 100%);
  margin: 8px auto 40px;
}

.admin-bottom-media video {
  display: block;
  width: min(760px, 100%);
  height: auto;
  margin: 0 auto;
}

@media (max-width: 920px) {
  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .brand {
    position: static;
    transform: none;
    text-align: center;
  }

  .dev-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dev-skin {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dev-pill {
    transition: none;
  }

  .dev-pill:hover {
    transform: none;
  }
}
