.peniblo-lazy-iframe {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f1115;
  border-radius: 12px;
}

.peniblo-lazy-iframe::before {
  content: "";
  display: block;
  padding-top: var(--peniblo-lazy-iframe-ratio, 75%);
}

.peniblo-lazy-iframe__preview,
.peniblo-lazy-iframe__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.peniblo-lazy-iframe__preview {
  background:
    linear-gradient(180deg, rgba(15, 17, 21, 0.2), rgba(15, 17, 21, 0.85)),
    #0f1115;
}

.peniblo-lazy-iframe__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.peniblo-lazy-iframe__button {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 24px;
}

.peniblo-lazy-iframe__play {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.peniblo-lazy-iframe__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #111;
}

.peniblo-lazy-iframe__label {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.peniblo-lazy-iframe__frame {
  border: 0;
  display: block;
}

@media (hover: hover) {
  .peniblo-lazy-iframe__button:hover .peniblo-lazy-iframe__play {
    transform: scale(1.04);
  }
}
