* {
  box-sizing: border-box;
}

:root {
  --help-bg: #03050b;
  --help-panel: rgba(7, 10, 20, 0.68);
  --help-panel-strong: rgba(6, 8, 16, 0.86);
  --help-border: rgba(255, 255, 255, 0.14);
  --help-border-soft: rgba(255, 255, 255, 0.09);
  --help-text: #ffffff;
  --help-muted: rgba(255, 255, 255, 0.72);
  --help-dim: rgba(255, 255, 255, 0.54);
  --help-blue: #43a3ff;
  --help-pink: #ff149d;
  --help-red: #ff4d69;
}

@font-face {
  font-family: kamerik-3d;
  src: url(../fonts/kamerik205-heavy.woff2);
  font-weight: 900;
}

html {
  min-height: 100%;
  background: var(--help-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--help-text);
  background: var(--help-bg);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.help-page a {
  color: var(--help-blue);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.help-page a:hover {
  color: var(--help-pink);
}

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 4, 10, 0.5) 0%, rgba(2, 4, 10, 0.66) 48%, rgba(2, 4, 10, 0.96) 100%),
    rgba(8, 12, 24, 0.14);
  backdrop-filter: blur(4px) saturate(118%);
}

.help-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 112px 24px 56px;
}

.help-hero,
.help-content,
.help-actions {
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.help-hero {
  margin-bottom: 24px;
}

.help-hero-glass {
  padding: 44px;
  border: 1px solid var(--help-border);
  border-radius: 18px;
  background: rgba(8, 12, 24, 0.56);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px) saturate(140%);
}

.help-kicker {
  margin: 0 0 10px;
  color: var(--help-muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.help-hero h1 {
  margin: 0;
  color: var(--help-blue);
  font-family: kamerik-3d, Arial, sans-serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.58);
}

.help-hero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

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

.error-section,
.help-content > .note {
  position: relative;
  border: 1px solid var(--help-border);
  border-radius: 16px;
  background: var(--help-panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px) saturate(135%);
}

.error-section {
  padding: 28px;
}

.error-section h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.25;
}

.error-item {
  position: relative;
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid var(--help-border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.error-item:last-child,
.method:last-child {
  margin-bottom: 0;
}

.error-item:hover {
  border-color: rgba(255, 20, 157, 0.42);
  background: rgba(255, 255, 255, 0.075);
}

.error-title {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 800;
}

.error-solution {
  color: var(--help-muted);
}

.error-solution p,
.method p,
.note p {
  margin: 0;
}

.method {
  position: relative;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--help-border-soft);
  border-radius: 12px;
  background: rgba(3, 5, 11, 0.54);
}

.method .method {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.method-title,
.note-title {
  margin-bottom: 10px;
  color: var(--help-blue);
  font-weight: 900;
  font-size: 1.05rem;
}

.solution-steps {
  margin: 10px 0 0;
  padding-left: 22px;
  color: var(--help-muted);
}

.solution-steps li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.solution-steps li:last-child {
  margin-bottom: 0;
}

.solution-steps ul {
  margin-top: 8px;
  padding-left: 20px;
}

.solution-steps strong {
  color: #fff;
}

.tab {
  margin-top: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--help-muted);
}

.tab p + p {
  margin-top: 6px;
}

.note {
  position: relative;
  margin: 16px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(67, 163, 255, 0.22);
  border-radius: 12px;
  background: rgba(67, 163, 255, 0.1);
  color: var(--help-muted);
}

.help-content > .note {
  margin: 0;
  padding: 22px;
}

.warning {
  position: relative;
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 77, 105, 0.26);
  border-radius: 12px;
  background: rgba(255, 77, 105, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.warning-title {
  color: #ff8fa1;
  font-weight: 900;
}

.code,
.registry-path {
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  font-family: "Courier New", monospace;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.code {
  display: inline-block;
  padding: 2px 7px;
  color: #78ffbf;
}

.tab > .code,
li > div.code {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
}

.registry-path {
  display: block;
  margin-top: 8px;
  padding: 10px 12px;
  color: #ffd166;
}

.screenshot-hint {
  color: var(--help-dim);
  font-size: 0.92rem;
  font-style: italic;
}

.blue,
.name {
  color: var(--help-blue);
}

.help-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 58px;
  margin-top: 24px;
  margin-bottom: 10px;
}

.help-page .back-link {
  display: inline-flex;
  position: relative;
  z-index: 4;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  border: 1px solid rgba(67, 163, 255, 0.28);
  background: rgba(7, 10, 20, 0.68);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(130%);
  opacity: 1;
  visibility: visible;
}

.help-page .back-link:visited {
  color: #fff;
}

.help-page .back-link:hover {
  color: #fff;
  border-color: rgba(67, 163, 255, 0.62);
  background: rgba(10, 16, 30, 0.78);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.3),
    0 0 26px rgba(67, 163, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

@media (max-width: 760px) {
  .help-page {
    padding: 92px 14px 38px;
  }

  .help-hero-glass,
  .error-section {
    padding: 22px;
    border-radius: 14px;
  }

  .help-hero p:last-child {
    font-size: 1rem;
  }

  .error-item,
  .method {
    padding: 16px;
  }

  .help-actions {
    flex-direction: column;
  }

  .back-link {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .help-hero h1 {
    font-size: 2.75rem;
  }

  .error-section h2 {
    font-size: 1.18rem;
  }
}
