html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background: radial-gradient(ellipse at bottom, #50dd73 0%, #030617 100%);
  overflow: hidden;

  perspective: 1200px;
}

:root {
  --line-color: #030617;
  --step: 3px;
  --border-weight: 1px;
  --sidebar-width: clamp(160px, 15vw, 260px);
}

/* Контент */
.container {
  position: relative;
  flex: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Рисуем шестиугольники */
  background:
    radial-gradient(
        circle farthest-side at 0% 50%,
        #282828 23.5%,
        rgba(255, 170, 0, 0) 0
      )
      21px 30px,
    radial-gradient(
        circle farthest-side at 0% 50%,
        #2c3539 24%,
        rgba(240, 166, 17, 0) 0
      )
      19px 30px,
    linear-gradient(
        #282828 14%,
        rgba(240, 166, 17, 0) 0,
        rgba(240, 166, 17, 0) 85%,
        #282828 0
      )
      0 0,
    linear-gradient(
        150deg,
        #282828 24%,
        #2c3539 0,
        #2c3539 26%,
        rgba(240, 166, 17, 0) 0,
        rgba(240, 166, 17, 0) 74%,
        #2c3539 0,
        #2c3539 76%,
        #282828 0
      )
      0 0,
    linear-gradient(
        30deg,
        #282828 24%,
        #2c3539 0,
        #2c3539 26%,
        rgba(240, 166, 17, 0) 0,
        rgba(240, 166, 17, 0) 74%,
        #2c3539 0,
        #2c3539 76%,
        #282828 0
      )
      0 0,
    linear-gradient(90deg, #2c3539 2%, #282828 0, #282828 98%, #2c3539 0%) 0 0
      #282828;
  background-size: 40px 60px;
  /* Смешиваем с фоном body */
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

/* Центрируем текст */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

/* Обёртка: сайдбар + основной контент рядом */
.page {
  display: flex;
  height: 100vh;
  position: relative;
  z-index: 2;
}

/* Сайдбар */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.sidebar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: sans-serif;
  letter-spacing: 0.03em;
}

.sidebar__logo svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.sidebar__nav {
  list-style: none;
  margin: 0;
  padding: 0 8px;
}

.sidebar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  font-family: sans-serif;
  transition:
    background 0.2s,
    color 0.2s;
}

.sidebar__item:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.sidebar__item svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.sidebar__item:hover svg {
  opacity: 1;
}

/* Футер */
.footer {
  text-align: center;
  padding: 20px;
  color: #000000;
  /* z-index: 2; */
}

.hero-title {
  position: absolute;
  left: 50%;
  top: 7%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 80vw;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 700;
  font-family: sans-serif;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  /* background: linear-gradient(
    90deg,
    #aaaaaa 40%,
    #cccccc 48%,
    #ffffff 50%,
    #cccccc 52%,
    #aaaaaa 60%
  ); */
  background: linear-gradient(
    90deg,
    #aaaaaa 40%,
    #cccccc 48%,
    #ffffff 50%,
    #cccccc 52%,
    #aaaaaa 60%
  );
  background-size: 400% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 12s linear infinite;
}

@keyframes shine {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}
