/* =============================================
   player.css — fake playerio stiliai (appgrid.site tema)
   ============================================= */

.player {
    width: 100%;
    height: 450px;
    background-position: center;
    background-size: cover;
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tamsus overlay */
.player::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 0;
    transition: background 0.3s ease;
}

.player:hover::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%);
}

/* Play mygtukas */
.player .play-btn {
    width: 76px;
    height: 76px;
    background: linear-gradient(145deg, #f39c12, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    pointer-events: none;
}

/* Pulsuojantis žiedas */
.player .play-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(241, 196, 15, 0.75);
    animation: pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

.player:hover .play-btn {
    transform: scale(1.08);
    background: linear-gradient(145deg, #f39c12, #f39c12);
    box-shadow: 0 6px 28px rgba(0,0,0,0.65);
}

/* Trikampis rodyklė */
.player .play-btn::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 22px solid rgba(20,20,20,0.9);
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    margin-left: 6px;
    position: relative;
    z-index: 1;
}

/* Pulse animacija */
@keyframes pulse-ring {
    0%   { transform: scale(1);    opacity: 0.8; }
    70%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* Mobile */
@media (max-width: 767px) {
    .player {
        height: 300px;
    }
    .player .play-btn {
        width: 62px;
        height: 62px;
    }
    .player .play-btn::before {
        border-left-width: 18px;
        border-top-width: 10px;
        border-bottom-width: 10px;
        margin-left: 5px;
    }
}
