.clean-block.dark {
  background: linear-gradient(135deg, #151515 0%, #000000 100%);
  color: #ffffff;
  position: relative;
}

.clean-block.dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.clean-block {
  margin-bottom: 0px !important;
  margin-top: 0px !important;
  padding: var(--space-4xl) 0;
  position: relative;
}

.clean-block .container {
  position: relative;
  z-index: 2;
}

.clean-block h2 {
  color: #fbb040;
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xl);
  text-align: center;
  position: relative;
}

.clean-block h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fbb040, transparent);
  border-radius: 2px;
}

.clean-block p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-body-large);
  line-height: var(--line-height-relaxed);
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  background: #000000;
}

.videoWrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4);
}

.videoWrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(251, 176, 64, 0.1), transparent);
  z-index: 1;
  pointer-events: none;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 2;
}

/* Video section animations */
.clean-block {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .clean-block {
    padding: var(--space-2xl) 0;
  }

  .clean-block h2 {
    font-size: var(--font-size-h3);
  }

  .clean-block p {
    font-size: var(--font-size-body);
  }

  .videoWrapper {
    border-radius: 12px;
    margin: 0 1rem;
  }
}

/* Video loading state */
.videoWrapper.loading {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Video controls overlay */
.video-controls-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.videoWrapper:hover .video-controls-overlay {
  opacity: 1;
}

.video-play-button {
  width: 80px;
  height: 80px;
  background: rgba(251, 176, 64, 0.9);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.video-play-button::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid #ffffff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.video-play-button:hover {
  background: rgba(251, 176, 64, 1);
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(251, 176, 64, 0.4);
}
