.calculator {
  max-width: 952px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 60px;
  position: relative;
}
@media (max-width: 768px) {
  .calculator {
    padding-bottom: 30px;
  }
}
.calculator-shapes {
  position: absolute;
  z-index: -1;
  width: 100vw;
  left: 50%;
  transform: translate(-50%);
}
.calculator-shapes-img_1 {
  width: auto;
  left: -20%;
  position: relative;
}
@media (max-width: 768px) {
  .calculator-shapes-img_1 {
    display: none;
  }
}
.calculator-shapes-img_2 {
  width: auto;
  right: -20%;
  position: absolute;
  top: -50%;
}
@media (max-width: 768px) {
  .calculator-shapes-img_2 {
    right: 0;
  }
}
.calculator-header {
  text-align: center;
  margin-bottom: 2rem;
}
.calculator-header-h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.calculator-header-p {
  font-size: 1.1rem;
  color: #ccc;
}
.calculator-widget {
  backdrop-filter: blur(50px);
  background: #d5d5d50d;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 20px;
  padding: 38px 104px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .calculator-widget {
    padding: 0;
    border: none;
    background: none;
    backdrop-filter: none;
  }
}
@media (max-width: 768px) {
  .calculator-widget {
    border-radius: 0;
  }
}
.calculator-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
@media (max-width: 768px) {
  .calculator-form {
    position: relative;
    flex-wrap: wrap;
  }
}
.calculator .selector-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 0 0;
  min-width: 0;
  outline: none;
}
@media (max-width: 768px) {
  .calculator .selector-column {
    min-width: 140px;
    max-width: 300px;
  }
}
.calculator .selector-column:focus {
  outline-offset: 4px;
  border-radius: 4px;
}
.calculator .sign-button {
  display: flex;
  height: 56px;
  padding: 14px 12px 14px 16px;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 16px;
  border: 2px solid rgba(127, 116, 114, 0.48);
  background: #f6f6f633;
  cursor: pointer;
  position: relative;
  font-size: 24px;
  letter-spacing: 0.48px;
  color: #99908e;
  text-align: left;
}
@media (max-width: 768px) {
  .calculator .sign-button {
    font-size: 16px;
    height: 48px;
    padding: 10px;
    color: #f1f1f1;
  }
}
.calculator .sign-button:hover {
  border-color: #7f7472b3;
  background: #f6f6f640;
}
.calculator .sign-button.sign-button-active {
  background: #7d50f480 !important;
  border-color: #7f74727a !important;
  color: #f5f4f4 !important;
}
.calculator .sign-button .sign-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calculator .sign-button .gender-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.calculator .sign-button .chevron-icon {
  width: 28px;
  height: 24px;
  flex-shrink: 0;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.calculator .sign-button .chevron-icon.chevron-up {
  transform: translateY(-50%) rotate(0);
}
.calculator .sign-button .chevron-icon.chevron-down {
  transform: translateY(-50%) rotate(180deg);
}
.calculator .compatibility-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 188px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .calculator .compatibility-result {
    order: 3;
  }
}
.calculator .compatibility-result .compatibility-percent {
  font-family: Forma DJR Cyrillic Variable, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 120%;
  color: #f5f4f4;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calculator .compatibility-result .compatibility-link {
  font-family: Forma DJR Cyrillic Micro, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.3s;
  width: 100%;
  text-align: center;
  display: block;
  text-decoration: underline;
}
.calculator .compatibility-result .compatibility-link:hover {
  font-weight: 700;
  color: #bebebe;
}
.banner {
  position: relative;
  width: 100%;
  max-width: 1036px;
  height: 304px;
  margin: 0 auto 60px;
  border-radius: 30px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .banner {
    min-height: 460px;
    margin-bottom: 40px;
    max-width: 400px;
  }
}
.banner-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.banner-background-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.banner-background-image-img {
  position: absolute;
  object-fit: cover;
  height: 100%;
}
.banner-gradient {
  position: absolute;
  width: 493px;
  height: 343px;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
}
.banner-gradient-img {
  width: 113.6%;
  height: 113.6%;
  position: absolute;
  left: -7.97%;
  top: -13.6%;
  object-fit: cover;
}
.banner-content {
  position: absolute;
  left: 445px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 480px;
  z-index: 2;
  padding: 10px;
}
@media (max-width: 1024px) {
  .banner-content {
    left: 270px;
    width: 348px;
  }
}
@media (max-width: 768px) {
  .banner-content {
    inset: auto 0 40px;
    width: 100%;
    transform: none;
    text-align: center;
  }
}
.banner-content-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 120%;
  color: #fff;
  letter-spacing: 1.5px;
  margin: 0;
}
.banner-content-description {
  font-size: 18px;
  font-weight: 200;
  line-height: 120%;
  color: #fff;
  letter-spacing: 1.5px;
  margin: 0;
}
@media (max-width: 768px) {
  .banner-content-description {
    width: auto;
  }
}
.banner-content-button {
  position: relative;
  display: inline-block;
  width: 189px;
  height: 47px;
  text-decoration: none;
  border-radius: 100px;
  padding: 5px;
}
@media (max-width: 768px) {
  .banner-content-button {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}
.banner-content-button-content {
  position: absolute;
  z-index: 1;
  background: #2e2a29;
  border-radius: 100px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 220px;
  left: -4px;
  border: 4px solid rgba(252, 106, 189, 0.32);
   transition: background 0.2s;
}
.banner-content-button-content:hover{
    background: #fff;
   
}
.banner-content-button-content:hover .banner-content-button-text{
 color: #2e2a29;
}
.banner-content-button-content:hover .banner-content-button-icon-img{
    filter: invert();
}
@media (max-width: 768px) {
  .banner-content-button-content {
    position: relative;
  }
}
.banner-content-button-icon {
  width: 16.177px;
  height: 13.235px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-content-button-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.banner-content-button-text {
  font-family: Forma DJR Cyrillic Micro, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.32px;
  color: #f2f5f7;
}
.banner-v2-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  width: 480px;
}
@media (max-width: 1280px) {
  .banner-v2-image {
    left: -40px;
  }
}
@media (max-width: 1024px) {
  .banner-v2-image {
    left: -125px;
  }
}
@media (max-width: 768px) {
  .banner-v2-image {
    left: 0;
    width: 425px;
    height: 200px;
  }
}
.banner-v2-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 1024px) {
  .banner-v2-image-img {
    mask-image: linear-gradient(
      to bottom,
      #000 0% 50%,
      #000000e6 70%,
      #000000b3 85%,
      #0006 95%,
      #0000
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgb(0, 0, 0) 0%,
      rgb(0, 0, 0) 50%,
      rgba(0, 0, 0, 0.9) 70%,
      rgba(0, 0, 0, 0.7) 85%,
      rgba(0, 0, 0, 0.4) 95%,
      rgba(0, 0, 0, 0) 100%
    );
  }
}
.banner-shapes {
  position: relative;
  z-index: 1;
  height: 100%;
}
.banner-shapes-shape-1 {
  position: absolute;
  width: 348px;
  height: 524px;
  left: 31px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 1024px) {
  .banner-shapes-shape-1 {
    width: 233px;
    height: 330px;
    left: 6px;
  }
}
@media (max-width: 768px) {
  .banner-shapes-shape-1 {
    top: -30%;
    transform: none;
    left: 0;
    right: 0;
    margin: auto;
  }
}
.banner-shapes-shape-1-img {
  width: 100.14%;
  height: 100.14%;
  position: absolute;
  left: -0.21%;
  top: -0.14%;
  object-fit: contain;
}
.banner-shapes-shape-2 {
  position: absolute;
  width: 69px;
  height: 59px;
  left: 169px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 1024px) {
  .banner-shapes-shape-2 {
    width: 50px;
    height: 45px;
    left: 97px;
  }
}
@media (max-width: 768px) {
  .banner-shapes-shape-2 {
    top: 3%;
    transform: none;
    left: 0;
    right: 0;
    margin: auto;
  }
}
.banner-shapes-shape-2-img {
  width: 100.3%;
  height: 101.13%;
  position: absolute;
  left: -0.85%;
  top: 0;
  bottom: -1.13%;
  object-fit: contain;
}
.best-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  padding-bottom: 60px;
}
.best-pair-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.best-pair-card:nth-child(1):nth-last-child(4),
.best-pair-card:nth-child(2):nth-last-child(3),
.best-pair-card:nth-child(3):nth-last-child(2),
.best-pair-card:nth-child(4):nth-last-child(1) {
  flex: 0 0 calc((100% - 24px) / 2);
  max-width: calc((100% - 24px) / 2);
}
@media (max-width: 768px) {
  .best-pair-card:nth-child(1):nth-last-child(4),
  .best-pair-card:nth-child(2):nth-last-child(3),
  .best-pair-card:nth-child(3):nth-last-child(2),
  .best-pair-card:nth-child(4):nth-last-child(1) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.best-pair-card:nth-child(1):nth-last-child(-n + 3):not(:nth-last-child(4)),
.best-pair-card:nth-child(2):nth-last-child(-n + 2):not(:nth-last-child(3)),
.best-pair-card:nth-child(3):nth-last-child(1):not(:nth-last-child(2)) {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
}
@media (max-width: 1280px) {
  .best-pair-card:nth-child(1):nth-last-child(-n + 3):not(:nth-last-child(4)),
  .best-pair-card:nth-child(2):nth-last-child(-n + 2):not(:nth-last-child(3)),
  .best-pair-card:nth-child(3):nth-last-child(1):not(:nth-last-child(2)) {
    flex: 0 0 calc((100% - 48px) / 2);
    max-width: calc((100% - 48px) / 2);
  }
}
@media (max-width: 768px) {
  .best-pair-card:nth-child(1):nth-last-child(-n + 3):not(:nth-last-child(4)),
  .best-pair-card:nth-child(2):nth-last-child(-n + 2):not(:nth-last-child(3)),
  .best-pair-card:nth-child(3):nth-last-child(1):not(:nth-last-child(2)) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.best-pair-card:nth-child(1):nth-last-child(n + 5),
.best-pair-card:nth-child(2):nth-last-child(n + 4),
.best-pair-card:nth-child(3):nth-last-child(n + 3) {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
}
@media (max-width: 1280px) {
  .best-pair-card:nth-child(1):nth-last-child(n + 5),
  .best-pair-card:nth-child(2):nth-last-child(n + 4),
  .best-pair-card:nth-child(3):nth-last-child(n + 3) {
    flex: 0 0 calc((100% - 48px) / 2);
    max-width: calc((100% - 48px) / 2);
  }
}
@media (max-width: 768px) {
  .best-pair-card:nth-child(1):nth-last-child(n + 5),
  .best-pair-card:nth-child(2):nth-last-child(n + 4),
  .best-pair-card:nth-child(3):nth-last-child(n + 3) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.best-pair-card:nth-child(4):nth-last-child(n + 2):not(:nth-last-child(1)),
.best-pair-card:nth-child(n + 5) {
  flex: 0 0 calc((100% - 24px) / 2);
  max-width: calc((100% - 24px) / 2);
}
@media (max-width: 768px) {
  .best-pair-card:nth-child(4):nth-last-child(n + 2):not(:nth-last-child(1)),
  .best-pair-card:nth-child(n + 5) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.best-pair-header {
  border-radius: 16px;
  border: 2px solid rgba(127, 116, 114, 0.48);
  background: #f6f6f633;
  padding: 6px 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}
.best-pair-signs {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  justify-content: center;
}
.best-pair-sign {
  display: flex;
  gap: 6px;
  align-items: center;
}
.best-pair-sign-icon {
  width: 44px;
  height: 44px;
  object-fit: cover;
  opacity: 0.84;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .best-pair-sign-icon {
    width: 30px;
    height: 30px;
  }
}
.best-pair-sign-name {
  font-family: Forma DJR Cyrillic Text, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 1.5px;
  color: #fff;
}
@media (max-width: 1024px) {
  .best-pair-sign-name {
    font-size: 18px;
  }
}
.best-pair-divider {
  height: 1px;
  width: 45px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff4d;
}
@media (max-width: 1024px) {
  .best-pair-divider {
    width: 12px;
  }
}
.best-pair-divider-line {
  width: 100%;
  height: 1px;
  object-fit: contain;
  display: block;
}
.best-pair-description {
  font-family: Forma DJR Cyrillic Display, sans-serif;
  font-size: 18px;
  font-weight: 200;
  line-height: normal;
  color: #f7f7f7;
  letter-spacing: 1.5px;
  margin: 0;
}
.matrix {
  font-family: Forma DJR Cyrillic Display, sans-serif;
  padding-bottom: 60px;
  position: relative;
}
@media (max-width: 1024px) {
  .matrix {
    padding-bottom: 20px;
    width: 530px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .matrix {
    width: 100%;
    padding-bottom: 40px;
  }
}
.matrix-shapes {
  position: absolute;
  z-index: -1;
  width: 3000px;
  left: 50%;
  transform: translate(-22%);
}
@media (max-width: 768px) {
  .matrix-shapes {
    width: 100vw;
    transform: translate(-50%);
  }
}
.matrix-shapes-img_1 {
  width: auto;
  position: relative;
}
@media (max-width: 768px) {
  .matrix-shapes-img_1 {
    height: 1500px;
  }
}
.matrix-header {
  text-align: center;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .matrix-header {
    text-align: left;
  }
}
.matrix-header-h3 {
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 120%;
  letter-spacing: 2px;
  padding-bottom: 30px;
}
@media (max-width: 1024px) {
  .matrix-header-h3 {
    font-size: 22px;
  }
}
@media (max-width: 768px) {
  .matrix-header-h3 {
    text-align: left;
    padding-bottom: 0;
  }
}
.matrix-header-p {
  color: #d1cfe8;
  font-size: 20px;
  max-width: 540px;
  margin: 0 auto;
}
.matrix-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
@media (max-width: 1024px) {
  .matrix-controls {
    flex-wrap: nowrap;
  }
}
@media (max-width: 768px) {
  .matrix-controls {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}
.matrix-control {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 240px;
}
@media (max-width: 1024px) {
  .matrix-control {
    width: 50%;
  }
}
@media (max-width: 768px) {
  .matrix-control {
    width: 100%;
  }
}
.matrix-control label {
  font-size: 0.95rem;
  color: #d1cfe8;
  letter-spacing: 0.5px;
}
.matrix-select-wrapper {
  position: relative;
  width: 400px;
}
@media (max-width: 1024px) {
  .matrix-select-wrapper {
    width: 100%;
  }
}
.matrix-select-wrapper input[type="hidden"] {
  display: none;
}
.matrix-select-custom {
  width: 100%;
  border: 2px solid #715c86;
  border-radius: 16px;
  background: #5b3993;
  cursor: pointer;
  transition: background 0.3s;
}
.matrix-select-custom:hover {
  background: #663fa4;
}
.matrix-select-custom.open {
  background: #5b3993;
  border-radius: 16px 16px 0 0;
  border-bottom: none;
  margin-bottom: -2px;
}
.matrix-select-custom.open .matrix-select-dropdown {
  display: flex;
}
.matrix-select-custom.open .matrix-select-chevron-icon {
  transform: rotate(90deg);
}
.matrix-select-custom-2 {
  background: #4c3e41;
  border: 2px solid rgba(127, 116, 114, 0.48);
}
.matrix-select-custom-2:hover,
.matrix-select-custom-2.open {
  background: #4c3e41;
}
.matrix-select-custom .matrix-select-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 10px;
}
.matrix-select-custom .matrix-select-dropdown {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 5px 14px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 2px;
  background: #5b3993;
  border: 2px solid rgba(127, 116, 114, 0.48);
  border-radius: 0 0 16px 16px;
  border-top: none;
  z-index: 10;
}
.matrix-select-custom .matrix-select-dropdown-2 {
  background: #ffffff26;
  backdrop-filter: blur(50px);
  padding-left: 28px;
}
.matrix-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  cursor: pointer;
  padding: 0 2px;
  width: 100%;
  position: relative;
}
.matrix-select-option[style*="display: none"] {
  display: none !important;
}
.matrix-select-option:not([style*="display: none"]):before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: #ffffff4d;
}
.matrix-select-gender-icon {
  opacity: 1;
  transition: opacity 0.3s;
}
.matrix-select-divider {
  height: 1px;
  width: 100%;
  max-width: 374px;
  background: #ffffff4d;
  margin: 0;
}
.matrix-select-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  gap: 10px;
}
.matrix-select-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 36px;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .matrix-select-icon-wrapper {
    width: 30px;
  }
}
.matrix-select-gender-icon {
  width: 26.663px;
  height: 32px;
  object-fit: contain;
}
.matrix-select-text {
  flex: 1;
  font-family: Forma DJR Cyrillic Text, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.48px;
  color: #fff;
}
@media (max-width: 1024px) {
  .matrix-select-text {
    font-size: 20px;
  }
}
.matrix-select-text:hover {
  color: #fff;
}
.matrix-select-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  flex-shrink: 0;
}
.matrix-select-chevron-icon {
  width: 32px;
  height: 24px;
  object-fit: contain;
  transform: rotate(180deg);
  transition: transform 0.3s;
}
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}
@media (max-width: 1280px) {
  .matrix-grid {
    grid-template-columns: repeat(auto-fill, minmax(193px, 180px));
    justify-content: center;
  }
}
@media (max-width: 1024px) {
  .matrix-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 140px));
  }
}
@media (max-width: 375px) {
  .matrix-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 140px));
  }
}
.matrix-card {
  padding: 20px 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 40px;
  background: #0000;
  box-shadow: 0 3.598px 3.598px #00000040 inset, 0 3.598px 3.598px #00000040;
  font-style: normal;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(50px);
}
@media (max-width: 768px) {
  .matrix-card {
    min-width: 165px;
  }
}
@media (max-width: 375px) {
  .matrix-card {
    min-width: 130px;
  }
}
.matrix-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px #0000004d inset, 0 5px 10px #0000004d;
}
.matrix-card-percent {
  font-family: Forma DJR Cyrillic Display, sans-serif;
  color: #ddd;
  letter-spacing: 1px;
  font-size: 50px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .matrix-card-percent {
    font-size: 40px;
  }
}
.matrix-card-icon {
  width: 84px;
  height: 84px;
  opacity: 0.9;
}
.matrix-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.matrix-card-name {
  color: #f5f4f4;
  font-family: Forma DJR Cyrillic Display, sans-serif;
  font-size: 20.288px;
  font-style: normal;
  font-weight: 300;
  line-height: 120%;
  letter-spacing: 2px;
  text-transform: capitalize;
  padding-top: 8px;
}
@media (max-width: 1024px) {
  .matrix-card-name {
    font-size: 16px;
  }
}
.element-shapes {
  position: absolute;
  z-index: -1;
  width: 3000px;
  left: 50%;
  transform: translate(-22%);
}
@media (max-width: 768px) {
  .element-shapes {
    width: 100vw;
    transform: translate(-50%);
  }
}
.element-shapes-img_1 {
  width: auto;
  position: relative;
}
@media (max-width: 768px) {
  .element-shapes-img_1 {
    height: 1500px;
  }
}
.element-grid {
  display: flex;
  gap: 24px;
  padding-bottom: 60px;
  justify-content: center;
}
@media (max-width: 1280px) {
  .element-grid {
    flex-wrap: wrap;
  }
}
@media (max-width: 1024px) {
  .element-grid {
    gap: 16px;
  }
}
.element-card {
  font-family: Forma DJR Cyrillic Display, sans-serif;
  width: 100%;
  padding: 24px 22px;
  border-radius: 14px;
  background: #d5d5d50d;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(35px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  font-weight: 300;
}
@media (max-width: 1280px) {
  .element-card {
    width: 438px;
  }
}
@media (max-width: 1024px) {
  .element-card {
    width: 310px;
  }
}
@media (max-width: 768px) {
  .element-card {
    width: 100%;
  }
}
.element-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto;
}
.element-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 2px;
}
.element-text {
  color: var(--static-soft, #f5f4f4);
  font-size: 20px;
  font-weight: 200;
  line-height: 120%;
  letter-spacing: 1.5px;
  text-align: left;
}
@media (max-width: 1024px) {
  .element-text {
    font-size: 18px;
  }
}
.element-comp {
  width: 1036px;
  margin: 0 auto;
  padding-bottom: 60px;
}
@media (max-width: 768px) {
  .element-comp-shapes {
    width: 100vw;
    transform: translate(-50%);
  }
}
@media (max-width: 1280px) {
  .element-comp {
    width: auto;
  }
}
@media (max-width: 768px) {
  .element-comp {
    overflow: scroll;
  }
}
@media (max-width: 768px) {
  .element-comp-desktop {
    display: none;
  }
}
.element-comp-shapes {
  position: absolute;
  z-index: -1;
  width: 3000px;
  left: 50%;
  transform: translate(-40%);
}
@media (max-width: 768px) {
  .element-comp-shapes {
    transform: translate(-44%);
    top: -200px;
  }
}
.element-comp-shapes > img {
  height: 1500px;
}
.element-comp-shapes-img_1 {
  width: auto;
  position: relative;
}
@media (max-width: 768px) {
  .element-comp-shapes-img_1 {
    height: 1500px;
  }
}
.element-comp-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 36px;
  background: #d5d5d50d;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 1.5rem 1rem;
  text-align: center;
}
@media (max-width: 1280px) {
  .element-comp-pill {
    padding: 10px;
    border-radius: 18px;
  }
}
@media (max-width: 1024px) {
  .element-comp-pill:first-child {
    max-width: 120px;
    padding: 8px 6px;
  }
}
.element-comp-pill h3 {
  margin: 0;
  color: #f6f6f6;
  font-size: 20.288px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 1.5px;
  text-transform: capitalize;
}
@media (max-width: 1024px) {
  .element-comp-pill h3 {
    font-size: 14px;
  }
}
.element-comp-pill-small {
  padding: 1.25rem 1rem;
}
.element-comp-pill-icon {
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.element-comp-pill-icon img {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .element-comp-pill-icon img {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
  }
}
.element-comp-table-grid {
  display: grid;
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .element-comp-table-grid {
    gap: 4px;
  }
}
.element-comp-table-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
}
@media (max-width: 1280px) {
  .element-comp-table-row {
    gap: 12px;
    grid-template-columns: repeat(5, minmax(172px, 1px));
    justify-content: center;
  }
}
@media (max-width: 1024px) {
  .element-comp-table-row {
    gap: 4px;
    grid-template-columns: 90px repeat(4, minmax(132px, 1px));
  }
}
.element-comp-table-grid:first-child
  .element-comp-table-row:first-child
  .element-comp-pill:first-child:empty {
  border: 1px solid rgba(255, 255, 255, 0);
  background: #fff0;
}
.element-comp-description {
  border-radius: 36px;
  background: #d5d5d50d;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 25px 20px;
  font-size: 18px;
  font-style: normal;
  font-weight: 200;
  line-height: 120%;
  letter-spacing: 1.5px;
}
@media (max-width: 1280px) {
  .element-comp-description {
    padding: 10px;
    border-radius: 18px;
  }
}
@media (max-width: 1024px) {
  .element-comp-description {
    font-size: 14px;
    hyphens: auto;
  }
}
.element-comp-mobile {
  display: none;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 60px;
  position: relative;
}
@media (max-width: 768px) {
  .element-comp-mobile {
    display: flex;
  }
}
.element-comp-mobile-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.element-comp-mobile-title {
  font-family: Forma DJR Cyrillic Micro, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 100%;
  color: #f7f7f7;
  margin: 0;
}
.element-comp-mobile-cards {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}
.element-comp-mobile-cards::-webkit-scrollbar {
  display: none;
}
.element-comp-mobile-cards {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.element-comp-mobile-card {
  flex-shrink: 0;
  width: 256px;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 15px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #d5d5d50d;
  scroll-snap-align: start;
}
.element-comp-mobile-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}
.element-comp-mobile-card-element {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 75px;
}
.element-comp-mobile-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.element-comp-mobile-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.element-comp-mobile-card-name {
  font-family: Forma DJR Cyrillic Deck, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 1.69px;
  text-transform: capitalize;
  color: #f6f6f6;
  text-align: center;
}
.element-comp-mobile-card-plus {
  font-family: Forma DJR Cyrillic Variable, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 1px;
  color: #f7f7f7;
  text-align: center;
}
.element-comp-mobile-card-description {
  font-size: 14px;
  font-weight: 300;
  line-height: 120%;
  letter-spacing: 1px;
  color: #f7f7f7;
  text-align: center;
  margin: 0;
}
.zodiac-link {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  row-gap: 20px;
  width: 100%;
  max-width: 1042px;
  margin: 0 auto;
  padding-bottom: 60px;
}
@media (max-width: 1024px) {
  .zodiac-link {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    row-gap: 16px;
    padding-bottom: 40px;
    max-width: 476px;
  }
}
@media (max-width: 768px) {
  .zodiac-link {
    gap: 12px;
    row-gap: 12px;
    padding-bottom: 40px;
  }
}
.zodiac-link-a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px 14px 16px;
  background: #f6f6f633;
  border: 2px solid rgba(127, 116, 114, 0.48);
  border-radius: 16px;
  text-decoration: none;
  position: relative;
  transition: background 0.3s;
  min-height: 56px;
}
.zodiac-link-a:hover {
  background: #7d50f480;
}
@media (max-width: 768px) {
  .zodiac-link-a {
    padding: 12px;
  }
}
.zodiac-link-text {
  font-family: Forma DJR Cyrillic Text, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.48px;
  color: #fff;
}
@media (max-width: 768px) {
  .zodiac-link-text {
    font-size: 16px;
  }
}
.zodiac-link-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 20px;
  flex-shrink: 0;
}
.zodiac-link-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .zodiac-link-hidden {
    display: none !important;
  }
}
.zodiac-link-show-more {
  display: none;
  width: 100%;
  max-width: 250px;
  margin: 24px auto 0;
  padding: 14px 16px;
  background: #533488;
  border-radius: 125px;
  font-size: 18px;
  font-weight: 400;
  line-height: 120%;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}
