body, html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: none;
  color: #fff;
}

.video-background {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.logo {
  position: absolute;
  top: 50px;
  left: 40px;
  animation: floatLogo 3s ease-in-out infinite alternate;
  z-index: 20;
}
.logo img {
  width: 180px;
}

.menu-btn {
  position: absolute;
  top: 50px;
  right: 120px;
  font-size: 26px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 20;
}

nav {
  position: absolute;
  top: 100px;
  right: 100px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 19;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}
nav a:hover {
  color: #ff0040;
  text-shadow: 0 0 5px #ff0040;
}
.show-menu {
  display: flex;
}

#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-size: 32px;
  transition: opacity 0.4s ease;
}
.blinker {
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes floatLogo {
  0% { transform: translateY(0); opacity: 0.8; }
  100% { transform: translateY(-10px); opacity: 1; }
}

/* Главные секции — убираем фоны */
.content,
.audio-player,
.video-grid,
form {
  background: none !important;
  padding: 30px;
  border-radius: 10px;
}

.content {
  padding: 220px 20px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.audio-player {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 140px 10px 40px;
}
.video-grid iframe {
  width: 300px;
  height: 170px;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.icons img {
  width: 40px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: auto;
  margin-top: 40px;
}

form input, form textarea {
  padding: 10px;
  font-size: 16px;
}
form button {
  padding: 10px;
  font-size: 16px;
  background: #ff0040;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Адаптив */
@media (max-width: 768px) {
  .logo img { width: 140px; }
  .logo { top: 40px; }
  .menu-btn { font-size: 22px; top: 40px; right: 50px; }
  nav { top: 90px; right: 50px; }
  nav a { font-size: 16px; }
  .video-grid iframe { width: 90vw; height: 50vw; }
}

/* About page */
.about-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
}

.about-text {
  background: none !important;
  padding: 40px;
  border-radius: 10px;
  max-width: 600px;
  text-align: center;
}

/* Остальное */
.audio-page {
  background: none !important;
}

.left-aligned {
  text-align: left;
  align-items: flex-start;
}

.copyright {
  position: fixed;
  bottom: 10px;
  left: 20px;
  font-size: 14px;
  color: #ffffffcc;
  z-index: 10;
  pointer-events: none;
}

/* Typewriter */
.intro-block {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 270px 20px;
  text-align: center;
  background: none;
  position: relative;
  z-index: 1;
}

.intro-text {
  font-family: monospace;
  font-size: 20px;
  color: #fff;
  max-width: 700px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  border-right: 2px solid #fff;
  animation: blinkCursor 0.7s step-end infinite;
  background: none;
  padding: 0;
  margin: 0;
  line-height: 1.4;
}

@keyframes blinkCursor {
  50% { border-color: transparent; }
}

@media (max-width: 768px) {
  .intro-text {
    font-size: 16px;
  }
}