:root {
  --background: #000;
  --font: #fff;
  --font-rgb: 255, 255, 255;
  --block: #101014;
}

body {
  background: url("/ssr-static/images/bots/stars.webp") no-repeat, var(--background);
  background-size: contain;
  position: relative;
}

body::before {
  width: 100%;
  height: 100vh;

  position: absolute;
  left: 0;
  top: 0;

  content: '';

  background: url("/ssr-static/images/bots/lines.png") no-repeat center;
  background-size: cover;
  z-index: -1;
}

.button-link {
  padding: 16px 56px;
  border-radius: 100px;
  box-shadow: 0 1px 2px 0 rgba(5, 16, 61, 0.08);
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -1.2px;
  z-index: 100;
  transition: all 250ms ease-in-out;
  display: inline-block;
  text-decoration: none;
}

.button-link.default {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: #007AFF;
}

.button-link.secondary {
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: linear-gradient(
    278deg,
    #101014 0.19%,
    #101014 25.14%,
    #3001E6 50.09%,
    #101014 75.05%,
    #101014 100%
  );
  color: #fff;
}

.button-link:hover {
  opacity: 0.65;
}

@media (max-width: 768px) {
  .button-link {
    padding: 8px 32px;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -0.9px;
  }
}


.header-container {
  width: 100%;
  max-width: 1232px;
  padding-top: 32px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 149px;
  height: 39px;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.socpanel-link {
  display: flex;
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 100px;
  border: 1px solid rgba(var(--font-rgb), 0.2);
  box-shadow: 0 1px 2px 0 rgba(5, 16, 61, 0.08);
  z-index: 10;
  transition: all 250ms ease-in-out;
}

.socpanel-link:hover {
  opacity: 0.6;
}

.socpanel-text {
  color: var(--font);
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
}

.socpanel-icon {
  width: 24px;
  height: 24px;
  background: url("/ssr-static/images/bots/socpanel-small.svg") no-repeat;
  background-size: contain;
}

@media (max-width: 768px) {
  .header-container {
    padding: 16px;
  }

  .header-logo {
    display: none;
  }

  .header-right {
    justify-content: space-between;
    flex-direction: row-reverse;
    width: 100%;
  }

  .socpanel-link {
    padding: 8px 20px;
    border: none;
    box-shadow: none;
  }
}

.first-screen-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  margin-top: 120px;
}

.first-screen-container > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.first-screen-title {
  color: var(--font);
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 80px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -4px;
  white-space: pre-wrap;
}

.first-screen-highlight {
  background: linear-gradient(90deg, #0BF 76.81%, #007AFF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-left: 64px;
  position: relative;
}

.first-screen-highlight::before {
  width: 64px;
  height: 88px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
  content: '';
  background: url(/ssr-static/images/bots/soft.svg) center center no-repeat;
  background-size: contain;
}

.first-screen-description {
  color: var(--font);
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.48px;
  white-space: pre-wrap;
}

.first-screen-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Adaptive styles */
@media (max-width: 768px) {
  .first-screen-container {
    gap: 20px;
    margin-top: 70px;
    padding: 0 16px;
  }

  .first-screen-title {
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: -1.2px;
    max-width: 100%;
  }

  .first-screen-highlight {
    padding-left: 32px;
  }

  .first-screen-highlight::before {
    width: 32px;
    height: 44px;
  }

  .first-screen-description {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.36px;
    white-space: unset;
  }

  .first-screen-buttons {
    gap: 8px;
  }
}

@media (max-width: 370px) {
  .first-screen-title {
    white-space: unset;
  }
}

.stats-container {
  width: 100%;
  max-width: 532px;
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.stats-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stats-title {
  color: var(--font);
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: -0.96px;
}

.stats-description {
  min-width: 200px;
  color: var(--font);
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}

.stats-cube {
  width: 20px;
  height: 20px;
  background: url("/ssr-static/images/bots/cube.svg") no-repeat;
  background-size: contain;
}

@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    gap: 24px;
    margin-top: 47px;
  }
}


.tags-section {
  width: 100%;
  max-width: 1232px;
  margin: 62px auto 0;
  padding-bottom: 200px;
  border-radius: 40px;
  background:
    url("/ssr-static/images/bots/backgrounds/tags-desktop.webp") no-repeat center bottom/contain,
    var(--block);
}

.tags-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.tags-title {
  color: var(--font);
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -1.68px;
}

.tags-description {
  color: var(--font);
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.48px;
  margin-top: 16px;
  white-space: pre-wrap;
}

@media (min-width: 769px) {
  .tags-container {
    padding: 80px;
  }
}