@media (max-width: 1024px) {
  .zodiac-link-show-more {
    display: block;
  }
}
.zodiac-link-show-more:hover {
  background: #7d50f4b3;
}
.zodiac-link-show-more:active {
  background: #7d50f4e6;
}
.improve-relations {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: center;
  padding-bottom: 60px;
  position: relative;
}
@media (max-width: 1280px) {
  .improve-relations {
    justify-content: flex-start;
  }
}
.improve-relations-shapes {
  position: absolute;
  z-index: -1;
  width: 100vw;
  left: 50%;
  transform: translate(-50%);
}
@media (max-width: 768px) {
  .improve-relations-shapes {
    top: -50%;
  }
}
.improve-relations-shapes-img_1 {
  width: auto;
  position: relative;
}
@media (max-width: 768px) {
  .improve-relations-shapes-img_1 {
    height: 1500px;
  }
}
.improve-relations-card {
  backdrop-filter: blur(35.524px);
  background: #d5d5d50d;
  border: 0.71px solid rgb(255, 255, 255);
  border-radius: 14.21px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: calc(33.3333333333% - 24px);
}
@media (max-width: 1280px) {
  .improve-relations-card {
    width: calc(50% - 14px);
  }
}
@media (max-width: 768px) {
  .improve-relations-card {
    width: 100%;
  }
}
.improve-relations-title {
  font-family: Forma DJR Cyrillic Display, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 0;
}
.improve-relations-description {
  font-family: Forma DJR Cyrillic Display, sans-serif;
  font-size: 18px;
  font-weight: 200;
  line-height: 120%;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 0;
}
