.ect-video-section {
  position: relative;
  padding: 100px 24px;
  background: #080914;
  overflow: hidden;
  color: #fff;
  font-family: inherit;
}

.ect-video-container {
  max-width: 1200px;
  margin: auto;
  position: relative;
}

/* Background glow */
.ect-video-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 400px;
  background: #5540ff;
  filter: blur(180px);
  opacity: .16;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.ect-video-heading {
  text-align: center;
  position: relative;
  margin-bottom: 48px;
}

.ect-video-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #a99aff;
  margin-bottom: 20px;
}

.ect-video-heading h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -2px;
  margin: 0 0 18px;
  color: #fff;
}

.ect-video-heading h2 span {
  background: linear-gradient(
    90deg,
    #8a7bff,
    #54c8ff,
    #bd83ff
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ect-video-heading p {
  color: #a5a7ba;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Video frame */
.ect-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 660px;
  overflow: hidden;
  border-radius: 20px;
  background: #10132c;
  border: 1px solid rgba(140, 125, 255, .3);
  box-shadow:
    0 0 40px rgba(91, 65, 255, .12),
    0 30px 90px rgba(0, 0, 0, .45);
}

.ect-showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ect-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 6, 20, .08),
    transparent 50%,
    rgba(5, 6, 20, .45)
  );
}

/* Video controls */
.ect-video-controls {
  position: absolute;
  bottom: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ect-video-toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  background: rgba(10, 12, 35, .6);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 19px;
  transition: .3s ease;
}

.ect-video-toggle:hover {
  background: #6554ff;
  border-color: #6554ff;
  transform: scale(1.08);
}

.ect-video-toggle:focus-visible {
  outline: 3px solid #70d5ff;
  outline-offset: 4px;
}

.ect-video-caption {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #fff;
}

.ect-video-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.ect-video-live span {
  width: 7px;
  height: 7px;
  background: #7b74ff;
  border-radius: 50%;
  box-shadow: 0 0 12px #7b74ff;
}

/* Bottom text */
.ect-video-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 22px;
  color: #777a96;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Mobile */
@media (max-width: 768px) {
  .ect-video-section {
    padding: 65px 18px;
  }

  .ect-video-heading {
    margin-bottom: 32px;
  }

  .ect-video-heading h2 {
    letter-spacing: -1px;
  }

  .ect-video-frame {
    border-radius: 12px;
  }

  .ect-video-controls {
    left: 14px;
    right: 14px;
    bottom: 12px;
    gap: 10px;
  }

  .ect-video-toggle {
    width: 38px;
    height: 38px;
  }

  .ect-video-caption {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .ect-video-live {
    font-size: 9px;
  }

  .ect-video-bottom {
    font-size: 8px;
    letter-spacing: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ect-video-toggle {
    transition: none;
  }
}