:root {
  --background: #07050d;
  --panel: #100b1b;
  --panel-strong: #151025;
  --line: rgba(198, 152, 255, 0.15);
  --line-strong: rgba(203, 140, 255, 0.28);
  --text: #f7f3ff;
  --muted: #aaa2ba;
  --muted-strong: #c9c0d7;
  --purple: #9b4dff;
  --purple-light: #c06cff;
  --pink: #ff39bd;
  --cyan: #3fd9ff;
  --green: #23e58c;
  --red: #ff4c72;
  --header-height: 74px;
  --sidebar-width: 230px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgba(132, 48, 218, 0.16), transparent 28%),
    radial-gradient(circle at 100% 35%, rgba(220, 40, 170, 0.09), transparent 30%),
    var(--background);
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.info-app {
  min-height: 100dvh;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;

  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(540px, 1fr) auto;
  align-items: stretch;

  min-height: var(--header-height);

  background: rgba(7, 4, 13, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 0 14px;
  overflow: hidden;
}

.navigation-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;

  color: var(--muted-strong);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;

  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.navigation-item:hover,
.navigation-item:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.navigation-item.is-active {
  color: #fff;
  background: linear-gradient(180deg, rgba(141, 62, 225, 0.22), rgba(89, 38, 148, 0.16));
  border-color: rgba(190, 103, 255, 0.45);
}

.navigation-icon {
  color: #e6ddf2;
  font-size: 19px;
}

.header-status {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.header-statistic {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 82px;
  padding: 0 13px;
  border-left: 1px solid var(--line);
}

.header-statistic > span:last-child {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.header-statistic strong {
  font-size: 15px;
  line-height: 1;
}

.header-statistic small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot-green {
  background: var(--green);
  box-shadow: 0 0 10px rgba(35, 229, 140, 0.7);
}

.status-dot-pink {
  background: var(--pink);
  box-shadow: 0 0 10px rgba(255, 57, 189, 0.7);
}

.header-icon-button {
  position: relative;
  width: 48px;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--muted-strong);
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 132px;
  padding: 0 13px;

  color: var(--text);
  background: rgba(255, 255, 255, 0.018);
  border: 0;
  border-left: 1px solid var(--line);

  cursor: pointer;
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;

  width: 34px;
  height: 34px;

  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;

  font-size: 12px;
  font-weight: 800;
}

.header-user-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-user-copy strong {
  font-size: 12px;
}

.header-user-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.header-user-copy i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--green);
}

.header-user-arrow {
  margin-left: auto;
  color: var(--muted);
}

.info-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 64px;
}

.info-hero {
  position: relative;
  overflow: hidden;

  padding: 30px;

  background:
    linear-gradient(
      135deg,
      rgba(155, 77, 255, 0.16),
      rgba(255, 57, 189, 0.07)
    ),
    rgba(16, 11, 27, 0.92);

  border: 1px solid var(--line-strong);
  border-radius: 22px;

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.info-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  margin-bottom: 12px;

  color: var(--pink);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-hero h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.02;
}

.info-hero p {
  max-width: 760px;
  margin: 14px 0 0;

  color: var(--muted-strong);

  font-size: 15px;
  line-height: 1.7;
}

.info-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 20px;
  padding: 11px 15px;

  color: #fff;
  background: rgba(155, 77, 255, 0.16);

  border: 1px solid rgba(192, 108, 255, 0.28);
  border-radius: 10px;

  font-size: 12px;
  font-weight: 800;
}

.info-back:hover,
.info-back:focus-visible {
  background: rgba(155, 77, 255, 0.26);
  outline: none;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;

  margin-top: 18px;
}

.info-card {
  min-width: 0;
  padding: 22px;

  background: rgba(16, 11, 27, 0.84);

  border: 1px solid var(--line);
  border-radius: 18px;
}

.info-card.is-wide {
  grid-column: 1 / -1;
}

.info-card h2 {
  margin: 0 0 10px;

  color: #fff;
  font-size: 18px;
}

.info-card h3 {
  margin: 18px 0 7px;

  color: #fff;
  font-size: 14px;
}

.info-card p,
.info-card li {
  color: var(--muted-strong);
  line-height: 1.75;
}

.info-card p {
  margin: 0;
}

.info-card p + p {
  margin-top: 10px;
}

.info-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.info-card strong {
  color: #fff;
}

.info-note {
  margin-top: 18px;
  padding: 16px 18px;

  color: var(--muted-strong);
  background: rgba(63, 217, 255, 0.06);

  border: 1px solid rgba(63, 217, 255, 0.15);
  border-radius: 14px;

  line-height: 1.65;
}

.info-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;

  margin-top: 24px;
  padding-top: 20px;

  border-top: 1px solid var(--line);
}

.info-footer a {
  padding: 8px 10px;

  color: var(--muted);
  border-radius: 8px;

  font-size: 11px;
  font-weight: 700;
}

.info-footer a:hover,
.info-footer a:focus-visible,
.info-footer a[aria-current="page"] {
  color: #fff;
  background: rgba(155, 77, 255, 0.12);
  outline: none;
}

@media (max-width: 1279px) {
  :root {
    --sidebar-width: 82px;
  }

  .app-header {
    grid-template-columns: 82px minmax(460px, 1fr) auto;
  }

  .brand {
    justify-content: center;
    padding: 0;
  }

  .navigation-item {
    padding-inline: 10px;
  }
}

@media (max-width: 979px) {
  :root {
    --header-height: 58px;
  }

  .app-header {
    grid-template-columns: 64px 1fr auto;
    min-height: 58px;
  }

  .brand {
    width: 64px;
    border-right: 0;
  }

  .main-navigation,
  .header-statistic {
    display: none;
  }

  .header-status {
    grid-column: 3;
  }

  .header-icon-button {
    display: none !important;
  }

  .header-user {
    min-width: 72px;
    padding: 0 10px;
    border-left: 0;
  }

  .header-user-copy,
  .header-user-arrow {
    display: none;
  }

  .header-user .avatar {
    width: 36px;
    height: 36px;
  }

  .info-main {
    width: min(100% - 24px, 760px);
    padding: 22px 0 44px;
  }

  .info-hero {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card.is-wide {
    grid-column: auto;
  }
}

@media (max-width: 479px) {
  .app-header {
    grid-template-columns: 58px 1fr 62px;
  }

  .brand {
    width: 58px;
  }

  .info-main {
    width: calc(100% - 18px);
    padding-top: 14px;
  }

  .info-hero,
  .info-card {
    padding: 17px 15px;
    border-radius: 15px;
  }

  .info-hero p,
  .info-card p,
  .info-card li {
    font-size: 13px;
  }
}
