/* DetailsOverlay — modal fullscreen com backdrop + poster + metadata */
.do-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 500;
    color: #fff;
    animation: doFadeIn 0.2s ease-out;
}
@keyframes doFadeIn { from { opacity: 0; } to { opacity: 1; } }

.do-backdrop {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    background: #0a0a0a;
    filter: blur(3px);
    transform: scale(1.03); /* esconde bordas do blur */
    z-index: 0;
}
.do-gradient {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg,
        rgba(0,0,0,0.94) 0%,
        rgba(0,0,0,0.82) 45%,
        rgba(0,0,0,0.55) 100%);
}

.do-content {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    padding: 60px 80px;
    align-items: center;
    gap: 48px;
}
.do-poster {
    width: 320px;
    height: 480px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 12px 40px rgba(0,0,0,0.75);
    flex-shrink: 0;
}
.do-meta {
    flex: 1;
    max-width: 900px;
}
.do-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.do-badges {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.85);
}
.do-year, .do-runtime {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
}
.do-genres {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 14px;
}
.do-overview {
    font-size: 17px;
    line-height: 1.55;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.do-cast {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
}

.do-actions {
    display: flex;
    gap: 16px;
}
.do-btn {
    padding: 14px 32px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.do-btn-primary {
    background: var(--color-primary);
    color: var(--color-on-primary);
    min-width: 200px;
    justify-content: center;
}
.do-btn-secondary {
    background: rgba(255,255,255,0.16);
    color: #fff;
    min-width: 140px;
    justify-content: center;
}
.do-btn.tv-focused,
.do-btn:focus {
    transform: scale(1.06);
    outline: none;
}
.do-btn-primary.tv-focused,
.do-btn-primary:focus {
    background: var(--color-primary-hover);
    box-shadow: 0 0 24px rgba(0, 183, 235, 0.6);
}
.do-btn-secondary.tv-focused,
.do-btn-secondary:focus {
    background: rgba(255,255,255,0.28);
    box-shadow: 0 0 16px rgba(255,255,255,0.35);
}
.do-play-icon {
    font-size: 14px;
    line-height: 1;
}
