<style>

    body {
      margin: 0;
      background: linear-gradient(180deg, #1c1c1c 0%, #202020 50%, 1a1a1a 100%) !important;
      color: white;
      font-family: 'Segoe UI', sans-serif;
    }
@media (max-width: 768px) {
  .logo {
    font-size: 42px;
  }

  .about-title,
  .news-title {
    font-size: 32px;
    text-align: center;
  }

  .scrolling-text-inner {
    font-size: 24px;
  }

  .hero {
    padding: 80px 10px;
    background-color: #1c1c1c;
    position: relative;
    width: 100%
  }

  .about-card {
    font-size: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .about-icon {
    margin-top: 10px;
  }

  .sticky-image {
    position: static;
    width: 100%;
    margin-top: 30px;
  }

  .news-items {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .news-card {
    max-width: 100%;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-nav .nav-link {
    padding: 10px 0;
  }
}
    /* Навигация */
    .navbar {
      background-color: #5d5fef !important;
    }

    .navbar-brand {
      font-weight: bold;
      color: black;
    }

    .navbar-nav {
      flex: 1;
      justify-content: space-around;
    }

    .navbar-nav .nav-link {
      color: black;
      font-weight: 700;
    }

    .navbar-nav .nav-link:hover {
      color: white;
    }

    .icon-btn {
      background-color: black;
      color: white;
      border-radius: 50%;
      padding: 10px;
      margin-left: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
    }

    .icon-btn:hover {
      background-color: #333;
    }

    /* Главный блок */
   .hero {
  background-color: #1c1c1c;
  text-align: center;
  padding: 140px 20px 100px;
  min-height: 650px; /* добавляет высоту блока */
position: relative;
}
.tagline {
  font-size: 18px;
  color: #ffffff !important;
  margin-top: 0px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}
    .logo {
      font-size: 85px;
      font-weight: 1000;
      color: #5d5fef;
      margin-top: 40px;
      margin-bottom:30px;
      letter-spacing: 3px;
    }
    @media (max-width: 576px) {
        .logo {
            font-size: 48px;
        }
    }
button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}
    .btn-register {
      margin-top: 30px;
      padding: 14px 36px;
      background-color: white;
      color: #ffb347;
      font-size: 18px;
      border: none;
      border-radius: 30px;
      cursor: pointer;
      font-weight: bold;
      transition: 0.3s;
    }

    .btn-register:hover {
      background-color: #ffb347;
      color: white;
    }
.divider-section {
  background-color: #1c1c1c;
  padding: 30px 0;
}
/* Анимированная синяя "молния" */
.lightning-divider {
  height: 4px;
  background: linear-gradient(90deg, #5d5fef, #ffffff, #5d5fef);
  background-size: 200% auto;
  animation: lightning-glow 3s linear infinite;
  border-radius: 2px;
}

@keyframes lightning-glow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}
.like-section {
  position: relative;
}

.like-btn {
  font-size: 18px;
  padding: 10px 20px;
  z-index: 1;
  position: relative;
}
.like-btn.clicked {
  background-color: #5d5fef !important;
  color: white !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.like-count {
  font-size: 16px;
  color: white;
}
.heart {
      position: absolute;
      color: red;
      font-size: 24px;
      animation: fly 2s ease-out forwards;
    }

    @keyframes fly {
      0% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
      100% {
        opacity: 0;
        transform: translateY(-150px) scale(1.5);
      }
    }
   /* Блок "О нас" */
.about {
  background-color: #1c1c1c;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.about-title {
  font-size: 50px;
  font-weight: bold;
  color: white;
  margin-bottom: 50px;
}

.about-boxes {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background-color: rgba(93, 95, 239, 0.15); /* синий с фиолетовым подтоном */
  border-radius: 15px;
  padding: 20px 25px;
  margin-bottom: 20px;
  color: white;
  font-size: 18px;
  line-height: 1.6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(4px);
}
.about-card.no-bg {
  background: none;
  backdrop-filter: none;
  border: none;
  padding-left: 0;
  padding-right: 0;
  font-size: 22px;
}
/* Убрана анимация */
.about-icon {
  font-size: 28px;
  color: #ffb347;
  margin-left: 20px;
}
/* Картинка справа, "прилипшая" */
.sticky-image {
  max-height: 600px;
  object-fit: cover;
  position: sticky;
  top: 120px;
  margin-right:0;
}

/* Прокручивающийся текст сверху */
.scrolling-text {
  position: absolute;
  top: 30px;
  padding-bottom: 40px; /* добавляем немного пространства снизу */
  width: 200%;
  font-size: 48px;
  font-weight: bold;
  color: transparent;
  -webkit-text-stroke: 1px white;
  white-space: nowrap;
  animation: scrollText 10s ease-in-out infinite alternate;
}

.scrolling-text-inner {
  position: absolute;
  white-space: nowrap;
  font-size: 48px;
  font-weight: bold;
  color: transparent;
  -webkit-text-stroke: 1px white;
  animation: scrollLeftRight 16s ease-in-out infinite alternate;
}

@keyframes scrollLeftRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-30%);
  }
}


@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-text p {
    margin: 0;
    padding: 0 10px;
  }

  .about-icon {
    margin-top: 15px;
    margin-left: 0;
  }
}
/* Блок "Новости" */
.news {
  background-color: #1c1c1c; /* тот же фон, что и у остального сайта */
  padding: 100px 20px;
}

.news-title {
  font-size: 50px;
  font-weight: bold;
  color: white;
  margin-bottom: 60px;
  margin-right: 30px;
}

.news-items {
  gap: 30px;
}

.news-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background-color: transparent;
  border: 2px solid rgba(93, 95, 239, 0.3); /* рамка синяя */
  border-radius: 15px;
  padding: 20px;
  color: white;
}

.news-heading {
  font-weight: bold;
  font-size: 25px;
  color: #ffb347; /* как цвет иконок */
  margin-bottom: 10px;
}

.news-content {
  font-size: 20px;
  line-height: 1.6;
  color: white;
}
      
  </style>






