body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #1a1a2e;
  color: white;
  overflow-x: hidden;
  min-height: 100vh;
}

.glass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Адаптивное мобильное меню */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    gap: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ---------- Новости ---------- */
.news-slider {
  max-width: 700px;
  margin: 60px auto;
  text-align: center;
  padding: 0 20px;
}

<style>
.news-meta {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 5px;
}
.news-date {
  font-weight: bold;
}

.news-container {
  position: relative;
  height: 320px;
}

.news {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.news-vertical {
  max-width: 800px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0 20px;
}

.news-vertical article {
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


.news.active {
  opacity: 1;
  pointer-events: auto;
}

.dots {
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
  opacity: 0.4;
  cursor: pointer;
  transition: transform 0.3s;
}

.dot.active {
  opacity: 1;
  transform: scale(1.3);
}

/* ---------- Проекты ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding: 60px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  font-size: 18px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ---------- Контакты ---------- */
.contact-box {
  max-width: 500px;
  margin: 100px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}
