.ay-video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 20px 0;
    justify-content: center;
}

.ay-video-item {
    width: 100%;
    max-width: 800px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ay-video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.ay-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: #000;
}

.ay-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ay-video-container.loaded iframe {
    opacity: 1;
}

/* Video Thumbnail */
.ay-video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
}

.ay-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play Button */
.ay-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.ay-video-item:hover .ay-play-button {
    opacity: 1;
}

.ay-play-button svg {
    width: 20px;
    height: 20px;
    margin-left: 3px;
    color: var(--primary-color);
}

.ay-play-button:hover {
    background: var(--primary-color);
}

.ay-play-button:hover svg {
    color: white;
}

/* Video Info */
.ay-video-info {
    padding: 25px;
    text-align: center;
}

.ay-video-info h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 600;
}

.ay-video-info p {
    margin: 0;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Duration Badge */
.ay-video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .ay-video-grid {
        justify-content: center;
        gap: 20px;
    }
    
    .ay-video-item {
        max-width: 100%;
    }
    
    .ay-video-info {
        padding: 20px;
    }
    
    .ay-video-info h3 {
        font-size: 20px;
    }
    
    .ay-video-info p {
        font-size: 14px;
    }
}