@media (max-width: 768px) {
  .tags-section {
    margin-top: 48px;
    padding: 40px 16px 330px;
    background:
      url("/ssr-static/images/bots/backgrounds/tags-mobile.png") no-repeat center 20vw/cover,
      var(--block);
  }

  .tags-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: -0.96px;
  }

  .tags-description {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.36px;
    white-space: unset;
  }
}

@media (max-width: 380px) {
  .tags-section {
    background:
      url("/ssr-static/images/bots/backgrounds/tags-mobile.png") no-repeat center 57vw/cover,
      var(--block);
  }
}


.features-container {
  width: 100%;
  max-width: 1232px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 32px;
}
@media (max-width: 768px) {
  .features-container {
    grid-template-columns: 1fr;
    grid-gap: 16px;
    margin-top: 16px;
  }
}

.features-title {
  color: var(--font);
  font-family: Inter, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: -0.96px;
  white-space: pre-wrap;

  margin-block-start: 0;
  margin-block-end: 0;
}

.features-description {
  color: var(--font);
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  white-space: pre-wrap;
}
@media (max-width: 768px) {
  .features-description {
    font-size: 16px;
    line-height: 24px;
  }
}

.features-left,
.features-right {
  display: grid;
  grid-gap: 16px;
}
.features-left {
  grid-template-rows: 1fr 0.49fr;
}
.features-right {
  grid-template-rows: 0.49fr 1fr;
}
@media (max-width: 768px) {
  .features-left {
    grid-template-rows: 1fr;
  }
}

.features-promo,
.features-order,
.features-software,
.features-sell {
  padding: 40px;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: var(--block);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

.features-promo {
  padding-bottom: 450px;
  background-image: url("/ssr-static/images/bots/backgrounds/dark/promote.webp");
  background-size: 500px, cover;
}
@media (max-width: 768px) {
  .features-promo {
    padding-bottom: 310px;
    background-size: 80vw;
  }
}

.features-order {
  padding-bottom: 230px;
  background-image: url("/ssr-static/images/bots/backgrounds/stats.webp");
}
@media (max-width: 768px) {
  .features-order {
    padding-bottom: 135px;
    background-position: center 28vw;
  }
}
@media (max-width: 420px) {
  .features-order {
    background-position: center 35vw;
  }
}
@media (max-width: 380px) {
  .features-order {
    background-position: center 45vw;
  }
}

.features-software {
  padding-bottom: 392px;
  background-image: url("/ssr-static/images/bots/backgrounds/dark/software.webp");
  background-position: center 200px;
  background-size: 450px;
}
@media (max-width: 768px) {
  .features-software {
    padding-bottom: 225px;
    background-position: center bottom;
    background-size: 80vw;
  }
}
@media (max-width: 500px) {
  .features-software {
    background-position: center 30vw;
    background-size: 65vw;
  }
}
@media (max-width: 400px) {
  .features-software {
    background-position: center 45vw;
  }
}

.features-sell {
  padding-bottom: 345px;
  background-image: url("/ssr-static/images/bots/backgrounds/dark/sell.webp");
  background-size: 600px;
}
@media (max-width: 768px) {
  .features-sell {
    padding-bottom: 175px;
    background-size: 85vw;
  }
}
@media (max-width: 500px) {
  .features-sell {
    background-size: 65vw;
  }
}

.features-sell .forward-icon {
  display: inline-block;
  width: 25px;
  height: 40px;
  margin-left: 4px;
  background: url("/ssr-static/images/bots/forward.svg") no-repeat 0 6px;
}

.features-link {
  position: relative;
  width: fit-content;
  color: #007AFF;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  text-decoration: none;
}
.features-link::after {
  content: '';
  position: absolute;
  right: -24px;
  top: -2px;
  width: 20px;
  height: 20px;
  background: url("/ssr-static/images/bots/arrow.svg");
}

.features-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background-color: var(--font);
  mask-size: contain;
  mask-repeat: no-repeat;
}
.user-icon {
  mask-image: url("/ssr-static/images/bots/user.svg");
}
.cart-icon {
  mask-image: url("/ssr-static/images/bots/cart.svg");
}
.award-icon {
  mask-image: url("/ssr-static/images/bots/award.svg");
}

.footer-container {
  width: 100%;
  max-width: 1232px;
  margin: 120px auto 0;
  padding: 32px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 120px;
}

.footer-link {
  color: var(--font);
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.9px;
  transition: all 250ms ease-in-out;
  text-decoration: none;
}

.footer-link:hover {
  opacity: 0.65;
}

.footer-socpanel {
  width: 173px;
  height: 40px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.socpanel-logo {
  width: 173px;
  height: 40px;
}

@media (max-width: 768px) {
  .footer-container {
    margin-top: 96px;
    justify-content: center;
    gap: 32px;
    padding: 32px 61px;
  }

  .footer-links {
    gap: 32px;
  }

  .footer-socpanel.desktop {
    display: none;
  }
}
