section.hero-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-block: 0;
}

#mask-overlay {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: black;
  /* Safari-compatible mask setup with improved syntax */
  -webkit-mask-image: radial-gradient(circle 80px at center, transparent 0%, transparent 80px, black 80px);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-composite: source-over;
  /* Standard mask properties */
  mask-image: radial-gradient(circle 80px at center, transparent 0%, transparent 80px, black 80px);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: center;
  -webkit-mask-composite: source-over;
          mask-composite: add;
  /* Safari-specific fallback */
}
@supports (-webkit-appearance: none) {
  #mask-overlay {
    -webkit-mask-image: radial-gradient(circle 80px at center, transparent 0%, transparent 80px, black 80px);
  }
}

.content {
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 2;
  position: relative;
  color: white;
  transition: opacity 0.5s ease;
  min-height: 600px;
}
.content .content-wrapper {
  padding-block: 110px;
}
@media (min-width: 768px) {
  .content {
    min-height: 800px;
  }
  .content .content-wrapper {
    padding-block: 100px;
  }
}
@media (min-width: 1024px) {
  .content {
    min-height: 760px;
  }
  .has-video .content {
    min-height: 900px;
    cursor: none;
  }
  .content .content-wrapper {
    padding-block: 255px;
  }
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  max-width: 1440px;
  margin: auto;
  transform: translate(-50%, -50%);
}

.bg-video video {
  width: 100%;
  height: 100%;
  -o-object-position: center;
     object-position: center;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (min-width: 1024px) {
  .bg-video video {
    -o-object-fit: cover;
       object-fit: cover;
  }
}

#circle-svg {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: normal;
  isolation: isolate;
  will-change: transform;
  overflow: visible;
  pointer-events: none;
  z-index: 10;
  width: 130px;
  height: 130px;
}

#circle-svg text {
  font-size: 16px;
  fill: white;
  transform: translate(-15px, -100px) rotate(45deg);
  transform-origin: 0 0;
}

.video-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.video-controls button {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-controls button:hover {
  color: white;
}

.material-icons {
  font-size: 24px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.mobile-play-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  border: none;
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgb(255, 255, 255);
  background-color: transparent;
}
@media (min-width: 1024px) {
  .mobile-play-btn {
    display: none;
  }
}

/* .mobile-play-btn:hover,
.mobile-play-btn:active,
.mobile-play-btn:focus {
  transform: scale(0);
}
 */
.mobile-play-btn .material-icons-outlined {
  font-size: 20px;
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 50%;
}