/* ---------- Video Grid and Frames ---------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 65px;
    row-gap: 20px;
    margin-left: 210px;
    margin-right: 110px;
    margin-top: 70px;  /* ⬅️ was 40px, now 40 + 30 = 70 */
}







.video-block {
    width: 100%;
    aspect-ratio: 16 / 9;  /* Keeps video thumbnails proportional */
}




.video-wrapper {
  border: 2px solid white;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.6); /* Electric blue glow */
  padding: 16px;
  background-color: #111; /* Optional: soft lift */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.video-title {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 600;
}

.video-frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 1);
    transition: transform 0.2s ease-in-out;
}

.video-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(51, 153, 255, 0.2);
}

.video-thumb {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

/* Play icon overlay */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Duration badge */
.duration-badge {
    position: absolute;
    bottom: 8px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

