.yt-channel-grid {
    display: grid;
    gap: 20px;
}
.yt-cols-1 { grid-template-columns: 1fr; }
.yt-cols-2 { grid-template-columns: repeat(2, 1fr); }
.yt-cols-3 { grid-template-columns: repeat(3, 1fr); }
.yt-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .yt-cols-3, .yt-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .yt-channel-grid { grid-template-columns: 1fr !important; }
}

.yt-video-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.yt-video-item:hover {
    transform: translateY(-5px);
}
.yt-video-thumb {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}
.yt-video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.yt-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yt-play-icon::after {
    content: '';
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}
.yt-video-info {
    padding: 15px;
}
.yt-video-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

/* Modal Popup */
.yt-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.yt-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.yt-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.yt-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}
.yt-modal-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.yt-modal-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
