:root {
  --color-bg: #0d0d10;
  --color-bg-header: #191a1d;
  --color-accent: #04ff83;
  --color-text: #ffffff;
  --container: 1760px;
  --page-pad: 40px;
  --header-h: 79px;
  --font: "Manrope", "Montserrat", "Segoe UI", sans-serif;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

:root {
  --color-bg: #0d0d10;
  --color-bg-header: #191a1d;
  --color-accent: #04ff83;
  --color-text: #ffffff;
  --container: 1760px;
  --page-pad: 40px;
  --header-h: 79px;
  --font: "Manrope", "Montserrat", "Segoe UI", sans-serif;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--color-bg-header);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
  max-width: 1920px;
  padding: 0 var(--page-pad);
}

.header__left {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 120px;
}

.header__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-shrink: 0;
  width: 166px;
  height: 37px;
  transform: translate(-50%, -50%);
}

.header__logo img {
  width: 166px;
  height: 37px;
  object-fit: contain;
}

.header__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__link {
  font-family: "Manrope", var(--font);
  font-size: 15px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 0.3px;
  color: #ffffff;
  transition: color 0.2s ease;
}

.header__link:hover {
  color: var(--color-accent);
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 0;
  min-width: 0;
  gap: 16px;
}

.header__buttons {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header__lang {
  display: inline-flex;
  align-items: center;
  width: 140px;
  height: 40px;
  padding: 0 15px;
  border-radius: 16px;
  background: #272b3b;
  color: #ffffff;
  font-family: "Manrope", var(--font);
  font-size: 12px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 0.3px;
  border: 0;
  flex-shrink: 0;
}

.header__lang-text {
  flex-shrink: 0;
}

.header__lang-flag {
  width: 16px;
  height: 11px;
  margin-left: 22px;
  border-radius: 2px;
  background: linear-gradient(180deg, #000 33%, #dd0000 33%, #dd0000 66%, #ffce00 66%);
  flex-shrink: 0;
}

.header__lang-chevron {
  display: block;
  width: 10px;
  height: 6px;
  margin-left: 10px;
  flex-shrink: 0;
}

.header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 102px;
  height: 46px;
  padding: 0 8px;
  border-radius: 10px;
  background: #15161a;
  border: 1px solid rgba(195, 208, 255, 0.3);
  color: #ffffff;
  font-family: "Manrope", var(--font);
  font-size: 12px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  white-space: nowrap;
}

.header__register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 46px;
  padding: 0 8px;
  border-radius: 10px;
  background: linear-gradient(90deg, #04ff83 0%, #04ffd0 100%);
  border: 0;
  color: #000000;
  font-family: "Manrope", var(--font);
  font-size: 12px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  white-space: nowrap;
}

.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
}

.header__burger span,
.header__burger span::before,
.header__burger span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  position: relative;
}

.header__burger span::before,
.header__burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.header__burger span::before {
  top: -6px;
}

.header__burger span::after {
  top: 6px;
}

@media (max-width: 1772px) {
  .container,
  .header__inner {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 1400px) {
  .header__left {
    gap: 48px;
  }

  .header__list {
    gap: 28px;
  }
}

@media (max-width: 1200px) {
  .header__left {
    gap: 24px;
  }

  .header__list {
    gap: 20px;
  }

  .header__actions {
    gap: 12px;
  }
}

@media (max-width: 991px) {
  .header__inner {
    justify-content: space-between;
    gap: 12px;
  }

  .header__left {
    display: none;
  }

  .header__logo {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 118px;
    height: 27px;
    margin-right: auto;
  }

  .header__logo img {
    width: 118px;
    height: 27px;
  }

  .header__nav {
    display: none;
  }

  .header__actions {
    flex: 0 0 auto;
    gap: 10px;
  }

  .header__buttons {
    gap: 10px;
  }

  .header__burger {
    display: none;
  }

  .header__login,
  .header__register {
    display: inline-flex;
  }

  .header__lang {
    display: none;
  }
}

@media (max-width: 767px) {
  .container,
  .header__inner {
    padding-left: 6px;
    padding-right: 6px;
  }

  .header__login,
  .header__register {
    display: inline-flex;
    height: 40px;
  }

  .header__login {
    width: 92px;
  }

  .header__register {
    width: 100px;
  }

  .header__burger {
    display: none;
  }
}

@media (max-width: 575px) {
  .header__inner {
    padding-left: 6px;
    padding-right: 6px;
  }

  .header__login,
  .header__register {
    display: inline-flex;
    height: 40px;
    font-size: 12px;
  }

  .header__login {
    width: 92px;
  }

  .header__register {
    width: 96px;
  }

  .header__burger {
    display: none;
  }
}
