/* Custom YouTube Player */

.cyp-video-container {
    width: 100%;
}

.cyp-player-wrapper {
    position: relative;
    background: #000;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cyp-player-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.cyp-player-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.cyp-player-wrapper:hover .cyp-player-placeholder::before {
    background-color: rgba(0, 0, 0, 0.5);
}

.cyp-play-button {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #ff0000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.cyp-play-button svg {
    width: 45%;
    height: 45%;
    margin-left: 2px;
    fill: currentColor;
}

.cyp-player-wrapper:hover .cyp-play-button {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.cyp-player-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: white;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* YouTube Iframe */
.cyp-iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.cyp-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .cyp-play-button {
        width: 60px;
        height: 60px;
    }

    .cyp-play-button svg {
        width: 50%;
        height: 50%;
    }

    .cyp-player-wrapper:hover .cyp-play-button {
        transform: scale(1.05);
    }
}

@media (max-width: 480px) {
    .cyp-play-button {
        width: 50px;
        height: 50px;
    }

    .cyp-play-button svg {
        width: 55%;
        height: 55%;
    }
}
