/* 유튜브 컨테이너 스타일 */
.youtube-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 비율 */
    margin: 20px 0;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 유튜브 썸네일 스타일 */
.youtube-thumbnail {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 20px 0;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.youtube-thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.youtube-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* 플레이 버튼 스타일 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(0,0,0,0.8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.youtube-thumbnail:hover .play-button {
    background: rgba(255,0,0,0.9);
}

.play-button-shape {
    fill: #fff;
}

.play-button-icon {
    fill: #000;
}

/* 쇼츠 썸네일 스타일 */
.shorts-thumbnail {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 20px 0;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shorts-thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.shorts-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 9/16;
    object-fit: cover;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .youtube-thumbnail,
    .shorts-thumbnail {
        max-width: 100%;
    }
    
    .play-button {
        width: 50px;
        height: 35px;
    }
    
    .play-button svg {
        width: 50px;
        height: 35px;
    }
}