/* My YT Embed Pro v2.6 - Clean Professional Styling */

.my-yt-wrapper {
    margin: 20px 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    background: #111;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.my-yt-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.my-yt-lazy {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.my-yt-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.my-yt-wrapper:hover .my-yt-thumb {
    transform: scale(1.04);
}

.my-yt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.my-yt-play-btn {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.my-yt-wrapper:hover .my-yt-play-btn {
    transform: scale(1.12);
}

.my-yt-loading {
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    z-index: 10;
    gap: 10px;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: #FF0000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.my-yt-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.my-yt-player iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* Meta - Title & Description */
.my-yt-meta {
    background: #1a1a1a;
    padding: 10px 14px;
    color: #ddd;
    font-size: 14px;
}

/* Branding Bar */
.my-yt-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #1a1a1a;
    font-size: 13px;
}

.my-yt-subscribe-btn {
    background: #FF0000;
    color: white !important;
    padding: 6px 13px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12.5px;
    transition: all 0.2s ease;
}

.my-yt-subscribe-btn:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

.my-yt-view-btn {
    color: #aaa !important;
    text-decoration: none;
    font-size: 13px;
}

.my-yt-view-btn:hover {
    color: #fff !important;
}
