@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400..900&subset=cyrillic&display=swap');

/* Глобальные стили */
* {
  box-sizing: border-box;
}

body {
  background: url('../images/blg_0.png') no-repeat fixed;
  background-size: cover;
  font-family: 'Orbitron', sans-serif;
  color: #ffffff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Шапка */
.header {
  background-color: #181818;
  padding: 15px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 15px rgba(0, 255, 255, 0.2);
}

.header h1 {
  font-family: 'Tektur', sans-serif;
  font-size: 1.8em;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-left ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-left ul li a {
  font-family: 'Tektur', sans-serif;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-left ul li a:hover {
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff;
}

/* Основной контент */
main {
  font-family: 'Tektur', sans-serif;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 100px 20px 60px;
}

#blogSection {
  background: rgba(24, 24, 24, 0.9);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
  max-width: 1200px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(5px);
}

#blogSection h3 {
  font-size: 2.5em;
  color: #fff;
  text-shadow: 0 0 15px #00ffff;
  margin-bottom: 30px;
}

#blogPosts {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.blog-post {
  position: relative;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  text-align: left;
}

.post-date {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.9em;
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff;
  font-family: 'Tektur', sans-serif;
}

.blog-post h4 {
  font-family: 'Tektur', sans-serif;
  font-size: 1.5em;
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff;
  margin-bottom: 10px;
}

.blog-post p {
  font-family: 'Tektur', sans-serif;
  font-size: 1.1em;
  color: #fff;
}

.blog-post img,
.blog-post video {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Стили кнопки YouTube */
.youtube-btn {
  margin-top: 10px;
  display: inline-block;
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  padding: 8px 16px;
  border-radius: 5px;
  font-family: 'Tektur', sans-serif;
  font-size: 1em;
  text-decoration: none;
  text-shadow: 0 0 5px #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.youtube-btn:hover {
  background: rgba(0, 255, 255, 0.3);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* Футер */
footer {
  text-align: center;
  padding: 20px 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  color: #b0b0b0;
  margin-top: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.social-icons a {
  color: #b0b0b0;
  font-size: 1.5em;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00ff88;
}

/* Адаптивность */
@media (max-width: 768px) {
  #blogSection {
    padding: 25px;
  }

  .header h1 {
    font-size: 1.5em;
  }

  .nav-left ul {
    gap: 15px;
  }

  .nav-left ul li a {
    font-size: 14px;
  }

  .social-icons {
    gap: 15px;
    margin: 10px 0;
  }

  .social-icons a {
    font-size: 1.2em;
  }
}