﻿
.youtube-player {
    position: relative;
    width: 100%;
    height: 400px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 14px;
}

.youtube-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.youtube-player:hover img {
    transform: scale(1.03);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    transition: all .3s ease;
}

.youtube-player:hover .play-button {
    transform: translate(-50%, -50%) scale(1.08);
    background: #ff0000;
}

</style >
