/* Community Block - без фона */
footer {
  width: 100%;
  height: 80px;
  background: rgb(21, 21, 21);
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 4px;
  justify-content: center;
}
.footer__title {
  font-size: 12px;
  margin-top: 0;
  gap: 0;
  padding: 0;
  margin: 0;
  height: auto;
}

.community {
  width: 100%;
  max-width: 1440px;
  margin: 80px auto;
  padding: 0 40px;
}

.community__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.community__title {
  font-family: "Montserrat", sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.12px;
  color: #ffffff;
  margin: 0;
  max-width: 700px;
}

.community__subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  color: #b0b0c0;
  margin: 0;
  text-transform: lowercase;
  max-width: 400px;
  border-left: 1px solid #fff;
  padding-left: 20px;
  text-align: right;
}

.community__content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
}

.community__item {
  flex: 1 1 calc(20% - 24px); /* 5 карточек в ряд */
  min-width: 400px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.community__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.community__item-icon {
  font-size: 48px;
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 0 15px rgba(153, 69, 255, 0.5));
}

.community__item-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #ffffff;
  line-height: 1.5;
  font-family: "Montserrat", sans-serif;
}

.community__item-text {
  font-size: 14px;
  line-height: 1.6;
  color: #b0b0c0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .community__item {
    flex: 1 1 calc(33.333% - 24px); /* 3 карточки */
  }
}

@media (max-width: 768px) {
  .community__content {
    gap: 16px;
    margin-top: 32px;
  }

  #nav-a {
    display: none;
  }

  .community__item {
    flex: 1 1 calc(50% - 16px); /* 2 карточки */
    min-width: 140px;
    padding: 24px 16px;
  }

  .community__item-icon {
    font-size: 36px;
  }

  .community__item-title {
    font-size: 18px;
  }

  .community__item-text {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .community__item {
    flex: 1 1 100%; /* 1 карточка */
  }
}

/* Медиа-запросы */
@media (max-width: 1024px) {
  .community__title {
    font-size: 48px;
    letter-spacing: -0.96px;
  }

  .community__subtitle {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .community {
    margin: 60px auto;
  }

  .community__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .community__title {
    font-size: 40px;
    letter-spacing: -0.8px;
    max-width: 100%;
  }

  .community__title br {
    display: none;
  }

  .community__subtitle {
    font-size: 18px;
    text-align: left;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .community {
    margin: 40px auto;
    padding: 0 16px;
  }

  .community__title {
    font-size: 32px;
    letter-spacing: -0.64px;
  }

  .community__subtitle {
    font-size: 16px;
  }
}

body {
  overflow-x: hidden !important;
}
