.video-wrapper {
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.media {
  width: min(100%, 300px);
  aspect-ratio: 1321 / 6772;
  max-height: 80vh;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  background-color: #f0f0f0;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.play-button svg {
  width: 30px;
  height: 30px;
  fill: #000000;
  margin-left: 5px;
}

.video-wrapper:hover .play-button {
  transform: translate(-50%, -65%);
  background-color: #f8f8f8;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 35px;
  cursor: pointer;
  line-height: 1;
}