/* YouTube Modal Styles */
.youtube-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.youtube-modal.show {
    opacity: 1;
    visibility: visible;
}

.youtube-modal-content {
    position: relative;
    background: #000;
    border-radius: 10px;
    padding: 20px;
    max-width: 90vw;
    max-height: 90vh;
}

.youtube-modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.youtube-modal-close:hover {
    background: #ff3838;
}

.youtube-iframe {
    border-radius: 8px;
    width: 80vw;
    height: 45vw;
    max-width: 800px;
    max-height: 450px;
    min-width: 320px;
    min-height: 180px;
}

@media (max-width: 768px) {
    .youtube-iframe {
        width: 90vw;
        height: 50.625vw;
    }
    
    .youtube-modal-content {
        padding: 10px;
    }
}