 /* --- Modernized CSS with .vv- prefix --- */
  
  .vv-container {
    position: relative;
    width: 320px; 
    max-width: 100%;
    aspect-ratio: 9/16; /* Forces the perfect vertical video ratio */
    border-radius: 16px; /* Smoother, modern rounded corners */
    overflow: hidden;
    background-color: #1a1a1a; /* Sleeker dark fallback */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Soft depth shadow */
    cursor: pointer;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    float:right;
    margin:20px;
  }

  /* Lift effect on hover */
  .vv-container:hover {
    transform: translateY(-4px); 
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  }

  .vv-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents stretching or black bars */
    display: block;
    opacity: 0; /* Hidden until lazy-loaded */
    transition: opacity 0.4s ease;
  }

  /* Fades in the video poster once loaded */
  .vv-video.vv-loaded {
    opacity: 1;
  }

  /* Modern Glassmorphism Play Button */
  .vv-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: rgba(255, 255, 255, 0.2); /* Translucent background */
    backdrop-filter: blur(8px); /* The "frosted glass" effect */
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10;
  }

  /* SVG Icon styling */
  .vv-play-button svg {
    width: 28px;
    height: 28px;
    margin-left: 4px; /* Optically centers the triangle */
    fill: currentColor;
  }

  /* Button pops slightly on container hover */
  .vv-container:hover .vv-play-button {
    background: rgba(255, 255, 255, 0.35);
    transform: translate(-50%, -50%) scale(1.1); 
  }

  /* Hide play button when playing */
  .vv-is-playing .vv-play-button {
    opacity: 0;
    pointer-events: none;
  }