.about-video {
  margin: 50px auto;
  width: 100%;
  max-width: 600px;
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.about-video:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.about-video__play-button {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.about-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.about-video__play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 24px solid #333;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.about-video:hover .about-video__play {
  background: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.video-modal.show {
  opacity: 1;
  visibility: visible;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.video-modal__content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  border-radius: 16px;
  overflow: hidden;
  background: black;
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.video-modal.show .video-modal__content {
  transform: scale(1);
}

.video-modal__content video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
}

.video-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  font-size: 24px;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  font-weight: 300;
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.video-modal__close:active {
  transform: scale(0.95);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .about-video {
    max-width: 90%;
    margin: 20px auto;
  }

  .about-video__play-button {
    height: 200px;
  }

  .about-video__play {
    width: 60px;
    height: 60px;
  }

  .about-video__play::before {
    border-left: 18px solid #333;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
  }

  .video-modal__content {
    width: 95%;
    margin: 20px;
  }

  .video-modal__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Скрытый класс */
.hidden {
  display: none !important;
}

/* Демо контент */
.demo-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.demo-content h1 {
  color: #333;
  margin-bottom: 20px;
}

.demo-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}
